Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
#Smoke_Trigger.pl - Quest File
General Info
Quest File
sub EVENT_SPAWN { $counter = 0; } sub EVENT_SIGNAL { if ($signal == 1 && defined($qglobals{smoke_event_start}) && !defined($qglobals{smoke_done})) { $counter+=1; if ($counter == 4) { quest::spawn2(215454,0,0,-445.6,-1291.9,317.6,140.2); # NPC: An_Elemental_Masterpiece } } elsif ($signal == 2 && defined($qglobals{smoke_event_start}) && !defined($qglobals{smoke_done})) { quest::spawn2(215435,0,0,1395.9,-681.3,15.1,510.2); # NPC: #Avatar_of_Smoke quest::depop_withtimer(215055); } elsif ($signal == 3 && !defined($qglobals{smoke_done})) { quest::setglobal("smoke_done",1,3,"F"); } elsif ($signal == 4 && !defined($qglobals{smoke_event_start}) && !defined($qglobals{smoke_done})) { #A_Confused_Air_Elemental if(!$entity_list->IsMobSpawnedByNpcTypeID(215012)) { quest::spawn2(215066,0,0,-403.1,-1375.5,320.8,469.8); # NPC: An_Elemental_Champion quest::spawn2(215066,0,0,-501.9,-1205.9,318.6,198); # NPC: An_Elemental_Champion quest::spawn2(215066,0,0,-341.1,-1245.2,317.6,365.6); # NPC: An_Elemental_Champion quest::spawn2(215066,0,0,-523.3,-1288.2,321.7,126); # NPC: An_Elemental_Champion quest::setglobal("smoke_event_start",1,3,"H2"); $counter=0; } } elsif ($signal == 5) { quest::delglobal("smoke_done"); } }
Source: 17 Jan 2022
Quest Source: 28 May 2022