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

Code:
://EQEMU/Quests/kerraridge/marl_kastane.pl

############################################
# Developer: Faerin
# Modified: July 28, 2005
# Database: PEQ-Kunark
############################################
# *** NPC INFORMATION ***
#
# NAME: marl_kastane
# ID: 74089
# Class: Warrior
# Level: 50
# Zone: Kerra Isle
############################################
# *** Quest Info ***
# Class: ShadowKnight
# Level Range: 50-60
# Quest Name: SK Epic
############################################
# *** Items Needed ***
#
# 1) #14376 - Note to Marl
# 2) #14381 - Blood of Kyrenna
# 3) #14379 - Glohnor Wrappings
############################################
# *** Rewards **
#
# 1) #14375 - Seal of Kastane
# 2) #14377 - Dark Shroud
# 3) #14370 - Will of Innoruuk
############################################ 
sub EVENT_SAY
{
  if($text=~/Hail/i)
  {
    quest::say("Begone!! You do not have the will to do the things I require!");
  }

  if($text=~/will of innoruuk/i)
  {
    quest::say("You speak of a myth, friend. Such an object does not exist in this age and the secret of its creation lies locked in my mind, where it shall stay. It has been passed down through generations in my line, not to be revealed to a soul until certain events have come to pass.");
  }

  if($text=~/events/i)
  {
    quest::say("My apologies, $name, I have said too much already. Instead, I have an errand to occupy your thoughts. Take this as proof that you are sent from me and find my brother in Paineel. I haven't spoken with him in some time now and his well being is essential to our family's destiny.");
    quest::summonitem("14375");
  }

  if($text=~/prophecy/i)
  {
    quest::say("I suppose it is time for the secret to be shared. Ages ago, two brothers were born. Glohnor was highly favored by the pompous Lightbringer, whose name we do not utter. Lhranc was chosen by the Prince of Hate to bring destruction and turmoil to the sons of men. The one thing they shared in common was their love of the fair priestess, Kyrenna. Kyrenna fell deeply in love with Glohnor. When Lhranc discovered this, he was overcome with rage and unwisely attacked his brother, who happened to be far more adept in combat. The fight cost Lhranc dearly. He lost his dignity as well as an eye in the struggle. He was ordered to leave Freeport and live his life in exile from the only home he had ever known.");
  }

  if($text=~/lhranc/i)
  {
    quest::say("Lhranc wandered the deserts of Ro for weeks, sinking deeper into depression and giving in to rage. Reports from the local merchants and caravans had him roaming the dunes muttering to himself incoherently. Eventually, he was forgotten, blending in with the hermits and madmen common to that region, forgotten by all save one.");
  }

  if($text=~/who is the one/i)
  {
    quest::say("Innoruuk had not forsaken Lhranc. Once his rage and hate had matured and sufficiently altered his soul, the dark prince summoned him and gave him dominion over the demons that had enslaved his mind. He was given a weapon that made him powerful enough to slay any enemy that stood in his way. He was to become the first human to harness the power of the almighty shadowknight. After years of traveling and teaching mankind his newfound abilities, Lhranc sneaked back into Freeport through a series of sewers in search of revenge against his brother and in hopes of kidnapping Kyrenna, the source of his obsession. Waiting until Glohnor was alone, Lhranc sprang from the shadows and slew his brother. This was the act that brought about his curse.");
  }

  if($text=~/curse/i)
  {
    quest::say("As I said, Glohnor was highly favored by the Lightbringer. When the contemptible god of honor discovered what had been done, he transformed Lhranc into a deformed spectral knight and placed him in the ruined city. Lhranc then used what remained of his power to summon Kyrenna to his side and bind her there in a timeless, seamless sphere. He struggled for centuries to break her will and convince her to serve Innoruuk, certain that together they could remove his curse. But then, there was the prediction.");
  }

  if($text=~/secret plan/i)
  {
    quest::say("The plan is a last resort only to be tried if Kyrenna indeed escapes and the remains are discovered. Judging by my brother's words that time is now. It will take the most powerful hero all the courage and dedication he can muster to complete the ritual.");
  }

  if($text=~/I will complete the ritual/i)
  {
    quest::say("It would seem we have no choice, and this is our only hope. I must first make a dark shroud. To do this I must stain it with the blood of an innocent. Go find me this rare blood so I can start the creating of the shroud.");
  }

}

sub EVENT_ITEM
{
  if($itemcount{14376} == 1)
  {
    quest::emote("reads the note, eyes widening in panic. He raises his eyes to you and says,");
    quest::say("This is grave news, friend. If the prophecy is allowed to be fulfilled, our strength will vanish into obscurity. Goodness and purity will spread like a plague across the land and the servants of Hate will be powerless to stop it!");
    quest::ding();
  }

  if($itemcount{14381} == 1)
  {
    quest::say("Here, you take this shroud. You must now find the spirit of glohnor and place this item on him. This should force him back into his mummified body and then you must destroy this newly raised form and return to me its wrappings.");
    quest::summonitem("14377");
    quest::ding();
  }

  if($itemcount{14379} == 1)
  {
    quest::say("You've done it! Your efforts will stand as a tribute to our kind for time eternal, my friend. Although nothing could possibly serve as a just reward for your accomplishments, please accept this as well as my eternal gratitude. It has been fashioned from the wraps of the mummy and shall protect you well.");
    quest::summonitem("14370");
    quest::ding();
  }
}
Reply With Quote