-fixed bug with Rampant growth. Other cards that do the same kind of thing can now be coded
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-07-20 13:56:30 +00:00
parent 82204fd8b3
commit 5a1b75b8d9
6 changed files with 32 additions and 7 deletions

View File

@@ -210,11 +210,12 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
if (found != string::npos){
string s1 = s.substr(0,found);
string s2 = s.substr(found+2);
MultiAbility * multi = NEW MultiAbility(id, card,NULL,NULL);
MultiAbility * multi = NEW MultiAbility(id, card,target,NULL,NULL);
MTGAbility * a1 = parseMagicLine(s1,id,spell, card);
MTGAbility * a2 = parseMagicLine(s2,id,spell, card);
multi->Add(a1);
multi->Add(a2);
multi->oneShot=1;
return multi;
}