[Show Table of Contents]

§npc_spells schema

Field Name Field Description Field Type Field Default Value
id Unique key int(11) PRI Null
name This is the description name of the npc spell set tinytext null
parent_list Inherit all the spells from this list, and merge them with our spells. Only one level of inheritance is allowed, so your parent's parent will not be included. int(11) 0
attack_proc The combat proc that an NPC with this spell set will add to their list of procs. (Spell ID) smallint(5) -1
proc_chance The % chance that the specified proc will trigger on hit. (1-100) tinyint(3) 3


Used With
Loaded When
  • On zone init/boot (static zone on its initial boot, dynamics on each startup of a zone) spells are then cached from the database
Loaded From ZoneDatabase::GetNPCSpells in zone/MobAI.cpp
Related Commands