Skip to content

Commit

Permalink
EffekseerAnimationColorChange_ConflictPatch.js update to version v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
unagiootoro committed Sep 9, 2022
1 parent 456a79d commit aa34a53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions EffekseerAnimationColorChange_ConflictPatch.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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];
};
}

Expand Down

0 comments on commit aa34a53

Please sign in to comment.