This commit is contained in:
puxuan 2025-10-31 15:41:35 +08:00
parent 4e3871a39d
commit d67a67839e

View File

@ -2472,7 +2472,7 @@ function BattleBaseController:getRandomSkillList(getCount, isGodSkill, excludeMa
for skillId, info in pairs(cfg) do for skillId, info in pairs(cfg) do
if not self:getNotInvolvedSkills()[skillId] then 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 info.limit_times or self:getSkillCount(skillId) < info.limit_times then
if not self.randomSkillMap[skillId] then if not self.randomSkillMap[skillId] then
table.insert(self.randomSkillNewSkillPool, skillId) table.insert(self.randomSkillNewSkillPool, skillId)