Howdy folks
I use Yanfly's Convert Damage script to make states that allow for a player to absorb hp/mp when using an attack and dealing damage, but I was wondering if there were any scripts around that did a similar function except that it activates when damage is taken.
Example:
Actor gets hit by enemy and takes 100HP damage.
If the damage occurs when the Actor has "MP Restore State" He can get some MP back. Maybe a % based on damage or a static amount.
(This is not an absorb damage effect, namely the actor will take 100% of the HP damage still)
I have looked around and all drain like effects only work when dealing damage, not taking it.
An added bonus would be if the solution were compatible to allow for a pop up message. I am using Yanfly's ACE Battle Engine for pop ups.
Thanks in advance folks =D
~ Dinhbat
I use Yanfly's Convert Damage script to make states that allow for a player to absorb hp/mp when using an attack and dealing damage, but I was wondering if there were any scripts around that did a similar function except that it activates when damage is taken.
Example:
Actor gets hit by enemy and takes 100HP damage.
If the damage occurs when the Actor has "MP Restore State" He can get some MP back. Maybe a % based on damage or a static amount.
(This is not an absorb damage effect, namely the actor will take 100% of the HP damage still)
I have looked around and all drain like effects only work when dealing damage, not taking it.
An added bonus would be if the solution were compatible to allow for a pop up message. I am using Yanfly's ACE Battle Engine for pop ups.
Thanks in advance folks =D
~ Dinhbat