mtg-forge-ios/forge-gui/res/cardsfolder/j/jihad.txt

14 lines
1.3 KiB
Plaintext

Name:Jihad
ManaCost:W W W
Types:Enchantment
K:ETBReplacement:Other:ChooseColor
SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SubAbility$ ChooseP | AILogic$ MostProminentHumanControls | SpellDescription$ As CARDNAME enters the battlefield, choose a color and an opponent.
SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent
S:Mode$ Continuous | Affected$ Creature.White | AddPower$ 2 | AddToughness$ 1 | CheckSVar$ X | Description$ White creatures get +2/+1 as long as the chosen player controls a nontoken permanent of the chosen color.
T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Permanent.nontoken+ChosenColor+ChosenCtrl | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ When the chosen player controls no nontoken permanents of the chosen color, sacrifice CARDNAME.
SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | Defined$ Self
SVar:X:Count$Valid Permanent.nontoken+ChosenColor+ChosenCtrl
SVar:NeedsToPlay:Permanent.nonColorless+OppCtrl
SVar:Picture:http://www.wizards.com/global/images/magic/general/jihad.jpg
Oracle:As Jihad enters the battlefield, choose a color and an opponent.\nWhite creatures get +2/+1 as long as the chosen player controls a nontoken permanent of the chosen color.\nWhen the chosen player controls no nontoken permanents of the chosen color, sacrifice Jihad.