View Single Post
  #410  
Old 03-21-2008, 08:47 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

The peq database has default spell lists for all caster classes in npc_spells table starting at id 1 and going through id 12 with names "Default <class> List"
Also in the database are separate entries id 514-524 with names "Default Pet <class> List"

I don't know the reason for needing both, but the bots that can cast pets are hard coded to use the 514-524 list AND the Wizard code is rem'd out.

Maybe Cavedude can shed some light on the multiple default entries as the pet classes would never need the default entries in favor or the default pet entries. It seems the bot code uses the 'Pet' version for pet classes, so any custimization you do should use the higher range unless we hear some reason not to. (We should probably make a 'Default Bot' list, what id range should we use?).

Since the wizard bot code is not changing to the Default Pet entry it is instead using the Default entry. The default entry does not have any pet spells in the list.