RPG Maker Forums

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?

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,546
Members
137,835
Latest member
yetisteven
Top