Multiple mob spawns
hey kinda jus gettin started with the server thing but im not a total noob lol, anyways for fun i was messin round in anguish and was making the omm fight spawn one of each of the other raid type mobs in the zone.I got the first part down was doing keld first then hanvar etc but after i get keld to spawn when it goes to change to hanvar instead of spawning him it spawns keld again then nothing till he dies was lookin for help this is whats there so far and info would help alot,thanks
sub EVENT_SAY {
if ($text=~/hail/i)
{
quest::say("Welcome warrior,youve bested the guards now i suppose you have [come for me]?");
}
if($text=~/come For me/i)
{
quest::say("Prepare for death foolish mortal!!!");
quest::attack($name);
quest::setnexthpevent(90);
}
}
sub EVENT_HP
{
if($hpevent <= 90)
{
quest::shout("Keldovan!!");
quest::spawn2(317005,0,0,$x+20,$y+20,$z,$h);
quest::setnexthpevent(85);}
}
}
sub EVENT_HP
{
if($hpevent <= 85)
{
quest::shout("Hanvar!!!");
quest::spawn2(317004,0,0,$x+20,$y+20,$z,$h);
quest::setnexthpevent(50);
}
}
}
}
|