(要 YEP_ClassChangeCore.js)アクターが2つ目の職業を副業化できるようにするプラグイン – YEP_X_Subclass.js

タイトル
(Requires YEP_ClassChangeCore.js) Allow your actorsto subclass into a secondary class!
作者名
ヘルプ
============================================================================
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.

<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
============================================================================

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.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!
パラメータ
param ---Class Menu---
default
param Subclass Command
desc The text used for 'Subclass' command.
default Subclass

param Show Command
desc Show the Subclass command by default?
NO - false YES - true
default true

param Enable Command
desc Enable the Subclass command by default?
NO - false YES - true
default true

param Name Format
desc How do you wish to display the class/subclass text?
%1 - Current Class %2 - Subclass
default %1/%2

param Subclass Color
desc This is the text color used for the actor's subclass.
default 5

param ---Parameters---
default
param MaxHP
desc What rate of the Subclass MaxHP should be added?
default 0.10

param MaxMP
desc What rate of the Subclass MaxMP should be added?
default 0.10

param ATK
desc What rate of the Subclass ATK should be added?
default 0.20

param DEF
desc What rate of the Subclass DEF should be added?
default 0.20

param MAT
desc What rate of the Subclass MAT should be added?
default 0.20

param MDF
desc What rate of the Subclass MDF should be added?
default 0.20

param AGI
desc What rate of the Subclass AGI should be added?
default 0.20

param LUK
desc What rate of the Subclass LUK should be added?
default 0.20

param EXP
desc When gaining EXP, how much should subclasses earn?
default 0.25

param JP
desc When gaining JP, how much should subclasses earn?
default 0.25

param ---Traits---
default
param Skill Types
desc User can use skill types owned by the subclass?
NO - false YES - true
default true

param Added Skills
desc Carry over added skills from subclass?
NO - false YES - true
default true

param Param Rates
desc Carry over parameter rates from subclass?
NO - false YES - true
default false

param X-Param Values
desc Carry over x-parameter values from subclass?
NO - false YES - true
default false

param S-Param Rates
desc Carry over s-parameter rates from subclass?
NO - false YES - true
default false

param Element Rates
desc Carry over element rates from subclass?
NO - false YES - true
default false

param Debuff Rates
desc Carry over debuff rates from subclass?
NO - false YES - true
default false

param State Rates
desc Carry over parameter rates from subclass?
NO - false YES - true
default false

param State Resist
desc Carry over state resistances from subclass?
NO - false YES - true
default false

param Attack Element
desc Carry over attack elements from subclass?
NO - false YES - true
default false

param Attack State
desc Carry over attack states from subclass?
NO - false YES - true
default false

param Weapons
desc Carry over equippable weapons from subclass?
NO - false YES - true
default false

param Armors
desc Carry over equippable armors from subclass?
NO - false YES - true
default false

ライセンス表記

紹介ページ https://github.com/suppayami/yami-engine-delta/blob/master/demo/js/plugins/YEP_X_Subclass.js