// DarkPlasma_DisableRegenerateOnMap 1.0.3 // Copyright (c) 2020 DarkPlasma // This software is released under the MIT license. // http://opensource.org/licenses/mit-license.php /** * 2024/03/17 1.0.3 TypeScript移行 * 2021/07/05 1.0.2 MZ 1.3.2に対応 * 2021/06/22 1.0.1 サブフォルダからの読み込みに対応 * 2020/10/23 1.0.0 公開 */ /*: @target MZ @url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release @plugindesc Disables HP/MP/TP regeneration on the map @author DarkPlasma @license MIT @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/DarkPlasma-MZ-Plugins ). Original plugin by DarkPlasma. Please check the latest official version at: https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release ----- version: 1.0.3 Disables HP/MP/TP regeneration on the map. Use this if you want to enable auto-recovery or slip damage features only during combat. */ /*:ja @plugindesc マップ上でのHP/MP/TP再生処理を無効にする @author DarkPlasma @license MIT @target MZ @url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release @help version: 1.0.3 マップ上におけるHP/MP/TP再生の処理を無効にします。 自動回復系やスリップダメージの特徴を 戦闘時のみ有効にしたい場合に利用してください。 */ (() => { 'use strict'; const _Game_Actor_regenerateAll = Game_Actor.prototype.regenerateAll; Game_Actor.prototype.regenerateAll = function () { if (!$gameParty.inBattle()) { return; } _Game_Actor_regenerateAll.call(this); }; })();