diff --git a/res/cardsfolder/karplusan_strider.txt b/res/cardsfolder/karplusan_strider.txt index b2e38023e91..49a5e090298 100644 --- a/res/cardsfolder/karplusan_strider.txt +++ b/res/cardsfolder/karplusan_strider.txt @@ -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 diff --git a/src/forge/CardFactoryUtil.java b/src/forge/CardFactoryUtil.java index b8a91b3855a..918133a6d94 100644 --- a/src/forge/CardFactoryUtil.java +++ b/src/forge/CardFactoryUtil.java @@ -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;