Equip and State Parameter Bonuses

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

Two updates have been made to the Parameter Bonuses script.

  1. Classes, weapons, armors, and states all support parameter bonuses
  2. You can reference each object’s own attributes in the bonus formula

parameterBonuses2

When you add bonuses to an actor, the bonus will always be applied. However, sometimes you want bonuses to be activated under certain circumstances, such as wearing a piece of armor or applying a state.

By note-tagging parameter bonuses to different database objects, you can create all kinds of equips and states with unique functionality.

For example, suppose you want to create a skill that will double a battler’s atk. You can create a state that has the note-tag

<param bonus: atk>
a.atk
</param bonus>

And whenever the state is applied, it will increase the battler’s atk by the amount of atk it currently has, effectively doubling its atk.

In addition, the formulas have been upgraded to allow you to reference the object’s attributes.

This means that you can directly reference a weapon’s original atk, or an armor’s original def, or maybe the price of an item. Essentially, you can access any attribute on any objects that the bonuses are attached to, including additional attributes added by other scripts.

More information can be found in the script: Parameter Bonuses

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

3 Responses

  1. acrelion says:

    Could this be used in conjuction with affixes?

    What I mean is, let’s say I have a suffix “of the Bear”. Now, said suffix improves MaxHP by 10% and Defense by 10%. What I’d like is to have the suffix base itself off the stats of the armor it is being attached to, rather than the stats of the actor.

    So, if you had an Iron Helmet of the Bear, which gives you 10 HP and 4 Defense normally, it would instead give you 11 HP and 4.4 Defense. But, if you had a Steel Helmet of the Bear, which instead gives you 20 HP and 8 Defense, the suffix would change it so you are receiving 22 HP and 8.8 Defense.

    • Hime says:

      That would sound like an easy way to allow you to apply equip-based bonuses for your affixes. It is still not really doubling a weapon’s attack, but you would add double the weapon’s attack to the actor, which would result in the same thing (unless you had a script that allows you to examine an individual weapon’s attack, which would then reveal the trick behind it)

  2. rubydragon44 says:

    Wow. This one offers a ton of flexibility. Now, imagine… weapon lore, class, and strength affecting how useful a weapon is…
    And a whole lot more.

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