I am using
Bobstah's Custom Stats plug-in, but the added custom stats do not work in the damage formula, making the skills they are included in do 0 damage.
I will describe how I set up the custom stats on the example of
srf and
fst.
In the Actor note tag I added:
<CustomStat: srf=0>
<CustomStat: fst=0>
And in the weapon tag I added:
<CustomStat: srf+5>
(I am also using
JahwsUF's Satus Menu Core to shows these stats in the status menu. Note that when the weapon is equipped, the stat will she shown to be 5, like it's supposed to)
In the enemy note tag I added:
<CustomStat: fst=3>
The damage formula of the skill used to attack that enemy is:
a.atk - b.def - (b.fst / a.srf)
And obviously the damage is shown to be 0.
However, that also is true if I just put in
a.srf as the damage formula.
On the page regarding the plug-in Bobstah wrote "After setting a custom stat to an actor/enemy, you reference it in damage formulas or other code just like any other stat.", so it should work that way.
So, what is wrong here? Where did I mess up or is there a mistake in the scrip?
My own abilities concerning Java Script are close to not existence, so I really can't figure that our myself.