Skill Tutorial: “Sunder Armor”

You may also like...

2 Responses

  1. Gan says:

    Hi there.

    If you have a moment, can you please assist in debugging an error I get trying to use your sunder code?
    I have included the 3 files you have mentioned and added them in the proper order.

    I get the following error when I attempt to use the skill that would apply the effect:

    *PATH_TO_PLUGIN*/YEP_BuffsStatesCore.js:2100 target._brokenArmor = target._brokenArmor || 0;
    target._brokenArmor += 1;
    if (target._brokenArmor <= 5) target.minusDef((target.def – target._paramPlus[3]) * 0.1);
    target._brokenArmor = Math.min(target._brokenArmor, 5);
    target.setStateCounter(stateId, target._brokenArmor);

    *PATH_TO_PLUGIN*/YEP_BuffsStatesCore.js:2101 TypeError: undefined is not a function

    • Chris says:

      Hi Gan. Thanks for your suggestion. I forgot to reference Yanfly’s Base Parameter Control plugin. I updated the description. After including this plugin it should work.

Leave a Reply

Your email address will not be published. Required fields are marked *