diff --git a/src/adv/AdvMap.lua b/src/adv/AdvMap.lua index 81d9e55..dd61574 100644 --- a/src/adv/AdvMap.lua +++ b/src/adv/AdvMap.lua @@ -60,7 +60,7 @@ function Map:checkOver() local mapCsv = csvdb["mapCsv"][self.mapId] if mapCsv.clearType == 1 then -- 消耗 - if self.adv:cost(mapCsv.clear:toNumMap(), {log = {desc = "overCost", int1 = block.event.id}}) then return true end + if self.adv:cost(mapCsv.clear:toNumMap(), {log = {desc = "overCost", int1 = self.mapId}}) then return true end elseif mapCsv.clearType == 2 then -- 杀光 if #self.adv.battle.player:getTeam(2) == 0 then return true end elseif mapCsv.clearType == 3 then -- 持有 -- libgit2 0.21.2