Allow ModifyNPCStat to change an NPCs spell list

This commit is contained in:
Natedog2012 2015-10-19 10:05:20 -07:00
parent 861d057fe5
commit 376b04a37b

View File

@ -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() {