turned the "ai hint" for level up creatures into an MTGAbility.

this fixes a bug(?) that had high priority and maintains same effect as before. removed all traces of the "bugged(?) hint" from CardPrimitive.
Issue: 498
This commit is contained in:
omegablast2002@yahoo.com
2010-10-31 17:19:20 +00:00
parent 777098f763
commit 150c5f4c99
7 changed files with 39 additions and 20 deletions
-6
View File
@@ -105,12 +105,6 @@ int MTGAllCards::processConfLine(string &s, MTGCard *card, CardPrimitive * primi
cost->kicker = ManaCost::parseManaCost(value);
}
break;
case 'l': //Levelup, this is just to give Ai an idea when to stop leveling a creature.
if (!primitive) primitive = NEW CardPrimitive();
primitive->setMaxLevel(atoi(val));
break;
case 'o': //othercost
if (!primitive) primitive = NEW CardPrimitive();
if (ManaCost * cost = primitive->getManaCost())