In event commands, there's a "change parameter", that works for the full party or specified actors.
Change parameter adds or lowers base stats of a given actor or the full party, and these changes are retained even after leveling up/down, I'm not sure about after changing classes.
I need to know how to do this, specially the specified actor one.
I think it should be something close to $gameActors.actor(x).stat = intValue, where intValue is a value that contained the already modified value, but this doesn't work for me (it does nothing in my tests, other than showing it did change in developer console, the stat remains unchanged), also, in case it did work, it would get directly applied to the actor, and I guess it would be just on that level, unlike "change parameter".
How can I replicate a "change parameter" in a script?
Change parameter adds or lowers base stats of a given actor or the full party, and these changes are retained even after leveling up/down, I'm not sure about after changing classes.
I need to know how to do this, specially the specified actor one.
I think it should be something close to $gameActors.actor(x).stat = intValue, where intValue is a value that contained the already modified value, but this doesn't work for me (it does nothing in my tests, other than showing it did change in developer console, the stat remains unchanged), also, in case it did work, it would get directly applied to the actor, and I guess it would be just on that level, unlike "change parameter".
How can I replicate a "change parameter" in a script?