(to preface, I am still new-ish to RPGM in general)
One of the skill I want to make has the following actions:
- Deals an enemy the player selected with X damage, where X is the current HP amount of the player.
- In return, reduces the player's current HP to 1.
It is supposed to be a self-destruct, glass-cannon skill. However with the default skill options, I was unable to make this skill so I have to rely on common events.
So this is what I have:
1. The skill calling a common event (and does no damage by itself).
2. The common event takes current player's HP as a variable, subtract said amount from a selected enemy's HP (no knockout), then subtracts 9999 HP from the player (no knockout, so it ends up 1 HP).
The bold part is where I have a problem. How do I make it so this skill target the selected enemy in battle?
I do not want the skill to affect all enemies, but if I don't do that, my only option left is choose the position of the enemy to be affected. I want the skill to be used on any enemy determined by the players, not just the 1st or 2nd or 3rd enemy in a group.
I also want to clarify that I am trying to make the game using as little scripts as possible. If there is no other solutions, I will take a look at any script suggestions for this issue. But I would like to know if there's a built-in mechanic that let me deliver the goal of this skill in the way that I wanted.
Thank you!
One of the skill I want to make has the following actions:
- Deals an enemy the player selected with X damage, where X is the current HP amount of the player.
- In return, reduces the player's current HP to 1.
It is supposed to be a self-destruct, glass-cannon skill. However with the default skill options, I was unable to make this skill so I have to rely on common events.
So this is what I have:
1. The skill calling a common event (and does no damage by itself).
2. The common event takes current player's HP as a variable, subtract said amount from a selected enemy's HP (no knockout), then subtracts 9999 HP from the player (no knockout, so it ends up 1 HP).
The bold part is where I have a problem. How do I make it so this skill target the selected enemy in battle?
I do not want the skill to affect all enemies, but if I don't do that, my only option left is choose the position of the enemy to be affected. I want the skill to be used on any enemy determined by the players, not just the 1st or 2nd or 3rd enemy in a group.
I also want to clarify that I am trying to make the game using as little scripts as possible. If there is no other solutions, I will take a look at any script suggestions for this issue. But I would like to know if there's a built-in mechanic that let me deliver the goal of this skill in the way that I wanted.
Thank you!