Update src/MythicPlus.cpp

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Ben Carter
2025-07-19 09:45:59 -04:00
committed by GitHub
parent 1481fe1cce
commit f225a8211b

View File

@@ -692,7 +692,7 @@ uint32 CalculateNewHealth(Creature* creature, CreatureTemplate const* cInfo, uin
float healthVariation;
// This is the fine grained hpScaleFactor set for the instance (and/or) creature overrides in the database.
int32 hpScaleFactor = sMpDataStore->GetHealthScaleFactor(mapId, difficulty);
float hpScaleFactor = sMpDataStore->GetHealthScaleFactor(mapId, difficulty);
// Add some variance to the healthpool so enemies are not all the same
if(creature->IsDungeonBoss() || creature->isWorldBoss() || creature->isElite() || cInfo->rank == CREATURE_ELITE_RARE) {