- Fixed Tattoo Ward

This commit is contained in:
swordshine
2014-07-21 09:49:20 +00:00
parent 782f7197ea
commit 47ba659072
3 changed files with 4 additions and 5 deletions

View File

@@ -8293,8 +8293,7 @@ public class Card extends GameEntity implements Comparable<Card> {
return true;
}
} else if (kw.equals("Protection from green")) {
if (source.isGreen() && !source.getName().equals("Green Ward")
&& !source.getName().contains("Pledge of Loyalty")) {
if (source.isGreen() && !source.getName().contains("Pledge of Loyalty")) {
return true;
}
} else if (kw.equals("Protection from creatures")) {
@@ -8306,7 +8305,7 @@ public class Card extends GameEntity implements Comparable<Card> {
return true;
}
} else if (kw.equals("Protection from enchantments")) {
if (source.isEnchantment() && !source.getName().contains("Tattoo Ward")) {
if (source.isEnchantment()) {
return true;
}
} else if (kw.equals("Protection from everything")) {

View File

@@ -3,7 +3,7 @@ ManaCost:W
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ W | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Protection:Card.Blue:Protection from Blue:Card.CardUID_HostCardUID | Description$ Enchanted creature has protection from blue. This effect doesn't remove CARDNAME.
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Protection:Card.Blue:Protection from blue:Card.CardUID_HostCardUID | Description$ Enchanted creature has protection from blue. This effect doesn't remove CARDNAME.
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/blue_ward.jpg
Oracle:Enchant creature\nEnchanted creature has protection from blue. This effect doesn't remove Blue Ward.

View File

@@ -3,7 +3,7 @@ ManaCost:2 W
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 2 W | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 1 | AddToughness$ 1 | AddKeyword$ Protection from enchantments | Description$ Enchanted creature gets +1/+1 and has protection from enchantments. This effect doesn't remove CARDNAME.
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 1 | AddToughness$ 1 | AddKeyword$ Protection:Enchantment:Protection from enchantments:Card.CardUID_HostCardUID | Description$ Enchanted creature gets +1/+1 and has protection from enchantments. This effect doesn't remove CARDNAME.
A:AB$ Destroy | Cost$ Sac<1/CARDNAME> | ValidTgts$ Enchantment | TgtPrompt$ Select target enchantment | SpellDescription$ Destroy target enchantment.
SVar:Picture:http://www.wizards.com/global/images/magic/general/tattoo_ward.jpg
Oracle:Enchant creature\nEnchanted creature gets +1/+1 and has protection from enchantments. This effect doesn't remove Tattoo Ward.\nSacrifice Tattoo Ward: Destroy target enchantment.