bug修复
This commit is contained in:
parent
d9a6ccc527
commit
d46fdec70a
@ -393,11 +393,11 @@ if NOT_PUBLISH then
|
|||||||
if DataManager.BattleData.gridEntities then
|
if DataManager.BattleData.gridEntities then
|
||||||
local map = {}
|
local map = {}
|
||||||
for posId, entity in pairs(DataManager.BattleData.gridEntities) do
|
for posId, entity in pairs(DataManager.BattleData.gridEntities) do
|
||||||
map[posId] = entity:getSnapshoptInfo()
|
map[tostring(posId)] = entity:getSnapshoptInfo()
|
||||||
end
|
end
|
||||||
Logger.logHighlight("——————————战斗棋盘快照如下————————")
|
Logger.logHighlight("——————————战斗棋盘快照如下————————")
|
||||||
Logger.logHighlight("——————————当前转斗回合步骤————————" .. ModuleManager.BattleManager.battleController.roundStep)
|
Logger.logHighlight("——————————当前战斗回合步骤————————" .. ModuleManager.BattleManager.battleController.roundStep)
|
||||||
Logger.printTable(map)
|
Logger.logHighlight(json.encode(map))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -2615,7 +2615,7 @@ function BattleController:findLinkLine(posId, posIdMap, hadSkill, mainElementTyp
|
|||||||
maxGotSkill = gotSkill
|
maxGotSkill = gotSkill
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
elseif gridEntity:getSkillId() and not hadSkill and mainElementType then
|
elseif gridEntity:canLink() and gridEntity:getSkillId() and not hadSkill and mainElementType then
|
||||||
local skillId = gridEntity:getSkillId()
|
local skillId = gridEntity:getSkillId()
|
||||||
local skillEntity = self.battleData:getSkillEntityBySkillId(skillId)
|
local skillEntity = self.battleData:getSkillEntityBySkillId(skillId)
|
||||||
if skillEntity then
|
if skillEntity then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user