Skip to content

Commit

Permalink
Allow ModifyNPCStat to change npc spell effects lists
Browse files Browse the repository at this point in the history
  • Loading branch information
Natedog2012 committed Oct 21, 2015
1 parent 376b04a commit ec36a37
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 @@ -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() {
Expand Down

0 comments on commit ec36a37

Please sign in to comment.