Skill that does more damage when more hp is missing

Hey guys, i've been trying to figure out how to make a skill similar to Minus Strike from Bravely Default/Second.


So this skill basically does more damage the more HP you're missing (doesn't ignore armor), i know this can be done with formulas but i'm not really good at those.


Can anyone help me?


Just to clarify for those who don't play Bravely Default/Second.


Here's minus strike's description from the wiki:


Damage one target by an amount equal to the number of HP you have lost.
Hi!


Minus strike in bravely default does ignore armor ^^.


But here you go:


a.mhp-a.hp


Will produce the desired result (with a quick 5 second battle test check, I can confirm it works).


If you want to take defense into account, here is how you refer to target defense: b.def


I'm sure there is a damage formula guide somewhere in these forums, but I can't seem to find it.
Hi!


Minus strike in bravely default does ignore armor ^^.


But here you go:



a.mhp-a.hp


Will produce the desired result (with a quick 5 second battle test check, I can confirm it works).


If you want to take defense into account, here is how you refer to target defense: b.def


I'm sure there is a damage formula guide somewhere in these forums, but I can't seem to find it.

Ah, thank you! I will try this. 


EDIT: I misunderstood about the armor ignoring part, haha.


EDIT2: It works!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/skill-that-does-more-damage-when-more-hp-is-missing.63767/