Code:
sub EVENT_COMBAT {
if ($combat_state == 1) {
quest::settimer("Water",1);
}
if ($combat_state == 0) {
quest::stoptimer("Water");
}
}
sub EVENT_TIMER {
#quest::shout("Water, water, water");
my $z = $npc->GetZ();
if ($z>=XX) {
$npc->WipeHateList();
$mob->sethp($mob->GetMaxHP());
quest::stoptimer("Water");
}
}
Ok fixed, update the XX in red to the Z coords and you'll be good to go till the pathing stuff gets implemented =).