diff --git a/.gitattributes b/.gitattributes index 8ce7bfb2e83..746d39d70a4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1674,6 +1674,7 @@ res/cardsfolder/c/coral_eel.txt svneol=native#text/plain res/cardsfolder/c/coral_fighters.txt svneol=native#text/plain res/cardsfolder/c/coral_helm.txt svneol=native#text/plain res/cardsfolder/c/coral_merfolk.txt svneol=native#text/plain +res/cardsfolder/c/coral_net.txt -text svneol=unset#text/plain res/cardsfolder/c/coral_reef.txt svneol=native#text/plain res/cardsfolder/c/coral_trickster.txt svneol=native#text/plain res/cardsfolder/c/coralhelm_commander.txt svneol=native#text/plain diff --git a/res/cardsfolder/c/coral_net.txt b/res/cardsfolder/c/coral_net.txt new file mode 100644 index 00000000000..f87ab005bc8 --- /dev/null +++ b/res/cardsfolder/c/coral_net.txt @@ -0,0 +1,15 @@ +Name:Coral Net +ManaCost:U +Types:Enchantment Aura +Text:no text +K:Enchant creature +A:SP$ Attach | Cost$ U | ValidTgts$ Creature.Green,Creature.White | TgtPrompt$ Select target green or white creature | AILogic$ Curse +S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddTrigger$ TrigCoralPhase | AddSVar$ TrigCoralDiscard & DBCoralSacrifice & DBCoralCleanup | Description$ Enchanted creature has "At the beginning of your upkeep, sacrifice this creature unless you discard a card." +SVar:TrigCoralPhase:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigCoralDiscard | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, sacrifice this creature unless you discard a card. +SVar:TrigCoralDiscard:AB$ Discard | Cost$ 0 | Defined$ You | Mode$ TgtChoose | NumCards$ 1 | Optional$ True | RememberDiscarded$ True | SubAbility$ DBCoralSacrifice +SVar:DBCoralSacrifice:DB$ Sacrifice | Defined$ Self | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ0 | SubAbility$ DBCoralCleanup +SVar:DBCoralCleanup:DB$ Cleanup | ClearRemembered$ True +SVar:RemRandomDeck:True +SVar:Rarity:Common +SVar:Picture:http://www.wizards.com/global/images/magic/general/coral_net.jpg +End \ No newline at end of file