From aa34a534ba2339dc0ce701f619c6642fddd2ebf7 Mon Sep 17 00:00:00 2001 From: unagiootoro Date: Fri, 9 Sep 2022 20:53:11 +0900 Subject: [PATCH] EffekseerAnimationColorChange_ConflictPatch.js update to version v1.0.2 --- EffekseerAnimationColorChange_ConflictPatch.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/EffekseerAnimationColorChange_ConflictPatch.js b/EffekseerAnimationColorChange_ConflictPatch.js index 6e73336..b468656 100644 --- a/EffekseerAnimationColorChange_ConflictPatch.js +++ b/EffekseerAnimationColorChange_ConflictPatch.js @@ -1,6 +1,6 @@ /*: @target MZ -@plugindesc Effekseerアニメーションカラー変更 競合回避用パッチ v1.0.1 +@plugindesc Effekseerアニメーションカラー変更 競合回避用パッチ v1.0.2 @author うなぎおおとろ @url https://raw.githubusercontent.com/unagiootoro/RPGMZ/master/EffekseerAnimationColorChange_ConflictPatch.js @help @@ -25,7 +25,8 @@ EffekseerAnimationColorChange.jsの競合回避用パッチプラグインです if (typeof Spriteset_Battle.prototype.pseudo3dSprites !== "undefined") { Spriteset_Battle.prototype.pseudo3dSprites = function () { - return this._battleField.children; + const damages = this._baseSprite.children.filter(sprite => sprite instanceof Sprite_Damage) + return [...this._battleField.children, ...damages]; }; }