Rock Paper Scissors in Battle

Is there an event/plugin for RMMV that allows me to see the type of attack my opponent did before effects are applied?

I was thinking of implementing some kind of Rock Paper Scissors mechanic to my game. Let's say I have a character Harold, versus a Bat.

1) I make Harold choose Rock and select the Bat as my target. (When Harold uses Rock, he gets a buff when the move loses, buff + deals damage when it wins)
2) When everyone in the party has selected a move, the screen shows me Harold used Rock, and the Bat used Scissors (could be in the form of icons on top the the sprite, message at the top of the screen, etc.)
3) Effects are then applied (Harold gets a buff and Bat takes damage, Bat deals reduced damage to Harold)

I hope my explanation is enough. I'd be happy to explain further if you need it.
I remember Plugins by SumRndmDde that lets you convert the Battle more like a Dance Dance styled "Tapping game". Maybe you could try looking into it and altering them to Rock, Paper, Scissors somehow.

There are many Plugins that work like this, You input the right combination of Key Combinations and Character performs a Skill. I remember a short Side game by Moghunter (Maybe i'm wrong, Its been a while) that did the same thing too.

However, I'm not sure there are any that let the enemies do this too, That would be too much to ask. I feel you are better off modifying an existing system rather than start fresh with event-ing one.
I remember Plugins by SumRndmDde that lets you convert the Battle more like a Dance Dance styled "Tapping game". Maybe you could try looking into it and altering them to Rock, Paper, Scissors somehow.

There are many Plugins that work like this, You input the right combination of Key Combinations and Character performs a Skill. I remember a short Side game by Moghunter (Maybe i'm wrong, Its been a while) that did the same thing too.

However, I'm not sure there are any that let the enemies do this too, That would be too much to ask. I feel you are better off modifying an existing system rather than start fresh with event-ing one.

Well, one idea I was considering was to make Rock, Paper and Scissors each an element, then maybe with Yanfly's Skill Core and some variables, I can modify the effects of each attack depending on whether I "won" or "lost". With regards to the opponent, I can always have it select randomly (or weight it).

Maybe I can show some kind of icon or picture using Action Sequences for each attack? With that said, is there a method like target.usedSkill() or something that lets me determine if my attack would win or lose? like maybe if target.usedSkill(Rock) && user.usedSkill(Paper) = user wins? Something to that extent.
Sorry I'm not familiar with Coding but I would say you can simply event such "Side Scrolling Images" using Common events linked to Skills. So when the player uses a Skill, it triggers a Common event which could push a sliding Image displaying whatever you want with whatever sound effects in Battle !
Sorry I'm not familiar with Coding but I would say you can simply event such "Side Scrolling Images" using Common events linked to Skills. So when the player uses a Skill, it triggers a Common event which could push a sliding Image displaying whatever you want with whatever sound effects in Battle !

Was thinking of doing this, but I still have to do something with regards to scripting to make it effective.

For those that can parse code, I saw this line:

this.item().damage.elementId

This returns what exactly? Maybe it can be a line of code I can use in a common event to check if the user beat the target? That's just 7 scenarios to map, it shouldn't be too long a script if my guess is right.


EDIT: Trawling around the forums gave me this code, which allows me to check the element of the skill the user used:

user.currentAction().damage.elementID

This is halfway through the system I want to implement, now I only need one that checks the target's. Is there target.currentAction().damage.elementID?

Original thread: https://forums.rpgmakerweb.com/threads/rock-paper-scissors-in-battle.121046/