Is there a way to give weapons the possibility to inflict debuffs, preferably with a chance %?
I'm also using Visustella.
I'm also using Visustella.
Can you describe what you're after with some detail?
This won't actually work. States allow you to manipulate the chance of having a debuff inflicted, but can't inflict debuffs themselves.
target.addDebuff(0, 5)
<JS Post-Apply as User>
chance = Math.randomInt(10);
if (chance >= 5 && target.result().hpDamage > 0) {
target.addDebuff(0, 5);
}
</JS Post-Apply as User>
Original thread: https://forums.rpgmakerweb.com/threads/weapons-that-debuff.151545/