[Bug Fix] Fix Heal Scale and Spell Scale in NPC Scaling (#3051)

# Notes
- These had typos and didn't work.
This commit is contained in:
Alex King 2023-03-09 22:32:47 -05:00 committed by GitHub
parent b0be4ca8bd
commit 12dcbd0871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {