From 074fa0d9f65d7bcf955de47bdcfe688bf184b2bd Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 09:35:20 +0000 Subject: [PATCH] add Argothian Treefolk (from Antiquities) --- .gitattributes | 1 + res/cardsfolder/argothian_treefolk.txt | 9 +++++++++ src/forge/Card.java | 4 +++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 res/cardsfolder/argothian_treefolk.txt diff --git a/.gitattributes b/.gitattributes index 74ba856d57f..842e1f19e3c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -223,6 +223,7 @@ res/cardsfolder/argivian_restoration.txt -text svneol=native#text/plain res/cardsfolder/argothian_enchantress.txt -text svneol=native#text/plain res/cardsfolder/argothian_pixies.txt -text svneol=native#text/plain res/cardsfolder/argothian_swine.txt -text svneol=native#text/plain +res/cardsfolder/argothian_treefolk.txt -text svneol=native#text/plain res/cardsfolder/arid_mesa.txt -text svneol=native#text/plain res/cardsfolder/ark_of_blight.txt -text svneol=native#text/plain res/cardsfolder/armadillo_cloak.txt -text svneol=native#text/plain diff --git a/res/cardsfolder/argothian_treefolk.txt b/res/cardsfolder/argothian_treefolk.txt new file mode 100644 index 00000000000..6353361b019 --- /dev/null +++ b/res/cardsfolder/argothian_treefolk.txt @@ -0,0 +1,9 @@ +Name:Argothian Treefolk +ManaCost:3 G G +Types:Creature Treefolk +Text:no text +PT:3/5 +K:Prevent all damage that would be dealt to CARDNAME by artifacts. +SVar:Rarity:Common +SVar:Picture:http://www.wizards.com/global/images/magic/general/argothian_treefolk.jpg +End diff --git a/src/forge/Card.java b/src/forge/Card.java index cc2eacc4caf..50033a5c0a7 100644 --- a/src/forge/Card.java +++ b/src/forge/Card.java @@ -2628,7 +2628,9 @@ public class Card extends MyObservable { //more specific prevents here: reduce = reduce || (getKeyword().contains("Prevent all damage that would be dealt to CARDNAME by artifact creatures.") - && source.isCreature() && source.isArtifact()); + && source.isCreature() && source.isArtifact()); + reduce = reduce || (getKeyword().contains("Prevent all damage that would be dealt to CARDNAME by artifacts.") + && source.isArtifact()); return reduce; }