From 12dcbd0871e1d53e21508a0b04f47ecb903b2dc1 Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Thu, 9 Mar 2023 22:32:47 -0500 Subject: [PATCH] [Bug Fix] Fix Heal Scale and Spell Scale in NPC Scaling (#3051) # Notes - These had typos and didn't work. --- zone/npc_scale_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone/npc_scale_manager.cpp b/zone/npc_scale_manager.cpp index 5a98375d3..efea16fa3 100644 --- a/zone/npc_scale_manager.cpp +++ b/zone/npc_scale_manager.cpp @@ -173,11 +173,11 @@ void NpcScaleManager::ScaleNPC( } if (always_scale || npc->GetSpellScale() == 0) { - npc->ModifyNPCStat("spell_scale", std::to_string(scale_data.spell_scale)); + npc->ModifyNPCStat("spellscale", std::to_string(scale_data.spell_scale)); } if (always_scale || npc->GetHealScale() == 0) { - npc->ModifyNPCStat("heal_scale", std::to_string(scale_data.heal_scale)); + npc->ModifyNPCStat("healscale", std::to_string(scale_data.heal_scale)); } if (always_scale || npc->GetAvoidanceRating() == 0) {