MZ Add Skill Types when Dual Wielding

Afternoon all.

My project currently relies on a Dual Wielding Weapon Class System (described there), where much of an Actor's skills and classes are impacted by the Weapons they have equipped.

What I would like is to elevate the system by having a plugin that Automatically Adds a Skill Type to the Actor based on the Combination of Weapon Types Currently equipped.

How this would be handled plugin parameter wise:

@param DualWieldPairs
@desc A comma-separated list of dual wielded weapon type pairs to add skill types to actors. in format 'type1:type2'in format 'type1:type2'
@Default 1:2,3:4,5:6,7:8
@param AddedSkillTypes
@desc A comma-separated list of skill type ids to add to actors when the dual wielded weapon type pairs are met.
@Default 1,2,3,4
@param Enable Switches
@desc A comma-separated list of switch ids paired with actor ids to enable the effects of this plugin. in format 'ActorID:SwitchID'
@Default 1:20,2:40


DualWieldPairs and AddedSkillTypes should update in relative order:

Example:
@param DualWieldPairs
@desc A comma-separated list of dual wielded weapon type pairs to add skill types to actors. in format 'type1:type2'in format 'type1:type2'
@Default 1:2,3:4
@param AddedSkillTypes
@desc A comma-separated list of skill type ids to add to actors when the dual wielded weapon type pairs are met.
@Default 3,6

Actor Dual Wields Weapon Types 1 and 2, Adds Skill Type 3. If this weapon combination is no longer present, actor would lose access to the skill type but still maintain those skills for future use.


Enable Switches is to allow setting a specific point in the game when that actor gains access to the features of the plugin. Any actor who isnt listed in this section should automatically be given the new skill type based on previous params.

Original thread: https://forums.rpgmakerweb.com/threads/add-skill-types-when-dual-wielding.154870/