mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Added Hammerheim
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
8
forge-gui/res/cardsfolder/h/hammerheim.txt
Normal file
8
forge-gui/res/cardsfolder/h/hammerheim.txt
Normal 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.
|
||||
Reference in New Issue
Block a user