Is there a way to make machines (tent and ballista) restore their health during their turn in battle?
And my second question: how can I force an enemy hero to stay in defense during their turn?
Thank you in advance.
2) The function controlling the AI hero's turn should return 1. For example:
function DefenderHeroMove()
return 1
end