From 36da0267b651553b4c994aa68c8570c02356fe44 Mon Sep 17 00:00:00 2001 From: dmcintosh-BCT Date: Thu, 21 Jul 2022 17:07:46 -0400 Subject: [PATCH] Corrected DoHPToManaCovert to Int32 --- zone/mob.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/mob.h b/zone/mob.h index 24da73945..a71d92e23 100644 --- a/zone/mob.h +++ b/zone/mob.h @@ -886,7 +886,7 @@ public: int16 GetSkillDmgAmt(uint16 skill); int16 GetPositionalDmgAmt(Mob* defender); inline bool CanBlockSpell() const { return(spellbonuses.FocusEffects[focusBlockNextSpell]); } - bool DoHPToManaCovert(uint16 mana_cost = 0); + bool DoHPToManaCovert(int32 mana_cost = 0); int8 GetDecayEffectValue(uint16 spell_id, uint16 spelleffect); int64 GetExtraSpellAmt(uint16 spell_id, int64 extra_spell_amt, int64 base_spell_dmg); void MeleeLifeTap(int64 damage);