.png)
المطلوووووب منك
1- Go In Handle.cs
2-Search 3la
وى بعدين اقفل region من ال + وى بدلو بى دة يا بشا
كدة الشرح لو عيل صغير ها يفهم يا رجالة الحل لى سورس اسلام فقط
اى مشكلة تانى حطها فى الموضع دة
1- Go In Handle.cs
2-Search 3la
11660 #region Mortal Wound
case 11660:
{
if (CanUseSpell(spell, attacker.Owner))
{
if (!attacker.ContainsFlag3((ulong)FlagsUpdate.Flags3.PathOfShadow)) return;
PrepareSpell(spell, attacker.Owner);
SpellUse suse = new SpellUse(true);
suse.Attacker = attacker.UID;
suse.SpellID = spell.ID;
suse.SpellLevel = spell.Level;
suse.X = X;
suse.Y = Y;
if (attackedsob == null)
{
if (CanAttack(attacker, attacked, spell, false))
{
attack.Effect = Attack.AttackEffects.None;
uint damage = Game.Attacking.Calculate.Ranged(attacker, attacked, spell, ref attack);
damage = (damage * 100) / 140;//kimo
if (attacker.SpiritFocus)
{
damage = (uint)(damage * attacker.SpiritFocusPercent);
attacker.SpiritFocus = false;
}
suse.Effect = attack.Effect;
ReceiveAttack(attacker, attacked, attack, ref damage, spell);
suse.AddTarget(attacked.UID, damage, attack);
attacker.Owner.SendScreen(suse, true);
}
}
else
{
if (CanAttack(attacker, attackedsob, spell))
{
attack.Effect = Attack.AttackEffects.None;
uint damage = Game.Attacking.Calculate.Ranged(attacker, attackedsob, ref attack);
if (attacker.SpiritFocus)
{
damage = (uint)(damage * attacker.SpiritFocusPercent);
attacker.SpiritFocus = false;
}
suse.Effect = attack.Effect;
ReceiveAttack(attacker, attackedsob, attack, damage, spell);
suse.AddTarget(attackedsob.UID, damage, attack);
attacker.Owner.SendScreen(suse, true);
}
}
}
break;
}
#endregion اى مشكلة تانى حطها فى الموضع دة
هل أعجبك الموضوع؟! ↓

0 التعليقات