Erwan
-random cleanup -fix issue 180 (for AI issues) by exchanging the two lines
This commit is contained in:
@@ -682,7 +682,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
|
||||
if (found != string::npos){
|
||||
ManaCost * output = ManaCost::parseManaCost(s.substr(found));
|
||||
Targetable * t = NULL;
|
||||
if (spell) t = spell->getNextPlayerTarget();
|
||||
if (spell) t = spell->getNextTarget();
|
||||
MTGAbility * a = NEW AManaProducer(id, card, t, output, NULL, 1, who);
|
||||
a->oneShot = 1;
|
||||
return a;
|
||||
|
||||
Reference in New Issue
Block a user