Code:
://EQEMU/Quests/hole/cardon.pl
############################################
# Developer: Faerin
# Modified: July 28, 2005
# Database: PEQ-Kunark
############################################
# *** NPC INFORMATION ***
#
# NAME: caradon
# ID: 39069
# Class: Paladin
# Level: 55
# Zone: The Hole
############################################
# *** Quest Info ***
# Class: ShadowKnight
# Level Range: 50-60
# Quest Name: SK Epic
############################################
# *** Items Needed ***
#
# 1) #14373 - Cell Key
############################################
# *** Rewards **
#
############################################
sub EVENT_SAY
{
if($text=~/Hail/i)
{
quest::say("Please help me get out of here! My companion, Kyrenna, and I are trapped in this hellish place!");
}
if($text=~/who is kyrenna/i)
{
quest::say("I was with Kyrenna when she attempted to revive the corpse of Glohnor the Valiant. Like fools, we rushed into a trap. Now we sit here and await our deaths.");
}
if($text=~/where is kyrenna/i)
{
quest::say("She is close by. For a price, I shall tell you. Bring me the key to my freedom and I will betray her, who sentenced me to this fate.");
}
}
sub EVENT_ITEM
{
if($itemcount{14373} == 1)
{
quest::say("Kyrenna! We are free!");
quest::spawn2(39155,0,0,$x,$y,$z,$h);
quest::ding();
quest::attack($name);
}
}