Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-21-2013, 08:38 AM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default Npc Wont cast spells

I have been having an Issue for awhile now and cant seem to figure it out.

My custom NPC's seem to be very picky on which spells they will and will not cast.

ie:
Code:
 	$npc->CastSpell(7983,0);
Will cast... however...
Code:
 	$npc->CastSpell(7984,0);
$npc->SpellFinished(7984,0);
$npc->CastSpell(7984,1);
Will not. Certain spells refuse to work. Ive even tried selfcast to get them to fire.
GolemSmash2 is another spell that will not work for me on NPC's. My GM toon can #cast it all damn day so i know the spell is in there and working. When I changed the target type to 1 it will interrupt its own spell. Ill post a section of my pl...

Code:
if ($timer eq "atimer")
  {
	$npc->CastSpell(7984,0);
	quest::stoptimer("atimer");
	quest::settimer("atimer2",10);
  }
Reply With Quote
 

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 01:59 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