Log in

View Full Version : Boss stop attack if Hp


javewow
11-07-2012, 05:56 AM
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!

trevius
11-07-2012, 07:54 AM
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.php?wakka=QuestTutorial

and here:

http://www.eqemulator.net/wiki/wikka.php?wakka=QuestObjects

This should do what you are wanting:

sub EVENT_COMBAT {

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

}

javewow
11-07-2012, 10:42 AM
Thank you !

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

Give instructions for pluging.pl?

This I know

help