mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Converted Virulent Wound to script
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
Name:Virulent Wound
|
Name:Virulent Wound
|
||||||
ManaCost:B
|
ManaCost:B
|
||||||
Types:Instant
|
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.
|
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:DB:DB$Pump | KW$ HIDDEN If CARDNAME is put into a graveyard this turn, its controller gets a poison counter. | Defined$ Targeted
|
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
|
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.
|
Oracle:Put a -1/-1 counter on target creature. When that creature dies this turn, its controller gets a poison counter.
|
||||||
@@ -507,10 +507,6 @@ public class GameAction {
|
|||||||
return this.moveTo(exile, c);
|
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
|
// must put card in OWNER's graveyard not controller's
|
||||||
c = this.moveTo(grave, c);
|
c = this.moveTo(grave, c);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user