using my knowledge trough yanfly plugins i came up with this
<Pre-Damage Eval>const hpLossFactor = Math.min(0.5, 0.1 * Math.floor(4 / (1 - user.hpRate()))); if (Math.random() <= 0.10 + hpLossFactor) { target.addDebuff(3, 3);
}</Pre-Damage Eval>
the idea is for 25% HP loss they get the debuff chance infliction increases by 20% but for somereason this doesn't work
am i missing something?
<Pre-Damage Eval>const hpLossFactor = Math.min(0.5, 0.1 * Math.floor(4 / (1 - user.hpRate()))); if (Math.random() <= 0.10 + hpLossFactor) { target.addDebuff(3, 3);
}</Pre-Damage Eval>
the idea is for 25% HP loss they get the debuff chance infliction increases by 20% but for somereason this doesn't work
am i missing something?