优化代码
This commit is contained in:
parent
a828972f43
commit
6f59974c33
@ -1150,13 +1150,8 @@ function BattleController:setGridBreakCondition(gridMap, posId, condition)
|
|||||||
if not gridMap[posId] then
|
if not gridMap[posId] then
|
||||||
gridMap[posId] = {}
|
gridMap[posId] = {}
|
||||||
gridMap[posId][condition] = true
|
gridMap[posId][condition] = true
|
||||||
return true, true
|
|
||||||
end
|
|
||||||
if gridMap[posId][condition] then
|
|
||||||
return false
|
|
||||||
end
|
end
|
||||||
gridMap[posId][condition] = true
|
gridMap[posId][condition] = true
|
||||||
return true, false
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function BattleController:tryShowSelectSkillComp(needDelay, onlyCommonSkill)
|
function BattleController:tryShowSelectSkillComp(needDelay, onlyCommonSkill)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user