عرض مشاركة واحدة
قديم 2019-08-01, 12:19 AM
المشاركة 2
Rider
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: حل مشكله الاجتلى
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;
                        }
                    }