Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var MalJpGain = Game_Actor.prototype.gainJp;
- Game_Actor.prototype.gainJp = function(value, classId) {
- MalJpGain.call(this, value, classId);
- var totalJp = this.jp(classId);
- for (var i = 0; i < $dataClasses.length; i++) {
- this.setJp(totalJp, i);
- };
- };
- var MalJpLose = Game_Actor.prototype.loseJp;
- Game_Actor.prototype.loseJp = function(value, classId) {
- MalJpLose.call(this, value, classId);
- var totalJp = this.jp(classId);
- for (var i = 0; i < $dataClasses.length; i++) {
- this.setJp(totalJp, i);
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement