So, I have a concept for a boss fight that I'm trying to put together.
1) There's one large, beefy boss man, and several minions (lets say four).
2) The boss gains access to new abilities based on the number of dead minions.
3) So, at 1 dead minion (regardless of which one it is), he gains Ability A, and at 2 dead minions (regardless of which two they are), he gains Ability B, and so on.
I had two ideas about how to do this.
1) Somehow make each minion increase a variable by +1 when it dies. In the Troop events, have conditional statements that check every turn for this variable and then flip a switch based on the value of the variable. Then, the boss could have abilities that are tied to switches being flipped (since there is no enemy ability usage condition for variables for some reason).
or
2) Have none of the boss's abilities use MP. Then, somehow make each minion reduce the boss's MP by 25% on death, and have the boss's ability conditions tied to his level of remaining MP.
Both of these, however, require something to occur on the enemy's death. And I'm not sure how to do that.
So. Thoughts? Ideas for how to do this a simpler way? Suggested plugins? Javascript?
Thank you all for your time. =)
How do I trigger something like this 'on death'? Or some other solution?
● ARCHIVED · READ-ONLY
-
-
Easiest way to handle that is the way you described it in option one, but with switches too. Use Chronosv2 Death Common Event plugin to set up the death event for the minions. Then when one dies have it add 1 to a variable and make several conditional branches that checks the variable. Say if one of the minions are dead then the event will add one to the minion death count variable and conditional branch that is 'Minion Varible = 1' will turn on a switch, allowing the boss to use a attack. Do the same for 2, 3 and 4 and you'll be good to go.
-
Another possible solution is to use Yanfly's Battle AI Core.
http://yanfly.moe/2015/10/19/yep-16-battle-a-i-core/
With this, you could setup certain skills to only be usable depending on the number of alive minions.