W)EB~{PJE$B168DXYO$`_UD.png (364.82 KB, 下载次数: 70)
Sprite_Battler.prototype.updateSelectionEffect = function() { const target = this.mainSprite(); if (this._battler.isSelected()) { this._selectionEffectCount++; if (this._selectionEffectCount % 30 < 15) { target.setBlendColor([255, 255, 255, 64]); } else { target.setBlendColor([0, 0, 0, 0]); } } else if (this._selectionEffectCount > 0) { this._selectionEffectCount = 0; target.setBlendColor([0, 0, 0, 0]); } };
Arrose 发表于 2024-9-4 13:14
可能是这个,但是我没测试过,保存为.js,你可以把64改成100试试看
Sprite_Battler.prototype.updateSelect ...
诚夏飞天了 发表于 2024-9-4 13:39
谢谢!解决了
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |