/* * -------------------------------------------------- * MNKR_StopShakeOnDamage.js * Ver.1.0.0 * Copyright (c) 2020 Munokura * This software is released under the MIT license. * http://opensource.org/licenses/mit-license.php * -------------------------------------------------- */ /*: @target MZ MV @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_StopShakeOnDamage.js @plugindesc Stops screen shaking when an actor takes damage in front-view combat. @author munokura @license MIT License @help Disables screen shaking when an actor takes damage in front-view combat. No plugin commands. # 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 MZ MV @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_StopShakeOnDamage.js @plugindesc フロントビュー戦闘でアクター被ダメージ時の画面シェイクを止めます。 @author munokura @help フロントビュー戦闘でアクター被ダメージ時の画面シェイクを止めます。 プラグインコマンドはありません。 # 利用規約 MITライセンスです。 http://opensource.org/licenses/mit-license.php 作者に無断で改変、再配布が可能で、 利用形態(商用、18禁利用等)についても制限はありません。 */ (() => { "use strict"; Game_Actor.prototype.performDamage = function () { Game_Battler.prototype.performDamage.call(this); if (this.isSpriteVisible()) { this.requestMotion('damage'); } SoundManager.playActorDamage(); }; })();