It is important that the boss is the last to die. Within the story and the cutscene that follows a particular battle, I cannot afford to have the player kill off the boss before the end of the battle. I know that I could give him the 'immortal' state until he reaches 0HP, but that point could be reached while other enemies are still alive, so won't suit my purposes. Also, I don't want to do it by giving him insanely high HP because if the player succeeds in getting rid of the minions fairly quickly, that just leaves a long and potentially boring slog until he too is killed.
[SIZE=10.5pt] [/SIZE]
[SIZE=10.5pt]What I want to happen is that he is basically undamaged until the minions are dead. I can do that by giving him a state where he takes no physical or magic damage. However, I can't work out how to remove that state when the last minion dies. There are 3 of them.[/SIZE]
[SIZE=10.5pt] [/SIZE]
[SIZE=10.5pt]What I have thought of so far is this in this Troop event in a test project:[/SIZE]
[SIZE=10.5pt]
[/SIZE]
[SIZE=10.5pt]I have tried putting the conditional branches onto a second page, it makes no difference, the state persists. I have tried the second page with and without a condition.[/SIZE]
[SIZE=10.5pt]Could anyone point out where I'm going wrong?[/SIZE]
[SIZE=10.5pt]thanks.[/SIZE]
[SIZE=10.5pt][/SIZE]
[SIZE=10.5pt] [/SIZE]
[SIZE=10.5pt]What I want to happen is that he is basically undamaged until the minions are dead. I can do that by giving him a state where he takes no physical or magic damage. However, I can't work out how to remove that state when the last minion dies. There are 3 of them.[/SIZE]
[SIZE=10.5pt] [/SIZE]
[SIZE=10.5pt]What I have thought of so far is this in this Troop event in a test project:[/SIZE]
[SIZE=10.5pt]
[SIZE=10.5pt]I have tried putting the conditional branches onto a second page, it makes no difference, the state persists. I have tried the second page with and without a condition.[/SIZE]
[SIZE=10.5pt]Could anyone point out where I'm going wrong?[/SIZE]
[SIZE=10.5pt]thanks.[/SIZE]
[SIZE=10.5pt][/SIZE]