Commit 09582aac48e804392b6d7cb39c619177d1451649
1 parent
e820b3f3
海港贸易相关bug修复
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/actions/SeaportAction.lua
| ... | ... | @@ -198,7 +198,7 @@ function _M.taskRpc(agent, data) |
| 198 | 198 | local carbonCsv = csvdb["idle_battleCsv"] |
| 199 | 199 | local expCarbonId = role:getProperty("hangInfo").expCarbonId |
| 200 | 200 | local coidCarbonId = role:getProperty("hangInfo").carbonId |
| 201 | - if not carbonCsv[expCarbonId] or not expCarbonId[coidCarbonId] then return 7 end | |
| 201 | + if not carbonCsv[expCarbonId] or not carbonCsv[coidCarbonId] then return 7 end | |
| 202 | 202 | |
| 203 | 203 | local totalCoef = 0 |
| 204 | 204 | for _, heroId in ipairs(collect.team:toArray(true,"=")) do | ... | ... |
src/models/RolePlugin.lua
| ... | ... | @@ -1279,7 +1279,7 @@ function RolePlugin.bind(Role) |
| 1279 | 1279 | local teams = collect[slot].team |
| 1280 | 1280 | local time = collect[slot].time |
| 1281 | 1281 | if time + data.time <= endTime then |
| 1282 | - if not carbonCsv[expCarbonId] or not expCarbonId[coidCarbonId] then return 7 end | |
| 1282 | + if not carbonCsv[expCarbonId] or not carbonCsv[coidCarbonId] then break end | |
| 1283 | 1283 | |
| 1284 | 1284 | local totalCoef = 0 |
| 1285 | 1285 | for _, heroId in ipairs(teams:toArray(true,"=")) do | ... | ... |