From d67a67839e0e57b275a85b5f1a20500ff405c32e Mon Sep 17 00:00:00 2001 From: puxuan <413323644@qq.com> Date: Fri, 31 Oct 2025 15:41:35 +0800 Subject: [PATCH] fix bug --- lua/app/module/battle/controller/battle_base_controller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/app/module/battle/controller/battle_base_controller.lua b/lua/app/module/battle/controller/battle_base_controller.lua index 4303f98d..e875a04c 100644 --- a/lua/app/module/battle/controller/battle_base_controller.lua +++ b/lua/app/module/battle/controller/battle_base_controller.lua @@ -2472,7 +2472,7 @@ function BattleBaseController:getRandomSkillList(getCount, isGodSkill, excludeMa for skillId, info in pairs(cfg) do if not self:getNotInvolvedSkills()[skillId] then - if info.universal and info.universal == 1 and (not info.ads_deity or info.ads_deity ~= 1) then + if info.universal and info.universal == 1 then if not info.limit_times or self:getSkillCount(skillId) < info.limit_times then if not self.randomSkillMap[skillId] then table.insert(self.randomSkillNewSkillPool, skillId)