Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
##Cynosure_Kvanjji.pl - Quest File
General Info
Quest File
# ##Cynosure_Kvanjji (295149) Real Cyno sub EVENT_COMBAT { if ($combat_state == 1) { #timer 1 to check that at least one of the arbitors is up, and to respawn them all if not. quest::settimer(1,5); #timer 2 is for the healing. #for now, this will get the event working properly #i want to split this into 4 timers with the initial setting #for each one random form 0 to 60, then on first hit, reset timer to 60 #that way the healing is staggered in the 60 second window. quest::settimer(2,60); } else { quest::stopalltimers(); } } sub EVENT_TIMER { if ($timer == 1) { if(!$entity_list->IsMobSpawnedByNpcTypeID(295145) && !$entity_list->IsMobSpawnedByNpcTypeID(295146) && !$entity_list->IsMobSpawnedByNpcTypeID(295147) && !$entity_list->IsMobSpawnedByNpcTypeID(295148)) { quest::spawn2(295145,0,0,-154,-117,-434,384); #Arbitors 1-4 quest::spawn2(295146,0,0,-366,-241,-439,128); # NPC: #Svi`pral_the_Second_Arbitor quest::spawn2(295147,0,0,-162,-241,-443,416); # NPC: #Ytvagi_the_Third_Arbitor quest::spawn2(295148,0,0,-362,-77,-449,230); # NPC: #Qkav`d_the_Fourth_Arbitor } } elsif ($timer == 2) { #for each arbitor that is up, heal Cyno for 10% if($entity_list->IsMobSpawnedByNpcTypeID(295145)) { HEAL_CYNO(); } if($entity_list->IsMobSpawnedByNpcTypeID(295146)) { HEAL_CYNO(); } if($entity_list->IsMobSpawnedByNpcTypeID(295147)) { HEAL_CYNO(); } if($entity_list->IsMobSpawnedByNpcTypeID(295148)) { HEAL_CYNO(); } } } sub HEAL_CYNO { $npc->SetHP($npc->GetHP() + ($npc->GetMaxHP() / 10)); } sub EVENT_DEATH_COMPLETE { quest::depopall(295145); quest::depopall(295146); quest::depopall(295147); quest::depopall(295148); }
Source: 17 Jan 2022
Quest Source: 28 May 2022