how to anticipate damage with Yanfly Plugins?

Douglas

Warper
Member
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?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,845
Messages
1,016,961
Members
137,561
Latest member
JaCrispy85
Top