Yanfly AutoPassive State Help

Discussion in 'Javascript/Plugin Support' started by nerochepiace, Sep 18, 2016.

    Tags:
  1. nerochepiace

    nerochepiace Veteran Veteran

    Messages:
    48
    Likes Received:
    2
    First Language:
    italian
    Hello to all!


    I have a little question about Yanfly AutoPassive State Help (Yep 13) plugin.


    I want use a //<Passive Condition: HP Below x%> tag, to make pop in effect a state when the HP of a Actor will drop below x.


    But, when the HP go up again, the state disappear. Normally that will be OK, but in this case i wanted a persistent effect.


    I have tried to add a tag (from Yanfly Buffs & State Core), but no good.


    //<Custom Apply Effect>


    target.addState(6);


    //</Custom Apply Effect>


    How to do that? That is the question...


    Thanks to all in advance.
     
    #1
  2. deathsia

    deathsia Pegisister Veteran

    Messages:
    618
    Likes Received:
    52
    First Language:
    English
    I'm no expert but I'm fairly certain that's not a valid code for the plugin, check the documentation on it or look at his tips and tricks section to find out what code it uses to apply states.
     
    #2
  3. nerochepiace

    nerochepiace Veteran Veteran

    Messages:
    48
    Likes Received:
    2
    First Language:
    italian
    Thanks to all.


    Now I have found the way to do it.


    I was using the wrong notetag.
     
    Last edited by a moderator: Sep 23, 2016
    #3

Share This Page