Passive Conditional States

Neon Black provides a passive skills script that allows you to create skills that provide constant buffs using states. The states themselves are not added to the actor; instead, it pulls the states’ features and applies them to the actor, creating a passive buff effect.

My Conditional States script allows you to create placeholder states whose sole purpose is to determine the proper state to add to a battler depending on a formula. Unfortunately, in order to use the conditions, a state must be explicitly added to the actor. This does not happen with the passive skills script.

With this add-on, you can create passive skills whose effects change depending on the state’s conditions.

Download

Script: download here

Required

Installation

Place this script below both required scripts and above main.

Usage

Plug and play. Refer to each script for instructions on how to set them up.

You may also like...

24 Responses

  1. mr bunce says:

    GIVE ME THE BUNCE where is he?

    i dont know
    get me
    mr bunce

  2. Henrique says:

    As soon as I add a condition, it breaks

    If I do :

    <conditional state>
    if true
    31
    end
    </conditional state>

    it works, but if I do:

    <conditional state>
    if a.atk > 10
    31
    end
    </conditional state>

    I get a “SystemStackError” on line 113 of your Conditional States:

    eval(self.conditional_state_formula)

    And I got them in order: Neon Black’s Passive Skills, your Conditional Skills and then this one

    • Hime says:

      I have updated this script to correctly account for formulas that access parameters. Download the new version and replace the old script and it should work as expected: the passive state is added will automatically change depending on the formula.

  3. Parafusion says:

    Quite a neat add-on to promote synergy between the two scripts. A berserk passive skills that grants progressively more strength as your health is lower is much easier to design with this. Have 5 states that offers various ATK bonus, and applies them with different HP conditions. Good work!

    • Hime says:

      That can also be accomplished using parameter bonuses, which allows you to specify exactly the atk bonus using a formula.

Leave a Reply to Henrique Cancel reply

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