fixed bug (found my MumuM) related to ep regen and attackboost

This commit is contained in:
Mark Vejvoda 2011-11-03 20:11:24 +00:00
parent 4930ec109d
commit c1fb997a8b
1 changed files with 1 additions and 1 deletions

View File

@ -608,7 +608,7 @@ void TotalUpgrade::deapply(const UpgradeTypeBase *ut,const Unit *unit) {
else {
maxEp -= ut->getMaxEp();
if(ut->getMaxEpRegeneration() != 0) {
maxEpRegeneration += ut->getMaxEpRegeneration();
maxEpRegeneration -= ut->getMaxEpRegeneration();
}
}