Skip to content

Commit

Permalink
Allow ModifyNPCStat to change an NPCs spell list
Browse files Browse the repository at this point in the history
  • Loading branch information
Natedog2012 committed Oct 19, 2015
1 parent 861d057 commit 376b04a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zone/npc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "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; }
}

void NPC::LevelScale() {
Expand Down

0 comments on commit 376b04a

Please sign in to comment.