If you disable all plugins, does it work correctly?
You are saying the enemy DOES die after another actor deals damage? Have you made any changes to state 1 in your database?
I am suggesting that you disable ALL plugins, then play, and see if the same thing happens. If it does, it indicates something you have set up about the battles is wrong, and that could be to do with a number of things in the database. If it doesn't happen when plugins are disabled, but it happens when they're enabled, then it's something about one or more of the plugins or the way you're calling them.
I think its the common event code. Common events are done last and after checks for KO are done usually in the engine. You may need to add your own check for KO and apply KO yourself to that attack due to the common event.
👋 Remove the empty <finish action> tag!
Empty tags replace the default action phase with nothing, and the default finish phase is for doing stuff like removing temporary invincibility, checking collapse, etc. 😴
Edit: also, move the </target action> tag so it is above the <Follow Action> block. Technically I don't think it'll make a difference, but these tags are not made to be nested.
It shouldn't be repeating unless you have something else going on. Note that of the two, <Whole Action> executes once for all targets while <Target Action> executes once for each target. So if your targeting is set to "all enemies" and you have 3 enemies in the troop, everything in the <Target Action> block is going to execute 3 times. Typically, you want AoE effects to be done through <Whole Action> instead.
Anyway glad you got it sorted out.