#region Monster Hunter
#region TC Monster Hunter Quest
case 2001://TC CloudSaint'sJar Quest
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.QuestFrom == "")
{
if (client.Entity.Level <= 90)
{
dialog.Text("Glad to see you are here! Twin City is being besieged by monsters recently. If you can help us out, your reward will be EXP worth a ExpBall and Meteor. But remember you can only get 3 opportunities everyday.");
dialog.Option("Go kill Pheasant (Level 7)", 1);
dialog.Option("Go kill Robins (Level 12)", 2);
dialog.Option("Go kill Apparitions (Level 17)", 3);
dialog.Option("Go kill Poltergeists (Level 22)", 4);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 100)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Phoenix City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Phoenix City.", 10);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 110)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Ape Mountain, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Ape Mountain.", 11);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 120)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Desert City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Desert City.", 12);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 130)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Bird Island, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Bird Island.", 13);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 140)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Mystic Castle, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Mystic Castle.", 14);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level > 140)
{
dialog.Text("You have made the land peaceful! There is nothing left for you to do!");
dialog.Option("Okay.", 255);
dialog.Avatar(30);
dialog.Send();
}
}
else if (client.Entity.QuestFrom == "TC")
{
if (client.Entity.QuestKO >= 300 && client.Inventory.Contains(750000, 1))
{
client.Inventory.Remove(750000);
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
client.IncreaseExperience((ulong)(1295000 + client.Entity.Level * 100000), false);
client.Inventory.Add(1088001, 0, 1);
client.Entity.ConquerPoints += AdminPanel.TC;
dialog.Text("Good job! You killed 300 Monsters! Here is your Exp worth 2 ExpBalls and a Meteor.");
dialog.Option("Thanks.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestKO >= 0)
{
if (client.Inventory.Contains(750000, 1))
{
dialog.Text("Why do you hurry to come back? What happened? How about your quest to kill 300 " + client.Entity.QuestMob + "?");
dialog.Option("I'll get to it.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else
{
dialog.Text("Alas! Where is the CloudSaint'sJar that I lent you? If you can't find it, I suggest you to give up the quest. But don't worry, you can get a new quest again.");
dialog.Option("Sorry its my fault.", 9);
dialog.Avatar(30);
dialog.Send();
}
}
}
else if (client.Entity.QuestFrom == "PC")
{
dialog.Text("The quest you got from PCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "AC")
{
dialog.Text("The quest you got from ACCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "DC")
{
dialog.Text("The quest you got from DCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "BI")
{
dialog.Text("The quest you got from BICaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "MC")
{
dialog.Text("The quest you got from MCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
break;
}
case 15:
{
if (client.Inventory.Contains(750000, 1))
{
client.Inventory.Remove(750000);
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
}
else
{
client.Entity.AntiRobo = 0;
client.Entity.QuestKO = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
}
break;
}
case 9:
{
dialog.Text("Are you sure you want to end the quest?");
dialog.Option("Yes, end the Quest.", 15);
dialog.Avatar(30);
dialog.Send();
break;
}
case 1:
{
dialog.Text("If you can go and kill 300 Pheasants, Twin City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 5);
dialog.Avatar(30);
dialog.Send();
break;
}
case 2:
{
dialog.Text("If you can go and kill 300 Robins, Twin City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 6);
dialog.Avatar(30);
dialog.Send();
break;
}
case 3:
{
dialog.Text("If you can go and kill 300 Apparition, Twin City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 7);
dialog.Avatar(30);
dialog.Send();
break;
}
case 4:
{
dialog.Text("If you can go and kill 300 Poltergeist, Twin City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 8);
dialog.Avatar(30);
dialog.Send();
break;
}
case 5:
{
client.Entity.QuestMob = "Pheasant";
client.Entity.QuestFrom = "TC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 6:
{
client.Entity.QuestMob = "Robin";
client.Entity.QuestFrom = "TC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 7:
{
client.Entity.QuestMob = "Apparition";
client.Entity.QuestFrom = "TC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 8:
{
client.Entity.QuestMob = "Poltergeist";
client.Entity.QuestFrom = "TC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 10:
{
client.Entity.Teleport(1011, 230, 258);
break;
}
case 11:
{
client.Entity.Teleport(1020, 569, 622);
break;
}
case 12:
{
client.Entity.Teleport(1000, 477, 634);
break;
}
case 13:
{
client.Entity.Teleport(1015, 791, 569);
break;
}
case 14:
{
client.Entity.Teleport(1000, 083, 319);
break;
}
}
}
break;
#endregion
#region PC Monster Hunter Quest
case 2002: //PC CloudSaint'sJar Quest
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.QuestFrom == "")
{
if (client.Entity.Level <= 90)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Twin City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Twin City.", 9);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 100)
{
dialog.Text("Glad to see you are here! Phoenix City is being besieged by monsters recently. If you can help us out, your reward will be EXP worth a ExpBall and Meteor. But remember you can only get 3 opportunities everyday.");
dialog.Option("Go kill WingedSnakes (Level 27)", 1);
dialog.Option("Go kill Bandits (Level 32)", 2);
dialog.Option("Go kill FireRats (Level 42)", 3);
dialog.Option("Go kill FireSpirits (Level 47)", 4);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 110)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Ape Mountain, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Ape Mountain.", 11);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 120)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Desert City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Desert City.", 12);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 130)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Bird Island, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Bird Island.", 13);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 140)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Mystic Castle, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Mystic Castle.", 14);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level > 140)
{
dialog.Text("You have made the land peaceful! There is nothing left for you to do!");
dialog.Option("Okay.", 255);
dialog.Avatar(30);
dialog.Send();
}
}
else if (client.Entity.QuestFrom == "PC")
{
if (client.Entity.QuestKO >= 300 && client.Inventory.Contains(750000, 1))
{
client.Inventory.Remove(750000);
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
client.IncreaseExperience((ulong)(1295000 + client.Entity.Level * 50000), false);
client.Inventory.Add(1088001, 0, 1);
client.Entity.ConquerPoints += AdminPanel.PC;
dialog.Text("Good job! You killed 300 Monsters! Here is your Exp and Meteor.");
dialog.Option("Thanks.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestKO >= 0)
{
if (client.Inventory.Contains(750000, 1))
{
dialog.Text("Why do you hurry to come back? What happened? How about your quest to kill 300 " + client.Entity.QuestMob + "?");
dialog.Option("I'll get to it.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else
{
dialog.Text("Alas! Where is the CloudSaint'sJar that I lent you? If you can't find it, I suggest you to give up the quest. But don't worry, you can get a new quest again.");
dialog.Option("Sorry its my fault.", 9);
dialog.Avatar(30);
dialog.Send();
}
}
}
else if (client.Entity.QuestFrom == "TC")
{
dialog.Text("The quest you got from TCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "AC")
{
dialog.Text("The quest you got from ACCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "DC")
{
dialog.Text("The quest you got from DCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "BI")
{
dialog.Text("The quest you got from BICaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "MC")
{
dialog.Text("The quest you got from MCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
break;
}
case 15:
{
if (client.Inventory.Contains(750000, 1))
{
client.Inventory.Remove(750000);
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
}
else
{
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
}
break;
}
case 9:
{
dialog.Text("Are you sure you want to end the quest?");
dialog.Option("Yes, end the Quest.", 15);
dialog.Avatar(30);
dialog.Send();
break;
}
case 1:
{
dialog.Text("If you can go and kill 300 WingedSnakes, Phoenix City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 5);
dialog.Avatar(30);
dialog.Send();
break;
}
case 2:
{
dialog.Text("If you can go and kill 300 Bandits, Phoenix City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 6);
dialog.Avatar(30);
dialog.Send();
break;
}
case 3:
{
dialog.Text("If you can go and kill 300 FireRats, Phoenix City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 7);
dialog.Avatar(30);
dialog.Send();
break;
}
case 4:
{
dialog.Text("If you can go and kill 300 FireSpirits, Phoenix City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 8);
dialog.Avatar(30);
dialog.Send();
break;
}
case 5:
{
client.Entity.QuestMob = "WingedSnake";
client.Entity.QuestFrom = "PC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 6:
{
client.Entity.QuestMob = "Bandit";
client.Entity.QuestFrom = "TC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 7:
{
client.Entity.QuestMob = "FireRat";
client.Entity.QuestFrom = "PC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 8:
{
client.Entity.QuestMob = "FireSpirit";
client.Entity.QuestFrom = "PC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 10:
{
client.Entity.Teleport(1011, 230, 258);
break;
}
case 11:
{
client.Entity.Teleport(1020, 569, 622);
break;
}
case 12:
{
client.Entity.Teleport(1000, 477, 634);
break;
}
case 13:
{
client.Entity.Teleport(1015, 791, 569);
break;
}
case 14:
{
client.Entity.Teleport(1000, 083, 319);
break;
}
}
}
break;
#endregion
#region AC Monster Hunter Quest
case 2003://AC CloudSaint'sJar Quest
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.QuestFrom == "")
{
if (client.Entity.Level <= 90)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Twin City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Twin City.", 9);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 100)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Pheonix City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Pheonix City.", 10);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 110)
{
dialog.Text("Glad to see you are here! Ape Mountain is being besieged by monsters recently. If you can help us out, your reward will be EXP worth a ExpBall and Meteor. But remember you can only get 3 opportunities everyday.");
dialog.Option("Go kill Macaquees (Level 47)", 1);
dialog.Option("Go kill GiantAps (Level 52)", 2);
dialog.Option("Go kill ThunderApes (Level 57)", 3);
dialog.Option("Go kill SnakeMen (Level 62)", 4);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 120)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Desert City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Desert City.", 12);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 130)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Bird Island, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Bird Island.", 13);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 140)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Mystic Castle, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Mystic Castle.", 14);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level > 140)
{
dialog.Text("You have made the land peaceful! There is nothing left for you to do!");
dialog.Option("Okay.", 255);
dialog.Avatar(30);
dialog.Send();
}
}
else if (client.Entity.QuestFrom == "AC")
{
if (client.Entity.QuestKO >= 300 && client.Inventory.Contains(750000, 1))
{
client.Inventory.Remove(750000);
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
client.IncreaseExperience((ulong)(1295000 + client.Entity.Level * 50000), false);
client.Inventory.Add(1088001, 0, 1);
client.Entity.ConquerPoints += AdminPanel.MC;
dialog.Text("Good job! You killed 300 Monsters! Here is your Exp and Meteor.");
dialog.Option("Thanks.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestKO >= 0)
{
if (client.Inventory.Contains(750000, 1))
{
dialog.Text("Why do you hurry to come back? What happened? How about your quest to kill 300 " + client.Entity.QuestMob + "?");
dialog.Option("I'll get to it.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else
{
dialog.Text("Alas! Where is the CloudSaint'sJar that I lent you? If you can't find it, I suggest you to give up the quest. But don't worry, you can get a new quest again.");
dialog.Option("Sorry its my fault.", 9);
dialog.Avatar(30);
dialog.Send();
}
}
}
else if (client.Entity.QuestFrom == "TC")
{
dialog.Text("The quest you got from TCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "PC")
{
dialog.Text("The quest you got from PCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "DC")
{
dialog.Text("The quest you got from DCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "BI")
{
dialog.Text("The quest you got from BICaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "MC")
{
dialog.Text("The quest you got from MCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
break;
}
case 15:
{
if (client.Inventory.Contains(750000, 1))
{
client.Inventory.Remove(750000);
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
}
else
{
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
}
break;
}
case 9:
{
dialog.Text("Are you sure you want to end the quest?");
dialog.Option("Yes, end the Quest.", 15);
dialog.Avatar(30);
dialog.Send();
break;
}
case 1:
{
dialog.Text("If you can go and kill 300 Macaques, Ape City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 5);
dialog.Avatar(30);
dialog.Send();
break;
}
case 2:
{
dialog.Text("If you can go and kill 300 GiantApes, Ape City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 6);
dialog.Avatar(30);
dialog.Send();
break;
}
case 3:
{
dialog.Text("If you can go and kill 300 ThunderApes, Ape City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 7);
dialog.Avatar(30);
dialog.Send();
break;
}
case 4:
{
dialog.Text("If you can go and kill 300 Snakemen, Ape City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 8);
dialog.Avatar(30);
dialog.Send();
break;
}
case 5:
{
client.Entity.QuestMob = "Macaque";
client.Entity.QuestFrom = "AC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 6:
{
client.Entity.QuestMob = "GiantApe";
client.Entity.QuestFrom = "AC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 7:
{
client.Entity.QuestMob = "ThunderApe";
client.Entity.QuestFrom = "AC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 8:
{
client.Entity.QuestMob = "Snakeman";
client.Entity.QuestFrom = "AC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 10:
{
client.Entity.Teleport(1011, 230, 258);
break;
}
case 11:
{
client.Entity.Teleport(1020, 569, 622);
break;
}
case 12:
{
client.Entity.Teleport(1000, 477, 634);
break;
}
case 13:
{
client.Entity.Teleport(1015, 791, 569);
break;
}
case 14:
{
client.Entity.Teleport(1000, 083, 319);
break;
}
}
}
break;
#endregion
#region DC Monster Hunter Quest
case 2004://DC CloudSaint'sJar Quest
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.QuestFrom == "")
{
if (client.Entity.Level <= 90)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Twin City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Twin City.", 9);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 100)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Phoenix City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Phoenix City.", 10);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 110)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Ape Mountain, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Ape Mountain.", 11);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 120)
{
dialog.Text("Glad to see you are here! Desert City is being besieged by monsters recently. If you can help us out, your reward will be EXP worth a ExpBall and Meteor. But remember you can only get 3 opportunities everyday.");
dialog.Option("Go kill SandMonsters (Level 67)", 1);
dialog.Option("Go kill HillMonsters (Level 72)", 2);
dialog.Option("Go kill RockMonsters (Level 77)", 3);
dialog.Option("Go kill BladeGhosts (Level 82)", 4);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 130)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Bird Island, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Bird Island.", 13);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 140)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Mystic Castle, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Mystic Castle.", 14);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level > 140)
{
dialog.Text("You have made the land peaceful! There is nothing left for you to do!");
dialog.Option("Okay.", 255);
dialog.Avatar(30);
dialog.Send();
}
}
else if (client.Entity.QuestFrom == "DC")
{
if (client.Entity.QuestKO >= 300 && client.Inventory.Contains(750000, 1))
{
client.Inventory.Remove(750000);
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
client.IncreaseExperience((ulong)(1295000 + client.Entity.Level * 50000), false);
client.Inventory.Add(1088001, 0, 1);
client.Entity.ConquerPoints += AdminPanel.DC;
dialog.Text("Good job! You killed 300 Monsters! Here is your Exp and Meteor.");
dialog.Option("Thanks.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestKO >= 0)
{
if (client.Inventory.Contains(750000, 1))
{
dialog.Text("Why do you hurry to come back? What happened? How about your quest to kill 300 " + client.Entity.QuestMob + "?");
dialog.Option("I'll get to it.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else
{
dialog.Text("Alas! Where is the CloudSaint'sJar that I lent you? If you can't find it, I suggest you to give up the quest. But don't worry, you can get a new quest again.");
dialog.Option("Sorry its my fault.", 9);
dialog.Avatar(30);
dialog.Send();
}
}
}
else if (client.Entity.QuestFrom == "TC")
{
dialog.Text("The quest you got from TCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "PC")
{
dialog.Text("The quest you got from PCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "AC")
{
dialog.Text("The quest you got from ACCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "BI")
{
dialog.Text("The quest you got from BICaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "MC")
{
dialog.Text("The quest you got from MCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
break;
}
case 15:
{
if (client.Inventory.Contains(750000, 1))
{
client.Inventory.Remove(750000);
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
}
else
{
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
}
break;
}
case 9:
{
dialog.Text("Are you sure you want to end the quest?");
dialog.Option("Yes, end the Quest.", 15);
dialog.Avatar(30);
dialog.Send();
break;
}
case 1:
{
dialog.Text("If you can go and kill 300 SandMonsters, Desert City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 5);
dialog.Avatar(30);
dialog.Send();
break;
}
case 2:
{
dialog.Text("If you can go and kill 300 HillMonsters, Desert City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 6);
dialog.Avatar(30);
dialog.Send();
break;
}
case 3:
{
dialog.Text("If you can go and kill 300 RockMonsters, Desert City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 7);
dialog.Avatar(30);
dialog.Send();
break;
}
case 4:
{
dialog.Text("If you can go and kill 300 BladeGhosts, Desert City will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 8);
dialog.Avatar(30);
dialog.Send();
break;
}
case 5:
{
client.Entity.QuestMob = "SandMonster";
client.Entity.QuestFrom = "DC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 6:
{
client.Entity.QuestMob = "HillMonster";
client.Entity.QuestFrom = "DC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 7:
{
client.Entity.QuestMob = "RockMonster";
client.Entity.QuestFrom = "DC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 8:
{
client.Entity.QuestMob = "BladeGhost";
client.Entity.QuestFrom = "DC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 10:
{
client.Entity.Teleport(1011, 230, 258);
break;
}
case 11:
{
client.Entity.Teleport(1020, 569, 622);
break;
}
case 12:
{
client.Entity.Teleport(1000, 477, 634);
break;
}
case 13:
{
client.Entity.Teleport(1015, 791, 569);
break;
}
case 14:
{
client.Entity.Teleport(1000, 083, 319);
break;
}
}
}
break;
#endregion
#region BI Monster Hunter Quest
case 2005://BI CloudSaint'sJar Quest
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.QuestFrom == "")
{
if (client.Entity.Level <= 90)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Twin City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Twin City.", 9);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 100)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Pheonix City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Pheonix City.", 10);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 110)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Ape Mountain, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Ape Mountain.", 11);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 120)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Desert City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Desert City.", 12);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 130)
{
dialog.Text("Glad to see you are here! Bird Island is being besieged by monsters recently. If you can help us out, your reward will be EXP worth a ExpBall and Meteor. But remember you can only get 3 opportunities everyday.");
dialog.Option("Go kill Birdmen (Level 87)", 1);
dialog.Option("Go kill Hawkings (Level 92)", 2);
dialog.Option("Go kill BanditL97, BanditL98, or Robbers (Level 97)", 3);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 140)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Mystic Castle, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Mystic Castle.", 14);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level > 140)
{
dialog.Text("You have made the land peaceful! There is nothing left for you to do!");
dialog.Option("Okay.", 255);
dialog.Avatar(30);
dialog.Send();
}
}
else if (client.Entity.QuestFrom == "BI")
{
if (client.Entity.QuestKO >= 300 && client.Inventory.Contains(750000, 1))
{
client.Inventory.Remove(750000);
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
client.IncreaseExperience((ulong)(1295000 + client.Entity.Level * 50000), false);
client.Inventory.Add(1088001, 0, 1);
client.Entity.ConquerPoints += AdminPanel.AC;
dialog.Text("Good job! You killed 300 Monsters! Here is your Exp and Meteor.");
dialog.Option("Thanks.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestKO >= 0)
{
if (client.Inventory.Contains(750000, 1))
{
dialog.Text("Why do you hurry to come back? What happened? How about your quest to kill 300 " + client.Entity.QuestMob + "?");
dialog.Option("I'll get to it.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else
{
dialog.Text("Alas! Where is the CloudSaint'sJar that I lent you? If you can't find it, I suggest you to give up the quest. But don't worry, you can get a new quest again.");
dialog.Option("Sorry its my fault.", 9);
dialog.Avatar(30);
dialog.Send();
}
}
}
else if (client.Entity.QuestFrom == "TC")
{
dialog.Text("The quest you got from TCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "PC")
{
dialog.Text("The quest you got from PCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "AC")
{
dialog.Text("The quest you got from ACCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "DC")
{
dialog.Text("The quest you got from DCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "MC")
{
dialog.Text("The quest you got from MCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
break;
}
case 15:
{
if (client.Inventory.Contains(750000, 1))
{
client.Inventory.Remove(750000);
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
}
else
{
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
}
break;
}
case 9:
{
dialog.Text("Are you sure you want to end the quest?");
dialog.Option("Yes, end the Quest.", 15);
dialog.Avatar(30);
dialog.Send();
break;
}
case 1:
{
dialog.Text("If you can go and kill 300 Birdmen, Bird Island will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 5);
dialog.Avatar(30);
dialog.Send();
break;
}
case 2:
{
dialog.Text("If you can go and kill 300 Hawkings, Bird Island will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 6);
dialog.Avatar(30);
dialog.Send();
break;
}
case 3:
{
dialog.Text("If you can go and kill 300 BanditL97, Bird Island will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 7);
dialog.Avatar(30);
dialog.Send();
break;
}
case 5:
{
client.Entity.QuestMob = "Birdman";
client.Entity.QuestFrom = "BI";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 6:
{
client.Entity.QuestMob = "HawKing";
client.Entity.QuestFrom = "BI";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 7:
{
client.Entity.QuestMob = "BanditL97";
client.Entity.QuestFrom = "BI";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 10:
{
client.Entity.Teleport(1011, 230, 258);
break;
}
case 11:
{
client.Entity.Teleport(1020, 569, 622);
break;
}
case 12:
{
client.Entity.Teleport(1000, 477, 634);
break;
}
case 13:
{
client.Entity.Teleport(1015, 791, 569);
break;
}
case 14:
{
client.Entity.Teleport(1000, 083, 319);
break;
}
}
}
break;
#endregion
#region MC Monster Hunter Quest
case 2006://MC CloudSaint'sJar Quest
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.QuestFrom == "")
{
if (client.Entity.Level <= 90)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Twin City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Twin City.", 9);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 100)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Phoenix City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Phoenix City.", 10);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 110)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Ape Mountain, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Ape Mountain.", 11);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 120)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Desert City, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Desert City.", 12);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 130)
{
dialog.Text("You are powerful now. I suggest you go to the Captain of Bird Island, because I heard he is annoyed by the rampant monsters there. I believe you can help him a lot. I will teleport you there to save time.");
dialog.Option("Please send me to Bird Island.", 13);
dialog.Option("I don't want to go there.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level <= 140)
{
dialog.Text("Glad to see you are here! Mystic Castle is being besieged by monsters recently. If you can help us out, your reward will be EXP worth a ExpBall and Meteor. But remember you can only get 3 opportunities everyday.");
dialog.Option("Go kill Tombats (Level 102)", 1);
dialog.Option("Go kill Bloodybats (Level 107)", 2);
dialog.Option("Go kill BullMonsters (Level 112)", 3);
dialog.Option("Go kill RedDevils (Level 117)", 4);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.Level > 140)
{
dialog.Text("You have made the land peaceful! There is nothing left for you to do!");
dialog.Option("Okay.", 255);
dialog.Avatar(30);
dialog.Send();
}
}
else if (client.Entity.QuestFrom == "MC")
{
if (client.Entity.QuestKO >= 300 && client.Inventory.Contains(750000, 1))
{
client.Inventory.Remove(750000);
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
client.IncreaseExperience((ulong)(1295000 + client.Entity.Level * 50000), false);
client.Inventory.Add(1088001, 0, 1);
client.Entity.ConquerPoints += AdminPanel.DC;
dialog.Text("Good job! You killed 300 Monsters! Here is your Exp and Meteor.");
dialog.Option("Thanks.", 255);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestKO >= 0)
{
if (client.Inventory.Contains(750000, 1))
{
dialog.Text("Why do you hurry to come back? What happened? How about your quest to kill 300 " + client.Entity.QuestMob + "?");
dialog.Option("I'll get to it.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else
{
dialog.Text("Alas! Where is the CloudSaint'sJar that I lent you? If you can't find it, I suggest you to give up the quest. But don't worry, you can get a new quest again.");
dialog.Option("Sorry its my fault.", 9);
dialog.Avatar(30);
dialog.Send();
}
}
}
else if (client.Entity.QuestFrom == "TC")
{
dialog.Text("The quest you got from TCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "PC")
{
dialog.Text("The quest you got from PCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "AC")
{
dialog.Text("The quest you got from ACCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "DC")
{
dialog.Text("The quest you got from DCCaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
else if (client.Entity.QuestFrom == "BI")
{
dialog.Text("The quest you got from BICaptain hasn't been finished yet. Please finish it or give up before getting the new quest from me.");
dialog.Option("I'm going to finish it right away.", 255);
dialog.Option("I want to end the Quest.", 9);
dialog.Avatar(30);
dialog.Send();
}
break;
}
case 15:
{
if (client.Inventory.Contains(750000, 1))
{
client.Inventory.Remove(750000);
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
}
else
{
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Entity.QuestMob = "";
client.Entity.QuestFrom = "";
}
break;
}
case 9:
{
dialog.Text("Are you sure you want to end the quest?");
dialog.Option("Yes, end the Quest.", 15);
dialog.Avatar(30);
dialog.Send();
break;
}
case 1:
{
dialog.Text("If you can go and kill 300 TomBats, Mystic Castle will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 5);
dialog.Avatar(30);
dialog.Send();
break;
}
case 2:
{
dialog.Text("If you can go and kill 300 BloodyBats, Mystic Castle will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 6);
dialog.Avatar(30);
dialog.Send();
break;
}
case 3:
{
dialog.Text("If you can go and kill 300 BullMonsters, Mystic Castle will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 7);
dialog.Avatar(30);
dialog.Send();
break;
}
case 4:
{
dialog.Text("If you can go and kill 300 RedDevils, Mystic Castle will become much more peaceful. By the way, if you team up with other players, the soul of the monsters killed by your teammates can be drawn into your CloudSaint'sJar.");
dialog.Option("I accept the Quest.", 8);
dialog.Avatar(30);
dialog.Send();
break;
}
case 5:
{
client.Entity.QuestMob = "TombBat";
client.Entity.QuestFrom = "MC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 6:
{
client.Entity.QuestMob = "BloodyBat";
client.Entity.QuestFrom = "MC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 7:
{
client.Entity.QuestMob = "BullMonster";
client.Entity.QuestFrom = "MC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 8:
{
client.Entity.QuestMob = "RedDevilL117";
client.Entity.QuestFrom = "MC";
client.Entity.QuestKO = 0;
client.Entity.AntiRobo = 0;
client.Inventory.Add(new ConquerItem(true) { ID = 750000, Durability = 300, MaximDurability = (ushort)Database.MonsterInformation.GetIDFromName(client.Entity.QuestMob) }, Enums.ItemUse.CreateAndAdd);
break;
}
case 10:
{
client.Entity.Teleport(1011, 230, 258);
break;
}
case 11:
{
client.Entity.Teleport(1020, 569, 622);
break;
}
case 12:
{
client.Entity.Teleport(1000, 477, 634);
break;
}
case 13:
{
client.Entity.Teleport(1015, 791, 569);
break;
}
case 14:
{
client.Entity.Teleport(1000, 083, 319);
break;
}
}
}
break;
#endregion
#endregion