I know you can set a variable to the current hp and then check for changes but this will also take into account healing, what i need is to record all damage taken into a variable cumulatively while also ignoring any healing done.
If the player takes 100 dmg, heals 80 then takes 200 and heals 50 the variable should be at 300, ignoring the 130 healing done.
Anything that helps me do this is appreciated 👋
If the player takes 100 dmg, heals 80 then takes 200 and heals 50 the variable should be at 300, ignoring the 130 healing done.
Anything that helps me do this is appreciated 👋