bug修复
This commit is contained in:
parent
7b858220aa
commit
13e752a761
@ -336,12 +336,14 @@ local function _takeAddSkillEnergy(atkUnitComp, skillEntity, battleController)
|
||||
local boardSkills
|
||||
local count = 0
|
||||
for eType, entity in pairs(battleController.battleData:getSkillEntities()) do
|
||||
if entity:getUnlocked() then
|
||||
if not boardSkills then
|
||||
boardSkills = {}
|
||||
end
|
||||
table.insert(boardSkills, eType)
|
||||
count = count + 1
|
||||
end
|
||||
end
|
||||
if count <= 0 then
|
||||
return
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user