Tick-Based Regen (YEP)
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.
The following plugins are required in order to use this plugin.
Place the following plugins above this plugin located in the Plugin Manager.
This plugin is a part of the Yanfly Engine Plugins library.
This plugin requires YEP_BattleEngineCore.js and YEP_BuffsStatesCore.js. Make sure this plugin is located under both of the listed plugins in the plugin list. For those running a Tick-Based Battle System with the Battle Engine Core (ie. Active Turn Battle or Charge Turn Battle), this will automatically set your states for Turn End timings to use a Time Based system, but in turn, causes regeneration effects to occur individually. This means that if Harold receives Low Healing Regen, then 50 ticks later, receives High Healing Regen, Harold does not regenerate HP at the same time. Instead, he will regenerate individually for both Low Healing Regen and High Healing Regen. For states that do not function off a Turn End system but still utilize regeneration effects, those effects will also work off a tick-based manner. Lunatic Mode Regenerate effects from the Buffs & States Core plugin will also function off of a periodic timed system as opposed to a regular per actor turn system. If a state has been reapplied, the regeneration counter will also be reset as to synchronize with the state's turn counter. If a battler has passive states, that battler's regeneration effects will reset at the start of each battle and clear itself at the end of battle. For example, if the amount of time you've set in the Battle Engine Core for the states to tick down is 100, at the start of battle, all passive states will be reset to 100 and must reach 0 before the regeneration effects trigger. *NOTE: Only states will function off of tick-based regeneration. HP/MP/TP regeneration gained from traits in the actor, class, enemy, weapon, or armor database object entries will occur upon the battler's turn end.
Version 1.04: - Updated for RPG Maker MV version 1.5.0. Version 1.03: - Added anti-crash method for actors that are joining mid-party. Version 1.02: - Fixed a bug that caused HP/MP/TP regeneration from non-states to not function properly. They will now occur at turn end. Version 1.01: - Fixed a bug that caused tick-based states to not trigger Leave effects. Version 1.00: - Finished Plugin!