mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-12-25 21:17:12 +01:00
13 lines
1.1 KiB
Plaintext
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.
|