Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-01-2009, 03:17 PM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

For depopping adds use this script on each of the mobs you want to depop:
Code:
sub EVENT_COMBAT  {
if ($combat_state == 0){
quest::depop();
}
}
For NPC's to cast spells, use $npc->CastSpell(SpellID,$client);

But, you have to use an event such as a timer or something to execute the casting.

Using the Ailah or whatever spell editor from the GeorgeS site would be your best bet. Keep in mind, you have to load your spells_us.txt into the Spells_new table in your DB if you are running the most current revision of the source. In general, you are best served to COPY a spell, then edit it to whatever you need it to be. Then load it into the spells new and then copy the file onto your server and give to the clients.
__________________
Retired EMarr
Project1999 Developer
Reply With Quote
 


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 11:28 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