peq-quests/timorous/Master_Rinmark.pl
2019-11-07 08:19:55 -06:00

28 lines
681 B
Perl

#Master Rinmark is spawned from an iksar master in this zone and is part of the Test of Patience. Please see the iksar master's quest file for details.
sub EVENT_SPAWN {
quest::settimer("Depop2",90);
}
sub EVENT_COMBAT {
if ($combat_state == 1) {
quest::stoptimer("Depop2");
} else {
quest::settimer("Depop2",90);
}
}
sub EVENT_TIMER {
if ($timer eq "Depop2") {
my $x = $npc->GetX();
my $y = $npc->GetY();
my $z = $npc->GetZ();
my $h = $npc->GetHeading();
quest::emote("stares off into the horizon, lost in his thoughts.");
quest::spawn2(96320,0,0,$x,$y,$z,$h); # NPC: Rinmark
quest::stoptimer("Depop2");
quest::depop();
}
}
#Submitted by: Jim Mills