Merge pull request #282 from KayenEQ/Development

Fix for CalcMaxHP
This commit is contained in:
Michael Cook (mackal) 2014-11-06 21:57:16 -05:00
commit f81f8ea5d6

View File

@ -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;
}