moved the level varible from MTGcard to MTGprimitive.

This commit is contained in:
omegablast2002@yahoo.com
2010-10-23 23:48:02 +00:00
parent d7f58285f4
commit 8cb1f0cc7c
6 changed files with 16 additions and 17 deletions

View File

@@ -247,8 +247,8 @@ int AIAction::getEfficiency(){
currentlevel = targetCounter->nb;
}
}
if (currentlevel < _target->LevelUp){
efficiency = 65;
if (currentlevel < _target->level){
efficiency = 85;
efficiency += currentlevel;//increase the efficeincy of leveling up by a small amount equal to current level.
}
break;