mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Allow ModifyNPCStat to change an NPCs spell list
This commit is contained in:
parent
861d057fe5
commit
376b04a37b
@ -1978,6 +1978,7 @@ void NPC::ModifyNPCStat(const char *identifier, const char *newValue)
|
|||||||
else if(id == "loottable_id") { loottable_id = atof(val.c_str()); return; }
|
else if(id == "loottable_id") { loottable_id = atof(val.c_str()); return; }
|
||||||
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; }
|
||||||
}
|
}
|
||||||
|
|
||||||
void NPC::LevelScale() {
|
void NPC::LevelScale() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user