MV YEP action sequence nested if request

Hi, my project currently uses a lot of if/else statements in action sequences.
But the problem is that there are a lot of times when I want to put an if/else statement inside the if or else if too to check what to do next after the first condition is met, but YEP Battle Engine Core does not support nested if.

I found this plugin by SergeofBIBEK, but it's not working, and it seems the creator is not working with it anymore.

For example, something like this

Code:
<target action>
action effect

if target.result().isHit()
    if target.isEnemy()
        if target._race === "Human" && $dataEnemies[target._enemyId].meta.weight === "heavy"
            animation 48: target
            if target.isDying() && target.tp > 3 && target.hpRate() > 0.5
            //do something
            else if target.isDying() && target.tp > 3 && target.hpRate() <= 0.5
            //do something
            else
            //do something
            end
        else if target._race === "Human" && $dataEnemies[target._enemyId].meta.weight === "light"
            // do something other than above.
        else
            // do something
        end
    else
    end
end
</target action>
hmm that's weird as I use that plugin and it does indeed work for me. what exactly is happening? is it throwing an error? is it skipping parts of the nested statements? I've got semi complicated sequences that all work as intended with this plugin, so I'm curious what's not working for you.
Some of your conditions might lead to unexpected results.

For example, unless you've modified what's considered to be "dying," target.isDying() && target.hpRate()>0.5 can never return true.

Dying is defined in the default code as less than 25% of max health.

Original thread: https://forums.rpgmakerweb.com/threads/yep-action-sequence-nested-if-request.153006/