Hello, hopefully someone can help me here. I have set up a battle system where if a critical hit happens if uses a combo move. I have done this by adding a common event to my attack command that has a percentage chance of activating. However even if all the enemies are dead, the common event will still force that skill before the battle ends. I was hoping to use a conditional breach to check if all enemies are dead and if they are skip using that move. Is there a script call I could use, or any other suggestion i might try?
Any help is greatly appreciated.
Thanks!
no need for a script, that can easily be done by event commands.
Unfortunately it needs a series of commands (unless you really know what you're doing)
Basically you'll need to check all enemies for HP>0 and only execute the rest of the event if there is at least one enemy with HP left.
You get the enemy HP for each index with a control variable command (game data: enemy #'s HP).
Then you'll need to check the variable with a conditional branch.
Which means you'll need eight pairs of commands, and if one results in a number >0 then you can execute the event, otherwise exit event processing.
Awesome! thank you so much. I will try this out shortly!
Oh my god I can't thank you enough. You got me on the right page with the variables thing and I was able to streamline it by adding the totals of all of the enemies HP and using that variable as the conditional. Again thank you friend!