fixed bug (found my MumuM) related to ep regen and attackboost
This commit is contained in:
parent
4930ec109d
commit
c1fb997a8b
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue