I want to make a "Trap" skill that sets up a trap around the enemy, making them get damaged themselves when they try to attack. I tried a way of adding a state that changes the attack command to a skill that targets the user and then forces the enemy to use it, but the enemy disregarded the skill's targeting and attacked an actor with it.
How to create a skill that makes the opponent hit themselves?
RPG Maker MZ Supportone way would be to utilize the action pattern with a self-targeting skill.
you'll need a special skill for this that is set to self-target but reduces the HP
then you place that skill in every enemy action pattern with the maximum rating and conditioned to that specific state.
It is important that all other skills have a rating 3 or more lower than this one.
That should be all you need, although it only acts the next round and not when the enemy attacks the same round as the action patterns are only checked between turns.
If that doesn't help, please show us what you have so far as screenshots.
you'll need a special skill for this that is set to self-target but reduces the HP
then you place that skill in every enemy action pattern with the maximum rating and conditioned to that specific state.
It is important that all other skills have a rating 3 or more lower than this one.
That should be all you need, although it only acts the next round and not when the enemy attacks the same round as the action patterns are only checked between turns.
If that doesn't help, please show us what you have so far as screenshots.
It doesn't work, as the enemy, for some reason, just refuses to do anything when having that state if I try to do the thing you specified.
As an additional thing to note, I have all Tier 0 and Tier 1 VisuStella plugins, and also the VisuStella State Tooltips and Open Digital World's MultiLanguage System plugins.
As an additional thing to note, I have all Tier 0 and Tier 1 VisuStella plugins, and also the VisuStella State Tooltips and Open Digital World's MultiLanguage System plugins.
Nevermind, it works, I just forgot to remove the skill's TP cost 😅. Thanks a lot!
Original thread: https://forums.rpgmakerweb.com/threads/how-to-create-a-skill-that-makes-the-opponent-hit-themselves.155487/