[INT64] Further int64 cleanup in Perl SetHP() and GetSpellHPBonuses() in Perl/Lua. (#2222)

This commit is contained in:
Kinglykrab
2022-05-29 17:36:32 -04:00
committed by GitHub
parent d493a6627b
commit 11369247b1
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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;