From 875dec836df4dfdf974ae371c3aef7768e2ec231 Mon Sep 17 00:00:00 2001 From: Hellfish Date: Wed, 31 Aug 2011 19:47:45 +0000 Subject: [PATCH] *Added Skullbriar, the Walking Grave. --- .gitattributes | 1 + res/cardsfolder/s/skullbriar_the_walking_grave.txt | 10 ++++++++++ src/main/java/forge/GameAction.java | 3 ++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 res/cardsfolder/s/skullbriar_the_walking_grave.txt diff --git a/.gitattributes b/.gitattributes index 825102d80f8..3b947d61432 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6889,6 +6889,7 @@ res/cardsfolder/s/skull_collector.txt svneol=native#text/plain res/cardsfolder/s/skull_fracture.txt svneol=native#text/plain res/cardsfolder/s/skull_of_orm.txt svneol=native#text/plain res/cardsfolder/s/skull_of_ramos.txt svneol=native#text/plain +res/cardsfolder/s/skullbriar_the_walking_grave.txt -text res/cardsfolder/s/skullclamp.txt svneol=native#text/plain res/cardsfolder/s/skullmead_cauldron.txt svneol=native#text/plain res/cardsfolder/s/skullmulcher.txt svneol=native#text/plain diff --git a/res/cardsfolder/s/skullbriar_the_walking_grave.txt b/res/cardsfolder/s/skullbriar_the_walking_grave.txt new file mode 100644 index 00000000000..7e955870078 --- /dev/null +++ b/res/cardsfolder/s/skullbriar_the_walking_grave.txt @@ -0,0 +1,10 @@ +Name:Skullbriar, the Walking Grave +ManaCost:B G +Types:Legendary Creature Zombie Elemental +Text:Counters remain on CARDNAME as it moves to any zone other than a player's hand or library. +PT:1/1 +K:Haste +T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ TrigPutCounter | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, put a +1/+1 counter on it. +SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 +SetInfo:COM|Rare|http://magiccards.info/scans/en/cmd/227.jpg +End \ No newline at end of file diff --git a/src/main/java/forge/GameAction.java b/src/main/java/forge/GameAction.java index 43dd04bf873..12d59904ef1 100644 --- a/src/main/java/forge/GameAction.java +++ b/src/main/java/forge/GameAction.java @@ -127,7 +127,8 @@ public class GameAction { copied = AllZone.getCardFactory().copyCard(copied); */ //remove all counters from the card if destination is not the battlefield - if (!zone.is(Constant.Zone.Battlefield)) + //UNLESS we're dealing with Skullbriar, the Walking Grave + if (!zone.is(Constant.Zone.Battlefield) && !(c.getName().equals("Skullbriar, the Walking Grave") && !zone.is(Constant.Zone.Hand) && !zone.is(Constant.Zone.Library))) copied.clearCounters(); copied.setTimestamp(AllZone.getNextTimestamp());