Passive Conditional States

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

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.

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

5 Responses

  1. 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.

  2. 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!

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax