|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself. |

06-11-2008, 11:08 PM
|
Hill Giant
|
|
Join Date: Nov 2005
Posts: 145
|
|
NPCSpells - type?
does anyone know what the different type 's are for the statement below? is there a list anywhere or are they contained anywhere else in the database?
insert into npc_spells_entries (npc_spells_id, spellid, type, minlevel, maxlevel, manacost, recast_delay, priority) values (999, 278, 8, 50, -1, -1, 0);
|

06-11-2008, 11:35 PM
|
Hill Giant
|
|
Join Date: Jun 2006
Location: San Jo, Cali
Posts: 180
|
|
im at work otherwise i could answer the question for you. I think what your asking is what spells those are? Try GeorgeS tools... they come along with a spell referance txt file that gives you the name of all spell numbers
|

06-11-2008, 11:53 PM
|
Hill Giant
|
|
Join Date: Jun 2006
Location: San Jo, Cali
Posts: 180
|
|
npc_spells_id, 999 think this is a complilation of spells for an npc like (necrospells)
spellid, 278 this should be a spell
type, 8
minlevel, 1
maxlevel, 50 (spell level range)
manacost, -1 (null)
recast_delay, -1 (null)
priority 0
|

06-12-2008, 12:16 AM
|
Hill Giant
|
|
Join Date: Nov 2005
Posts: 145
|
|
I am wondering what the type value represents, I am assuming its soemthing like buff detremental aoe or something like that, just can;t find a list anywhere of what value signifies what.
|

06-12-2008, 12:44 AM
|
Hill Giant
|
|
Join Date: Jun 2006
Location: San Jo, Cali
Posts: 180
|
|
maybe referance spells you know what type they are and use process of elimination :/
|

06-12-2008, 09:25 AM
|
Hill Giant
|
|
Join Date: Nov 2005
Posts: 145
|
|
Yea, I was hoping when I added a spell to a spell list I would be able to automatically pull the type value somewhere out of the database and fill it in. I have the Spells table sourced into my db from the Ax_classic database, I cannot find it in there either. Seems if you dont assign the correct type to a spell it doesn't get casted properly, I gave an enchanter mob visions of grandeur (haste) hoping it would buff the mobs around it, but it buffed me while I was fighting it! lol
|

06-12-2008, 09:28 AM
|
Developer
|
|
Join Date: Jul 2007
Location: my own little world
Posts: 751
|
|
from MobAI.cpp
const int SpellType_Nuke=1;
const int SpellType_Heal=2;
const int SpellType_Root=4;
const int SpellType_Buff=8;
const int SpellType_Escape=16;
const int SpellType_Pet=32;
const int SpellType_Lifetap=64;
const int SpellType_Snare=128;
const int SpellType_DOT=256;
const int SpellTypes_Detrimental = SpellType_Nuke|SpellType_Root|SpellType_Lifetap|Sp ellType_Snare|SpellType_DOT;
const int SpellTypes_Beneficial = SpellType_Heal|SpellType_Buff|SpellType_Escape|Spe llType_Pet;
|

06-12-2008, 09:34 AM
|
Hill Giant
|
|
Join Date: Nov 2005
Posts: 145
|
|
you rock, thanks
|

06-12-2008, 01:46 PM
|
Hill Giant
|
|
Join Date: Jun 2006
Location: San Jo, Cali
Posts: 180
|
|
awesome thank you Congdar!
|

06-13-2008, 01:44 PM
|
Hill Giant
|
|
Join Date: Nov 2005
Posts: 145
|
|
Thanks, that worked perfect, makes it so much easier to correctly add a spell to a spell list now

|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 07:00 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |