I am trying to make a skill that could check target's HP and apply "Knockout" state on that target if its HP is low.
I even found the formula:
But ingame it is not working. Just deals no damage. I think that I made wrong conditions but I can't understand where I have mistaken.
I am using RPG Maker MV, steam version. The project for which I am asking about the skill also uses Yanfly's Battle Engine Core and Skill Core plugins.
I even found the formula:
b.hp < b.mhp * 0.25 ? b.AddState(1) : a.atk * 4 – b.def * 2But ingame it is not working. Just deals no damage. I think that I made wrong conditions but I can't understand where I have mistaken.
I am using RPG Maker MV, steam version. The project for which I am asking about the skill also uses Yanfly's Battle Engine Core and Skill Core plugins.