For this you will need to add Teretto dragon to your server. Also add a new map ID in Dynamic Maps.
Terato dragon

Goto DMap.cs Find
Code:
public static ArrayList MapsAdding = new ArrayList() {
At the end of this add a new map ID.
Now we will Add the NPC
Code:
#region Item Hunter Quest
case 89747:
{
if (Control == 0) // Start of quest
{
GC.AddSend(Packets.NPCSay("Hello young warrior, Would you be able to help me?"));
GC.AddSend(Packets.NPCLink("Yes", 1));
GC.AddSend(Packets.NPCLink("I have your flute.", 10));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());// mattyc2580
}
if (Control == 10 && GC.MyChar.InventoryContains(721618, 1)) // Quest Reward ++ Items
{
GC.AddSend(Packets.NPCSay("Wow thank you for doing this i will reward you handsomly!"));
GC.AddSend(Packets.NPCLink("Thank you so much", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 2) // Reward for completing the quest
{
GC.MyChar.RemoveItem(GC.MyChar.NextItem(721618));
GC.MyChar.AddItem(480359); // Change this item.
GC.MyChar.AddItem(420369); // Change this item.
GC.AddSend(Packets.NPCSay("Here you go."));
GC.AddSend(Packets.NPCLink("Bye.", 56));
GC.AddSend(Packets.NPCSetFace(N.Avatar)); // mattyc2580
GC.AddSend(Packets.NPCFinish());
}
if (Control == 1) // Story
{
GC.AddSend(Packets.NPCSay("Some pesky monsters came around this area the other day and stole something very precious from me"));
GC.AddSend(Packets.NPCLink("What was it?", 3));
GC.AddSend(Packets.NPCLink("I don't care.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 3) // Story Part II
{
GC.AddSend(Packets.NPCSay("You might laugh at me for this but it is a WoodlandFlute. It was given to me by my late wife and is very special to me."));
GC.AddSend(Packets.NPCLink("What can I do about it?", 4));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 4) // Story Part III
{
GC.AddSend(Packets.NPCSay("Would you be able to slay the deamons that stole it and bring it back to me? I will reward you handsomley."));
GC.AddSend(Packets.NPCLink("Sure", 5));
GC.AddSend(Packets.NPCLink("I am too scared i dont want to do this now!", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 5) // Thanks You - Directions and what mob to kill
{
GC.AddSend(Packets.NPCSay("You truly are amazing. Please go to The Waterfall Cave in Phoenix Castle. This is where the monsters hide."));
GC.AddSend(Packets.NPCSay("Remember that only if you bring me the Flute will I reward you.")); // mattyc2580
GC.AddSend(Packets.NPCLink("I will go now", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 56) // DO NOT REMOVE
{
GC.AddSend(Packets.NPCSay("Quest coded by mattyc2580. epvpers member."));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
/*This Quest was coded by Beatz_69/mattyc2580. Do not repost this work on any other forum without
My permission. Anyone that says they have my permission is WRONG. I will not give permission to
anyone to repost my work.*/
#endregion
Now search for
Code:
else if (MyMath.ChanceSuccess(DropRates.Meteor))
#
This can be found under Mob.cs
Under that void add this
Code:
#region Item Hunter Quest
if (MobID == 950)
{
if (MyMath.ChanceSuccess(100))
{
DI2.Info.ID = 721618;
DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
DI2.Info.CurDur = DI2.Info.MaxDur;
}
}
#endregion
Now goto Mobspawns.txt in your OldCODB Folder.
Add this to the bottom
Code:
950 1 1037 162 236 152 310
Save it
then open up NPC.txt and add
Code:
987787 5890 2 0 1002 421 381
To the bottom.