diff --git a/res/cardsfolder/mindwrack_liege.txt b/res/cardsfolder/mindwrack_liege.txt index 4e4c7c36296..7b98778c0f8 100644 --- a/res/cardsfolder/mindwrack_liege.txt +++ b/res/cardsfolder/mindwrack_liege.txt @@ -3,8 +3,8 @@ ManaCost:3 UR UR UR Types:Creature Horror Text:UR UR UR UR: You may put a blue or red creature card from your hand onto the battlefield. PT:4/4 -K:stPumpOther:YouCtrl Creature.Blue:1/1:No Condition:Other blue creatures you control get +1/+1. -K:stPumpOther:YouCtrl Creature.Red:1/1:No Condition:Other red creatures you control get +1/+1. +K:stPumpOther:Creature.Blue+:1/1:No Condition:Other blue creatures you control get +1/+1. +K:stPumpOther:Creature.Red+:1/1:No Condition:Other red creatures you control get +1/+1. SVar:PlayMain1:TRUE SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/mindwrack_liege.jpg diff --git a/src/forge/Card.java b/src/forge/Card.java index d7188d2efef..20786b850f4 100644 --- a/src/forge/Card.java +++ b/src/forge/Card.java @@ -2034,16 +2034,24 @@ public class Card extends MyObservable { } public boolean isValidCard(String Restrictions[], String Controller) { - String Restriction[] = Restrictions; - if (Restrictions[0].startsWith("YouCtrl")) { - if (!controller.equals(Controller)) return false; - Restriction[0] = Restriction[0].replaceFirst("YouCtrl ", ""); - } - if (Restrictions[0].startsWith("YouDontCtrl")) { - if (controller.equals(Controller)) return false; - Restriction[0] = Restriction[0].replaceFirst("YouDontCtrl ", ""); - } - return isValidCard(Restriction); + for (int i=0; i