删除代码
This commit is contained in:
parent
44102b81b9
commit
e34b3df0aa
@ -1270,7 +1270,6 @@ function BattleController:getRandomSkillList(getCount)
|
||||
end
|
||||
|
||||
for elementType, list in pairs(skillPool) do
|
||||
Logger.logHighlight(self.battleData:isUnlockedSkillElementType(elementType))
|
||||
if self.battleData:isUnlockedSkillElementType(elementType) then
|
||||
for _, skillId in ipairs(list) do
|
||||
local skillCfg = cfg[skillId]
|
||||
@ -1298,8 +1297,6 @@ function BattleController:getRandomSkillList(getCount)
|
||||
end
|
||||
end
|
||||
|
||||
Logger.printTable(newSkillPool)
|
||||
|
||||
if count > 0 then
|
||||
local index = GFunc.getRandomIndex(skillWeight)
|
||||
local skillId = table.remove(newSkillPool, index)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user