View Single Post
  #9  
Old 10-28-2012, 05:14 PM
Dunge0nMastr
Hill Giant
 
Join Date: Oct 2002
Location: Rockville, MD
Posts: 124
Default

Hah! i got ya no worries :p

yeah i think the orignal event was you could start the ring event but if the other lords/ladies were still alive they woulld be summoned. i decided to leave that part out and require the players kill the other dragons first, (as much as i would have loved to watch people attempt it wihtout knowing that haha). since Vulak isnt a static spawn (only spawns at end of the event) i would have it set to when vulak does spawn, (at end of the 15th wave) to do an entity check, so it would probably look like:

i would add a sub EVENT_COMBAT check to Vulak`Aerr when he was pulled, which will then add any of the Lords or Ladies who are spawned to his hatelist, not 100% sure on how to directly summon, and i know some of the mobs are defautly rooted, but this would send those who were not on a run straight through ToV right at the party @ the vulak bridge.

Code:
sub EVENT_COMBAT {
if ($combat_state == 1) {
	my $check_ladym = $entity_list->GetMobByNpcTypeID(124077);
	my $check_ladyn = $entity_list->GetMobByNpcTypeID(124076);
	my $check_lordk = $entity_list->GetMobByNpcTypeID(124103);
	my $check_lordf = $entity_list->GetMobByNpcTypeID(124008);
	my $check_lordkr = $entity_list->GetMobByNpcTypeID(124074);
	my $check_lordv = $entity_list->GetMobByNpcTypeID(124017);
	if ($check_ladym) {
		my $call_ladym = $check_ladym->CastToNPC();
		$call_ladym->AddToHateList($client,1);
		}
	if ($check_ladyn) {
		my $call_ladyn = $check_ladyn->CastToNPC();
		$call_ladyn->AddToHateList($client,1);
		}
	if ($check_lordk) {
		my $call_lordk = $check_lordk->CastToNPC();
		$call_lordk->AddToHateList($client,1);
		}
	if ($check_lordf) {
		my $call_lordf = $check_lordf->CastToNPC();
		$call_lordf->AddToHateList($client,1);
		}
	if ($check_lordkr) {
		my $call_lordkr = $check_lordkr->CastToNPC();
		$call_lordkr->AddToHateList($client,1);
		}
	if ($check_lordv) {
		my $call_lordv = $check_lordv->CastToNPC();
		$call_lordv->AddToHateList($client,1);
		}
	}
}
To be completely honest im notsure how i would ahve vulak summon them, i suppose I could depop them where they are with signals then have them spawn on top of vulak

like:

if ($combat_state == 1) {
quest::depopall(124077); #depop lady M
quest::spawn2(124077,0,0,$x,$y,$z,$h);
}

etc for each of the 6 dragons, then when they levae combat have them depop again and respawn at their proper spots.
__________________
Bront -Server Admin/Owner and Lead Quest Dev for Kildrukaun's Prophecy
http://kpemu.com/
Reply With Quote