Hey there! I've been trying to essentially give this "Boss" a wind-up attack in which it chooses to perform this attack every 20 seconds, and while performing this wind-up it would first toggle on a "charging" boolean(which is a condition of the normal attack, it being FALSE that is), and then it will wait 5 seconds before finally choosing a party member to attack, then toggling the "charging" boolean off again.
The problem I've been running into, is that every blue moon of running the game, the boss will completely stop performing ANY actions after starting it's wind-up move. It won't land the attack, nor will it continue to do anything else.
^Here is a link to my c3p, please with all my heart, this is a personal project do not steal <3
^Here is a screenshot link to the exact codechunk that is the heart of the wind-up attack.
I would be so so forever grateful if anyone is able to help me understand and fix this issue! Thanks so so much!