This commit is contained in:
swordshine
2013-11-09 08:24:47 +00:00
parent 6c712d86fb
commit 320d4f62d9
3 changed files with 14 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -6073,6 +6073,7 @@ forge-gui/res/cardsfolder/k/keldon_mantle.txt svneol=native#text/plain
forge-gui/res/cardsfolder/k/keldon_marauders.txt svneol=native#text/plain
forge-gui/res/cardsfolder/k/keldon_megaliths.txt svneol=native#text/plain
forge-gui/res/cardsfolder/k/keldon_necropolis.txt svneol=native#text/plain
forge-gui/res/cardsfolder/k/keldon_twilight.txt -text
forge-gui/res/cardsfolder/k/keldon_vandals.txt svneol=native#text/plain
forge-gui/res/cardsfolder/k/keldon_warlord.txt svneol=native#text/plain
forge-gui/res/cardsfolder/k/kelinore_bat.txt svneol=native#text/plain

View File

@@ -0,0 +1,12 @@
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.

View File

@@ -3,7 +3,7 @@ ManaCost:1 U
Types:Enchantment
T:Mode$ SpellCast | ValidActivatingPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ When a player casts a spell, sacrifice CARDNAME. If you do, each of that player's opponents draws three cards.
SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | SacValid$ Self | RememberSacrificed$ True | SubAbility$ DrawOpp
SVar:DrawOpp:DB$ Draw | NumCards$ 3 | Defined$ TriggeredCardOpponent | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup
SVar:DrawOpp:DB$ Draw | NumCards$ 3 | Defined$ TriggeredCardOpponent | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:X:Remembered$Amount
SVar:Y:Count$Valid Creature.YouCtrl