Fixed changing stat boost by negative actually increasing it.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
fbfcc53a02
commit
144d17d859
|
@ -45,7 +45,7 @@ void Battling::Creature::ChangeStatBoost(Core::Statistic stat, int8_t diffAmount
|
|||
if (diffAmount > 0)
|
||||
this->_statBoost.IncreaseStatBy(stat, diffAmount);
|
||||
else
|
||||
this->_statBoost.DecreaseStatBy(stat, diffAmount);
|
||||
this->_statBoost.DecreaseStatBy(stat, -diffAmount);
|
||||
this->RecalculateBoostedStat(stat);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue