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

This commit is contained in:
Kinglykrab authored and GitHub committed 2022-05-29 16:36:32 -05:00
1 parent d493a6627b
commit 11369247b1
5 files changed
+7 -7

No files matched your search

+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;