Combat query

I had an idea for a combat mechanic but I'm not sure whether or not it's possible.

I want players to choose an attack; Quick, Heavy, Precision, or Magic.

Before the attack hits the enemy, the enemy has a choice of 6 randomized outcomes dependent on what the player's choice of attack is.

Outcomes could include; attack hits, the attack misses, weapon/armour takes durability damage.

Some of these choice outcomes could also have conditions such as if the enemy's weight is higher than the player's weight the attack would hit / miss.

I also wanted to have it so when the enemy attacks, the player can decide whether to attempt dodging, blocking, or parrying the incoming attack all of which would have a separate outcome.

I'm going to use Yanfly's action sequencing for the animation of the attacks.
As well as Yanfly's plugins for adding durability/weight to items and equipment.
I was wondering if I could use common events and conditional branching per turn to make the attack sequence work?
The are a number of ways you could get different attack choices like Quick, heavy, etc. There are several plugins that allow you to set one skill to open a list of other skills; or, you can simply have these Quick, Heavy, etc as separate skills in the normal fashion.

If you are looking to randomize the results of a skill, you could do this several ways as well. One way would be to add the randomization into the damage formula box with Math.rand() and if/else statements. You could also do this with action sequences if you're already using those plugins.

With the various Yanfly parameter, sp-, ex- control plugins you can alter the parameter formulae if you wanted to alter how evasion and hit work.

Now if you want to give the player a choice to dodge, block, or parry an incoming attack you will most likely need some custom battle system plugin. I am not aware of anything available currently that does this. There is a plugin (maybe 2) that allows for timed button presses for attacks, maybe it includes an option for defense as well, I'm not sure. It's by SmRndmDde I think.

Original thread: https://forums.rpgmakerweb.com/threads/combat-query.125406/