mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
28 lines
681 B
Perl
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
|