like zerothedarklord said... this not an easy problem unless using plugins that do that...
and as far as i know there's no plugin for that yet in MZ (in MV there's one but the link is dead).
if you know javascript... just add your custom stat inside
Game_Actor... you can add it as
this._mystatname
then add the logic on the actor level up function.
you can also use simple approach like above poster said...
using variable... name it ActorXyourstatname ex: Actor1Charm
but the difficulty will also raise depending on how you want your stat works...
1. do you want it on some menu somewhere?
2. do you want it can be raised?
3. if 2 is yes... do you want it raised by level up or event only?
4. if 3 is by level up... do you want it raised at fixed same value (ex raise 1 each level up) or you want it like the other stat that increase differently each level up?
you can raise it in event using change variable.... (if no 3 is event only)
or if no 3 is level up...
you can 'raise' it on level up only if it's fixed value that easily calculated... and
by assigning it first before using it...
example: actor 1 charm start at 10 (lv1). and increase by 2 each level up.
so the formula = 10 + 2 * (actor level-1)
you can then change variable => script =>
Code:
10+ 2* ($gameActors.actor(1).level - 1)
before using it in anything (damage formula, eventing, etc).
if you want it on menu... you need plugin specifically for that... some hud variable plugins could also work as work around. but it might look strange...
hope this help.