/* * -------------------------------------------------- * MNKR_OnceAnimation.js * Ver.1.0.1 * Copyright (c) 2020 Munokura * This software is released under the MIT license. * http://opensource.org/licenses/mit-license.php * -------------------------------------------------- */ /*: @target MV @url https://raw.githubusercontent.com/munokura/MNKR-MV-plugins/master/MNKR_OnceAnimation.js @plugindesc If the skill is used twice or more in succession, the combat animation will be played once. @author munokura @license MIT License @help If the skill is used twice or more consecutively, the battle animation will only play once. There are no plugin commands or settings. Terms of Use: MIT License. http://opensource.org/licenses/mit-license.php You may modify and redistribute this without permission from the author, and there are no restrictions on its use (commercial, R18+, etc.). */ /*:ja @target MV @url https://raw.githubusercontent.com/munokura/MNKR-MV-plugins/master/MNKR_OnceAnimation.js @plugindesc スキルの連続回数が2回以上の場合、戦闘アニメーション再生回数を1回にします。 @author munokura @help スキルの連続回数が2回以上の場合、戦闘アニメーション再生回数を1回にします。 プラグインコマンドや設定はありません。 利用規約: MITライセンスです。 http://opensource.org/licenses/mit-license.php 作者に無断で改変、再配布が可能で、 利用形態(商用、18禁利用等)についても制限はありません。 */ (function(){ 'use strict'; Game_Battler.prototype.startAnimation = function(animationId, mirror, delay) { var data = { animationId: animationId, mirror: mirror, delay: delay }; if (this._animations.length === 0) { this._animations.push(data); }; }; })();