There is a built-in system for that - check out the Barrier Settings in your HP (consumable).
You can use other Consumable type status values to work as barriers, i.e. be consumed instead of your health (or other stats) when it's targeted. This also allows you to set how much is consumed, e.g. 100% to fully consume or 50% to have 50% of damage reduce the barrier and the rest damage the actual status value.
For a custom system via target changes and requirements, here's the order important. The target changes are used in order they're listed, e.g. if the first change causes armor to go to 0, there is no armor left to protect the next change affecting HP. Having them reversed (first HP change, 2nd armor change) will solve something like this.
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!
You can also make individual target changes (and other status changes) ignore barriers. And in case you want to have attacks that only attack the barrier, just use the barrier status value instead of your HP.
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!
You can use other Consumable type status values to work as barriers, i.e. be consumed instead of your health (or other stats) when it's targeted. This also allows you to set how much is consumed, e.g. 100% to fully consume or 50% to have 50% of damage reduce the barrier and the rest damage the actual status value.
For a custom system via target changes and requirements, here's the order important. The target changes are used in order they're listed, e.g. if the first change causes armor to go to 0, there is no armor left to protect the next change affecting HP. Having them reversed (first HP change, 2nd armor change) will solve something like this.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Thank you very much!
And in case you want to have attacks that only attack the barrier, just use the barrier status value instead of your HP.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!