mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-06 10:22:26 +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;
|
int32 bot_hp = 0;
|
||||||
uint32 nd = 10000;
|
uint32 nd = 10000;
|
||||||
bot_hp += (GenerateBaseHitPoints() + itembonuses.HP);
|
bot_hp += (GenerateBaseHitPoints() + itembonuses.HP);
|
||||||
nd += aabonuses.MaxHP;
|
nd += aabonuses.MaxHPChange;
|
||||||
bot_hp = ((float)bot_hp * (float)nd / (float)10000);
|
bot_hp = ((float)bot_hp * (float)nd / (float)10000);
|
||||||
bot_hp += (spellbonuses.HP + aabonuses.HP);
|
bot_hp += (spellbonuses.HP + aabonuses.HP);
|
||||||
bot_hp += GroupLeadershipAAHealthEnhancement();
|
bot_hp += GroupLeadershipAAHealthEnhancement();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user