I want to have a skill that makes the enemy flee under certain conditions. But since enemies are on-map, I need to check if the enemy actually died in the battle or fled. Otherwise, the enemy on map would die in either case. By default, if the enemy flees, it immediately ends the battle with a victory.
I want to have some check if Enemy 1 fled or was killed during the battle. Is there a way to do this?
Edit:
I have a bit of a lead. Maybe with YEP_BuffsStatesCore I can have the applied state check the conditions, and also check if the affected enemy is Enemy 1. If so, a switch is enabled.
Something like this:
I want to have some check if Enemy 1 fled or was killed during the battle. Is there a way to do this?
Edit:
I have a bit of a lead. Maybe with YEP_BuffsStatesCore I can have the applied state check the conditions, and also check if the affected enemy is Enemy 1. If so, a switch is enabled.
Something like this:
Code:
If Intidation stack - Bravery stack >= 5{
If EnemyAffected = Enemy1 {FleeSwitch == True};
EnemyAffected flee;
};