mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
add Spectral Shield (from Ice Age; includes keyword CARDNAME can't be the target of spells.)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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_lynx.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/spectral_procession.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_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/spectral_sliver.txt svneol=native#text/plain
|
||||||
res/cardsfolder/spell_contortion.txt -text svneol=native#text/plain
|
res/cardsfolder/spell_contortion.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/spell_pierce.txt -text svneol=native#text/plain
|
res/cardsfolder/spell_pierce.txt -text svneol=native#text/plain
|
||||||
|
|||||||
9
res/cardsfolder/spectral_shield.txt
Normal file
9
res/cardsfolder/spectral_shield.txt
Normal 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
|
||||||
@@ -3081,6 +3081,10 @@ public class CardFactoryUtil {
|
|||||||
if(kw.equals("CARDNAME can't be the target of blue spells.")) {
|
if(kw.equals("CARDNAME can't be the target of blue spells.")) {
|
||||||
if(spell.isBlue() && spell.isSpell()) return false;
|
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;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user