How do you make a move that if it lands after the enemy attack, the power doubles?

Hey, i have a simple question, is there a way to make a special move that deals a certain amount of damage if it moves first but it doubles if it lands after being hit by an enemy, like the move "Revenge" from pokemon
yes and no.

there are a few limited ways to get this by having all enemy skills add a state that lasts one turn only, and have the skill check in the damage formula if that state is present on the skill user.

Unfortunately that is a lot of work and has some other problems, so it might be neccessary to find or request a script that can handle extra conditions.
@Andar hmm.. i was thinking about scripts but i wanted to try first with common events, since i figured out a lot of things with those.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-make-a-move-that-if-it-lands-after-the-enemy-attack-the-power-doubles.133585/