As shown in the picture, can we obtain this state? This state is actually not redundant and can be used in conjunction with other judgments to create a more reasonable battle loop logic.
This still doesn't solve the issue of the Ancestral Spirit Embodiment skill, and reasoning backwards from the result does not clearly indicate which skill has been activated.
The new skill mechanism in FF14 results in skills being activated randomly rather than a fixed combo. Therefore, judging the next skill based on the previous skill is not feasible. An independent ActionResourceManager.Viper needs to be written.
ACT<==>RB will require a little work, but give you very clean data likely.
If the Act is not updated, then the program is still in normal use, dependent on other software, and there will always be special problems. If you are afraid to drag with the new speed, you can update the main functions...