I apologize for my inability to figure out Javascript. I can only figure out the "Lunatic" stuff of Yanfly mods when the instructions are made extremely clear. :hswt:
So, I'm trying to make a state that applies to all allies and increases their MAT by a flat amount that is determined by a formula. The "stat flat: +x" notetag of the Base Param plugin does not seem to accept formulas in its "x". So I'm trying to do so by way of making a custom tag from buff/states core.
This is the tag I'm putting on the state. It doesn't appear to do anything.
I think I'm just not using the right wordage/syntax for adding a stat onto an actor. I've tried things like "user" and... I forget what else. Maybe I'm not supposed to use Buff/State custom tags for this?
So, I'm trying to make a state that applies to all allies and increases their MAT by a flat amount that is determined by a formula. The "stat flat: +x" notetag of the Base Param plugin does not seem to accept formulas in its "x". So I'm trying to do so by way of making a custom tag from buff/states core.
This is the tag I'm putting on the state. It doesn't appear to do anything.
Code:
<Custom Apply Effect>
$gameActors.actor().addMat(5 + 2 * user.luk);
SceneManager._scene._statusWindow.refresh();>
</Custom Apply Effect>
I think I'm just not using the right wordage/syntax for adding a stat onto an actor. I've tried things like "user" and... I forget what else. Maybe I'm not supposed to use Buff/State custom tags for this?