fix bug
This commit is contained in:
parent
4e3871a39d
commit
d67a67839e
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user