I've looked around and seen similar topics to what I'm wanting, but none have helped me. This thread has exactly the skill I was looking for, but it's for MV and the tags proposed won't work for me because of that (not using Yanfly plugins). So to be clear:
The skill should leave the user with 1 HP left and should damage the target by the # of spent HP.
I'm using some VisuStella plugins, including the one that allows for custom skill costs, but even though I could get the cost to leave the user with 1 HP, I was unable to figure out how to make the skill actually do the amount of HP loss as damage. So I'm trying to do it all in the damage formula instead.
As you can no doubt see right away, this gives me the same result as I had with the plugin anyway: The user is left with 1 HP but the target only receives 0 damage because the variable used to calculate damage (I have 15 to constantly be set to the user's HP, only one actor will have access to this skill) ends up being set to 1 before the damage is dealt.
Since the last line of a damage formula is what actually deals the damage, I don't know how to do what I'm accomplishing. I'm sure there's a rather simple way, but even after reading up on all the things you can do with formulas I still can't figure it out. If there's a way with custom skill costs through VS plugins, I'm okay with that method, too.
The skill should leave the user with 1 HP left and should damage the target by the # of spent HP.
I'm using some VisuStella plugins, including the one that allows for custom skill costs, but even though I could get the cost to leave the user with 1 HP, I was unable to figure out how to make the skill actually do the amount of HP loss as damage. So I'm trying to do it all in the damage formula instead.
As you can no doubt see right away, this gives me the same result as I had with the plugin anyway: The user is left with 1 HP but the target only receives 0 damage because the variable used to calculate damage (I have 15 to constantly be set to the user's HP, only one actor will have access to this skill) ends up being set to 1 before the damage is dealt.
Since the last line of a damage formula is what actually deals the damage, I don't know how to do what I'm accomplishing. I'm sure there's a rather simple way, but even after reading up on all the things you can do with formulas I still can't figure it out. If there's a way with custom skill costs through VS plugins, I'm okay with that method, too.