- 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")) {