View Single Post
  #3  
Old 07-29-2005, 02:09 AM
FaerinTelDanor
Sarnak
 
Join Date: Jul 2005
Location: Ottawa, Ontario. Canada
Posts: 30
Default

Code:
://EQEMU/Quests/citymist/90093.pl

############################################
# Developer: Faerin
# Modified: July 28, 2005
# Database: PEQ-Kunark
############################################
# *** NPC INFORMATION ***
#
# NAME: lhranc (undead)
# ID: 90093
# Class: Warrior
# Level: 60
# Zone: City of Mist
############################################
# *** Quest Info ***
# Class: ShadowKnight
# Level Range: 50-60
# Quest Name: SK Epic
############################################
# *** Items Needed ***
#
# 1) #1467 - Corrupted Ghoulbane
# 2) #1468 - Heart of the Innocent
# 3) #1469 - Head of the Valliant
# 4) #1470 - Will of Innoruuk
############################################
# *** Rewards **
#
# 1) Loot - #1000 - Lhranc's Coin
############################################ 
sub EVENT_SAY
{
  if($text=~/Hail/i)
  {
    quest::say("Ahh, finally! He has sent you. No time to waste now, you must help me lift the curse at once!");
  }

  if($text=~/curse/i)
  {
    quest::say("Can you not see my condition! I have been unjustly sentenced to an eternity in this wretched form you see before you, never to leave these walls. In exchange for the cure for this curse, I swear to show you a secret that would make you the most powerful of your kind.");
  }

  if($text=~/cure/i)
  {
    quest::say("I require only four things of you, dark one, and one of them you hold now. Bring me the heart of an innocent, the head of the valiant, and the will of Innoruuk. With these, my curse shall be lifted at last and I will craft a weapon that will cast a shadow over all of Norrath.");
  }
}

sub EVENT_ITEM
{
  if ($itemcount{14367} == 1 && $itemcount{14368} == 1 && $itemcount{14369} == 1 && $itemcount{14370} == 1)
  {
    quest::say("Ahh, at last I can free myself of this prison! Centuries have passed since I enjoyed the fruits of mortality.");
    quest::emote("He hurls the components above his head where they remain suspended in midair. They hover in place while he chants the words of an ancient spell. As he speaks, the items begin to rotate around his head, slowly at first, then faster as the chanting grows louder, until it spins in a blur. Soon, the room is filled with a deafening shriek that pierces you to the core.");
    quest::ding();
    quest::summonitem("1000");
    quest::spawn2(90187,0,0,$x,$y,$z,$h);
    quest::depop();
  }
}
Reply With Quote