diff --git a/projects/mtg/src/MTGAbility.cpp b/projects/mtg/src/MTGAbility.cpp index e744d30fc..354d4c4fe 100644 --- a/projects/mtg/src/MTGAbility.cpp +++ b/projects/mtg/src/MTGAbility.cpp @@ -1061,6 +1061,12 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG if (splitRest.size()) trigger->castRestriction = splitRest[1]; } + if (splitTrigger[1].find("restriction{{") != string::npos) + { + vector splitRest = parseBetween(s,"restriction{{","}}"); + if (splitRest.size()) + trigger->castRestriction = splitRest[1]; + } //Dirty way to remove the trigger text (could get in the way) if (trigger) {