- Added Custody Battle.

This commit is contained in:
jeffwadsworth
2012-02-13 20:43:14 +00:00
parent eb3cf7f267
commit a6b0f132a0
2 changed files with 17 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -1845,6 +1845,7 @@ res/cardsfolder/c/cursed_rack.txt svneol=native#text/plain
res/cardsfolder/c/cursed_ronin.txt svneol=native#text/plain res/cardsfolder/c/cursed_ronin.txt svneol=native#text/plain
res/cardsfolder/c/cursed_scroll.txt svneol=native#text/plain res/cardsfolder/c/cursed_scroll.txt svneol=native#text/plain
res/cardsfolder/c/cursed_totem.txt svneol=native#text/plain res/cardsfolder/c/cursed_totem.txt svneol=native#text/plain
res/cardsfolder/c/custody_battle.txt -text svneol=unset#text/plain
res/cardsfolder/c/customs_depot.txt svneol=native#text/plain res/cardsfolder/c/customs_depot.txt svneol=native#text/plain
res/cardsfolder/c/cut_the_earthly_bond.txt svneol=native#text/plain res/cardsfolder/c/cut_the_earthly_bond.txt svneol=native#text/plain
res/cardsfolder/c/cutthroat_il_dal.txt svneol=native#text/plain res/cardsfolder/c/cutthroat_il_dal.txt svneol=native#text/plain

View File

@@ -0,0 +1,16 @@
Name:Custody Battle
ManaCost:1 R
Types:Enchantment Aura
Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ 1 R | ValidTgts$ Creature | AILogic$ Curse
S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddTrigger$ TrigCustodyBattlePhase | AddSVar$ TrigCustodyBattleSacrifice & DBCustodyBattleGainControl & DBCustodyBattleCleanup | Description$ Enchanted creature has "At the beginning of your upkeep, target opponent gains control of this creature unless you sacrifice a land."
SVar:TrigCustodyBattlePhase:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigCustodyBattleSacrifice | TriggerZones$ Battlefield | TriggerDescription$ Enchanted creature has "At the beginning of your upkeep, target opponent gains control of this creature unless you sacrifice a land."
SVar:TrigCustodyBattleSacrifice:AB$ Sacrifice | Cost$ 0 | SacValid$ Land | RememberSacrificed$ True | Optional$ True | SubAbility$ DBGainControl
SVar:DBCustodyBattleGainControl:DB$ GainControl | Defined$ Self | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | ConditionDefined$ Remembered | ConditionPresent$ Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup
SVar:DBCustodyBattleCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/custody_battle.jpg
End