I would like it to work like the engine's default slip damage, leaving battlers at 1 HP rather than outright killing them if the slip damage is high enough.
MV How can I make Yanfly's Extended DoT NOT be able to kill?
Javascript/Plugin SupportPerhaps you could use Math.min to cap the damage at battler's remaining hp - 1?
Added
under line 339, and I think that did the job perfectly. Thank you for the help!
Code:
value = Math.max((this.hp - 1) * -1, value);
Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-yanflys-extended-dot-not-be-able-to-kill.166407/