Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sub EVENT_SPAWN {
- if($npc->GetOwnerID() > 0) { return; }
- if($instanceversion > 0) {
- my $npctype_id = $npc->GetNPCTypeID();
- plugin::AddCash(50000, 150000);
- plugin::AddLoot(1, 25, 140073);
- my $StartMove = int(rand(25)) + 5;
- if ($mname=~/ooze|warwolf|mammoth|die wolf|ice tiger|lakeskater/i) { quest::settimer("roam", $StartMove); }
- if ($mname=~/smith|worker/i) { quest::settimer("smith", 5); }
- if ($npc->GetRace()=~/523|453/) { plugin::AddLoot(1, 5, 140071); } else { plugin::AddLoot(1, 10, 140072); }
- if($npctype_id == 401288) { #Animal Tender Bealon
- my @boss_items = (122610, 122613, 122612, 122611, 122609);
- plugin::AddLoot(1, 1, @boss_items);
- }
- elsif($npctype_id == 401275) { #Fergarin bardon I
- my @boss_items = (122600, 122608, 122607, 122606, 122605, 122604, 122603, 122602, 122601);
- plugin::AddLoot(1, 1, @boss_items);
- }
- elsif($npctype_id == 401363) { #Gatewatch_Urgwit
- my @boss_items = (122618,122617,122616,122615,122614);
- plugin::AddLoot(1, 1, @boss_items);
- }
- elsif($npctype_id == 401360) { #Kellet,_Royal_Guard_Captain
- my @boss_items = (122623,122622,122621,122620,122619);
- plugin::AddLoot(1, 1, @boss_items);
- }
- elsif($npctype_id == 401345) { #Master_Smith_Goil
- my @boss_items = (122624,122625,122626,122627,122628);
- plugin::AddLoot(1, 1, @boss_items);
- }
- elsif($npctype_id == 401370) { #Royal_Cryptguard_Zerakt
- my @boss_items = (122633,122632,122631,122630,122629);
- plugin::AddLoot(1, 1, @boss_items);
- }
- #elsif($npctype_id == 401200) { #Wraithguard_Hunter_Grethmar
- # my @boss_items = (122641,122640,122639,122638,122637,122636,122635,122634);
- # plugin::AddLoot(1, 1, @boss_items);
- #}
- #elsif($npctype_id == 401199) { #Wraithguard_Sergeant_Thavin
- # my @boss_items = (122642,122643,122644,122645);
- # plugin::AddLoot(1, 1, @boss_items);
- #}
- elsif($npctype_id == 401375) {
- quest::ze(335, "A concentrated storm appears..");
- quest::settimer("rain", 3);
- quest::set_proximity( $x-5,$x+5,$y-5,$y+5,$z-10,$z+10);
- $npc->TempName("");
- quest::settimer("depop", 30);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment