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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 09-20-2008, 06:07 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

thank you for answering.

few more questions:

from what I understand an npc only has ONE spell it can proc as random?

I am looking at for exmaple at list 44 (Snake and Spider). it has
attack_proc 1001 (i presume its number of spell) and proc_chance 3

so it can proc spell 1001 at 3% chance?

BUt it also has: a spell list which has spell 765 Inject Poison with manacost -2 and recast_delay -1

so.. still confused.. it can proc 1001 at 3% chance but it can also chain cast 765 at no mana cost?

also- coudl you giuve more details how/from where parent list is coming from?

thanks
Reply With Quote
  #2  
Old 09-20-2008, 06:40 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

spell 1001 from spells_us.txt is weak poison and they can proc weak poison with 3% chance per hit and also cast 765 Injected Poison I as often as the ai allows.

This appears to be usded primarily for the strathbone spiders in kaesora as they are the only caster class that has this spell. It appears several other spiders and snakes have this as thier spell entry but are marked as warriors and would not see the spell casting code.

The parent list points to the same npc_spells entries. If you change the parent_list to point to 2 'Default Wizard List' then the spiders would also get the entire list from npc_spells_id 2 in npc_spells_entries.
Reply With Quote
  #3  
Old 09-20-2008, 06:52 PM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

I believe that even being warriors, so long as they have the spell list assigned to them, they should be able to proc.
Reply With Quote
  #4  
Old 09-20-2008, 06:59 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

I ah I see now, thank you Congdar.

So I can give npc:

a) personal custom spell list
b) someone elses spell list
c) a single proc

I thinking how would i give npc more than 1 proc? Pointing it to a parent list which allready has a proc and so on I guess?

Yes So_1337 is right, even warrior npcs can proc AND cast. I know that for fact and thats a very usefull thing, when you want to create a custom case hybrid npc - for exmaple Treants are warriors by class but they get full compliment of druid spells, so esentily they are twice as dangerous
Reply With Quote
  #5  
Old 09-20-2008, 07:51 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

btw another tricky question.

So i have an npc which can appear as any level, but simular spells/procs.
so I can make a single spell list inside which versions of spell would have their own level, and based on level of npc - it would use the right spells.

howeverw hat i want to have npc which would proc those spells based on his level? I gues makign a list of procs is not an option, and I would need to make LOTS of difirent spells lists containing just a single proc each?


BTW question to devs - wouldn't it been better to implement procing inside the spell list by for example making that "-3" in spell mana cast would indicate a this is a proc and adding extra collumn which would list proc chance (ignored unless cast time set to -3), rather than using some side attached proc values?

with this apparoch you coudl amke spell and proc list inside a single list and indicate them as needed as spells or procs
Reply With Quote
  #6  
Old 09-20-2008, 08:31 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

You can create custom spell entries all day long, I even think you can cascade the id's using parent entries so you could have multiple procs but I haven't tested that.
Reply With Quote
Reply

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 05:14 PM.


 

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