Debuff Lvl Influncer

  • Автор темы Автор темы Horyon
  • Дата начала Дата начала

Horyon

Знающий
Участник
Сообщения
223
Розыгрыши
0
Решения
4
Репутация
53
Реакции
82
Баллы
423
Хроники
  1. Shadow of the Kamael
Исходники
Присутствуют
Сборка
L2jMobius Master class ch3
Hello guys,

Where is set the lvl affect the debuffs work rate?

I mean. If i 5 lvl diff from other player my stun never work cause lvl diff.

Want to turn off that config and make only by the Stun rate vs Stun resist!

ty in advance
 
Решение
Hello guys,

Where is set the lvl affect the debuffs work rate?

I mean. If i 5 lvl diff from other player my stun never work cause lvl diff.

Want to turn off that config and make only by the Stun rate vs Stun resist!

ty in advance
calcEffectSuccess()
Код:
        final double targetBasicProperty = getAbnormalResist(skill.getBasicProperty(), target);
        final double baseMod = ((((((magicLevel - target.getLevel()) + 3) * skill.getLvlBonusRate()) + activateRate) + 30.0) - targetBasicProperty);
        final double elementMod = calcAttributeBonus(attacker, target, skill);
        final double traitMod = calcGeneralTraitBonus(attacker, target, skill.getTraitType(), false);
        final double basicPropertyResist =...
Hello guys,

Where is set the lvl affect the debuffs work rate?

I mean. If i 5 lvl diff from other player my stun never work cause lvl diff.

Want to turn off that config and make only by the Stun rate vs Stun resist!

ty in advance
calcEffectSuccess()
Код:
        final double targetBasicProperty = getAbnormalResist(skill.getBasicProperty(), target);
        final double baseMod = ((((((magicLevel - target.getLevel()) + 3) * skill.getLvlBonusRate()) + activateRate) + 30.0) - targetBasicProperty);
        final double elementMod = calcAttributeBonus(attacker, target, skill);
        final double traitMod = calcGeneralTraitBonus(attacker, target, skill.getTraitType(), false);
        final double basicPropertyResist = getBasicPropertyResistBonus(skill.getBasicProperty(), target);
        final double buffDebuffMod = skill.isDebuff() ? target.getStat().getValue(Stat.RESIST_ABNORMAL_DEBUFF, 1) : 1;
        final double rate = baseMod * elementMod * traitMod * buffDebuffMod;
        final double finalRate = traitMod > 0 ? CommonUtil.constrain(rate, skill.getMinChance(), skill.getMaxChance()) * basicPropertyResist : 0;
 
Решение
ok i find it. Formula.java..

I need to remove in baseMod the "target.getLevel" i believe... right?

Working ty @Elrik
 
Назад
Сверху