1 hp attack bug.

Hey. I'm working on a boss fight where at the end they use a desperate attack that leaves the party at 1 hp, I've written the formula as b.hp - 1. But for some reason it does no damage. I thought it might be something to do with the actors, so I tested it against some regular enemies and it still doesn't work. what should I do?
You can use a event call instead, since it's a specific usage of the skill. Like this:
YaJ6hZU.png
You can use a event call instead, since it's a specific usage of the skill. Like this:
YaJ6hZU.png
That'll work, but with the battle engine I'm using(yanfly's) it won't show any damage numbers, the actor's HP will just disappear. Here's the page for the skill, any idea what I need to do to fix it?
upload_2018-9-24_15-54-10.png
make it hp damage not hp drain, element to none, occasion battle only
tested this and it works.
1 hp.PNG
Cool, idk why those settings were changed, but it works fine now. Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/1-hp-attack-bug.100423/