mtg-forge-ios/forge-gui/res/cardsfolder/k/keldon_twilight.txt

13 lines
1.1 KiB
Plaintext

Name:Keldon Twilight
ManaCost:1 B R
Types:Enchantment
T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigSac | CheckSVar$ AttackedThisTurn | References$ AttackedThisTurn | SVarCompare$ EQ0 | TriggerDescription$ At the beginning of each player's end step, if no creatures attacked this turn, that player sacrifices a creature he or she controlled since the beginning of the turn.
SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | Defined$ TriggeredPlayer | SacValid$ Creature.notFirstTurnControlled
T:Mode$ AttackersDeclared | Execute$ TrigStoreSVar | Static$ True
SVar:TrigStoreSVar:DB$ StoreSVar | SVar$ AttackedThisTurn | Type$ Number | Expression$ 1
SVar:AttackedThisTurn:Number$0
T:Mode$ Phase | Phase$ Cleanup | Execute$ TrigReset | Static$ True
SVar:TrigReset:DB$ StoreSVar | SVar$ AttackedThisTurn | Type$ Number | Expression$ 0
SVar:Picture:http://www.wizards.com/global/images/magic/general/keldon_twilight.jpg
Oracle:At the beginning of each player's end step, if no creatures attacked this turn, that player sacrifices a creature he or she controlled since the beginning of the turn.