add Spectral Shield (from Ice Age; includes keyword CARDNAME can't be the target of spells.)

This commit is contained in:
jendave
2011-08-06 18:23:37 +00:00
parent 814c28ea3c
commit a4a8c208d5
3 changed files with 14 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -5573,6 +5573,7 @@ res/cardsfolder/spectral_guardian.txt -text svneol=native#text/plain
res/cardsfolder/spectral_lynx.txt -text svneol=native#text/plain
res/cardsfolder/spectral_procession.txt -text svneol=native#text/plain
res/cardsfolder/spectral_searchlight.txt -text svneol=native#text/plain
res/cardsfolder/spectral_shield.txt -text svneol=native#text/plain
res/cardsfolder/spectral_sliver.txt svneol=native#text/plain
res/cardsfolder/spell_contortion.txt -text svneol=native#text/plain
res/cardsfolder/spell_pierce.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Spectral Shield
ManaCost:1 W U
Types:Enchantment Aura
Text:no text
K:Enchant creature
K:enPump:+1/+1/HIDDEN CARDNAME can't be the target of spells.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/spectral_shield.jpg
End

View File

@@ -3081,6 +3081,10 @@ public class CardFactoryUtil {
if(kw.equals("CARDNAME can't be the target of blue spells.")) {
if(spell.isBlue() && spell.isSpell()) return false;
}
if(kw.equals("CARDNAME can't be the target of spells.")) {
if(spell.isSpell()) return false;
}
}
}
return true;