|
|
المشاركات 113 |
+التقييم 0.06 |
تاريخ التسجيل Feb 2020 |
الاقامة |
نظام التشغيل |
رقم العضوية 3470 |
أفضل جواب - كتبه Tefa |
جرب تمسح اول سطر كده كود:
|
#region Perfection X2
byte Tiempo = 0;
new MsgRefineEffect().HandleLuckyStrike(attacker, ref Tiempo);
if (Kernel.Rate(Tiempo))
{
Network.Writer.WriteUInt16((ushort)(1 << 10), 36, attack.ToArray());
new MsgRefineEffect().SendEffect(attacker, attacked, Game.Enums.PerfectionEffect.LuckyStrike);
damage = damage * 2;
}
#region Perfection X2
if ((attacker.Perfection != null)(attacked.Perfection != null))
{
if ((attacker.Perfection.Id) > (attacked.Perfection.Id))
{
byte Tiempo = 0;
new MsgRefineEffect().HandleLuckyStrike(attacker, ref Tiempo);
if (Kernel.Rate(Tiempo))
{
Network.Writer.WriteUInt16((ushort)(1 << 10), 36, attack.ToArray());
new MsgRefineEffect().SendEffect(attacker, attacked, Game.Enums.PerfectionEffect.LuckyStrike);
damage = damage * 2;
}
}
}
#endregion
#region Perfection X2
if ((attacker.Perfection >0)
{
if ((attacker.TotalPerfectionScore) > (attacked.TotalPerfectionScore))
{
byte Tiempo = 0;
new MsgRefineEffect().HandleLuckyStrike(attacker, ref Tiempo);
if (Kernel.Rate(Tiempo))
{
Network.Writer.WriteUInt16((ushort)(1 << 10), 36, attack.ToArray());
new MsgRefineEffect().SendEffect(attacker, attacked, Game.Enums.PerfectionEffect.LuckyStrike);
damage = damage * 2;
}
}
}
#endregion
#region Perfection X2
if ((attacker.Perfection >0)
{
if ((attacker.TotalPerfectionScore) > (attacked.TotalPerfectionScore))
{
byte Tiempo = 0;
new MsgRefineEffect().HandleLuckyStrike(attacker, ref Tiempo);
if (Kernel.Rate(Tiempo))
{
Network.Writer.WriteUInt16((ushort)(1 << 10), 36, attack.ToArray());
new MsgRefineEffect().SendEffect(attacker, attacked, Game.Enums.PerfectionEffect.LuckyStrike);
damage = damage * 2;
}
}
}
#endregion
|
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|