Hi everyone,
I'm looking to make a state that lasts for a certain amount of time, and then when it's complete, I wish to store the amount of HP damage it received during that time into a $gameVariable. The state cannot be removed by any restriction or other circumstances.
The only part I am struggling with is how to store the received damage during the time the state was active into a variable when it finishes. I believe YEP's Buffs & States core can achieve this with a custom effect and a bit of scripting, but that's where I hit a wall, as I'm not proficient with scripting.
Would anyone be able to make any suggestions?
Thank you!
I'm looking to make a state that lasts for a certain amount of time, and then when it's complete, I wish to store the amount of HP damage it received during that time into a $gameVariable. The state cannot be removed by any restriction or other circumstances.
The only part I am struggling with is how to store the received damage during the time the state was active into a variable when it finishes. I believe YEP's Buffs & States core can achieve this with a custom effect and a bit of scripting, but that's where I hit a wall, as I'm not proficient with scripting.
Would anyone be able to make any suggestions?
Thank you!