mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-25 10:28:23 +00:00
Fix for bot breaking, I don't normally build bots.
This commit is contained in:
+1
-1
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user