Is it possible to grant the actor an immunity to a specified state? If so, is there more than one way to do it?
Background: In my ABS, when the player health reaches 0, it adds a "death" state (which causes Game Over). I want to be able to grant the player a temporary immunity to this for the purposes of a sparring side-game.
I had this in my mind and I lost it. I'm sorry, I'm still to new.
But the Troop setting "Continue after Lose" is what I did to bypass death for story purposes. I believe you can set conditional branches within the fight to trigger specific events depending on the result. I will let a more aged (and less exhausted) developer give you a better answer though.
How are you applying damage on the player? If you do it via an event, you can uncheck "Allow Knockout" in the lower left corner, which leaves you with 1 HP.
Otherwise, you could add a 2nd actor to the party for sparring sessions. Since he still lives when your main actor reaches 0 hp, you won't get a Game Over.
I have an enchanted armor in my game that gives the character temporary immunity to the Death state. In the Features box of the item/weapon/armor, add State Resist and select Death. The character won't be knocked out even if his or her HP goes to zero.
I think that will do it 🙂 thanks
I wonder if there's a way to add a "resist state" without having to have a weapon or armor equipped, though...
I do similar things to force "Auto-Battle" too, by "quietly" swapping equipment before a staged fight and swapping it back when it's over. Or in one case, getting left with nothing in an alley.
How about just adding a state before the battle begins that has checked remove at battle end, and in the features it is set to resist death? I see no reason that wouldn't work.
Yea, the reason why you see no reason why that wouldnt work, is because that works perfectly 🙂 thanks, exactly what i needed