Changed mana_used to use int32,

to match int32 mana_cost
This will allow higher mana costs to function
This commit is contained in:
dmcintosh-BCT
2022-07-21 16:49:17 -04:00
parent 20c639c872
commit 5876049cb7
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -7077,7 +7077,7 @@ uint16 Mob::GetSympatheticSpellProcID(uint16 spell_id)
return 0;
}
bool Mob::DoHPToManaCovert(uint16 mana_cost)
bool Mob::DoHPToManaCovert(int32 mana_cost)
{
if (spellbonuses.HPToManaConvert){
int64 hp_cost = spellbonuses.HPToManaConvert * mana_cost / 100;