Job Points (YEP)

From Yanfly.moe Wiki
Revision as of 20:45, 8 July 2019 by Yanfly (talk | contribs)
Jump to navigation Jump to search

Welcome to the wiki! This is where you can find resources from Yanfly.moe, Ækashics.moe,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.



Download

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.


Masterarbeit Writer

Yanfly Engine Plugins

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


Introduction

This plugin by itself will not change any major game functions, but instead,
it works in combination with other plugins that make use of this plugin's
functions should you decide to incorporate Job Points into your game.

When Job Points are earned, they are given to the actor's current class. If
the actor were to switch classes, then the Job Points will be changed to
that class's Job Points until reverted back.

Victory Aftermath Compatibility

If you have the YEP_VictoryAftermath plugin installed and wish to make use
of the JP windows, position this plugin lower than YEP_VictoryAftermath in
the Plugin Manager.

After that, if you wish to define the timing of the JP window to appear at
a certain point instead of the plugin doing it automatically, insert "JP" in
the "Victory Order" parameter within Victory Aftermath where you want the
JP window to appear.

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.

---

Here are some notetags related to Job Points.

Actor Notetags
  <Starting JP: x>
  Sets the actor's starting JP value to be x for the actor's initial class.

  <Class x Starting JP: y>
  Sets the actor's starting JP value for class x to be y.

  <JP Rate: x%>
  This changes the rate of JP gained by x%. By default, all objects have a
  default rate of 100%. Increasing this to 200% will increase JP gained by
  twice as much while 50% will halve the amount of JP gained.

Skill and Item Notetags
  <JP Gain: x>
  This makes it so that the actor using this skill or item will gain x
  amount of JP instead of the default amount of JP found in the parameters.

  <Target JP Gain: x>
  This makes it so that the target actor affected by this skill or item will
  gain x amount of JP.

Class, Weapon, Armor, and State Notetag
  <JP Rate: x%>
  This changes the rate of JP gained by x%. By default, all objects have a
  default rate of 100%. Increasing this to 200% will increase JP gained by
  twice as much while 50% will halve the amount of JP gained.

Enemy Notetag
  <JP: x>
  When the enemy is defeated, the party members present will gain x JP each.

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:

For those wondering how to manually give, remove, or set JP for an actor,
you can use the following Plugin Commands.

Plugin Commands:

  gainJp actorId jp
  gainJp actorId jp classId
  Replace 'actorId' with the ID of the actor you wish to change the JP of.
  Replace 'jp' with the amount of JP you wish to alter. If you are using
  'classId', replace it with the ID of the actor's class you wish to alter.
  This command will let the actor gain JP.

  loseJp actorId jp
  loseJp actorId jp classId
  Replace 'actorId' with the ID of the actor you wish to change the JP of.
  Replace 'jp' with the amount of JP you wish to alter. If you are using
  'classId', replace it with the ID of the actor's class you wish to alter.
  This command will cause the actor to lose JP.

  setJp actorId jp
  setJp actorId jp classId
  Replace 'actorId' with the ID of the actor you wish to change the JP of.
  Replace 'jp' with the amount of JP you wish to alter. If you are using
  'classId', replace it with the ID of the actor's class you wish to alter.
  This command will set the actor's JP to a particular value.

Tips & Tricks

The following Tips & Tricks effects use this plugin:

Changelog

Version 1.11:
- Optimization update.

Version 1.10:
- Bypass the isDevToolsOpen() error when bad code is inserted into a script
call or custom Lunatic Mode code segment due to updating to MV 1.6.1.

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

Version 1.08:
- Lunatic Mode fail safes added.

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

Version 1.06:
- Added 'Alive Actors' plugin parameter to prevent dead actors from gaining
JP from enemies. Any JP that currently dead actors earned in battle from
actions will still be 'earned' at the end of battle.

Version 1.05:
- Updated compatibility for Subclasses gaining JP.

Version 1.04a:
- Added failsafes to prevent JP from turning into NaN midbattle.
- Added failsafes to prevent no-target scopes from crashing the game.

Version 1.03:
- Added 'Show Results' parameter to show/hide JP earned after battle for
those who aren't using the Victory Aftermath plugin.

Version 1.02:
- Fixed a bug that would gain JP for changing classes of a higher level.

Version 1.01:
- Added failsafes to prevent JP from turning into NaN.

Version 1.00:
- Finished Plugin!