Debuff Lvl Influncer

Horyon

Пляшущий с бубном
Участник
Сообщения
173
Розыгрыши
0
Решения
4
Репутация
53
Реакции
68
Баллы
273
Хроники
  1. Prologue: Prelude of War
Исходники
Присутствуют
Сборка
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
 

Похожие темы

Назад
Сверху Снизу