|
#region test case 3523: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Hello Pro I Am Here To PerfectionLevel DeathNote."); dialog.Option("i want to add soul to fan", 5); dialog.Option("i want to add soul to tower", 6); dialog.Send(); break; } case 5: { ConquerItem item1; ConquerItem item2; item2 = client.Equipment.TryGetItem(ConquerItem.Tower); item1 = client.Equipment.TryGetItem(ConquerItem.Fan); { { if (client.Inventory.Contains(214456,1)) { client.Inventory.Remove(214456, 1); } else { dialog.Text("Please come back to me with Heaven Fan soul."); dialog.Option("Ahh sorry.", 255); dialog.Send(); } if ((item1 = client.Equipment.TryGetItem(ConquerItem.Fan)) != null && item1.RefineItem != null) { ItemAdding.Purification_ purify = new ItemAdding.Purification_(); purify.AddedOn = DateTime.Now; purify.Available = true; purify.ItemUID = item1.UID; purify.PurificationLevel = 6; purify.PurificationDuration = 8 * 24 * 60 * 60; purify.PurificationItemID = 214456; Database.ItemAddingTable.AddPurification(purify); item1.Purification = purify; item1.Mode = Game.Enums.ItemMode.Update; item1.Send(client); ItemAdding effect = new ItemAdding(true); effect.Type = ItemAdding.PurificationEffect; effect.Append2(purify); client.Send(effect); var Backup = item1.Purification; Backup.PurificationDuration = 0; item1.Purification = Backup; item1.Send(client); effect.Type = ItemAdding.StabilizationEffect; effect.Append2(Backup); client.Send(effect); Database.ItemAddingTable.Stabilize(item1.UID, Backup.PurificationItemID); item1.Mode = Game.Enums.ItemMode.Update; item1.Send(client); } else { return; } client.Entity.Update(_String.Effect, "dakaishengzhi", true); } } break; } case 6: { ConquerItem item1; ConquerItem item2; item1 = client.Equipment.TryGetItem(ConquerItem.Tower); item2 = client.Equipment.TryGetItem(ConquerItem.Fan); { { if (client.Inventory.Contains(214455, 1)) { client.Inventory.Remove(214455, 1); } else { dialog.Text("Please come back to me with Star Tower soul."); dialog.Option("Ahh sorry.", 255); dialog.Send(); } if ((item1 = client.Equipment.TryGetItem(ConquerItem.Fan)) != null && item1.RefineItem != null) { ItemAdding.Purification_ purify = new ItemAdding.Purification_(); purify.AddedOn = DateTime.Now; purify.Available = true; purify.ItemUID = item1.UID; purify.PurificationLevel = 6; purify.PurificationDuration = 8 * 24 * 60 * 60; purify.PurificationItemID = 214455; Database.ItemAddingTable.AddPurification(purify); item1.Purification = purify; item1.Mode = Game.Enums.ItemMode.Update; item1.Send(client); ItemAdding effect = new ItemAdding(true); effect.Type = ItemAdding.PurificationEffect; effect.Append2(purify); client.Send(effect); var Backup = item1.Purification; Backup.PurificationDuration = 0; item1.Purification = Backup; item1.Send(client); effect.Type = ItemAdding.StabilizationEffect; effect.Append2(Backup); client.Send(effect); Database.ItemAddingTable.Stabilize(item1.UID, Backup.PurificationItemID); item1.Mode = Game.Enums.ItemMode.Update; item1.Send(client); } else { return; } client.Entity.Update(_String.Effect, "dakaishengzhi", true); } } break; } } break; } #endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
طلب صغير | osama | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-05-09 11:01 PM |
طلب بعد اذنكوا يا جماعه واقف عليها والله | koko1 | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2020-05-04 05:18 PM |
طلب صغير | AliNasser | مشكلات السيرفيرات كونكر الشخصيه | 7 | 2020-03-09 06:43 PM |
طلب صغير | Mostafa Shalby | مشكلات السيرفيرات كونكر الشخصيه | 8 | 2019-11-11 02:10 PM |
طلب صغير | ابو حمزه9 | مشكلات السيرفيرات كونكر الشخصيه | 8 | 2019-07-23 08:28 PM |