Commit 4fa2921024e46d03cf90a80cda5d992f7915422e
1 parent
e994ca55
bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/adv/AdvMap.lua
... | ... | @@ -60,7 +60,7 @@ function Map:checkOver() |
60 | 60 | local mapCsv = csvdb["mapCsv"][self.mapId] |
61 | 61 | |
62 | 62 | if mapCsv.clearType == 1 then -- 消耗 |
63 | - if self.adv:cost(mapCsv.clear:toNumMap(), {log = {desc = "overCost", int1 = block.event.id}}) then return true end | |
63 | + if self.adv:cost(mapCsv.clear:toNumMap(), {log = {desc = "overCost", int1 = self.mapId}}) then return true end | |
64 | 64 | elseif mapCsv.clearType == 2 then -- 杀光 |
65 | 65 | if #self.adv.battle.player:getTeam(2) == 0 then return true end |
66 | 66 | elseif mapCsv.clearType == 3 then -- 持有 | ... | ... |