mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-18 14:52:25 +00:00
[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:
parent
b0be4ca8bd
commit
12dcbd0871
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user