Hi all!
I have a battle:
Enemy 1 is resistent to dead. Meaning he will not die if HP<0. If his HP are below 0, after 5 turns he recovers his HP.
Enemy 2 is protected by enemy 1 as long has enemy 1 has HP>0. If Enemy 1 has 0 HP, Enemy 2 is vulnerable to attacks again.
The battle should end, when Enemy 2 has 0 HP (with a victory).
How do I do that? Right now as far as I get:
Check if enemy 2 has 0 HP. Then abort battle (which I do not want). That works. If I add the state death to enemy 1, nothing happens.
...I hope I did not overcomplicate the problem I have. Basically: How can I let an enemy with "State Resist: Dead" die? 😀
Thanks!
edit: found a weird way to solve the issue: Transform enemy 1 to a copy enemy of itself that doesn't have the state resistance... but that feels wrong. Will work if nobody has a different solution?
I have a battle:
Enemy 1 is resistent to dead. Meaning he will not die if HP<0. If his HP are below 0, after 5 turns he recovers his HP.
Enemy 2 is protected by enemy 1 as long has enemy 1 has HP>0. If Enemy 1 has 0 HP, Enemy 2 is vulnerable to attacks again.
The battle should end, when Enemy 2 has 0 HP (with a victory).
How do I do that? Right now as far as I get:
Check if enemy 2 has 0 HP. Then abort battle (which I do not want). That works. If I add the state death to enemy 1, nothing happens.
...I hope I did not overcomplicate the problem I have. Basically: How can I let an enemy with "State Resist: Dead" die? 😀
Thanks!
edit: found a weird way to solve the issue: Transform enemy 1 to a copy enemy of itself that doesn't have the state resistance... but that feels wrong. Will work if nobody has a different solution?