View Single Post
  #1  
Old 10-12-2015, 05:43 AM
Noport
Opcode Ninja
 
Join Date: Mar 2009
Location: San francisco
Posts: 426
Default

Faydwer_Spires.pl
Code:
sub EVENT_SPAWN {
   $x = $npc->GetX();
   $y = $npc->GetY();
   quest::set_proximity($x - 120, $x + 120, $y - 120, $y + 120);
}

sub EVENT_ENTER {
   quest::setglobal("spire_gf",1,1,"F"); #when we enter the spires, set global true.
   $spire_gf = undef;
} 

sub EVENT_EXIT {
   quest::delglobal("spire_gf"); #when we leave spires, set global false.
   $spire_gf = undef;
} 

sub EVENT_SIGNAL {
if ($signal == 101) {
$npc->CastSpell(54053,2935); #flavor
}
 }
Reply With Quote