We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2662cc commit e6b9f21Copy full SHA for e6b9f21
src/server/game/Entities/Creature/CreatureData.h
@@ -403,7 +403,7 @@ struct TC_GAME_API CreatureBaseStats
403
404
uint32 GenerateHealth(CreatureTemplate const* info) const
405
{
406
- return uint32(ceil(BaseHealth[info->expansion] * info->ModHealth));
+ return uint32(std::round(std::max(BaseHealth[info->expansion] * info->ModHealth, 1.0f)));
407
}
408
409
uint32 GenerateMana(CreatureTemplate const* info) const
0 commit comments