![]() |
#1 |
L2-scripts клиент Classic 1.5 + ГЕО до 1 июля
Регистрация: 23.09.2013
Сообщений: 437
|
![]()
Hello,
TYr warrior SKILLS that use momentum cannot be evaded no matter pskillevasion value. for exemple final ultimate evasion, you can put there 100 at value, tyr skills will always Hit target. seams pskillevasion is not working with skills that have formulas Код:
if (skill != null) { if ((info.damage > 1.0D) && (!skill.hasEffects()) && (Rnd.chance(target.calcStat(Stats.P_SKILL_EVASION, 0.0D, attacker, skill)))) { attacker.sendPacket(new SystemMessage2(SystemMsg.C1S_ATTACK_WENT_ASTRAY).addName(attacker)); target.sendPacket(((SystemMessage2)new SystemMessage2(SystemMsg.C1_HAS_EVADED_C2S_ATTACK).addName(target)).addName(attacker)); info.damage = 0.0D; return info; } Последний раз редактировалось boulanger; 18.12.2013 в 12:44. |
![]() |