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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 11-07-2012, 05:56 AM
javewow's Avatar
javewow
Sarnak
 
Join Date: Aug 2012
Location: work
Posts: 74
Default Boss stop attack if Hp

Now BD Boss's HP error

Game player all death time ----CR

BOSS Cannot restore HP?

#heal ?
------------------------------------------------------
sub EVENT_ENTERZONE {

if ($npc =stop attack)
{
set $npc->::GM#heal }

}

------------------------------------



I don't know if this is correct grammar

Help!
__________________
To create the most beautiful server for "!!~[BP] PLARYBOT EQ~!" Welcome to our server
Reply With Quote
  #2  
Old 11-07-2012, 07:54 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

No, that isn't even close to the correct way to script what you are wanting. It sounds like you are wanting to reset a bosses HPs when everyone in the zone does, or after aggro has been cleared due to a failure to kill the boss.

You will want to refer to the quest wiki pages here:

http://www.eqemulator.net/wiki/wikka...=QuestTutorial

and here:

http://www.eqemulator.net/wiki/wikka...a=QuestObjects

This should do what you are wanting:

Code:
sub EVENT_COMBAT {

	if ($combat_state == 0)
	{
		quest::sethp(100);
	}

}
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 11-07-2012, 10:42 AM
javewow's Avatar
javewow
Sarnak
 
Join Date: Aug 2012
Location: work
Posts: 74
Default

Thank you !

You give is the Association for all zone or 1 Npc?

Give instructions for pluging.pl?

This I know

help
__________________
To create the most beautiful server for "!!~[BP] PLARYBOT EQ~!" Welcome to our server
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 04:46 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