Subclass (YEP)

From Yanfly.moe Wiki
Jump to navigation Jump to search


System

This is a plugin created for RPG Maker MV.

For help on how to install plugins, click here.

For help on how to update plugins, click here.

Got errors with your RPG Maker MV plugin? Click here.

Download

Required Plugins

The following plugins are required in order to use this plugin.

Place the following plugins above this plugin located in the Plugin Manager.

Yanfly Engine Plugins

This plugin is a part of the Yanfly Engine Plugins library.

Click here if you want to help support Team Yanfly on Patreon.

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

NotetagsMV.png

RPG Maker MV's editor is unable to allow for custom traits/properties that a game dev may wish to associate with a database object, event, map, etc. Notetags are used to work around such limitations by allowing the game dev to tag certain traits/properties using specific Notetags declared by the related plugin.

Here is a list of Notetag(s) that you may use.

You can use the following notetags to modify subclassing aspects.

Actor Notetag:
  <Subclass: x>
  Sets the actor's default subclass to x.

  <Cannot Change Subclass>
  This prevents this actor from being able to change subclasses. This could
  be reversed from plugin commands, however.

  <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.
  Actors can still change to this class via event.

  <Subclass Only>
  This class can only be class changed to a subclass and nothing more.
  Actors can still change to this subclass via event.

  <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

PluginCommandsMV.png

Plugin Commands are event commands that are used to call upon functions added by a plugin that aren't inherently a part of RPG Maker MV.

Here is a list of Plugin Command(s) that you may use:

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

Plugin Command:

  ShowSubclass
  HideSubclass
  - Shows/Hides the Subclass command in the Class Change Menu.

  EnableSubclass
  DisableSubclass
  - Enables/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.

  EnableSubclassChange 5
  DisableSubclassChange 5
  - This enables/disables subclass changing for actor 5.

Changelog

Version 1.11:
- Updated for RPG Maker MV version 1.5.0.

Version 1.10:
- Compatibility update with Class Change Core's <Use Nickname> notetag.

Version 1.09:
- Added <Cannot Change Subclass> notetag for actors. Added plugin commands:
EnableSubclassChange and DisableSubclassChange for actors.

Version 1.08:
- Compatibility update with other plugins.

Version 1.07:
- Updated for RPG Maker MV version 1.1.0.

Version 1.06:
- Added 'EXP' plugin parameter. This determines the rate the equipped
subclass will earn EXP.
- Added 'JP' plugin parameter. This determines the rate the equipped
subclass will earn JP.

Version 1.05:
- Fixed a bug where changing a dead actor's subclass would revive them.

Version 1.04:
- Fixed an issue that would turn the ATB gauge in battle a different color.

Version 1.03:
- Fixed a bug that would duplicate non-independent items.

Version 1.02:
- Fixed a bug that would heal an actor's HP to full by switching subclasses.

Version 1.01:
- Fixed a bug that added maximum rate for certain subclass inheritances.
- Added a failsafe for undefined subclasses due to MV's database not
updating the Classes.JSON file properly.

Version 1.00:
- Finished Plugin!