Help with Mad Maxer Strikes Back - Javascript

Could anyone help me out with this? My character is attacking enemies from greatest health to least health as opposed to the opposite way around. Any insights would be greatly appreciated.

Howdy coop and welcome to the forum! In the future, please post your code properly formatted. This helps if we need to copy it and give it a test run. You can learn how here: [Essentials] How To Post/Format Your Code Correctly

That being said, you are incrementing enemyIndex too soon. Notice the comment reminding you to do so?..this is where it needs to go.

Thank you @dedreous! For the level help and how to format my code correctly. I’ll be sure to do so next time.

@dedreous
Think of it as a suggestion, not a solution…we’ll never know until you at least try it :wink:
better