sakura-gozen/js/plugins/iii/iiiLevelUpGetPoint.js
2025-02-19 10:16:07 -06:00

21 lines
837 B
JavaScript

//=============================================================================
// IIISaveInfoEx.js
// ----------------------------------------------------------------------------
// (C) 2022 III
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
// ----------------------------------------------------------------------------
/*:ja
* @target MZ
* @plugindesc レベルアップ時に強化ポイントを付与し、アクター1の能力を全回復する処理
* @author KANI
*/
const _Game_Actor_prototype_levelUp = Game_Actor.prototype.levelUp;
Game_Actor.prototype.levelUp = function () {
_Game_Actor_prototype_levelUp.call(this);
$gameVariables.setValue(127, $gameVariables.value(127) + 2);
$gameActors.actor(1).gainHp(9999);
$gameActors.actor(1).gainMp(999);
};