- Added Coral Net.

This commit is contained in:
jeffwadsworth
2012-03-08 16:35:20 +00:00
parent 4b143ad0f2
commit 7244ba7ab3
2 changed files with 16 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -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

View File

@@ -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