add Virulent Wound (from MBS)

This commit is contained in:
jendave
2011-08-06 18:01:29 +00:00
parent 25a68d30ae
commit 4654d25259
3 changed files with 14 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -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/virtues_ruin.txt -text svneol=native#text/plain
res/cardsfolder/virtuous_charge.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_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/visara_the_dreadful.txt -text svneol=native#text/plain
res/cardsfolder/viscera_dragger.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 res/cardsfolder/viscera_seer.txt -text svneol=native#text/plain

View File

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

View File

@@ -138,6 +138,10 @@ public class GameAction {
return moveTo(AllZone.getZone(Constant.Zone.Exile, c.getOwner()), c); 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")) { if (AllZoneUtil.isCardInPlay("Planar Void")) {
CardList pVoids = AllZoneUtil.getCardsInPlay("Planar Void"); CardList pVoids = AllZoneUtil.getCardsInPlay("Planar Void");
for(int i = 0; i < pVoids.size(); i++) { for(int i = 0; i < pVoids.size(); i++) {