Hi guys,
I wanted to make a boss battle that can only be won by healing an ally to max hp, but i haven't been able to make it work entirely. This is how I have it set up so far:
-Made a skill to apply a state which increases maxhp by x while making the target unable to act (and either make the target immune to all damage or be dealt damage over time- I haven't decided yet). This works fine.
-In the troops tab I've been randomly testing the action on the starting slime troop. On the first battle event page I force the slime to use the skill at the start of the battle.
Condition turn 0
Force Action-Slime,[torment], index 1
On the next page i have a variable[21] set to the first actors HP on turn 0.
On the third page i set the condition to turn 1 and set variable[22] to the actors maxHP.
Then I set up this branch:
Conditional Branch: Variable[22]==Variable[21]
Change parameters,[Actor], MHP-100 (To return to normal Maxhp)
Abort Battle
Branch End
I've played around with it, having the actors in different orders, and sometimes the battle would end as soon as the initial skill was cast, but I haven't gotten it to function exactly how I want it to.
Is there anyone who can help explain what I'm doing wrong/what the correct way is? Also, is there a way to set this up so that the skill can be cast on any party member and still have the variables match up.
I wanted to make a boss battle that can only be won by healing an ally to max hp, but i haven't been able to make it work entirely. This is how I have it set up so far:
-Made a skill to apply a state which increases maxhp by x while making the target unable to act (and either make the target immune to all damage or be dealt damage over time- I haven't decided yet). This works fine.
-In the troops tab I've been randomly testing the action on the starting slime troop. On the first battle event page I force the slime to use the skill at the start of the battle.
Condition turn 0
Force Action-Slime,[torment], index 1
On the next page i have a variable[21] set to the first actors HP on turn 0.
On the third page i set the condition to turn 1 and set variable[22] to the actors maxHP.
Then I set up this branch:
Conditional Branch: Variable[22]==Variable[21]
Change parameters,[Actor], MHP-100 (To return to normal Maxhp)
Abort Battle
Branch End
I've played around with it, having the actors in different orders, and sometimes the battle would end as soon as the initial skill was cast, but I haven't gotten it to function exactly how I want it to.
Is there anyone who can help explain what I'm doing wrong/what the correct way is? Also, is there a way to set this up so that the skill can be cast on any party member and still have the variables match up.