Auto-translated
But in this part of the script, the loop starts upon contact and ends as soon as the monster or hero ceases to exist (usually, the loop only triggers once). The only thing that could ruin the effect is Break() in the combat script.