diff --git a/.gitattributes b/.gitattributes index b9d77def920..07bc582c609 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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_scroll.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/cut_the_earthly_bond.txt svneol=native#text/plain res/cardsfolder/c/cutthroat_il_dal.txt svneol=native#text/plain diff --git a/res/cardsfolder/c/custody_battle.txt b/res/cardsfolder/c/custody_battle.txt new file mode 100644 index 00000000000..2607c394e67 --- /dev/null +++ b/res/cardsfolder/c/custody_battle.txt @@ -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 \ No newline at end of file