By default, the final value for one of an actor's basic parameters (e.g. ATK) is given by:
...where:
base is the value from their current class at their level;
plus is the permanent bonus from the Change Parameter (Modifica Parametro) command;
rate is from traits, e.g. ATK * 120%.
But
plus can be negative, and the overall minimum value for a parameter is 1 (or 0 for MMP). This is why you're ending up with 1 ATK when you add -9999.
😅
So when you say "reset to 1", which one of these do you want?
- Change
plus so that (base + plus) * rate equals 1.
- Change
plus so that base + plus equals 1.
- Change
plus to 0.
- Something else? (If so, what?)
You can get the overall current ATK of an actor (i.e.
(base + plus) * rate) using Control Variables > Game Data > Actor > ATK. So you could subtract that value instead of 9999, then +1 before applying your new value, e.g.
Code:
◆Comment:Get (ATK - 1)
◆Control Variables:#0009 temporary = Attack of Harold
◆Control Variables:#0009 temporary -= 1
◆Comment:Subtract that from current ATK bonus: ATK - (ATK - 1) = 1
◆Change Parameter:Harold, Attack - {temporary}
◆Comment:Add new bonus
◆Change Parameter:Harold, Attack + {Harold ATK}
Note that it will need to be reapplied if/when the base ATK value (or ATK trait) changes, e.g. on level-up. Remember you can change the parameter curves of any class via the Classes tab in the database.
Otherwise you can use scripting (e.g. in Control Variables > Script) to get specific
base or
plus values:
base ATK (param ID 2) of actor 1:
JavaScript:
$gameActors.actor(1).paramBase(2)
plus ATK of actor 1:
JavaScript:
$gameActors.actor(1).paramPlus(2)