Hi everyone
I have a skill that is meant to call a common event when it succeeds. All the common event does is turn on a switch. I have the skill's success rate set to 50%. My problem is that the common event occurs even when the skill misses. Is there an easy solution to this? Thanks for reading!
Use an invisible state or something like that to indicate success, and have the common event check the existance of that state before turning on the switch
then post screenshots of skill, state and common event - we need more info to find out where you made a mistake.
1) the common event only checks enemy #1, if a troop has more enemies and the player selects a different on eit will not trigger
2) common events are processed at the end of the battleturn, not the second the skill is applied - which means the switch will only happen next turn.
Does that help solving the problem?
Do you have any script that might affect the states? Because that state should be applied normally.
Two other things to locate the problem:
1) give the enemy an additional test skill in the attack pattern, conditioned to be available only when the state is applied and with a rating that is 5 point higher than any other rating. If that skill is then used, you'll know that the state had been applied and the problem is with a later part of the logic
2) give a screenshot of the enemy, so we can check if some of the values are preventing the state from being applied (for example, LUCK affects the state rates - a very lucky enemy will often evade state inflictions)
Yanfly has updated several plugins already due to errors inside them - please check if you have the latest versions installed
Other than that, point the problem out in the correct plugin topic and Yanfly will check them.