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 02-05-2013, 03:36 AM
Kenej
Fire Beetle
 
Join Date: Jan 2013
Posts: 24
Default Stop attacking!

I'm having a little bit of a problem with this boss script and I was hoping one of you more experienced people could help me out.. I used the search function and found a similar thread to this one, but it didn't seem to tell me anything I haven't already tried or produce any solutions for me.

The point of this script is to have the boss cast his stun, and then run over to the location I have set.. I've pasted a snippet of the script below.

With this he casts his stun, but continues to attack you and doesn't move to where he's supposed to.. I also wasn't sure if the timing for pause was in milliseconds or not so if it's not I'll just fix that, but that's not really the issue right now!

I've tried to wipe his hate list, which just makes him go back to his spawn point.. I've also tried setting his attack flags to be unattackable/wont attack back and that doesn't work either.

I'm aware that it could be done if i set a combat state and wipe his hate list, but this is going to a happen a few times during the fight.

Code:
sub EVENT_HP
{
	if($hpevent == 90)
{
    quest::castspell(9406, $userid); #10 second aggro list stun for phase change
    quest::moveto(-2104,181,251.9,187,1);
    quest::emote("runs to the weapon rack to select a new weapon.");
    quest::pause(10000);
    quest::wearchange(7,4);
    quest::modifynpcstat(min_hit,3000);	
    quest::modifynpcstat(max_hit,5100);	
    quest::setnexthpevent(75);
}
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 04:26 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