Created
December 19, 2019 16:40
-
-
Save triacontane/25b3280bace5bccbf136ea6be3b44cc0 to your computer and use it in GitHub Desktop.
ノーダメージだった場合に回避モーションを取る簡易プラグイン
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var _Window_BattleLog_displayHpDamage = Window_BattleLog.prototype.displayHpDamage; | |
Window_BattleLog.prototype.displayHpDamage = function(target) { | |
if (target.result().hpAffected) { | |
if (target.result().hpDamage === 0) { | |
this.push('performEvasion', target); | |
} | |
} | |
_Window_BattleLog_displayHpDamage.apply(this, arguments); | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment