- Added Hammerheim

This commit is contained in:
swordshine
2014-06-01 12:51:37 +00:00
parent 581553e3f9
commit 2fef2a6dc6
3 changed files with 17 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -6411,6 +6411,7 @@ forge-gui/res/cardsfolder/h/hammer_of_purphoros.txt -text
forge-gui/res/cardsfolder/h/hammer_of_ruin.txt svneol=native#text/plain
forge-gui/res/cardsfolder/h/hammerfist_giant.txt svneol=native#text/plain
forge-gui/res/cardsfolder/h/hammerhead_shark.txt svneol=native#text/plain
forge-gui/res/cardsfolder/h/hammerheim.txt -text
forge-gui/res/cardsfolder/h/hammerheim_deadeye.txt svneol=native#text/plain
forge-gui/res/cardsfolder/h/hana_kami.txt svneol=native#text/plain
forge-gui/res/cardsfolder/h/hanabi_blast.txt -text

View File

@@ -65,6 +65,14 @@ public class DebuffEffect extends SpellAbilityEffect {
for (final Card tgtC : getTargetCards(sa)) {
final ArrayList<String> hadIntrinsic = new ArrayList<String>();
if (tgtC.isInPlay() && tgtC.canBeTargetedBy(sa)) {
if (sa.hasParam("AllSuffixKeywords")) {
String suffix = sa.getParam("AllSuffixKeywords");
for (final String keyword : tgtC.getKeyword()) {
if (keyword.endsWith(suffix)) {
kws.add(keyword);
}
}
}
for (final String kw : kws) {
if (tgtC.getIntrinsicKeyword().contains(kw)) {
hadIntrinsic.add(kw);

View File

@@ -0,0 +1,8 @@
Name:Hammerheim
ManaCost:no cost
Types:Legendary Land
A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R} to your mana pool.
A:AB$ Debuff | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | AllSuffixKeywords$ walk | SpellDescription$ Target creature loses all landwalk abilities until end of turn.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/hammerheim.jpg
Oracle:{T}: Add {R} to your mana pool.\n{T}: Target creature loses all landwalk abilities until end of turn.