Hello people
Is it possible to pre-calculate the damage that would happen in a turn?
I'm recreating the Hexdrinker effect from Yanfly's Tipps and Tricks.
However, there is a glaring issue with Yanfly's implementation. For example, imagine your actor has 100 HP. Then an attack hits for 100 damage, essentially one-shotting you.
What happens:
Actor will take 100 damage, then die, while generating a shield for 50 hp.
What should happen:
Actor will generate a shield, then subtract the shield value from the damage and then take 50 damage - death averted.
Why not change it to a custom react effect, instead of respond effect?
As no damage calculation happens, the game can not know whether or not the actor will fall below 30% health, which is a condition for the shield to pop off, meaning it will only pop once you are already at 30% or below resulting in nothing that happens, when you get hit from above 30% and then die.
Is it possible to pre-calculate the damage that would happen in a turn?
I'm recreating the Hexdrinker effect from Yanfly's Tipps and Tricks.
However, there is a glaring issue with Yanfly's implementation. For example, imagine your actor has 100 HP. Then an attack hits for 100 damage, essentially one-shotting you.
What happens:
Actor will take 100 damage, then die, while generating a shield for 50 hp.
What should happen:
Actor will generate a shield, then subtract the shield value from the damage and then take 50 damage - death averted.
Why not change it to a custom react effect, instead of respond effect?
As no damage calculation happens, the game can not know whether or not the actor will fall below 30% health, which is a condition for the shield to pop off, meaning it will only pop once you are already at 30% or below resulting in nothing that happens, when you get hit from above 30% and then die.