عرض مشاركة واحدة
احصائياتى

الردود
4

المشاهدات
1912
 
Tefa

Tefa is on a distinguished road

    غير متواجد

المشاركات
2,515

+التقييم
1.21

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

الاقامة

نظام التشغيل

رقم العضوية
358
2019-08-02, 08:42 PM
المشاركة 1 
#1  
افتراضي حل مشكله الاجتلى بطئ


handle.cs

ابحث عن
كود:
 #region Attacking 

انزل تحت لحد

كود:
  if (attacker.OnSuperman()) 

تحتها ارمي الكود ده

كود:
 if (!pass && attack.AttackType != Attack.Magic)
                    {
                        
int milliSeconds 900 attacker.Agility decrease;
                        if (
milliSeconds || milliSeconds 5000)
                            
milliSeconds 0;
                        if (
Time32.Now attacker.AttackStamp.AddMilliseconds(milliSeconds))
                            return;

                        
attacker.AttackStamp Time32.Now;
                    } 

سيرش علي هتلاقيها تحت
كود:
 bool doWep1Spell falsedoWep2Spell false

او علي
كود:
#region Extract attack information 

و ضيف

كود:
if (!pass && attack.AttackType == Attack.Magic)
                    {
                        if (!(
doWep1Spell || doWep2Spell))
                        {
                            if (
SpellID == 11960 || SpellID == 1045 || SpellID == 1046 || SpellID == 11005 || SpellID == 11000 || SpellID == 1100// FB and SS
                            
{
                                
//do checks
                            
}
                            else
                            {
                                
int milliSeconds 1000 attacker.Agility decrease;
                                if (
milliSeconds || milliSeconds 5000)
                                    
milliSeconds 0;
                                if (
Time32.Now attacker.AttackStamp.AddMilliseconds(milliSeconds))
                                    return;
                            }

                            
attacker.AttackStamp Time32.Now;
                        }
                    }