Equipment granting removable state??

● ARCHIVED · READ-ONLY
Started by Cinderbird 4 posts View original ↗
  1. Hi everyone,

    I've been toying around with Yanfly's "Auto Passive States" plugin (http://yanfly.moe/2015/10/17/yep-13-auto-passive-states/) trying to have items trigger states. Thing is... I need those states to be removable... Is there a way to do this without removing the equipment itself?
  2. The passive isn't going anywhere as long as the item is equipped. What you could do, though, assuming you also have Yanfly's Buffs & States Core, is something like this in the passive:

    <Custom Battle Effect>
    user.addState(ID#);
    </Custom Battle Effect>

    This would require two states, the state you want to add (replace ID# with the state ID of this state), and a passive applied through the equipment that adds it.

    Depending on what you're trying to do, this may not be ideal. What exactly are you trying to accomplish with the state?
  3. I'm trying to make 4 rings, each granting a state at the start of the battle: Protect Ring, Shell Ring, Haste Ring and Life Ring.
    These states should:
    * Trigger at the start of the battle.
    * Spells/Items should be able to remove these states (eg. Dispel)
    * Once removed/expired, these states should not trigger (at least not from the ring itself) until the next battle.

    EDIT: Tested your suggestion and it seems to have worked. Thanks! Considering what my aim was... do you think any other solution would be better?
  4. The system I suggested should be ideal for your goal. Off the top of my head, this way is the simplest.