mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-30 15:01:29 +00:00
Fix for bot breaking, I don't normally build bots.
This commit is contained in:
parent
5891b2c426
commit
b82dfb91ae
@ -7922,7 +7922,7 @@ int32 Bot::CalcMaxHP() {
|
||||
int32 bot_hp = 0;
|
||||
uint32 nd = 10000;
|
||||
bot_hp += (GenerateBaseHitPoints() + itembonuses.HP);
|
||||
nd += aabonuses.MaxHP;
|
||||
nd += aabonuses.MaxHPChange;
|
||||
bot_hp = ((float)bot_hp * (float)nd / (float)10000);
|
||||
bot_hp += (spellbonuses.HP + aabonuses.HP);
|
||||
bot_hp += GroupLeadershipAAHealthEnhancement();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user