Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-19-2004, 10:03 AM
sandy
Hill Giant
 
Join Date: Oct 2002
Posts: 212
Default terris thule script pb

here are the npcs of the quest :

Code:
INSERT INTO `npc_types` VALUES (221000, 'Terris_Thule', NULL, 70, 257, 1, 1, 200000, 2, 0, 0, '30', 0, 0, 16119, 0, 32, 5, 390, 850, 'SEQ', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0', 0, 0, 0, 0, 0, 0, 1, 1, 0, 0);
INSERT INTO `npc_types` VALUES (221009, 'A_Grotesque_Statue', NULL, 62, 280, 1, 1, 40000, 2, 0, 0, '25', 0, 0, 16000, 0, 0, 5, 300, 650, 'Q', 0, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0.67', '1.25', 0, 0, 0, 0, 0, 0, 1, 1, 0, 0);
INSERT INTO `npc_types` VALUES (221005, '_', NULL, 60, 280, 1, 11, 18000, 2, 0, 0, '25', 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0.67', '1.25', 0, 0, 0, 0, 0, 0, 0, 1, 0, 0);
INSERT INTO `npc_types` VALUES (221010, 'A_Dream_Defiler', NULL, 59, 264, 9, 8, 25000, 2, 0, 0, '8', 0, 0, 16000, 0, 0, 5, 0, 340, '', 0, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0.67', '1.25', 0, 0, 0, 0, 0, 0, 1, 0, 0, 0);
Terris Thule ( npc 221000 ) is a god, her fight is an event that depends of her hit points percentage :

at start, she is in the center of her lair, there is 4 pillars and on each pillar there is an untargetable gargoyle ( npc 221005 ) :

at 75 % life : 10 dream defilers ( npc 221010 ) appear in the lair

at 50 % life : Terris Thule casts an aoe Dispell 12 slots : ( spell 3150 )

at 30 % life : the 4 untargetable gargoyles ( npc 221005 ) become targetable, in fact each gargoyle depop and repop in a targetable gargoyle ( npc 221009 )

Here are the files I have done :

221000.pl

Code:
sub EVENT_SPAWN 
{
quest::setnexthpevent(75);
}

sub EVENT_HP
{
  # butterflies spawn
  if ( $hpevent == 75 ) {
  # quest::shout("Script : Butterflies");
    quest::spawn(221010,0,0,-1940,93,134,163);
    quest::spawn(221010,0,0,-1868,142,134,146);
    quest::spawn(221010,0,0,-1826,142,134,124);
    quest::spawn(221010,0,0,-1763,77,134,114);
    quest::spawn(221010,0,0,-1715,2,134,64);
    quest::spawn(221010,0,0,-1715,-40,134,61);
    quest::spawn(221010,0,0,-1755,-112,134,14);
    quest::spawn(221010,0,0,-1826,-144,134,5);
    quest::spawn(221010,0,0,-1870,-143,134,251);
    quest::spawn(221010,0,0,-1944,-90,134,229);
    quest::setnexthpevent(50);
  }

  # aoe dispell
  if ( $hpevent == 50 ) {
  # quest::shout("Script : Dispell");
    quest::selfcast(3150);
    quest::setnexthpevent(30);
  }

  # gargoyles awake
  if ( $hpevent == 30 ) {
  # quest::shout("Script : Gargoyles");
    quest::signal(221005);
  }

}
221005.pl

Code:
sub EVENT_SIGNAL
{
  quest::depop();
  quest::spawn(221009,0,0,$x,$y,$z,$h);
}
I have made Terris Thule permarooted ( walkspeed and runspeed = 0 ) so people can't exploit the fight by pulling her out of her lair because in eqlive when it is done she warp back to the center of her lair and i don't know how to do it =)

I have tried, all seems to work except the fact she doesn't cast the aoe dispell i don't understand why =(
any idea ?
__________________
Sandy
Reply With Quote
 


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 03:55 AM.


 

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