PDA

View Full Version : tainted-corrupted hill giants


Aramid
08-28-2006, 11:50 AM
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.


# 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

Angelox
08-28-2006, 01:02 PM
Very nice, Thank you!