The removal of percentages rather than whole numbers?

It's a curiosity that has been bugging me, I have a mechanic in my game that allows you to teleport but in doing so it costs HP but as it stands i can only subtract a set number of HP so obviously at lower levels i can't have it so high that one teleport will kill them, but at later levels the HP loss would be so minimal that it wouldn't matter... is there any way I can change it to a percentage of health removed? I've searched for an answer for days and all I found was the Yanfly Skill Core plugin but that doesn't work with my implementation. Are there any suggestions as to how i can accomplish this? I'm betting it's something so simple to do with scripting or plugins... but i'm not exactly adept at that part.


I apologise if this is in the wrong section. it's like 3:15 am and i'm a little drunk...
maybe it recovers a negative % of hp when used? theres also the option of in the damage formula put something like a.mhp/4 for 25%. both would have target as user


if its through an event, just have the event call this skill through the "force action" command
I've moved this thread to MV Support (Game Mechanics Design is for discussion of mechanics - theory - not implementation). Please be sure to post your threads in the correct forum next time. Thank you.


You also didn't specify what engine you're using.  I'm going to assume MV because you said the word "plugin".  But please update your profile to say which one you're using, or make sure you include it on all your posts for help.
maybe it recovers a negative % of hp when used? theres also the option of in the damage formula put something like a.mhp/4 for 25%. both would have target as user


if its through an event, just have the event call this skill through the "force action" command

But would doing it that way effect the whole party or just the party leader?


weird i was sure I had that part of my profile updated when i upgraded to MV... sorry bout that...
Add a state to the entire party that changes max hp by 100%-x%, have it removed by walking 1 step.  Where x is the percentage you want the hp reduced by, so if you wanted it to be 10% the state would look like, parameter max HP*90%.
But would doing it that way effect the whole party or just the party leader?


weird i was sure I had that part of my profile updated when i upgraded to MV... sorry bout that...

target user would only target the user

Original thread: https://forums.rpgmakerweb.com/threads/the-removal-of-percentages-rather-than-whole-numbers.57479/