RPG Maker Forums

Hello, first of all, I'm sorry if a thread like this already exist and I'm unaware of it...

I'm trying to make a skill that acts like a counterattack, but it happens after the user got hit by an enemy attack. To simplify, the fight will go:

-) User uses a skill that allows them to counterattack
-) Enemy attacks User
-) User receives damage from enemy attack
-) User will immediately counterattack the enemy that attacks them

To this, I have made the following:

-) Created a 'Shield' skill to give the user a 'Shielded' state.
-) Created a battle event with the conditional branch "If user state = 'Shielded', then it'll force action user to use 'Counter' at the enemy that attacks him the most recent.
-) Set the battle event's span to 'moment' so the 'Counter' skill will be used each time an enemy attacks the user.
-) I've made a second battle event that forces the user to use the 'Shield' spell at the beginning of the battle, at turn 0

But, things really don't go well. Instead of getting what I want, these happened instead. With the 'Don't Run' condition in the first battle event, it never worked. I tried to set the condition 'If user have less then 99% HP', but what I got is the user using the 'Counter' skill ENDLESSLY on the enemy at the first index, even though I choose 'last target' at the force action (The enemy at the second index is the first one that damages the user)

I guess my first question is, what is the optimal trigger I should put in the first battle event? Second, how do you make the user only use the skill only once? And third, how do you make sure that the 'Counter' skill get used on the enemy that attacks the user most recently?

I'm hoping I can do it without having to resort to scripts or plugins, since I have ZERO experience with it and have no idea how to use them.

Thank you for reading my wall of text, I hope someone can help me~

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,034
Messages
1,018,446
Members
137,820
Latest member
georg09byron
Top