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 {
|
else {
|
||||||
maxEp -= ut->getMaxEp();
|
maxEp -= ut->getMaxEp();
|
||||||
if(ut->getMaxEpRegeneration() != 0) {
|
if(ut->getMaxEpRegeneration() != 0) {
|
||||||
maxEpRegeneration += ut->getMaxEpRegeneration();
|
maxEpRegeneration -= ut->getMaxEpRegeneration();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user