mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
[INT64] Further int64 cleanup in Perl SetHP() and GetSpellHPBonuses() in Perl/Lua. (#2222)
This commit is contained in:
+2
-2
@@ -981,8 +981,8 @@ int64 Mob::GetItemHPBonuses() {
|
||||
return item_hp;
|
||||
}
|
||||
|
||||
int32 Mob::GetSpellHPBonuses() {
|
||||
int32 spell_hp = 0;
|
||||
int64 Mob::GetSpellHPBonuses() {
|
||||
int64 spell_hp = 0;
|
||||
spell_hp = spellbonuses.HP;
|
||||
spell_hp += spell_hp * spellbonuses.MaxHPChange / 10000;
|
||||
return spell_hp;
|
||||
|
||||
Reference in New Issue
Block a user