احصائياتى

الردود
1

المشاهدات
382
 
neno2052
.:: عضو مميز ::.
الإجابات المقدمة: 2

    غير متواجد

المشاركات
314

+التقييم
0.12

تاريخ التسجيل
Jul 2019

الاقامة

نظام التشغيل

رقم العضوية
412
2019-08-13, 04:15 PM
المشاركة 1
2019-08-13, 04:15 PM
المشاركة 1
افتراضي تمت الإجابة مش في اضافه صول في اسلحه الايبك
يـرجـاله لـي سـلاح الـمونك مش بيرضا يتحـط صوال
عاوز حل



التعديل الأخير تم بواسطة LyokaWarior ; 2019-08-19 الساعة 03:41 AM
أفضل جواب - كتبه LyokaWarior
تــاابعـ المنــشــور المثــبت ف قسـم السـورسـاات

#بــأي
قديم 2019-08-19, 03:42 AM
المشاركة 2
LyokaWarior
.:: عضو نشيط ::.
الإجابات المقدمة: 29
  • غير متواجد
Arrow رد: مش في اضافه صول في اسلحه الايبك
يـرجـاله لـي سـلاح الـمونك مش بيرضا يتحـط صوال
عاوز حل
اتفضــل وبـعـد ازنـ حضـرتك رتــب الكـلام !


كود:
                                                                      Class MsgItemHandler.cs
ابحث
public static void PurifyItem
وبدل دول بالي عندك
 
        
public static void PurifyItem(MsgQuench ps, Client.GameState client)
        {
            
MsgItemInfo Item = null, AddingItem = null;
            if (
client.Inventory.TryGetItem(ps.ItemUID, out Item) && client.Inventory.TryGetItem(ps.AddUID, out AddingItem))
            {
                if (
ps.ItemUID == ps.AddUID)
                    return;
 
                var 
PurifyInformation = Database.ConquerItemInformation.BaseInformations[AddingItem.ID];
                var 
ItemInformation = Database.ConquerItemInformation.BaseInformations[Item.ID];
                if (
PurifyInformation.PurificationLevel > 0)
                {
                    if (
ItemInformation.Level >= PurifyInformation.Level)
                    {
                        var 
doPurify = false;
                        if (
client.Inventory.Contains(720027, (ushort)(PurifyInformation.PurificationMeteorNeed / 10)))
                        {
                            
client.Inventory.Remove(720027, (byte)(PurifyInformation.PurificationMeteorNeed / 10));
                            
doPurify = true;
                        }
                        if (!
doPurify && client.Inventory.Contains(1088001, PurifyInformation.PurificationMeteorNeed))
                        {
                            
client.Inventory.Remove(1088001, (byte)PurifyInformation.PurificationMeteorNeed);
                            
doPurify = true;
                        }
                        if (
doPurify)
                        {
                            if (
Item.Purification.PurificationItemID > 0)
                                
Database.ItemAddingTable.RemoveAdding(Item.UID, Item.Purification.PurificationItemID);
                            
client.Send(ps);
                            
ItemAdding.Purification_ purify = new ItemAdding.Purification_();
                            
purify.AddedOn = DateTime.Now;
                            
purify.Available = true;
                            
purify.ItemUID = ps.ItemUID;
                            
purify.PurificationLevel = PurifyInformation.PurificationLevel;
                            if (
client.Player.VIPLevel == 1)
                                
purify.PurificationDuration = 8 * 24 * 60 * 60;
                            else if (
client.Player.VIPLevel == 2)
                                
purify.PurificationDuration = 9 * 24 * 60 * 60;
                            else if (
client.Player.VIPLevel == 3)
                                
purify.PurificationDuration = 11 * 24 * 60 * 60;
                            else if (
client.Player.VIPLevel == 4)
                                
purify.PurificationDuration = 14 * 24 * 60 * 60;
                            else if (
client.Player.VIPLevel == 5)
                                
purify.PurificationDuration = 14 * 24 * 60 * 60;
                            else if (
client.Player.VIPLevel == 6)
                                
purify.PurificationDuration = 14 * 24 * 60 * 60;
                            else if (
client.Player.VIPLevel == 0)
                                
purify.PurificationDuration = 7 * 24 * 60 * 60;
                            
purify.PurificationItemID = AddingItem.ID;
                            
Database.ItemAddingTable.AddPurification(purify);
                            
Item.Purification = purify;
                            
Item.Mode = COServer.Game.Enums.ItemMode.Update;
                            
Item.Send(client);
                            
client.Inventory.Remove(AddingItem, COServer.Game.Enums.ItemUse.Remove);
                            
client.CalculateStatBonus();
                            
client.LoadItemStats();
                            
// client.ReshareClan();
                            
if (client.Team != null)
                                foreach (var 
teammate in client.Team.Teammates)
                                    
//  teammate.ReshareClan();
                                    
client.CalculateHPBonus();
                            
client.Send(ps);
                        }
                    }
                }
            }
        } 

#بــأاي


العلامات المرجعية



الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 

الانتقال السريع

المواضيع المتشابهه للموضوع: مش في اضافه صول في اسلحه الايبك
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
صفحه كونكر اصليه عربى كامله The.SniperR صفحات التسجيل كونكر اونلاين 73 2021-02-06 02:39 AM
اضافه ال house Hazem تطوير سيرفرات كونكر 16 2021-01-21 05:44 PM
مشكله في صول الاسلحه الايبك midoazoz مشكلات السيرفيرات كونكر الشخصيه 5 2019-11-27 02:17 PM
اضافه Hassan Emprator مشكلات السيرفيرات كونكر الشخصيه 2 2019-07-30 05:08 PM
شرح اضافه وحش BoS abuhaneen مشكلات السيرفيرات كونكر الشخصيه 17 2019-05-31 01:34 AM


الساعة الآن 09:09 PM