mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
implemented "can't be target" for Karplusan Strider.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
Name:Karplusan Strider
|
||||
ManaCost:3 G
|
||||
Types:Creature Yeti
|
||||
Text:(NOTE: "Karplusan Strider can't be the target of blue or black spells." not implemented.)
|
||||
Text:no text
|
||||
PT:3/4
|
||||
K:CARDNAME can't be the target of blue spells.
|
||||
K:CARDNAME can't be the target of black spells.
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://resources.wizards.com/magic/cards/csp/en-us/card121214.jpg
|
||||
SetInfo:CSP|Uncommon|http://magiccards.info/scans/en/cs/112.jpg
|
||||
|
||||
@@ -3139,6 +3139,14 @@ public class CardFactoryUtil {
|
||||
if(kw.equals("CARDNAME can't be the target of red spells or abilities from red sources.")) {
|
||||
if(spell.isRed()) return false;
|
||||
}
|
||||
|
||||
if(kw.equals("CARDNAME can't be the target of black spells.")) {
|
||||
if(spell.isBlack() && spell.isSpell()) return false;
|
||||
}
|
||||
|
||||
if(kw.equals("CARDNAME can't be the target of blue spells.")) {
|
||||
if(spell.isBlue() && spell.isSpell()) return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user