Skill that has 50/50 chance of adding state to enemy when successful.

Hello, I'm trying to make a skill that has a chance of adding a state to the enemy when successful.

I have made a dodge skill and I'm trying to make a "hit surroundings" state that has a chance to be added to the enemy if successful. The state basically adds 5% hp regeneration to the enemy. I have done everything but the state having a 50/50 chance of being added if skill successful,

How would I do this?

Thanks in advance
Go to the skill you're making → Effects (it's below the Damage section) → search for Add State → Choose the state → put 50%

• Tip: If you leave the mouse cursor still above something for a few seconds, some info will appear. If not, move the cursor outside the window and try again.

• More info about Skills/Armors/Items' Traits and Effects:
I'm pretty sure using "add state" in the skill parameters and setting it to 50% should do it?
Go to the skill you're making → Effects (it's below the Damage section) → search for Add State → Choose the state → put 50%

• Tip: If you leave the mouse cursor still above something for a few seconds, some info will appear. If not, move the cursor outside the window and try again.

• More info about Skills/Armors/Items' Traits and Effects:
Oh i didnt notice that thank you
Oh i didnt notice that thank you
No prob 😤👍
No prob 😤👍
By they way whilst we are on this topic I just noticed something. The state works but for some reason it happens on the player instead of the enemy. What did I do wrong?

Edit:Nevermind I was stupid and forgot to change scope

I'm pretty sure using "add state" in the skill parameters and setting it to 50% should do it?
Yep that works thank you
@D_Draco Don't wanna be that kind of guy, but avoid double-posting cuz the mods don't like that. You can reply various messages in a single post 😉
@D_Draco Don't wanna be that kind of guy, but avoid double-posting cuz the mods don't like that. You can reply various messages in a single post 😉
It's fine I understand thanks for telling me

Original thread: https://forums.rpgmakerweb.com/threads/skill-that-has-50-50-chance-of-adding-state-to-enemy-when-successful.164290/