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
how do i use this with ‘Extra Stats’?
Just install both scripts.
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?
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!
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!
Can I make sure you score two hits if your DEX (dexterity) is 32 or above?
also when i start i get an undefined method error for ‘rand_between’
Download Victor Engine – Basic Module.
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.
Use the numbers that correspond to each stat:
mhp: 0
mmp: 1
atk: 2
def: 3
mat: 4
mdf: 5
agi: 6
luk: 7
Like this?
2 => xstat.str / 5
Yep
This doesn’t work either.
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.
Try:
2 => ‘xstat.str / 5’,
Finally!
Now it works, didn’t had the comma when I tried this after your first answer.
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!
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?
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!
This would make a cool MV plugin!