From 7c340562817382390d491f15c9a40a2eca201c12 Mon Sep 17 00:00:00 2001 From: swordshine Date: Sat, 17 Aug 2013 04:03:51 +0000 Subject: [PATCH] - Converted Virulent Wound to script --- res/cardsfolder/v/virulent_wound.txt | 6 ++++-- src/main/java/forge/game/GameAction.java | 4 ---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/res/cardsfolder/v/virulent_wound.txt b/res/cardsfolder/v/virulent_wound.txt index 0e71aa8efdb..658fc9b9d4c 100644 --- a/res/cardsfolder/v/virulent_wound.txt +++ b/res/cardsfolder/v/virulent_wound.txt @@ -1,7 +1,9 @@ Name:Virulent Wound ManaCost:B Types:Instant -A:SP$ PutCounter | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ M1M1 | CounterNum$ 1 | IsCurse$ True | SubAbility$ DB | SpellDescription$ Put a -1/-1 counter on target creature. When that creature is put into a graveyard this turn, its controller gets a poison counter. -SVar:DB:DB$Pump | KW$ HIDDEN If CARDNAME is put into a graveyard this turn, its controller gets a poison counter. | Defined$ Targeted +A:SP$ PutCounter | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ M1M1 | CounterNum$ 1 | IsCurse$ True | SubAbility$ DBAnimate | SpellDescription$ Put a -1/-1 counter on target creature. When that creature dies this turn, its controller gets a poison counter. +SVar:DBAnimate:DB$ Animate | Triggers$ Dies | sVars$ PoisonController | Defined$ Targeted +SVar:Dies:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Graveyard | TriggerController$ TriggeredCardController | Execute$ PoisonController | TriggerDescription$ When CARDNAME dies this turn, its controller gets a poison counter. +SVar:PoisonController:AB$ Poison | Cost$ 0 | Defined$ TriggeredCardController | Num$ 1 SVar:Picture:http://www.wizards.com/global/images/magic/general/virulent_wound.jpg Oracle:Put a -1/-1 counter on target creature. When that creature dies this turn, its controller gets a poison counter. \ No newline at end of file diff --git a/src/main/java/forge/game/GameAction.java b/src/main/java/forge/game/GameAction.java index 8d6ec92f8e4..de59b677e66 100644 --- a/src/main/java/forge/game/GameAction.java +++ b/src/main/java/forge/game/GameAction.java @@ -507,10 +507,6 @@ public class GameAction { return this.moveTo(exile, c); } - if (c.hasKeyword("If CARDNAME is put into a graveyard this turn, its controller gets a poison counter.")) { - c.getController().addPoisonCounters(1, c); - } - // must put card in OWNER's graveyard not controller's c = this.moveTo(grave, c);