Part 7 - Celestial Fists - Part 8
Code:
#Zone - Overthere
#Type - Quest
#Class - Monk
#Mob - Astral Projection
sub EVENT_ITEM
{
if($itemcount{1686} == 1)
{
quest::emote("looks up and down.");
quest::summonitem(1687);
quest::say("Hmmm, I was hoping for something more impressive. This is just a small token of the last person who tried to interfere with my plans. He failed as you shall. But tell me truly, are you the one who has so rudely removed my students?");
}
if($text=~/Yes/i)
{
quest::say("I assume you have read about us and spoken with the old man, Kaiaren. Since that time, I have grown in power and influence to a point unseen by any mortal. Unfortunately, I will have to demonstrate a small amount of my skill when I destroy you. This is bad. I must decide whether you are worthy to see the techniques I wield, even though you will die shortly thereafter. Tell me, $name , who are you?");
}
if($text=~/I am the one/i)
{
quest::emote("chuckles");
quest::say("Thats quite a boast, $name . All beings strive for nothingness at the most basic level of sentience. However, almost none ever achieve this. Not even I have discarded my ego yet and you stand here and tell me you have? Perhaps you will be a worthy opponent. I shall be waiting in the great lake near here. Take that token as proof of things to come for you. If you still wish to throw your life away so needlessly, return it to my image there. I await your decision.");
quest::depop();
quest::spawn(0000,0,0,0,0,0); #spawn dupe of Astral Projection different npc-id on center of platform in lake of loio.
}
}
Part 7 - Celestial Fists - Part 9
Code:
#0000.pl
#Zone - Lake of Ill Omen
#Type - Quest
#Class - Monk
#Mob - Astral Projection
sub EVENT_ITEM
{
if($itemcount{1687} == 1)
{
quest::depop();
quest::spawn(0000,0,0,0,0,0); #spawns vorash to the right side of where Astral Projection stood.
quest::spawn(0000,0,0,0,0,0); #spawns Deep to the left side of where Astral Projection stood.
}
}
note: In the above quest::spawn code ive left the npc-ids empty so you can config to your database. Be sure to check that the npc-id you pick is not already taken. also need to enter the x,y,z cords.