[SUPPORT] Advanced Turn Based Tile Toolkit

Hey again and thanks for the help! I checked out your links and managed to do an ability with counter and follow-up attacks, but I got one problem on the way: Currently if my defending unit can hit twice and kills an enemy with the first one the “game freezes,” or rather doesn’t end your turn. On top of that the defending unit uses his last attack on air or worse, on nearby enemy damaging it. Is there a way to prevent this?

EDIT: I managed to fix it nvm! I did it by simulating the combat first and adding the necessary information to an array and then running for each loop that filled the Queue actions. That way I didn’t have any unnecessary actions on queue.