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

Quests::Submissions This is where you submit your quests for review

Reply
 
Thread Tools Display Modes
  #1  
Old 08-28-2006, 11:50 AM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default tainted-corrupted hill giants

In Rathe Mountains, part of the Druid Epic was to get the tainted hill giant to spawn, kill him, causing the corrupted hill giant to spawn, kill him and loot your piece. This small quest file will do just that, but you have to tweak your database to make it work properly.

First, make sure that the corrupted_hill_giant has 0 chance of spawning by setting the chance to 0 in his spawnentry table. Make sure his loottable has item 20688 (Ancient Rock) as a drop and it's 100% of the time.

(This part you can tweak to your liking)
Set the tainted_hill_giant in a spawn group with 2 other a_hill_giant's. Give the a_hill_giant's a 34 and 33 percent spawn chance. Add in tainted_hill_giant and give him a 33 percent chance. So, 1 in 3 chance for him to spawn.

by putting the code below (saved as tainted_hill_giant.pl) in your quests/rathemtn folder, killing the tainted will spawn the corrupted in his place.

Code:
# tainted_hill_giant.pl
# Rathe Mountains
# tainted_hill_giant
# corrupted_hill_giant
# Kill Tainted - Spawns Corrupted
# Written Aramid August 27, 2006


sub EVENT_DEATH{
  my $a = 50126;
  my $x = $npc->GetX();
  my $y = $npc->GetY();
  my $z = $npc->GetZ();
  my $h = $npc->GetHeading();
  quest::spawn2($a,0,0,$x,$y,$z,$h);

}

# End of File - Tainted_Hill_Giant - NPCID 50123
Reply With Quote
  #2  
Old 08-28-2006, 01:02 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Very nice, Thank you!
Reply With Quote
Reply


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 04:43 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3