مشاهدة النسخة كاملة : ممكن الحل بسرعة ياشباب
fariswaleed
2020-05-01, 10:24 AM
السلام عليكم ياشباب
ممكن حل مشكلة ان الضربة العدية بتاعت الاملات ضعيفة ومبتضربشى ورايعضه
فى سورس عادى
ElSaher
2020-05-02, 03:27 AM
جرب موضوع ايمن
عفواً لايمكن عرض الروابط في الإرشيف
Users
2020-05-02, 11:45 AM
فى ورلد فى فويد اسمو اوتو اتاك غيرو كلو من سورس تانى
Hassan Emprator
2020-05-02, 01:29 PM
سيرش عا
private void AutoAttackCallback(GameState client, int time)
بدله كله بي
private void AutoAttackCallback(GameState client, int time)
{
if (!Valid(client)) return;
Time32 Now = new Time32(time);
if (client.Entity.AttackPacket != null || client.Entity.VortexAttackStamp != null)
{
try
{
if (client.Entity.ContainsFlag((ulong)Update.Flags.Sh urikenVortex))
{
if (client.Entity.VortexPacket != null && client.Entity.VortexPacket.ToArray() != null)
{
if (Now > client.Entity.VortexAttackStamp.AddMilliseconds(14 00))
{
client.Entity.VortexAttackStamp = Now;
new Game.Attacking.Handle(client.Entity.VortexPacket, client.Entity, null);
}
}
}
else
{
client.Entity.VortexPacket = null;
var AttackPacket = client.Entity.AttackPacket;
if (AttackPacket != null && AttackPacket.ToArray() != null)
{
uint AttackType = AttackPacket.AttackType;
if (AttackType == Attack.Magic || AttackType == Attack.Melee || AttackType == Attack.Ranged)
{
if (AttackType == Attack.Magic)
{
if (Now > client.Entity.AttackStamp.AddSeconds(1))
{
if (AttackPacket.Damage != 12160 &&
AttackPacket.Damage != 12170 &&
AttackPacket.Damage != 12120 &&
AttackPacket.Damage != 12130 &&
AttackPacket.Damage != 12140 &&
AttackPacket.Damage != 12320 &&
AttackPacket.Damage != 12330 &&
AttackPacket.Damage != 12340 &&
AttackPacket.Damage != 12210)
new Game.Attacking.Handle(AttackPacket, client.Entity, null);
}
}
else
{
int decrease = -300;
if (client.Entity.OnCyclone())
decrease = 200;
if (client.Entity.OnSuperman())
decrease = 200;
if (Now > client.Entity.AttackStamp.AddMilliseconds((1 - client.Entity.Agility - decrease) * (int)(AttackType == Attack.Ranged ? 1 : 1)))
{
new Game.Attacking.Handle(AttackPacket, client.Entity, null);
}
}
}
}
}
}
catch (Exception e)
{
Program.SaveException(e);
client.Entity.AttackPacket = null;
client.Entity.VortexPacket = null;
}
}
}
vBulletin® v3.8.8 Beta 1, Copyright ©2000-2024, TranZ by code