Yanfly PartyLimitGauge Infinitely Refunding Itself

Discussion in 'Javascript/Plugin Support' started by RespectWomen, May 28, 2019.

  1. RespectWomen

    RespectWomen Acoustic Child Veteran

    Messages:
    57
    Likes Received:
    14
    Location:
    Brooklyn, New York
    First Language:
    English
    Primarily Uses:
    RMMV
    Any way to make it so they move that costs the limit gauge doesn't regain its cost from the damage? Preferably without compromising on the formulas. The problem is that the special move hits all enemies 5 times, any more than two enemies will completely refund the cost and enable the user to follow up again with the powerful skill.

    Edit:

    Found a pretty roundabout way of doing it but...
    Requires:
    YEP_Buffstatescore +YEP_PassiveStates


    1. Created a passive state thats always storing the current action:
    Code:
    <Custom Action Start Effect>
    user._currentaction = user.currentAction().item().id
    </Custom Action Start Effect>
    2. I created a meta on the skill <special:true> (place that in notebox)


    3. I Changed the DEAL HP DAMAGE formula parameter in the plugin:
    Code:
    if ($dataSkills[user._currentaction].meta.special == 'true'){0}else{formula};

    If anyone runs into this exact problem, there's the ghetto solution.
     
    Last edited: May 28, 2019
    #1

Share This Page