5165 Peace jade Quest

06/21/2010 03:50 peoplebot#1
Looking for a Peace Jade Quest source with the npc dialog and npc.txt to use on my server. Thank You, and yeh im lazy lol :D
06/21/2010 05:06 Arcо#2
I think decker released one, if not, then post here what you want the quest to do exactly and I'll whip up something for you.
06/21/2010 05:44 peoplebot#3
umm i want the quest to start in market and all the other npcs there to.
Reward can be 20k cps.
So pretty much . kill blade ghost lvl 83 to get jade kylin. Do Quest Get 20k cps


Thx .Arco, Love ur help and guides ^.^:D
06/21/2010 07:59 Arcо#4
First define this in character.cs.

NOTE:May be a bit of bracket mixup, sure you can fix that yourself.
If you want this quest to be done once a day only, you can put in a check.
Now for the npc dialog.
Code:
case 12343:
{
switch (Control)
    {
case 0:
      {
        if (!GC.MyChar.InventoryContains(PeaceJaceID, 1)
        {
        GC.AddSend(Packets.NPCSay("Can you kill these BladeGhosts and retrieve my Jade Kylin please?");
        GC.AddSend(Packets.NPCLink("If I find one I'll let you know." 255);
        GC.AddSend(Packets.NPCSetFace(N.Avatar));
        GC.AddSend(Packets.NPCFinish());
        }
        else
        {
        GC.AddSend(Packets.NPCSay("Oh thank you thank you!!!");
        GC.AddSend(Packets.NPCLink("No problem!", 255);
        GC.AddSend(Packets.NPCSetFace(N.Avatar));
        GC.AddSend(Packets.NPCFinish());
        GC.MyChar.CPs += 20000;
        }
        break;
      }
    }
break;
}