Hello, I've been searching for a way to implement something that appears in some boss battles, but I haven't been able to find the way to do it.
Some bosses use skills that kill every party member who has a certain state, like slept (Victoria's Twilight from Bravely Default) or terror (Werner's Rule by Fear from Octopath Traveler).
I think it could be done with a code that would check if some party member has "x" state and killing it if that were the case, but I don't know what would be the exact code.
Can anyone help with that, please?
Some bosses use skills that kill every party member who has a certain state, like slept (Victoria's Twilight from Bravely Default) or terror (Werner's Rule by Fear from Octopath Traveler).
I think it could be done with a code that would check if some party member has "x" state and killing it if that were the case, but I don't know what would be the exact code.
Can anyone help with that, please?