< !DOCTYPE html > RpgMakerMvScripts/ExtendsExp.js at master · jiro4989/RpgMakerMvScripts · GitHub
Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

23 lines (20 sloc) 714 Bytes
//=============================================================================
// ExtendsExp.js
// Copyright (c) 2017 Jiro
// http://ashelter.blog.fc2.com
//=============================================================================
/*:ja
* @plugindesc レベル99以上のレベルアップに必要な経験値の計算をするプラグイン ver1.1
* @author 次郎
*
* @help このプラグインには、プラグインコマンドはありません。
*
*/
(function() {
Game_Actor.prototype.nextRequiredExp = function() {
var expConstant = 500;
var expPlus = 1.0 + this._level / 100;
var expFinal = expConstant * expPlus;
return Math.ceil(this._level * expFinal + expFinal);
};
})();
You can’t perform that action at this time.