- Fixed Diregraf Escort.

This commit is contained in:
Sloth
2013-08-30 18:33:11 +00:00
parent 16a915faa1
commit 657beeb63d
2 changed files with 10 additions and 12 deletions

View File

@@ -3,6 +3,6 @@ ManaCost:G
Types:Creature Human Cleric Types:Creature Human Cleric
PT:1/1 PT:1/1
K:Soulbond K:Soulbond
S:Mode$ Continuous | Affected$ Creature.PairedWith,Creature.Self+Paired | AddKeyword$ Protection from Zombies | Description$ As long as CARDNAME is paired with another creature, both creatures have protection from Zombies. S:Mode$ Continuous | Affected$ Creature.PairedWith,Creature.Self+Paired | AddKeyword$ Protection:Zombie:Protection from Zombies | Description$ As long as CARDNAME is paired with another creature, both creatures have protection from Zombies.
SVar:Picture:http://www.wizards.com/global/images/magic/general/diregraf_escort.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/diregraf_escort.jpg
Oracle:Soulbond (You may pair this creature with another unpaired creature when either enters the battlefield. They remain paired for as long as you control both of them.)\nAs long as Diregraf Escort is paired with another creature, both creatures have protection from Zombies. Oracle:Soulbond (You may pair this creature with another unpaired creature when either enters the battlefield. They remain paired for as long as you control both of them.)\nAs long as Diregraf Escort is paired with another creature, both creatures have protection from Zombies.

View File

@@ -8005,6 +8005,15 @@ public class Card extends GameEntity implements Comparable<Card> {
} }
} else if (kw.equals("Protection from everything")) { } else if (kw.equals("Protection from everything")) {
return true; return true;
} else if (kw.startsWith("Protection:")) { // uses isValid
final String characteristic = kw.split(":")[1];
final String[] characteristics = characteristic.split(",");
if (source.isValid(characteristics, this.getController(), this)
&& !source.getName().contains("Flickering Ward") && !source.getName().contains("Pentarch Ward")
&& !source.getName().contains("Cho-Manno's Blessing") && !source.getName().contains("Floating Shield")
&& !source.getName().contains("Ward of Lights")) {
return true;
}
} }
if (kw.equals("Protection from colored spells") if (kw.equals("Protection from colored spells")
@@ -8030,17 +8039,6 @@ public class Card extends GameEntity implements Comparable<Card> {
return true; return true;
} }
if (kw.startsWith("Protection:")) { // uses isValid
final String characteristic = kw.split(":")[1];
final String[] characteristics = characteristic.split(",");
if (source.isValid(characteristics, this.getController(), this)
&& !source.getName().contains("Flickering Ward") && !source.getName().contains("Pentarch Ward")
&& !source.getName().contains("Cho-Manno's Blessing") && !source.getName().contains("Floating Shield")
&& !source.getName().contains("Ward of Lights")) {
return true;
}
}
} }
} }
return false; return false;