Thank you everyone for replying sorry for late reply cus i try to implement it.
Okay so I use yanfly passive state and notetag to make it works. but the problem is
1. passive state doenst change when Variable is changing in mid of battle. i try to change it at start turn and end turn of battle the state condition doenst change at all.
Example
State 1 condition is variable X more than 50
State 2 condition is variable X less than 50
i Try to change Variable X (to become random between 30 and 70) in troop and end turn event. But state 1 and state 2 doenst appear or dissapear. Its just state 1 that appear in the start of battle cause Variable X is 70 at start of battle.
what i want in my game is kinda rng skill style. At start of player turn, player get 8 random skill to choose like this.
Skill at turn 1 (3 skill appear)
Skill at turn 2 (5 skill appear)
Skill at turn 3 (0 skill)
maybe this explanation will make it clear sorry if this kinda makes it more confusing.