kotonoha* - VictoryRecoverAll

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
565
Reaction score
919
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

buinguyenhoangtho wrote on fizzly's profile.
Hello @fizzly, i would like to use your asset/ resource for my project ( is maybe commercial ). May i have your permission? Thanks you !
I have 470+ hours on RMMV but have only made a demo game, is this normal? :kaoswt: (I lose motivation a lot plus I use a 32gb laptop, so..)
I like Iron Maiden.
Benku wrote on Magnus0808's profile.
Hey man you helped me out a long time ago with a plugin i was wondering if you can help me out one more time since its literally the last thing i need help with if not is cool but id figured id ask you one more soild.
Stream will be live shortly with a guest stream! Tonight, a new guest joins~ Feel free to drop by!

Forum statistics

Threads
95,425
Messages
929,066
Members
125,659
Latest member
gilgamegi
Top