Trying to fix a problem with Multi Hit attacks.

My game makes fairly heavy use of multi-hit attacks (that is, X number of hits on random targets).  It seems that mutli-hit attacks determine all X number of targets before executing, so if, say, the second and third hit both target enemy A, but it dies after the first hit, then the third hit will never display, even if there were another living enemy it could have targeted instead.  To the player, this makes it look like their 3-part attack only fired off twice, with no visible indication that it was working properly after all.  I'm also using the Yanfly battle script, but the problem should also be present (less visibly) in the default system.

Ideally, I'd like it if there were a way to rescript multi-hit attacks to calculate each hit's target in the moment, so that each successive hit is guaranteed to land on a (still living!) enemy.  But, honestly, I'm open to any number of solutions for this problem, because as it stands this looks to the player like a bug, and that's just not acceptable.  Does anyone have any ideas? 🙁
How did you set up these multi hit skills, as random enemy(ies) for scope or did you do 1 random enemy repeating?
Random enemies for scope.
Are you not seeing all the animations? Because if you are you will probably need a script that changes how ace targets to detect if a skill kills an enemy and still has an attack left.
I'm not seeing all the animations, but I believe that's unique to Yanfly's system, which splits up multi-hit attacks to go animation-damage-animation-damage, instead of animation-animation-damage.  It makes sense that a script would be required, but I'm no scripter.  I have had some success just fiddling with the pre-existing scripts for some things, but I don't even know where to start looking for this sort of thing. :|
Unfortunately scripting isn't my strong suit either, your best bet would probably be to go to the script support forum and ask if anyone has a solution there: http://forums.rpgmakerweb.com/index.php?/forum/47-rgssx-script-support/
Alright, thank you for the advice.

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-fix-a-problem-with-multi-hit-attacks.39813/