Opportunist

I'm playing around with a new game, and I wanted to add a special skill which I call Opportunist. It's a passive skill that gives the character a (luk/2)% chance of striking the enemy when an ally attacks.


For example: Nina attacks an enemy, Aldo has a chance to jump in on Nina's turn and attack the enemy.


Is there something I can do to make this? I use a lot of Yanfly plugins.
I think you can do this with JavaScript code and Yanfly plug-ins. I'm going to move  you to JavaScript support, and if you can't find the code  you need, you may have to request a plug-in (report the post and we can move it then).
Yeah this totally would need action sequence and passive states to work

Original thread: https://forums.rpgmakerweb.com/threads/opportunist.70101/