Core/Units: round rage gain values up so taking at least one point of damage will ensure you gain a rage point
This commit is contained in:
1 parent
6cb2bd953d
commit
4f309c127a
1 file changed
+1
-1
@@ -13456,7 +13456,7 @@ void Unit::RewardRage(uint32 baseRage, bool attacker)
|
||||
}
|
||||
|
||||
addRage *= sWorld->getRate(RATE_POWER_RAGE_INCOME);
|
||||
ModifyPower(POWER_RAGE, uint32(addRage * 10));
|
||||
ModifyPower(POWER_RAGE, static_cast<uint32>(std::ceil(addRage) * 10));
|
||||
}
|
||||
|
||||
void Unit::StopAttackFaction(uint32 faction_id)
|
||||
|
||||
Reference in new issue
Block a user