hello
help me
write a script
basically, its purpose is that
on the battlefield, in the battle window
a certain number of monsters appear
after they are killed, 2 more squads are summoned, and their number is multiplied by 2
the ideal option
is to have a button
to escape
the battle ends, and you receive a prize depending on the number of spawned monsters killed
if this is not possible,
just have a certain number of spawns
I had an idea
the battle ends after you lose more than half of your troops.
Auto-translated