edited July 2020 in ORK Support
I might just be slipping my mind, but is there a good way to create a Status Effect that, for this example:

'Prevents HP from lowering past 1 HP.' As in, the lowest you would go is 1HP, and never go lower than that value as long as you had the Status?

I can create a Status that prevents negative changes to a value, but not one that clamps a value's range. In theory, I could auto-apply that negative-blocking status the instant the combatant gets 1HP, but if the Player has 5 HP, and is damaged for 8HP, would the auto-apply trigger in time to save the Combatant?
Post edited by Kirb on
Tactics RPG Grid Battle System for ORK
---------------------------------------
Personal Twitter: https://twitter.com/AMO_Crate
I make RFI! https://twitter.com/NootboxGames
  • edited July 2020
    There's no status effect setting for that, but you can implement it e.g. via the Change Game Events of status values.

    In the event, you could check for the status effect being applied (on Starting Object actor) and set HP to 1 in case it's below that.
    Maybe also use a Revive node to counter death, but I'm not sure if that's needed :)
    Post edited by gamingislove on
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Gotcha! Thanks for the hint; I think I'll try a combination of that and some unique damage formulas :)
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    Personal Twitter: https://twitter.com/AMO_Crate
    I make RFI! https://twitter.com/NootboxGames
  • I did it by checking it in damage formula. If status effect/status value is present on character and if formula value is greater than target health then formula value is set to 0.

  • Doing it directly in formulas would only be a good idea if you don't use any additional damage alterations, e.g. attack/defence attributes or a different efficiency than 1.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.