View Single Post
  #2  
Old 10-17-2011, 06:00 PM
LordAdakos
Sarnak
 
Join Date: Dec 2007
Posts: 60
Default

Did you use a SQL query or edit the mobs out by hand?

looks like you are missing a close bracket
Code:
sub EVENT_DEATH{
 my $random_result = int(rand(100));
 my $a=63096; #npc - Fabled Garanel Rucksif
 if(($random_result<70){
   quest::say("Spawning Fabled");
quest::shout ("I will be Avenged Scoundrel!");
   quest::spawn2($a, 485, 147, -33);
  }else{
    quest::say("No spawn");
  }
  }
To troubleshoot, why not add in...
Code:
sub EVENT_DEATH{
 my $random_result = int(rand(100));
 my $a=63096; #npc - Fabled Garanel Rucksif
 if(($random_result<70){
quest::shout ("$random_result");
   quest::say("Spawning Fabled");
quest::shout ("I will be Avenged Scoundrel!");
   quest::spawn2($a, 485, 147, -33);
  }else{
    quest::say("No spawn");
quest::shout ("$random_result");
  }
  }

sorry I'm not much help
Reply With Quote