I've been a pretty frequent 'status effect' requester lately, so I hope one more isn't a burden! (Thanks to those who have answered previously!)
By activating 'Stoneskin' state, your character gets a pool of extra HP that the state absorbs before it disappears. For the purposes of the script, the damage pool would be set by a formula in the script (either based off a stat like 10% MHP or a flat number like 1000).
When Stoneskin is active all damage dealt to your character is applied against the Stoneskin until the damage is reached, then the state is removed and you begin taking damage where Stoneskin left off. i.e.
Character A has 1000 HP and the Stoneskin formula is 15% MHP.
Character A uses Stoneskin, gains the state (Stoneskin is 150 HP).
Enemy attacks for 100 damage.
Character takes 0 damage (but Stoneskin drops to 50HP).
Next turn:
Enemy attacks for 100 damage.
Character takes 50 damage and Stoneskin is removed.
Stoneskin can be applied on top of an existing Stoneskin state, however, the State resets to the inital Stoneskin amount (it doesn't add):
Character A has Stoneskin 150 HP.
Enemy attacks for 100 damage.
Character A has Stoneskin 50 HP remaining.
Character uses Stoneskin again.
Character A has Stoneskin 150 HP.
Stoneskin should be able to absorb damage from state damage, like poison or etc.
There doesn't need to be a way to view remaining StoneSkin HP with this request (in fact, I prefer not being able to see it).
Possible Features
By activating 'Stoneskin' state, your character gets a pool of extra HP that the state absorbs before it disappears. For the purposes of the script, the damage pool would be set by a formula in the script (either based off a stat like 10% MHP or a flat number like 1000).
When Stoneskin is active all damage dealt to your character is applied against the Stoneskin until the damage is reached, then the state is removed and you begin taking damage where Stoneskin left off. i.e.
Character A has 1000 HP and the Stoneskin formula is 15% MHP.
Character A uses Stoneskin, gains the state (Stoneskin is 150 HP).
Enemy attacks for 100 damage.
Character takes 0 damage (but Stoneskin drops to 50HP).
Next turn:
Enemy attacks for 100 damage.
Character takes 50 damage and Stoneskin is removed.
Stoneskin can be applied on top of an existing Stoneskin state, however, the State resets to the inital Stoneskin amount (it doesn't add):
Character A has Stoneskin 150 HP.
Enemy attacks for 100 damage.
Character A has Stoneskin 50 HP remaining.
Character uses Stoneskin again.
Character A has Stoneskin 150 HP.
Stoneskin should be able to absorb damage from state damage, like poison or etc.
There doesn't need to be a way to view remaining StoneSkin HP with this request (in fact, I prefer not being able to see it).
Possible Features
- <Bypass Stoneskin> tag for attacks that ignores Stoneskin if active.
- Ability to set custom formulas per state in the state's Notes
- <Stoneskin: X> where X = the % damage Stoneskin will absorb of each hit (rather than taking all the damage up front). X 100 would be all damage. This could be used to create a skill that always takes a % of damage (with a super high HP amount) for a duration of turns.
- <Stoneskin Weakness: X,X,X> where X is the element ID where 2x damage is dealt to the Stoneskin barrier. This would allow you to have a Fire barrier, Water barrier, etc with weakness to damage types.
- Option to show remaining HP for StoneSkin. This could be accomplished as another layer over the player's HP that indicates the % of stoneskin remaining before draining the regular HP bar.
- With Progressive States, this could also be used for effects such as 'If Stoneskin remains active for more than 5 turns, Petrify the character' or other interesting elements.