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 04-21-2010, 01:51 PM
RichardoX
Hill Giant
 
Join Date: Dec 2004
Location: in your closet....
Posts: 169
Default Event_npc_cast

The title says it all. I think it would add some interesting functionality to encounters. When an NPC casts a specified spell, EVENT_NPC_CAST will listen. I can try to write this but I think it could be done much faster and efficiently in the hands of a skilled dev.

Here's an example of what I mean:

Code:
sub EVENT_NPC_CAST {
if($spell_id == "31") {
quest::say("Har har! I am casting spell id: $spell_id.");
}
if($spell_id == "32") {
quest::say("Ninja, VANISH!");
quest::depop();
}
}
__________________
a hill giant slashes YOU for 25 points of damage!
You have been slain!
LOADING, PLEASE WAIT...
Reply With Quote
Reply


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 01:38 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3