diff --git a/.gitattributes b/.gitattributes index daf162cbaab..56d15386d21 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6469,6 +6469,7 @@ res/cardsfolder/viridian_zealot.txt -text svneol=native#text/plain res/cardsfolder/virtues_ruin.txt -text svneol=native#text/plain res/cardsfolder/virtuous_charge.txt -text svneol=native#text/plain res/cardsfolder/virulent_sliver.txt -text svneol=native#text/plain +res/cardsfolder/virulent_wound.txt -text svneol=native#text/plain res/cardsfolder/visara_the_dreadful.txt -text svneol=native#text/plain res/cardsfolder/viscera_dragger.txt -text svneol=native#text/plain res/cardsfolder/viscera_seer.txt -text svneol=native#text/plain diff --git a/res/cardsfolder/virulent_wound.txt b/res/cardsfolder/virulent_wound.txt new file mode 100644 index 00000000000..fb0b113fa57 --- /dev/null +++ b/res/cardsfolder/virulent_wound.txt @@ -0,0 +1,9 @@ +Name:Virulent Wound +ManaCost:B +Types:Instant +Text:no text +A:SP$PutCounter | Cost$ B | Tgt$ TgtC | CounterType$ M1M1 | CounterNum$ 1 | SubAbility$ SVar=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 +SVar:Rarity:Common +SVar:Picture:http://www.wizards.com/global/images/magic/general/virulent_wound.jpg +End \ No newline at end of file diff --git a/src/forge/GameAction.java b/src/forge/GameAction.java index 31189f80cca..bed153db3cc 100644 --- a/src/forge/GameAction.java +++ b/src/forge/GameAction.java @@ -138,6 +138,10 @@ public class GameAction { return moveTo(AllZone.getZone(Constant.Zone.Exile, c.getOwner()), c); } + if(c.hasKeyword("If CARDNAME is put into a graveyard this turn, its controller gets a poison counter.")) { + c.getController().addPoisonCounters(1); + } + if (AllZoneUtil.isCardInPlay("Planar Void")) { CardList pVoids = AllZoneUtil.getCardsInPlay("Planar Void"); for(int i = 0; i < pVoids.size(); i++) {