mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Added Wall of Shadows
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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_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_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_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_shards.txt -text
|
||||||
forge-gui/res/cardsfolder/w/wall_of_shields.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
|
forge-gui/res/cardsfolder/w/wall_of_souls.txt svneol=native#text/plain
|
||||||
|
|||||||
@@ -76,6 +76,14 @@ public class StaticAbilityCantTarget {
|
|||||||
return false;
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Name:Tunnel
|
Name:Tunnel
|
||||||
ManaCost:R
|
ManaCost:R
|
||||||
Types:Instant
|
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:RemRandomDeck:True
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/tunnel.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/tunnel.jpg
|
||||||
Oracle:Destroy target Wall. It can't be regenerated.
|
Oracle:Destroy target Wall. It can't be regenerated.
|
||||||
11
forge-gui/res/cardsfolder/w/wall_of_shadows.txt
Normal file
11
forge-gui/res/cardsfolder/w/wall_of_shadows.txt
Normal 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.
|
||||||
Reference in New Issue
Block a user