Page 1 of 1

New keyword: Protection

PostPosted: 14 Oct 2010, 20:52
by Sloth
In order to get the remaining cards with Protection from ... I've added the following simple keyword:

Protection:<Requirements>:<Description>

<Requirements> uses the isValidCard syntax.

Example:
Code: Select all
Name:Kitsune Riftwalker
ManaCost:1 W W
Types:Creature Fox Wizard
Text:no text
PT:2/1
K:Protection:Spirit,Arcane:Protection from Spirits and from Arcane
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/kitsune_riftwalker.jpg
End
Code: Select all
Name:Harbinger of Spring
ManaCost:4 G
Types:Creature Spirit
Text:no text
PT:2/1
K:Protection:Creature.nonSpirit:Protection from non-Spirit creatures
K:Soulshift:4
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/harbinger_of_spring.jpg
End

Re: New keyword: Protection

PostPosted: 14 Oct 2010, 21:45
by Rob Cashwalker
nice.. we should've done it that way from the git-go.