moved the level varible from MTGcard to MTGprimitive.
This commit is contained in:
@@ -112,8 +112,8 @@ int MTGAllCards::processConfLine(string &s, MTGCard *card, CardPrimitive * primi
|
||||
break;
|
||||
|
||||
case 'l': //Levelup, this is just to give Ai an idea when to stop leveling a creature.
|
||||
if(!card) card = NEW MTGCard();
|
||||
card->setLevelcap(atoi(val));
|
||||
if (!primitive) primitive = NEW CardPrimitive();
|
||||
primitive->setMaxLevel(atoi(val));
|
||||
break;
|
||||
|
||||
case 'o': //othercost
|
||||
|
||||
Reference in New Issue
Block a user