- Joined
- Nov 13, 2016
- Messages
- 2
- Reaction score
- 0
- First Language
- English
- Primarily Uses
Before anything I'm using Yanfly BuffsStatesCore and DamageCore and everything else that makes all plugins work.
Well... I'm trying to make a state that when the actor takes a damage that would kill him, it activate another state that makes him immune to everything and recover 5% HP each turn. Like Ice Block of Hearthstone mage, but instead of armor we got immune and HP recover.
The problem is that I have no idea how to anticipate the damage value to make a custom effect. What I have in mind is to anticipate the damage value, compare to the actor's current HP, if its higher (means actor will die) add the immune state.
I've tryied the <Custom React Effect> command but it applies the immune state and the damage, and the actor dies. So what I want is to use some way to know the value of the damage before it applies. In other words, apply the immune before the damage.
Does anyone knows how could I do it?
Well... I'm trying to make a state that when the actor takes a damage that would kill him, it activate another state that makes him immune to everything and recover 5% HP each turn. Like Ice Block of Hearthstone mage, but instead of armor we got immune and HP recover.
The problem is that I have no idea how to anticipate the damage value to make a custom effect. What I have in mind is to anticipate the damage value, compare to the actor's current HP, if its higher (means actor will die) add the immune state.
I've tryied the <Custom React Effect> command but it applies the immune state and the damage, and the actor dies. So what I want is to use some way to know the value of the damage before it applies. In other words, apply the immune before the damage.
Does anyone knows how could I do it?

