Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //=============================================================================
- // Maliki's Max Summon Changer
- // Mal_SummonCore_EX.js
- // version 1.0
- //=============================================================================
- /*:
- * @plugindesc ver1.0 - Allows user's of SumRndmDde's Summon Core to change
- * the max number of summons in game.
- * @author Maliki79
- *
- * @help Use the Script Call $gameParty.changeMaxSummon(x);
- * (With X being any whole number)
- * to change the max number of summons.
- * This number will be added to the default max summons.
- * Use a negative number to lower the max amount.
- * (Max Summons cannot be set below 0)
- */
- Game_Party.prototype.maxSummonMembers = function() {
- var total = _.maxSummons + (this.maxSummonPlus || 0);
- if (total > 0) return total;
- return 0;
- };
- Game_Party.prototype.changeMaxSummon = function(amount) {
- var amount = Number(amount) || 0;
- this.maxSummonPlus = amount;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement