انبي سي بيممسح المقيد من السلاح السوبر
الانبي سي حلو
للسيرفيرات الصعبه
#region Remove Bound case 26678: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Hello, you wana remove free(Bound) items for 30,000 CPs ?"); dialog.Option("Headgear. ", 1); dialog.Option("Necklace/Bag. ", 2); dialog.Option("Armor. ", 3); dialog.Option("Weapon. ", 4); dialog.Option("Shield. ", 5); dialog.Option("Ring. ", 6); dialog.Option("Boots. ", 8); dialog.Option("Just passing by.", 255); dialog.Avatar(114); dialog.Send(); break; } case 1: case 2: case 3: case 4: case 5: case 6: case 8: { if (!client.Equipment.Free(npcRequest.OptionID)) { if (client.Equipment.TryGetItem(npcRequest.OptionID).Bound) { if (client.Entity.ConquerPoints >= 30000) { client.Entity.ConquerPoints -= 30000; ////client.Player.ConquerPointsFake -= 30000; client.Equipment.TryGetItem(npcRequest.OptionID).Bound = false; client.Equipment.TryGetItem(npcRequest.OptionID).Send(client); Database.ConquerItemTable.UpdateBound(client.Equipment.TryGetItem(npcRequest.OptionID)); dialog.Text("Here you are. It's done."); dialog.Option("Thanks", 255); dialog.Avatar(114); dialog.Send(); } else { dialog.Text("Sorry, you need 30000 ConquerPoints"); dialog.Option("Ah ok", 255); dialog.Avatar(114); dialog.Send(); } } else { dialog.Text("Sorry, you item no is Bound"); dialog.Option("Ah yes", 255); dialog.Avatar(114); dialog.Send(); } } else { dialog.Text("Sorry, you don't have this item"); dialog.Option("Ah yes", 255); dialog.Avatar(114); dialog.Send(); } break; } } break; } #endregion