Where is the code that decrements your life points or adjusts the chances?
Also try running a print string off “On Fail”. In my experience sometimes the AI randomly fails your move to command and I could never figure out why so personally I coded in a fail state that made sense of the fact that the AI wasn’t moving like having them say “I’m busy right now”. Not necessarily ideal but better than having them do nothing.