|
المشاركات 1,999 |
+التقييم 0.93 |
تاريخ التسجيل Jun 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 279 |
![]() |
تم حل مشكلة بوينتات في موضوع سابق https://code.vpscairo.com/showthread.php?t=1016 مشكلة ان الشخصيات بتضرب بسرعه هنفتح handle.cs هنبحث عن كود:
لو لقيت تحتها كود:
امسح الكود كله الي انا موضحهولك تحت ده كود:
بعدها سيرش علي كود:
هتلاقي كود بالشكل ده كود:
امسحه و حط ده مكانه كود:
بس كده اما بالنسبه لانه بيضرب من بعيد ف ده راجع للاسكله نفسها و ممكن تعدل عليها |
if (!pass && attack.AttackType != Attack.Magic)
{
int milliSeconds = 1000 - attacker.Agility - decrease;
if (milliSeconds < 0 || milliSeconds > 5000)
milliSeconds = 0;
if (!pass && attack.AttackType != Attack.Magic)
{
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;
}
if (!pass && attack.AttackType == Attack.Magic)
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;
}
}
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
}
attacker.AttackStamp = Time32.Now;
}
}
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|