kotonoha* - VictoryRecoverAll

VictoryRecoverAll ver1.0 - 2016/10/20

Creator name: kotonoha*

Overview
Plugin that fully recover party members after a battle victory.

Features
- Plugin and play
- Short code length

Credit and Thanks: kotonoha*

Terms of Use- Free for commercial and non-commercial use.

License - MIT License: http://opensource.org/licenses/mit-license.php

Code:
// --------------------------------------------------------------------------
//
// VictoryRecoverAll
//
// Copyright (c) kotonoha*
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
// 2016/10/20 ver1.0 First release
//
// --------------------------------------------------------------------------
/*:
 * @plugindesc Plugin that fully recover party members after a battle victory.
 * @author kotonoha*
 *
 * @help Plugin and play
 *
 */

(function() {
 
    Game_Party_prototype_performVictory = Game_Party.prototype.performVictory;

    Game_Party.prototype.performVictory = function() {
        Game_Party_prototype_performVictory.call(this);
        this.members().forEach(function(actor) {
            actor.performVictory();
            actor.recoverAll();
       });
    };

})();

You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/vd80maanb1fxmxo/VictoryRecoverAll.js?dl=1

Note- Extra amount of HP gained through level up doesn't count as full recover. However there's a plugin that's suitable for it: Heal on Level Up by Shaz

Original thread: https://forums.rpgmakerweb.com/threads/kotonoha-victoryrecoverall.78612/