Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Completed

Quests::Completed This is where Completed quests are.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2008, 03:19 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

From Allakhazam, referring to the Corrupt Treants:
Quote:
They appear about 30 sec into the fight, and start moving in around 1 min into the fight. Until they start moving they can't be targeted. I've herd rumors that if you can kill Deyid before they start moving they despawn. I can attest that once they start moving they don't care if Deyid is up or not. They hit hard and fast, and killed every caster quick. My suggestion is have the casters up close to the melee to give the raid a few more seconds to kill deyid.
It sounds like they'd need to start as untargetable, then after ~30 seconds, they should respawn as targetable Corrupt Treants & start moving in (very slowly I would assume). I think should do the trick:

#Deyid_the_Twisted.pl:
Code:
sub EVENT_SPAWN {
    quest::setnexthpevent(61);
    quest::signal(204069);     # Tell any targetable treants still alive to depop after Deyid respawns (18 minutes)
}

#During the fight he summons a ring of Corrupt Treants ID 204068 in PEQ
# By the time you kill deyid they are upon you and attacking you.
#when Deyid Dies you have succeeded, you are not required to kill the spawns.
sub EVENT_HP {

    if ($hpevent == 61) {
    quest::spawn2(204068,0,0,922,1028,280);
    quest::spawn2(204068,0,0,947,1117,200);
    quest::spawn2(204068,0,0,1031,1164,276);
    quest::spawn2(204068,0,0,1121,1154,277);
    quest::spawn2(204068,0,0,1206,1067,280);
    quest::spawn2(204068,0,0,1237,887,272);
    quest::settimer(1,30)     # Timer to spawn targetable treants 30 seconds after untargetables are spawned
    }  

sub EVENT_TIMER {
	if ($timer == 1) {
		quest::signal(204068);	# Despawn untargetable treants
		# Spawn the targetable treants
		quest::spawn2(204069,0,0,922,1028,280);
		quest::spawn2(204069,0,0,947,1117,200);
		quest::spawn2(204069,0,0,1031,1164,276);
		quest::spawn2(204069,0,0,1121,1154,277);
		quest::spawn2(204069,0,0,1206,1067,280);
		quest::spawn2(204069,0,0,1237,887,272);
	}
}

sub EVENT_DEATH {
    quest::emote("An eerie silence settles onto the forest as Deyid the Twisted slumps over, defeated");
    quest::signalwith(204047, 5, 1);    # Send signal # 5 to Seilaen 1 second after death
    quest::stoptimer(1);     # Prevent treants from respawning as targetable if killed quickly
    quest::signal(204068);     # If Deyid is dead before the targetable treants have spawned, tell them to depop
}
Corrupt Treant (untargetable), ID 204068:
Code:
sub EVENT_SIGNAL {
	if ($signal == 0) {quest::depop();}	# Depop all at once, instead of one at a time with quest::depopall()
}
Corrupt Treant (targetable), ID 204069 (I assume):
Code:
sub EVENT_SPAWN {
	quest::moveto(1011,1081,274);	# Start walking to Deyid's spawn point, will probably require a very slow walk speed for dramatic effect
}

sub EVENT_SIGNAL {
	if ($signal == 0) {quest::depop();}	# Depop all at once, instead of one at a time with quest::depopall()
}
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:24 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3