Increasing Ex/Sp parameters and equipable weapon types through events?

I'm making a skill tree system for my game without using any plugins for it. the player is transported to a new map where they can choose to aquire small stat buffs, learn new skills and acquire new weapons. A few of the skills i would like to make are passives like "sword mastery" which lets them equip a sword in any class regardless of it's inherit weapon type. all i'd have to do is add the sword equip OK flag to the actor but there's no way to do this in the base event commands, neither is things like increasign crit rate or granting hp regeneration. As someone with no Javascript experience i'd like some help on how to do this?if it's possible at all. Thank you for reading.
As you probably already found out these traits can be added in the database to actors, classes, states and equipment.
All these things can be changed by event command.

So you could create different premade classes for each combination of skill and set them all up the same, (name, exp curve, stats etc.) changing only the traits in question. This way the players won't notice that they are a different class now. For them it just looks as if they got the new traits.

However, depending on how complex your system is you may end up to crate dozens of classes for all possible variations and do a lot of checks.

So I would recommend doing this via states. Create a state for each trait that can be aquired and inflict them on actors via event. Just make sure you give them no icon and disable all ways to lose the state (via damage, on battle end, or after a certain amount of steps / turns), when creating these states. Since an actor can have multiple states you can don't come across the same problem as with classes.

However there is another downside to this method: You can't use the "Heal All" (hope this is the right term in english) command to heal your actors, since they would remove the state. Means you have to heal them manually, by restoring HP/MP and curing all other states one by one.

These are the only plugin / scripting free ways I can think of right now. But maybe there is a script call to add traits to an actor? I didn't find one in the list, but this would make things way easier for you^^ Maybe someone else knows about said script call ...
As you probably already found out these traits can be added in the database to actors, classes, states and equipment.
All these things can be changed by event command.

So you could create different premade classes for each combination of skill and set them all up the same, (name, exp curve, stats etc.) changing only the traits in question. This way the players won't notice that they are a different class now. For them it just looks as if they got the new traits.

However, depending on how complex your system is you may end up to crate dozens of classes for all possible variations and do a lot of checks.

So I would recommend doing this via states. Create a state for each trait that can be aquired and inflict them on actors via event. Just make sure you give them no icon and disable all ways to lose the state (via damage, on battle end, or after a certain amount of steps / turns), when creating these states. Since an actor can have multiple states you can don't come across the same problem as with classes.

However there is another downside to this method: You can't use the "Heal All" (hope this is the right term in english) command to heal your actors, since they would remove the state. Means you have to heal them manually, by restoring HP/MP and curing all other states one by one.

These are the only plugin / scripting free ways I can think of right now. But maybe there is a script call to add traits to an actor? I didn't find one in the list, but this would make things way easier for you^^ Maybe someone else knows about said script call ...
A script call is exactly what i was looking for sadly. A plugin would be fine too. but currently i'm using a system where the player can cahnge classes pretty much whenever so id end up having to make over a million classes one for each actor multiplied by each possible skill tree tile multiplied by the total amount of classes in the final game, in short that's probably not an option.
making a state for each possible node in the skill tree also seems like it could cause many issues. i've used states for similar things before and they're inconsistant at best in my experience. in short, sadly also not an option...
Well, if a plugin is okay with you, then there are multiple, Nat's Dynamic Traits being one of them. I didn't recommend it at first, because I understood that you wanted to do it without any plugins^^
Well, if a plugin is okay with you, then there are multiple, Nat's Dynamic Traits being one of them. I didn't recommend it at first, because I understood that you wanted to do it without any plugins^^
Thanks so much for showing me this, though in the post i noticed one problem immediately. The plugin changes class traits, not actor traits. and with the class changes system this wouldnt work

actually, perhaps i can turn this negative into a positive.
every class in my game has a "default" actor. so maybe i can give the actor the ability to increase the class's traits for every member. This would encourage players to swap in less used party members too if they like the class!
Hmm, in this case I think you best off with the passive states from VisuStella. I am not sure what issues you have with using states for this, but the auto passive states come without most downsides of the normal ones.
Hmm, in this case I think you best off with the passive states from VisuStella. I am not sure what issues you have with using states for this, but the auto passive states come without most downsides of the normal ones.
I think i'll use the plugin instead. i think i like the actor making the class more powerfull idea i came up with more than just a raw stat change. Thanks for your help!

Original thread: https://forums.rpgmakerweb.com/threads/increasing-ex-sp-parameters-and-equipable-weapon-types-through-events.170783/