YEP.34 – Subclass

Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.

Download Plugin Here!

English Dropbox
English Mirror

Requires the Class Change Core plugin. This plugin enables your actors to be able to have a secondary class as a subclass! Subclasses can carry over skills, skill types, traits, and stats! How they carry it over is entirely up to you!


Introduction


This plugin requires YEP_ClassChangeCore. Make sure this plugin is located under YEP_ClassChangeCore in the plugin list.

This class enables subclassing for your actors. Actors, when subclassing, can gain the benefits of the subclass, usually either by having access to the subclass skill set, weapons, and armor options. Also with this plugin, you can enable what kind of stat bonuses you can get by having a particular subclass enabled for the actor.


Notetags


You can use the following notetags to modify subclassing aspects.

Actor Notetag:

<Subclass: x>
Sets the actor’s default subclass to x.

<Restrict Class: x>
<Restrict Class: x, x, x>
<Restrict Class: x to y>
This particular actor cannot switch his or her primary class to class(es) x (to y). This does not apply to the subclass. The actor can still change to this class via event.

<Restrict Subclass: x>
<Restrict Subclass: x, x, x>
<Restrict Subclass: x to y>
This particular actor cannot switch his or her subclass to class(es) x (to y). This does not apply to the primary class. The actor can still change to this subclass via event.

Class Notetags:

<Primary Only>
This class can only be class changed to a primary class and nothing more.

<Subclass Only>
This class can only be class changed to a subclass and nothing more.

<Subclass x Combo Name: text>
If this class is the primary and the subclass is class ID x, then the class name displayed will be ‘text’. For example, if the class combination is Warrior/Wizard, the name can appear as Spellblade.

<Hero Combo Name: text>
<Warrior Combo Name: text>
If you choose to use the class’s name instead, you can write out the name of the class in place of Subclass x. If you have multiple classes with the same name, priority will be given to the class with the highest ID.

Skill and Item Notetags:

<Require Class: x>
<Require Class: x, x, x>
<Require Class: x to y>
Replace x with the class’s ID. This skill/item can only be used by the listed class(es) x. This does not apply to enemies.

<Require Subclass: x>
<Require Subclass: x, x, x>
<Require Subclass: x to y>
Replace x with the class’s ID. This skill/item can only be used by the listed subclass(es) x. This does not apply to enemies.


Plugin Commands


You can use these following plugin commands to change subclassing throughout the game!

Plugin Command:

ShowSubclass
Shows the Subclass command in the Class Change Menu.

HideSubclass
Hides the Subclass command in the Class Change Menu.

EnableSubclass
Enables the Subclass command in the Class Change Menu.

DisableSubclass
Disables the Subclass command in the Class Change Menu.

ChangeSubclass x y
Changes actor x’s subclass to y. Replace y with 0 to remove a subclass.


Happy RPG Making!


Happy RPG Making!


These plugins and Tips & Tricks ideas are made possible thanks to our creative patrons on Patreon! The majority of our Tips & Tricks ideas are placed within the Patreon-exclusive Sample Project for quick and easy access! If you'd like to make a Tips & Tricks suggestion, Yanfly's Patreon-based Suggestion Box a visit here:


If you have any bugs to report, visit the following link:


If you have any questions about Action Sequences, visit the following link:



Thank you!