| 
 
| 赞 | 23 |  
| VIP | 0 |  
| 好人卡 | 0 |  
| 积分 | 65 |  
| 经验 | 2379 |  
| 最后登录 | 2025-10-10 |  
| 在线时间 | 1236 小时 |  
 Lv4.逐梦者 
	梦石0 星屑6520 在线时间1236 小时注册时间2016-12-6帖子383 | 
| 复制代码(function() {
    var _Window_BattleLog_displayActionResults = Window_BattleLog.prototype.displayActionResults;
    Window_BattleLog.prototype.displayActionResults = function(subject, target) {
        _Window_BattleLog_displayActionResults.call(this, subject, target);
        //追加条件检测
        if (this.shouldDisplayAllResults(subject)) {
            while (this._methods.length > 0) {
                this.callNextMethod();
            }
        }
    };
    Window_BattleLog.prototype.shouldDisplayAllResults = function(subject) {
        var action = subject.currentAction();
        if (action && action.item()) {
            // 检查技能注释中是否有 <AllResults> 标签
            return !!action.item().meta.AllResults;
        }
        return false;
    };
    BattleManager.updateAction = function() {
        while (this._targets.length > 0) {
            var target = this._targets.shift();
            if (target) {
                this.invokeAction(this._subject, target);
            }
        }
        this.endAction();
    };
})();
 试试看,注释格式是<AllResults>
 | 
 |