diff --git a/projects/mtg/src/MTGAbility.cpp b/projects/mtg/src/MTGAbility.cpp index 6736c6e23..d4db8310c 100644 --- a/projects/mtg/src/MTGAbility.cpp +++ b/projects/mtg/src/MTGAbility.cpp @@ -282,6 +282,7 @@ int AbilityFactory::magicText(int id, Spell * spell, MTGCardInstance * card){ found = s.find("damage"); if (found != string::npos){ unsigned int start = s.find(":",found); + if (start == string::npos) start = s.find(" ",found); unsigned int end = s.find(" ",start); int damage; ManaCost * cost = ManaCost::parseManaCost(s);