-random cleanup
-fix issue 180 (for AI issues) by exchanging the two lines
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-11-21 14:01:02 +00:00
parent e1720415d1
commit ac50198962
8 changed files with 182 additions and 132 deletions
+1 -1
View File
@@ -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;