Move/State help!!!

So whilst im learning basic js i just need some help with some, ig basic skills:

Focus Punch: A skill that charges for one turn, if hit in that one turn applies a stun state which cancels out the skill, otherwise the skill would do huge damage.

*Halloween Valorie (Grand Summoners)

1. A skill that applies a state to herself

2. A passive state that increases ATK by 150 when the state has reached 3 stacks

3. The state stack resets if another stack is applies reset it to 1.

4. A passive that increases ATK by 1% of current HP/MP/TP

Original thread: https://forums.rpgmakerweb.com/threads/move-state-help.162031/