Make attack followup only if all attacks hit

I'm trying to implement a skill where it attacks 3 times with a low hit rate each, and if all three attacks hit, a secondary skill activates and does heavy damage. Is there any way to do this?
With yanfly's action sequence you can establish a variable that increases each time it hits, you put a conditional and establish that if the variable = 3 execute the ability that you want it to execute. Then in finish action you set the variable back to 0.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/make-attack-followup-only-if-all-attacks-hit.160882/