ɆŁȾÃŶᾏŘ عضو جديد
الأوسمة : عدد المساهمات : 21 نقاط : 67 سمعه العضو : 0 تاريخ التسجيل : 02/08/2013 العمر : 31
| موضوع: بسم الله الرحمن الرحيم نبدا على بركة الله ... NPC +255 الخميس أبريل 03, 2014 1:43 am | |
| - الكود:
-
#region +255 NPC Coded By ELTAYAR case 80212: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Hey there GM i can help you to upgrade ur gears to +255 . BeCouse U Private Man To Coded This Game"); dialog.Option("Ok,Let us begin Ugrade +255", 1); dialog.Option("Not Now!.", 255); dialog.Send(); break; } case 1: { dialog.Text("Select which item's details you want to +225?, remember it will coast you 1 Cps By ELTAYAR"); dialog.Option("Headgear.", 84); dialog.Option("Necklace.", 85); dialog.Option("Armor.", 86); dialog.Option("Main Weapon.", 87); dialog.Option("Left Weapon/Shield.", 88); dialog.Option("Ring.", 101); dialog.Option("Boots.", 90); dialog.Option("Tower", 91); dialog.Option("Fan", 92); dialog.Option("Steed", 93); dialog.Option("Crop", 94); dialog.Option("R.Acces", 95); dialog.Option("L.Acces", 96); dialog.Option("Mount", 98); dialog.Option("Garment", 97); dialog.Option("Bottle", 107); break; } #region +225 #region boot case 90: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Boots); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 255; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Boots is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Boots already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Boots First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region Tower case 91: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Tower); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 255; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Tower is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Tower already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Tower First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region Fan case 92: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Fan); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 255; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Fan is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Fan already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Fan First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region Steed case 93: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Steed); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 255; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Steed is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Steed already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Steed First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region Ring case 101: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Ring); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 255; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Ring is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Ring already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Ring First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region LeftWeapons case 88: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.LeftWeapon); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 255; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Left Weapon is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Left Weapon already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Left Weapon First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region RightWeapon case 87: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.RightWeapon); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 255; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Right Weapon is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Right Weapon already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Right Weapon First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region Armor case 86: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Armor); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 255; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Armor is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Armor already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Armor First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region Necklace case 85: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Necklace); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 255; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Necklace is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your necklace already +12 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Necklace First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region HeadGear case 84: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Head); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 255; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your HeadGear is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your HeadGear already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Garment First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region Crop case 94: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.SteedCrop);
if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 255; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Crop is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Crop already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Crop First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region R.Acces case 95: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.RightWeaponAccessory); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 7; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Right.Acces is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Right.Acces already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Right.Acces First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region L.Acces case 96: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.LeftWeaponAccessory); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 7; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Left.Acces is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Left Access already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Left.Acces First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region Mount case 98: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.SteedArmor); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 7; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Mount is now +255 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Mount already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Mount First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region Garment case 97: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Garment); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 7; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Germant is now +255 -255 HP By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Germant already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Garment First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #region Bottle case 107: { if (client.Entity.ConquerPoints >= 1) { ConquerItem i = client.Equipment.TryGetItem(ConquerItem.Bottle); if (i != null) { if (i.Plus != 255) { client.Entity.ConquerPoints -= 1; i.Bless = 7; i.Enchant = 255; i.Plus = 255; i.SocketOne = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; i.SocketTwo = Conquer_Online_Server.Game.Enums.Gem.SuperDragonGem; ConquerItemTable.UpdateBless(i); ConquerItemTable.UpdateEnchant(i); ConquerItemTable.UpdatePlus(i); ConquerItemTable.UpdateSockets(i); i.Send(client); dialog.Text("Sucess your Cup is now +12 -255 HP 255 By [ELTAYAR] ^_^ Check for your self."); dialog.Option("Thanks.", 255); } else { dialog.Text("your Cup already +255 -255 Hp 255"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please Equip Your Cup First"); dialog.Option("Ahh sorry.", 255); } } else { dialog.Text("Please come back to me with 1 Cps."); dialog.Option("Ahh sorry.", 255); } break; } #endregion #endregion } break; } #endregion | |
|