Stealth and Sneak attack

I don't know if it is the right place. Sorry if it is not here. Show me  where to post if it is the wrong place


I want to create a notetag where a Rogue enemy use a Stealth ability, then, he can use his sneak attack


119= Stealh


117= Sneak attack



<AI Priority>
Always: Skill 119
Always: Skill 117, Lowest HP%
</AI Priority>


I'd like to make something like "if the enemy is affected by state39(The state when you use stealth) he will use skill 117 on the target".  Help
No, not the correct place. I'm going to move it MV Support, assuming it won't need a plugin. If it does need a plugin, it may be moved again.

Original thread: https://forums.rpgmakerweb.com/threads/stealth-and-sneak-attack.67396/