Hello....
As the tittle said, I want to make States that the holder will recover some % incoming physical attack damage taken.
I'm using Yanfly Buff and States Core : http://www.yanfly.moe/wiki/Buffs_&_States_Core_(YEP) and using
this script
<Custom React Effect>
if (value > 0 && this.isPhysical()){
var heal = value * 0.3;
target.gainHp(heal);
target.startDamagePopup();
target.startAnimation(41);
value = value * 1;}
</Custom React Effect>
However... the heals comes first.
How to make the heals comes after the damage?
Sorry I don't have knowledge in scripting and still newbie
As the tittle said, I want to make States that the holder will recover some % incoming physical attack damage taken.
I'm using Yanfly Buff and States Core : http://www.yanfly.moe/wiki/Buffs_&_States_Core_(YEP) and using
this script
<Custom React Effect>
if (value > 0 && this.isPhysical()){
var heal = value * 0.3;
target.gainHp(heal);
target.startDamagePopup();
target.startAnimation(41);
value = value * 1;}
</Custom React Effect>
However... the heals comes first.
How to make the heals comes after the damage?
Sorry I don't have knowledge in scripting and still newbie