mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
Allow ModifyNPCStat to change npc spell effects lists
This commit is contained in:
parent
376b04a37b
commit
ec36a3787d
@ -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 == "healscale") { healscale = atof(val.c_str()); return; }
|
||||||
else if(id == "spellscale") { spellscale = 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_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() {
|
void NPC::LevelScale() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user