diff --git a/src/actions/SeaportAction.lua b/src/actions/SeaportAction.lua index f41736c..ab09b39 100644 --- a/src/actions/SeaportAction.lua +++ b/src/actions/SeaportAction.lua @@ -198,7 +198,7 @@ function _M.taskRpc(agent, data) local carbonCsv = csvdb["idle_battleCsv"] local expCarbonId = role:getProperty("hangInfo").expCarbonId local coidCarbonId = role:getProperty("hangInfo").carbonId - if not carbonCsv[expCarbonId] or not expCarbonId[coidCarbonId] then return 7 end + if not carbonCsv[expCarbonId] or not carbonCsv[coidCarbonId] then return 7 end local totalCoef = 0 for _, heroId in ipairs(collect.team:toArray(true,"=")) do diff --git a/src/models/RolePlugin.lua b/src/models/RolePlugin.lua index e22528b..e825e87 100644 --- a/src/models/RolePlugin.lua +++ b/src/models/RolePlugin.lua @@ -1279,7 +1279,7 @@ function RolePlugin.bind(Role) local teams = collect[slot].team local time = collect[slot].time if time + data.time <= endTime then - if not carbonCsv[expCarbonId] or not expCarbonId[coidCarbonId] then return 7 end + if not carbonCsv[expCarbonId] or not carbonCsv[coidCarbonId] then break end local totalCoef = 0 for _, heroId in ipairs(teams:toArray(true,"=")) do -- libgit2 0.21.2