mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-28 09:17:15 +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:
@@ -173,11 +173,11 @@ void NpcScaleManager::ScaleNPC(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (always_scale || npc->GetSpellScale() == 0) {
|
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) {
|
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) {
|
if (always_scale || npc->GetAvoidanceRating() == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user