From f225a8211b78e4a5e37700cf78daa24d1ba21ac6 Mon Sep 17 00:00:00 2001 From: Ben Carter <110695027+ben-of-codecraft@users.noreply.github.com> Date: Sat, 19 Jul 2025 09:45:59 -0400 Subject: [PATCH] Update src/MythicPlus.cpp Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- src/MythicPlus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MythicPlus.cpp b/src/MythicPlus.cpp index e2152a4..d088f68 100644 --- a/src/MythicPlus.cpp +++ b/src/MythicPlus.cpp @@ -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) {