Crystal Engine – Stat Formulas

Status

Introduction

This script allows you to use formulas for stats as opposed to the Growth Charts that the database has.

Class Notetags

<stat>  Sets the stat formulas up. Be sure to put a colon on the stats.  The formula can be any valid ruby expression that returns a number.
stat => formula,  
</stat>

Script Download

Download the Latest Version

Advertisements
Categories: Scripts | 20 Comments

Post navigation

20 thoughts on “Crystal Engine – Stat Formulas

  1. Jacob

    how do i use this with ‘Extra Stats’?

    • Just install both scripts.

      • Amir Clayton

        How can I ensure that when Monks are not using any weapons in my game, their attack power is not affected by their STR (Strength), but it is twice their level?

      • Amir Clayton

        I am using Yanfly’s Barehand Trait and I want Monk’s attack power to be twice their level, but only when they are not using any weapons! Their attack power when using a weapon would then be half their strength (STR) plus 1 plus their weapon’s attack power!

      • Amir Clayton

        I am using Yanfly’s Barehand Trait and I want Monk’s attack power to be twice their level, but only when they are not using any weapons!

      • Amir Clayton

        Can I make sure you score two hits if your DEX (dexterity) is 32 or above?

  2. Jacob

    also when i start i get an undefined method error for ‘rand_between’

  3. Just what should I write here?

    stat => formula,

    I tried different things like:

    atk => xstat.str / 5

    atk: => xstat.str / 5

    :atk => xstat.str / 5

    ‘atk’ => ‘xstat.str / 5’

    Nothing works. Please add an example which contains a real stat and a formula.
    Would be nice if I can use this script.

  4. This doesn’t work either.

  5. Can’t you just make an example how you do the whole notetag?
    I only have your scripts and the basic script from Victor Sant.

  6. Amir Clayton

    I am using Yanfly’s Barehand Trait and I want Monk’s attack power to be twice their level, but only when they are not using any weapons!

  7. Amir Clayton

    Using Yanfly’s Barehand Trait, a script that allows certain classes, such as Monks to fight better unarmed than with weapons, is it possible to give Monks separate ATK stats, one for weapons and the other for no weapons?

  8. James O

    Hello, this script is amazing and exactly what I want, but when I go to launch my game I get an error on line 152 “NoMethodError” “undefined method ‘rand_between’ for #Game_Actor:0x875efc4>”

    Thank you!

  9. Amir Clayton

    This would make a cool MV plugin!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: