Part 7 - Celestial Fists - Part 3
Code:
#Zone - Trakanons Teeth
#Type - Quest
#Class - Monk
#Mob - Kaiaren (Mad)
#You will need to create a dupe of kaiaren with different npcid for his trueform spawn.
#Below Ive used 0000 for npctype in quest::spawn(); and created a 0000.pl.
#Also be sure the numbers you pick arent already taken from another Npc-Id.
sub EVENT_SAY
{
if($text=~/Hail, $mname/i)
{
quest::say("AHHH! Get it away from me. Go away. ..Leave me alone.");
}
if($text=~/What Celestial Fists?/i);
{
quest::say("Eh? Whats that? Bah! That was destroyed long ago. Dont waste my time with fairy taAAAAAGGHH GET IT AWAY!!! HELP!!! Theyre all over MEHEHEHEHEEEEEee!!");
}
}
sub EVENT_ITEM
{
if($itemcount{1683} == 1)
{
quest::emote("eyes open wide and he attacks you!");
quest::attack("$name");
}
}
sub EVENT_ITEM
{
if($itemcount{1684} == 1)
{
quest::say("Ahhh, impressive indeed! Now that you have broken the chain of the Fists, the others may come toppling down if you persevere. The Fist of Air is now the weakest, then Earth, and finally Water before the master of them all, Vorash. You must defeat them in order, proving the demise of the last to draw out the one you are after. The task before you now is to take this scale and show it to the Fist of Air wherever he may be. Good luck, $name .");
quest::summonitem(1684);
}
}
sub EVENT_ITEM
{
if($itemcount{1688} && $itemcount{1689} == 1)
{
quest::emote("bows his head and breathes a long sigh as if relieved of a great weight. He then looks up at you.");
quest::say("I honestly did not believe you could have defeated Vorash. Even though he sought nothing but war and bloodshed,it is a life nonetheless and we must mourn him. I will sew these fangs into magical fist wraps and they shall be yours. Remember Xenevorash. A purpose can be found for every situation and individual. To achieve perfection is to perceive this truth.");
quest::summonitem(10652);
}
}
sub EVENT_DEATH
{
{
quest::say("Not bad.. Now lets see if you can find my trueform if you do we discuss this further.");
quest::itemsummon(1683);
quest::spawn(0000,0,0,2470,306,-339);
}
}
next
Code:
#0000.pl
#Zone - Trakanons Teeth
#Type - Quest
#Class - Monk
#Mob - Kaiaren (Trueform)
sub EVENT_ITEM
{
if($itemcount{1683} == 1)
{
quest::say("Now, then. Where did you find this, monk? This is not just some light reading to be borrowed from the town library. Who gave this to you?");
}
if($text=~/I got it from Lheao/i)
{
quest::say("Hmmm, never heard of him. Well, it doesnt, the book is here now. Curse that idiot for writing it in the first place. Not even sure why I let him stick around. If you ever see that clown monk Aradiel kick him in the shins for me! At any rate, I suppose you would like to find the Fists and [have a nice chat with them],eh? Their master owes me much. I would reward you well if you were to bring me proof of the masters defeat.");
}
if($text=~/I would like to have a nice chat with them/i)
{
quest::say("Yes, I suppose you would. All you children looking for fame and glory will eventually learn the poison of ambition. But how will you find them? The are able to meld with their elements seamlessly and they certainly have no interest in fooling with the likes of you. No, you will need to get their attention. Fortunately, I know [how you can do this].");
}
if($text=~/How can I do this?/i)
{
quest::say("My guess is that the weakest of the Fists will be the easiest to draw out. He is egotistical and arrogant. How he came to master the Discipline of Fire, I do not know. He will most likely be in another form, one of his element. When you find the one you believe to be the Fist, you must challenge him. If you use his true name, Eejag, in your formal challenge, he will respond. A flame can burn intensely but it cannot last for long. Know this when you battle him.");
quest::itemsummon(1689);
}
}
sub EVENT_ITEM
{
if($itemcount{1684} == 1)
{
quest::say("Ahhh, impressive indeed! Now that you have broken the chain of the Fists, the others may come toppling down if you persevere. The Fist of Air is now the weakest, then Earth, and finally Water before the master of them all, Vorash. You must defeat them in order, proving the demise of the last to draw out the one you are after. The task before you now is to take this scale and show it to the Fist of Air wherever he may be. Good luck, $name .");
quest::summonitem(1684);
}
}
sub EVENT_ITEM
{
if($itemcount{1688} && $itemcount{1689} == 1)
{
quest::emote("bows his head and breathes a long sigh as if relieved of a great weight. He then looks up at you.");
quest::say("I honestly did not believe you could have defeated Vorash. Even though he sought nothing but war and bloodshed,it is a life nonetheless and we must mourn him. I will sew these fangs into magical fist wraps and they shall be yours. Remember Xenevorash. A purpose can be found for every situation and individual. To achieve perfection is to perceive this truth.");
quest::summonitem(10652);
}
}