Equip Param Formulas

equipParamFormulas1

This script allows you to use formulas to define parameters for weapons and
armors.

All attributes that the equip holds can be referenced, including custom
attributes defined in other scripts.

For example, if you were using a script that provided equip levels, you can
define a formula that uses the level to determine the weapon’s parameters.

Download

Script: download here

Installation

Place this script below Materials and above Main

Usage

To specify a parameter formula, note-tag a weapon or armor with

<param formula: TYPE>
FORMULA
</param formula>

Where the TYPE is one of

mhp - Max HP
mmp - Max MP
atk - Attack Power
def - Defense Power
mat - Magic Attack Power
mdf - Magic Defense Power
agi - Agility
luk - Luck

The formula can be any valid formula that returns a number
The following formula variables are available

p - game party
t - game troop
s - game switches
v - game variables

You may also like...

66 Responses

  1. rubydragon44 says:

    I can't decide between having basic weapons multiply ATK by 61% percent then weaker or stronger ones have a higher or lower multiplier, or to simply have it so that it is an additive value to where at any given point, an average weapon's ATK value will generally be about 60% of the main character's assumed level in that point in the game.
    Multiplier values seem like it would make it so that there is less of a sense of material progression (unless you add special features and passive states to weapons), but as for an additive value, I feel like you'd just be throwing your old long sword in the trash mid-game, then your lightning blade away later on… you get the point. Hm…

  2. TiagoMS says:

    for some reason, using this script, the fps drops a bit during the battle.

    • Hime says:

      Does it drop a lot when you try it in a new project? How many equips are all of your actors wearing?

      • TiagoMS says:

        there was a decrease of 8 fps. It is a considerable value (mainly because I'm using a system of lateral battle, and it consumes processing – Battle Symphony) .
        Was with 3 heroes, each hero had one equipment.
        Unless the problem is my computer.

        =)

  3. unfauglith says:

    Hi, Hime. This script sounds really great, thank you.

    I'm wondering if it would be possible to use the parameters of the equiped actor in the parameter formula. For example, for a weapon that would increase the attack of the equipded actor depending on the actor luck.

    • Hime says:

      That was my original plan but some compatibility issues came up with the default scripts and I had to stick with just the equip attributes themselves.

Leave a Reply

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