(SOLVED, KINDA) Changing enemy skill rating midbattle

Is it even possible to do that? FTB effectively blocks using turn based skills, so I thought I could abuse rating system instead. So, for example, there are 3 skills, 1 with 100 rating and 2 with 1, enemy uses one with 100 on their first turn. Then, at the end of the turn, rating gets changed, and now second skill has 100, while other too has 1, and that's how I could make enemy do exactly what I want for the turn, while still keeping FTB benefits.
So, is this possible?
EDIT: I didn't found answer on that, but if you got similar problem with FTB, just use switches and troops window, that way you can easily chart what enemy will do, by turning switches off and on on turns end!
I would recommend against it. Changing the values in $data objects changes it for every instance using that object, so any enemy of that type in the battle would have its rating changed regardless of what it did in the previous turn. It would also persist through playthroughs as long as you have the game open, since you've modified the underlying data.

Original thread: https://forums.rpgmakerweb.com/threads/solved-kinda-changing-enemy-skill-rating-midbattle.163592/