diff --git a/zone/npc.cpp b/zone/npc.cpp index cd20c3eb7..72264a1a2 100644 --- a/zone/npc.cpp +++ b/zone/npc.cpp @@ -1979,6 +1979,7 @@ void NPC::ModifyNPCStat(const char *identifier, const char *newValue) else if(id == "healscale") { healscale = atof(val.c_str()); return; } else if(id == "spellscale") { spellscale = atof(val.c_str()); return; } else if(id == "npc_spells_id") { AI_AddNPCSpells(atoi(val.c_str())); return; } + else if(id == "npc_spells_effects_id") { AI_AddNPCSpellsEffects(atoi(val.c_str())); CalcBonuses(); return; } } void NPC::LevelScale() {