- Added Wall of Shadows

This commit is contained in:
swordshine
2014-05-16 13:38:40 +00:00
parent 0bc30e08ad
commit 72e5118a73
4 changed files with 21 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -14433,6 +14433,7 @@ forge-gui/res/cardsfolder/w/wall_of_razors.txt svneol=native#text/plain
forge-gui/res/cardsfolder/w/wall_of_resistance.txt svneol=native#text/plain
forge-gui/res/cardsfolder/w/wall_of_reverence.txt svneol=native#text/plain
forge-gui/res/cardsfolder/w/wall_of_roots.txt svneol=native#text/plain
forge-gui/res/cardsfolder/w/wall_of_shadows.txt -text
forge-gui/res/cardsfolder/w/wall_of_shards.txt -text
forge-gui/res/cardsfolder/w/wall_of_shields.txt -text
forge-gui/res/cardsfolder/w/wall_of_souls.txt svneol=native#text/plain

View File

@@ -76,6 +76,14 @@ public class StaticAbilityCantTarget {
return false;
}
if (params.containsKey("SourceCanOnlyTarget")
&& (!spellAbility.getParam("ValidTgts").contains(params.get("SourceCanOnlyTarget"))
|| spellAbility.getParam("ValidTgts").contains(","))
|| spellAbility.getParam("ValidTgts").contains("non" + params.get("SourceCanOnlyTarget"))) {
return false;
}
return true;
}

View File

@@ -1,7 +1,7 @@
Name:Tunnel
ManaCost:R
Types:Instant
A:SP$ Destroy | Cost$ R | ValidTgts$ Creature.Wall | TgtPrompt$ Select target Wall | NoRegen$ True | SpellDescription$ Destroy target Wall. It can't be regenerated.
A:SP$ Destroy | Cost$ R | ValidTgts$ Wall | TgtPrompt$ Select target Wall | NoRegen$ True | SpellDescription$ Destroy target Wall. It can't be regenerated.
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/tunnel.jpg
Oracle:Destroy target Wall. It can't be regenerated.

View File

@@ -0,0 +1,11 @@
Name:Wall of Shadows
ManaCost:1 B B
Types:Creature Wall
PT:0/1
Text:Prevent all damage that would be dealt to CARDNAME by creatures it's blocking.
K:Defender
K:PreventAllDamageBy Creature.blockedBySource
S:Mode$ CantTarget | ValidCard$ Card.Self | SourceCanOnlyTarget$ Wall | Description$ CARDNAME can't be the target of spells that can target only Walls or of abilities that can target only Walls.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/wall_of_shadows.jpg
Oracle:Defender (This creature can't attack.)\nPrevent all damage that would be dealt to Wall of Shadows by creatures it's blocking.\nWall of Shadows can't be the target of spells that can target only Walls or of abilities that can target only Walls.