kotonoha* - VictoryRecoverAll

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
659
Reaction score
1,118
First Language
English
Primarily Uses
N/A
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
 

Attachments

Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I wrote a nice animated preloading system for mv+mz today. It only supports graphic assets atm, should it support audio too? See it in action in my recent minigame @
I posted my first commercial game on the forums, and now waiting for approval.
fingers crossed.
TMW the air quality is so bad, your hair changes color every time you wash it. :LZYyuck:
Finished two animations today. :kaojoy:
Sigony wrote on Ksi's profile.
Just wanna say that I love your videos.
When are you fighting Floyd Mayweather?

Forum statistics

Threads
102,999
Messages
996,632
Members
134,481
Latest member
alsospace
Top