mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 10:47:16 +00:00
Merge of hatebourne's stuff
This commit is contained in:
1 parent
29c0c4801c
commit
0dbd0478c0
6 files changed
+14
-5
No files matched your search
@@ -250,7 +250,7 @@ int32 Client::CalcMaxHP() {
|
||||
|
||||
max_hp += GroupLeadershipAAHealthEnhancement();
|
||||
|
||||
max_hp += max_hp * (spellbonuses.MaxHPChange + itembonuses.MaxHPChange) / 10000;
|
||||
max_hp += max_hp * ((spellbonuses.MaxHPChange + itembonuses.MaxHPChange) / 10000.0f);
|
||||
|
||||
if (cur_hp > max_hp)
|
||||
cur_hp = max_hp;
|
||||
|
||||
Reference in new issue
Block a user