behindview_1
06-06-2003, 06:42 AM
Using FQAdmin, i can't for the life of me figure out how to do this. It seems i am unable to create a new NPC spell casting list. The default lists have some very low level spells.
Venelar
06-06-2003, 03:18 PM
Heres what you need to do to add spells to a NPC:
1. Go to NPC Spells tab under NPCs.
2. Hit 'Add Record' to make a new casting class
3. You cannot name the class here because it is broken in EQ Admin, I will show you a SQL statement to fix that. Go ahead and hit 'Add Spell'
4. Enter a spell ID number. For my example, I want to make a snake class of proc poison, so I search in Kaiyodo's spell editor for 'Feeble Poison'. Its number 1000 so I put that in the EFFECT column.
5. The next column identifies how the spell is used. The numbers are:
1- Harmful spell
2- Healing spell
4- Root type spell
8- Buff spell
32- Pet spell
64- Lifetap spell
128- Snare type spell
256- DoT spell
For my example, I use 256 for poison since it is a DoT spell.
6. 'Minlevel' is the minimum level the monster can use the spell. For my snake it is 1 since snakes 1 to 3 will use 'feeble poison'.
7. 'Maxlevel' is the maximum level the monster can use the spell. Since i want snakes above 3 to use 'Weak Poison', I will give this column a value of 3.
8. 'Manacost' is how much mana the spell will use. Leave this at -1 since it is a proc. Recast is how long the mob must wait in order to use the spell again. I will leave it at -1 so it will be immediate.
9. For 'Priority' I will enter a 1 since it is the first spell in the series. The next spell, 'Weak Poison' will recieve a 2, and the next spell after that, 'Poison' will recieve a 3 etc etc.
10. Keep adding in spells in their order to keep it organized, so I have 'Feeble Poison','Weak Poison', 'Poison', 'Darkweed Poison', so far in my snake poison category. I press 'COMMIT CHANGES' to save the spells. This is very important!
11. Now going back to the main list, I leave alone parent_list, attack_proc as I haven't really played with these yet. proc_chance should be self explanitory.
12. Now that I have made the class, it will be avaliable to be assigned in the NPC Types table. Just select your npc, and go to the drop menu that says spells.
13. Heres the SQL you need to enter in order to name your spell list: (my example, i use SnakePosions for my name, and my id from the column was 18.)
UPDATE npc_spells SET name = "SnakePoisons" WHERE id = 18;
14. You will need to reload EQAdmin to see your name show up most likely. Sometimes it won't take hold, you'll see '0 rows effected' in your SQL. Not sure why it does this but just try again and sometimes it will stick.
Good Luck
behindview_1
06-06-2003, 10:01 PM
Thank you very much. I will try this out asap.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.