From 0c4a32246befdbfe5efa0609cbe2e8a8fc3f9a64 Mon Sep 17 00:00:00 2001 From: KayenEQ Date: Thu, 6 Nov 2014 21:00:03 -0500 Subject: [PATCH] Fix for CalcMaxHP --- zone/mob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/mob.cpp b/zone/mob.cpp index 513057fed..e945d0fef 100644 --- a/zone/mob.cpp +++ b/zone/mob.cpp @@ -608,7 +608,7 @@ int32 Mob::CalcMaxMana() { int32 Mob::CalcMaxHP() { max_hp = (base_hp + itembonuses.HP + spellbonuses.HP); - max_hp += max_hp * ((aabonuses.MaxHPChange + spellbonuses.MaxHPChange + itembonuses.MaxHPChange) / 10000); + max_hp += max_hp * (aabonuses.MaxHPChange + spellbonuses.MaxHPChange + itembonuses.MaxHPChange) / 10000; return max_hp; }