Auto-translated
Most likely, there’s a function in the game that checks the target’s strength for some reason and doesn’t trigger if that strength is too high. In other words, it takes into account the value ratio between the AI hero and the target. You can force the AI to attack regardless, but it’s not the simplest script, considering that the demons have to travel several turns to reach the city.