Specials on level-up

I’m requesting a script that can handle a number of different effects on specific levelup.


Because the notebox is often already full, I would like this script to be triggered by the class skill list, especially as it already contains the level number for triggering.


The general idea is that there will be a number of special skills that will never be learned or used (skill type none or so), but if the plugin detects one such skill at level up it will trigger the special based on skill and skill note.


Examples:
If skill ID=3 is set to be learned by class list on this level, instead it will execute a control switch on the switch with the ID in the note.
If skill ID=4 is to be learned, it will instead add the trait defined in the note
And so on – the attached picture shows more examples.


Now a few comments on the different options where needed:


1) Eval Script and Command Plugin
Those are mainly intended for direct changes and use of scripts/plugins that I haven’t thought of (or didn’t exist yet) at this moment.


2) Execute Common Event
If possible at all, there should be a way to tell the common event which actor has leveled at that moment, so that any specific changes can take that into account. The problem with this is that it has to remember this even in the case of multiple level-up calling multiple common events at the same time (for example if the entire party gets a level-up).
If that ID-storing is too difficult, then I’ll have to use different common events on different classes – that would also be possible, just sub-optimal.
It might need to be combined with other plugins like for example Tsukihime’s Common Event Queue and/or other enhanced event plugins to work correctly.


3) Add Trait
The easiest way for this is probably to link this plugin directly to Shaz’ Dynamic Traits plugin.






This could be done by the command plugin effect described above, but due to the limited visibility of the note on the skill list I would prefer to have a wrapper that uses different skill IDs for the AddTrait, AddEffect, RemoveTrait and RemoveEffect parts of the original plugin commands (see example in the attached picture)


4) Add Equip Slot
Again this will probably be easiest if combined with a plugin that handles dynamic equipment slots. Currently I know of only one such plugin (most are static and don’t have the commands for dynamic changes):
http://himeworks.com/2015/11/equip-slots-core/


EDIT: This is being worked on as a commission, so closing this
If the intention is to use dummy skills to enact effects, I would think the noteboxes on those skills would not be filled. Unless I'm missing something. It really seems best if you would put all of the logic into the skill notebox.
If the intention is to use dummy skills to enact effects, I would think the noteboxes on those skills would not be filled. Unless I'm missing something. It really seems best if you would put all of the logic into the skill notebox.

But then I would need dozens of skills.


Using the skill list note on the class it would be possible to make one skill for "control switch effect", and then use the note in the skill list to determine which level up on which actor will control which of dozens of switches.


Using the skill note box on the skills, I would have to make one skill for each switch I would like to control.


Similiar when adding equip slots - there are several passive skill plugins that work like you describe, but using them I would have to specify a dozen different skills for the different equip slots. And so on.
What if you used the class notebox, and you could define multiple effects (with conditions) the same way I did my plugin here? The problem with using the skill learn notebox is that it's not very good for putting scripts in it due to being one line and small size.
The problem with using the skill learn notebox is that it's not very good for putting scripts in it due to being one line and small size.

But you don't need more than a single short line for anything using my structure. Because the info what the note is about would be part of the skill ID, and you would only need the minimum data for a single effect on each line - no need for any additional sorting or structures.


I just checked the script you linked. Yes, it could be done that way - but it would fill up the notebox extremely fast, making it difficult to read.


For each single effect you would need a minimum of six lines if you want to keep it readable - three for the action condition and three for the action effect, and only one of those six lines (the line inside the action effect) would be executed/needed if it was done using the skill list.


And if you want several such effects, each would require those six lines in the same notebox but using the skill list box each effect would have its own notebox on a different line in the list, no need for any open/close tags etc there.


A big part of this request is due to readability, especially when there will be a lot of such effects (as I'm planning). The skills to learn list is actually larger than the notebox and it would contain the info in a more condensed form (for example the level is integrated and doesn't need its own action condition segment like in your solution).


However, I don't know if it is technically more difficult to read the note in the skills to learn list than to read the note of the entire class. If that is the case then it remains a question which way would be better - but at the moment I believe it would only be a redirect on the level up engine (if the skill to be learned has ID XY, don't learn it but jump to Z and execute that part)

Original thread: https://forums.rpgmakerweb.com/threads/specials-on-level-up.60398/