- Converting Animate Wall to enPump:<Keyword>

- Fixing Rolling Stones to only pump Walls
- Removing hardcoded references to these cards
This commit is contained in:
jendave
2011-08-06 19:04:21 +00:00
parent 8ef5422ecb
commit 020fc1ec8f
3 changed files with 4 additions and 4 deletions

View File

@@ -1,8 +1,9 @@
Name:Animate Wall
ManaCost:W
Types:Enchantment Aura
Text:Enchanted Wall can attack as though it didn't have defender.
Text:no text
K:Enchant Wall
K:enPump:HIDDEN CARDNAME can attack as though it didn't have defender.:Enchanted Wall can attack as though it didn't have defender.
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/animate_wall.jpg

View File

@@ -2,7 +2,7 @@ Name:Rolling Stones
ManaCost:1 W
Types:Enchantment
Text:no text
K:stPumpAll:Creature.withDefender:0/0/HIDDEN CARDNAME can attack as though it didn't have defender.:No Condition:Wall creatures can attack as though they didn't have defender.
K:stPumpAll:Creature.Wall:0/0/HIDDEN CARDNAME can attack as though it didn't have defender.:No Condition:Wall creatures can attack as though they didn't have defender.
SVar:PlayMain1:TRUE
SVar:RemAIDeck:True
SVar:Rarity:Rare

View File

@@ -450,8 +450,7 @@ public class CombatUtil {
|| (AllZoneUtil.isCardInPlay("Reverence", c.getController().getOpponent()) && c.getNetAttack() < 3))
return false;
if(c.getKeyword().contains("Defender") && !(c.isType("Wall") && AllZoneUtil.isCardInPlay("Rolling Stones")) &&
(!(c.isType("Wall") && c.isEnchantedBy("Animate Wall"))) && !c.hasKeyword("CARDNAME can attack as though it didn't have defender.")) {
if(c.getKeyword().contains("Defender") && !c.hasKeyword("CARDNAME can attack as though it didn't have defender.")) {
return false;
}