[RM MV] Need a tweak for Yanfly tip and trick : second chance


I would like a tweak to Yanfly tip a trick : second chance.
I would like the code check if the target is under 30% HP, it will heal him 10% of his HP.

I understand where to change the part but I don't know the code to calculate that in %.

<Custom React Effect>
// Check to see if the party is in battle.
if ($gameParty.inBattle()) {
// Sets the flag if the target has more than 1 HP at the time of death.
target._secondChance = target.hp > 1;
</Custom React Effect>

<Custom Respond Effect>
// Check to see if the party is in battle, has the Second Chance flag, and if the target is dead with 0 HP.
if ($gameParty.inBattle() && target._secondChance && target.hp <= 0) {
// Play the revival animation.
// Set the target's HP to 1.
</Custom Respond Effect>

How to unfollow ?


I would like to know hos to unfollow an article such for example a script ?
Because it seems there is no button on the article to unfoloww it.
Pages: 1