Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2015, 02:17 AM
Hateborne
Hill Giant
 
Join Date: May 2010
Posts: 125
Default

Is it possible then to get a function similar to $npc->Damage() to emulate a casted rune spell? The Damage() bit allows one to specify the source mob, damage, "damaging spell", and possible to avoid/resist (maybe slot too).


-Hate
Reply With Quote
  #2  
Old 01-06-2015, 06:27 AM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default

I think you don't really understand what the npc->Damage function does.

It really has nothing to do with spell casting, in the source it is used to apply the damage of the spell after its been fully calculated out based on the spells data. When used as a quest function its nothing more then sending a message and some graphics.

You can't just make fake buffs using quest functions. The entire spell process relies on pulling data from the spells_new table that is loaded into memory.

It is not impossible to add what you want but it is just such a narrow application requiring a lot of custom code it i just isn't justified.

Especially since there is a very simple and straight forward solution to what you want to do using the existing mechanics.

Just make several different custom rune spells with increasing amounts.

Then when a player casts a spell based on what the heal amount is ect

Use $mob->SpellFinished to apply the rune effect using the custom spell id.
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 10:47 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