Effect: Add self state

This effect adds a state to the user of a skill/item when you successfully hit the enemy.

Nothing happens if you don't hit the enemy though.

Download

Get it at Hime Works!

Installation

Place this script below Effect Manager and above Main

Usage

Tag items or skills with

<eff: add_self_state stateID probability>Where `stateID` is the ID of the state to apply`probability` is the chance that it will be added, as a float

For example,

0 is 0%

0.5 is 50%

1 is 100%

Code:
<eff: add_self_state 34 0.6>
Means there is a 60% chance of adding state 34 to the skill's user, upon successfully hitting the target.
Been looking for this for a while. Thank youuuuu!
Finally can do that suicide attack 😛 .

Original thread: https://forums.rpgmakerweb.com/threads/effect-add-self-state.11920/