#region Proficiency Master by Messi case 9411: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Hello my friend. If you believe that, leveling your proficiency is too hard and takes too much time, I can help you. In exchange of a fixed amount of exp balls, I will agree to level up your proficiency."); dialog.Text("Now, tell me what proficiency you want to level up."); dialog.Option("Upgrade One-handed Proficiency.", 1); dialog.Option("Upgrade Two handed Proficiency.", 3); dialog.Option("Upgrade Boxing/Shield Proficiency.", 5); dialog.Option("Just passing by!", 255); dialog.Send(); break; } case 1: { dialog.Text("Which one handed proficiency?"); dialog.Option("Upgrade Blade Proficiency.", 41); dialog.Option("Upgrade EpicWarrior Proficiency.", 60); dialog.Option("Upgrade WindWalkerWeapon Proficiency.", 61); dialog.Option("Upgrade NunchakuProsli Proficiency.", 62); dialog.Option("Upgrade Sword Proficiency.", 42); dialog.Option("Upgrade Hook Proficiency.", 43); dialog.Option("Upgrade Whip Proficiency.", 44); dialog.Option("Upgrade Axe Proficiency.", 45); dialog.Option("Upgrade Dagger Proficiency.", 49); dialog.Option("Next page.", 2); dialog.Option("Nothing, sorry.", 255); dialog.Send(); break; } case 62: { if (client.Proficiencies.ContainsKey(617)) { var prof = client.Proficiencies[617]; if (prof.Level >= 12) { dialog.Text("This proficiency cannot be leveled up anymore."); dialog.Option("Oh sorry.", 255); dialog.Send(); break; } client.UplevelProficiency = 0; if (client.Inventory.Contains(723700, prof.Level)) { client.Inventory.Remove(723700, prof.Level); prof.Level++; prof.Experience = 0; prof.Send(client); break; } dialog.Text("You don't have the requiered exp balls, I'm sorry I cannot help you."); dialog.Option("It's alright.", 255); dialog.Send(); break; } else { dialog.Text("You don't know this proficiency."); dialog.Option("Ahh, sorry.", 255); dialog.Send(); break; } } case 61: { if (client.Proficiencies.ContainsKey(626)) { var prof = client.Proficiencies[626]; if (prof.Level >= 12) { dialog.Text("This proficiency cannot be leveled up anymore."); dialog.Option("Oh sorry.", 255); dialog.Send(); break; } client.UplevelProficiency = 0; if (client.Inventory.Contains(723700, prof.Level)) { client.Inventory.Remove(723700, prof.Level); prof.Level++; prof.Experience = 0; prof.Send(client); break; } dialog.Text("You don't have the requiered exp balls, I'm sorry I cannot help you."); dialog.Option("It's alright.", 255); dialog.Send(); break; } else { dialog.Text("You don't know this proficiency."); dialog.Option("Ahh, sorry.", 255); dialog.Send(); break; } } case 60: { if (client.Proficiencies.ContainsKey(624)) { var prof = client.Proficiencies[624]; if (prof.Level >= 12) { dialog.Text("This proficiency cannot be leveled up anymore."); dialog.Option("Oh sorry.", 255); dialog.Send(); break; } client.UplevelProficiency = 0; if (client.Inventory.Contains(723700, prof.Level)) { client.Inventory.Remove(723700, prof.Level); prof.Level++; prof.Experience = 0; prof.Send(client); break; } dialog.Text("You don't have the requiered exp balls, I'm sorry I cannot help you."); dialog.Option("It's alright.", 255); dialog.Send(); break; } else { dialog.Text("You don't know this proficiency."); dialog.Option("Ahh, sorry.", 255); dialog.Send(); break; } } case 2: { dialog.Text("Which one handed proficiency?"); dialog.Option("Upgrade PrayerBead Proficiency.", 61); dialog.Option("Upgrade Hammer Proficiency.", 46); dialog.Option("Upgrade Club Proficiency.", 48); dialog.Option("Upgrade Scepter Proficiency.", 184); dialog.Option("Upgrade Katana Proficiency.", 60); dialog.Option("Upgrade Axe Proficiency.", 45); dialog.Option("Back.", 1); dialog.Option("Nothing, sorry.", 255); dialog.Send(); break; } case 3: { dialog.Text("Which two handed proficiency?"); dialog.Option("Upgrade Glaive Proficiency.", 51); dialog.Option("Upgrade Poleaxe Proficiency.", 53); dialog.Option("Upgrade LongHammer Proficiency.", 54); dialog.Option("Upgrade Spear Proficiency.", 56); dialog.Option("Next page.", 4); dialog.Option("Nothing, sorry.", 255); dialog.Send(); break; } case 4: { dialog.Text("Which one handed proficiency?"); dialog.Option("Upgrade Backsword Proficiency.", 124); dialog.Option("Upgrade Pickaxe Proficiency.", 142); dialog.Option("Upgrade Halberd Proficiency.", 58); dialog.Option("Upgrade Wand Proficiency.", 165); dialog.Option("Upgrade Bow Proficiency.", 50); dialog.Option("Back.", 3); dialog.Option("Nothing, sorry.", 255); dialog.Send(); break; } case 5: { dialog.Text("Which others handed proficiency?"); dialog.Option("Upgrade Boxing Proficiency.", 254); dialog.Option("Upgrade Shield Proficiency.", 90); dialog.Option("Nothing, sorry.", 255); dialog.Send(); break; } case 100: { if (client.Proficiencies.ContainsKey(client.UplevelProficiency)) { var prof = client.Proficiencies[client.UplevelProficiency]; if (prof.Level >= 12) { dialog.Text("This proficiency cannot be leveled up anymore."); dialog.Option("Oh sorry.", 255); dialog.Send(); break; } client.UplevelProficiency = 0; if (client.Inventory.Contains(723700, prof.Level)) { client.Inventory.Remove(723700, prof.Level); prof.Level++; prof.Experience = 0; prof.Send(client); break; } dialog.Text("You don't have the requiered exp balls, I'm sorry I cannot help you."); dialog.Option("It's alright.", 255); dialog.Send(); break; } else { dialog.Text("You don't know this proficiency."); dialog.Option("Ahh, sorry.", 255); dialog.Send(); break; } } default: { if (npcRequest.OptionID == 255) return; ushort proficiency = 0; if (npcRequest.OptionID < 100) proficiency = (ushort)(npcRequest.OptionID * 10); else { if (npcRequest.OptionID != 254) { string off = npcRequest.OptionID.ToString(); string reverse = off[2].ToString() + off[1].ToString() + off[0].ToString(); proficiency = ushort.Parse(reverse); } } if (proficiency == 600) proficiency++; if (client.Proficiencies.ContainsKey(proficiency)) { var prof = client.Proficiencies[proficiency]; if (prof.Level >= 12) { dialog.Text("This proficiency cannot be leveled up anymore."); dialog.Option("Oh.", 255); dialog.Send(); break; } client.UplevelProficiency = proficiency; dialog.Text("I need " + prof.Level + " exp balls to be able to level up this proficiency."); dialog.Option("Let's do it then.", 100); dialog.Option("No, sorry.", 255); dialog.Send(); break; } else { dialog.Text("You don't know this proficiency."); dialog.Option("Ahh, sorry.", 255); dialog.Send(); break; } } } break; } #endregion
#region Npc add Points by Rider case 1370: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Hello " + client.Player.Name + " I will help you to add your points in the Strength , Vitality , Agility , Spirit"); dialog.Text("you have to be level 140 and 2nd Reborn and Please chose your own class and leave the rest for me"); dialog.Option("Monk", 1); dialog.Option("Ninja", 2); dialog.Option("Taoist (Water/Fire)", 3); dialog.Option("Archer", 4); dialog.Option("Wariorr", 5); dialog.Option("Trojan", 6); dialog.Option("Pirate", 7); dialog.Option("WindWallker", 9); dialog.Option("ProsLi", 1); dialog.Option("Full HP", 8); dialog.Option("Wait a minute.", 255); dialog.Send(); break; } case 1: { if (client.Player.Level == 140 && client.Player.Reborn == 2) { client.Player.Strength = 0; client.Player.Vitality = 502; client.Player.Agility = 36; client.Player.Spirit = 0; client.Player.Atributes = 0; } else { dialog.Text("you have to be level 140 and 2nd Reborn "); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } break; } case 2: { if (client.Player.Level == 140 && client.Player.Reborn == 2) { client.Player.Strength = 0; client.Player.Vitality = 262; client.Player.Agility = 276; client.Player.Spirit = 0; client.Player.Atributes = 0; } else { dialog.Text("you have to be level 140 and 2nd Reborn "); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } break; } case 3: { if (client.Player.Level == 140 && client.Player.Reborn == 2) { client.Player.Strength = 0; client.Player.Vitality = 438; client.Player.Agility = 0; client.Player.Spirit = 100; client.Player.Atributes = 0; } else { dialog.Text("you have to be level 140 and 2nd Reborn "); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } break; } case 4: { if (client.Player.Level == 140 && client.Player.Reborn == 2) { client.Player.Strength = 74; client.Player.Vitality = 208; client.Player.Agility = 256; client.Player.Spirit = 0; client.Player.Atributes = 0; } else { dialog.Text("you have to be level 140 and 2nd Reborn "); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } break; } case 5: { if (client.Player.Level == 140 && client.Player.Reborn == 2) { client.Player.Strength = 176; client.Player.Vitality = 362; client.Player.Agility = 0; client.Player.Spirit = 0; client.Player.Atributes = 0; } else { dialog.Text("you have to be level 140 and 2nd Reborn "); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } break; } case 6: { if (client.Player.Level == 140 && client.Player.Reborn == 2) { client.Player.Strength = 176; client.Player.Vitality = 362; client.Player.Agility = 0; client.Player.Spirit = 0; client.Player.Atributes = 0; } else { dialog.Text("you have to be level 140 and 2nd Reborn "); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } break; } case 7: { if (client.Player.Level == 140 && client.Player.Reborn == 2) { client.Player.Strength = 0; client.Player.Vitality = 502; client.Player.Agility = 36; client.Player.Spirit = 0; client.Player.Atributes = 0; } else { dialog.Text("you have to be level 140 and 2nd Reborn "); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } break; } case 8: { if (client.Player.Level == 140 && client.Player.Reborn == 2) { client.Player.Strength = 0; client.Player.Vitality = 538; client.Player.Agility = 0; client.Player.Spirit = 0; client.Player.Atributes = 0; } else { dialog.Text("you have to be level 140 and 2nd Reborn "); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } break; } case 9: { if (client.Player.Level == 140 && client.Player.Reborn == 2) { client.Player.Strength = 0; client.Player.Vitality = 502; client.Player.Agility = 36; client.Player.Spirit = 0; client.Player.Atributes = 0; } else { dialog.Text("you have to be level 140 and 2nd Reborn "); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } break; } } break; } #endregion Npc Format Points