Skip to content

Commit

Permalink
修挖掘模式获取通关次数写错
Browse files Browse the repository at this point in the history
修hypersonic通关就爆炸
  • Loading branch information
MrZ626 committed Jul 12, 2024
1 parent 7be2e39 commit 56563f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/game/mode/brik/exterior/excavate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ return {
PROGRESS.setExteriorScore('dig','volcanics',P.gameTime,'<')
end

local playCount=PROGRESS.getExteriorMapState('dig').playCount or 0
local playCount=PROGRESS.getExteriorModeState('dig').playCount or 0
if
(PROGRESS.getExteriorModeState('dig').shale or 1e99)<=100e3+10e3*playCount or
(PROGRESS.getExteriorModeState('dig').volcanics or 1e99)<=100e3+10e3*playCount or
Expand Down
2 changes: 1 addition & 1 deletion assets/game/mode/brik/exterior/hypersonic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ return {
end,
gameOver=function(P,reason)
if reason=='AC' then
PROGRESS.setExteriorScore('hypersonic',P.modeData.subMode,(PROGRESS.getExteriorModeState('hypersonic')[P.modeData.subMode] or 0)+1)
PROGRESS.setExteriorScore('hypersonic',P.modeData.subMode,1)
end
end,
},
Expand Down

0 comments on commit 56563f1

Please sign in to comment.