Tefa
2019-08-02, 08:42 PM
handle.cs
ابحث عن #region Attacking
انزل تحت لحد
if (attacker.OnSuperman())
تحتها ارمي الكود ده
if (!pass && attack.AttackType != Attack.Magic)
{
int milliSeconds = 900 - attacker.Agility - decrease;
if (milliSeconds < 0 || milliSeconds > 5000)
milliSeconds = 0;
if (Time32.Now < attacker.AttackStamp.AddMilliseconds(milliSeconds) )
return;
attacker.AttackStamp = Time32.Now;
}
سيرش علي هتلاقيها تحت bool doWep1Spell = false, doWep2Spell = 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 < 0 || milliSeconds > 5000)
milliSeconds = 0;
if (Time32.Now < attacker.AttackStamp.AddMilliseconds(milliSeconds) )
return;
}
attacker.AttackStamp = Time32.Now;
}
}
ابحث عن #region Attacking
انزل تحت لحد
if (attacker.OnSuperman())
تحتها ارمي الكود ده
if (!pass && attack.AttackType != Attack.Magic)
{
int milliSeconds = 900 - attacker.Agility - decrease;
if (milliSeconds < 0 || milliSeconds > 5000)
milliSeconds = 0;
if (Time32.Now < attacker.AttackStamp.AddMilliseconds(milliSeconds) )
return;
attacker.AttackStamp = Time32.Now;
}
سيرش علي هتلاقيها تحت bool doWep1Spell = false, doWep2Spell = 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 < 0 || milliSeconds > 5000)
milliSeconds = 0;
if (Time32.Now < attacker.AttackStamp.AddMilliseconds(milliSeconds) )
return;
}
attacker.AttackStamp = Time32.Now;
}
}