Go Back   EQEmulator Home > EQEmulator Forums > Support > Spell Support

Spell Support Broken Spells? Want them Fixed? Request it here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 09-20-2008, 05:24 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

mana cost -1 means get the correct mana cost from the spell file, probably means the same for recast delay
mana cost -2 means no mana cost for this spell and it also means that cast time is 0 instant

attack_proc is the spell id of the proc -1 means no proc
proc_chance is the % chance the proc will trigger on a hit

An npc spell entry in the database consists of an id in the table npc_spells which has the above two entries and the actual spell in the table npc_spells_entries. It has an id and then the npc_spells_entry that points back to the entry in the npc_spells table. The spell entry then has the spell id the type of spell it is (detailed below) and the level range the spell is usable. The mana cost and recast delay I covered above, and there's the priority field for the npc ai to use as to which spell is more important to cast with 0 being higher piority than 1.

Spell Types are:
Nuke=1;
Heal=2;
Root=4;
Buff=8;
Escape=16;
Pet=32;
Lifetap=64;
Snare=128;
DOT=256;
Dispel=512;
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:11 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3