diff --git a/assets/game/mechanicLib/mino/statistics.lua b/assets/game/mechanicLib/mino/statistics.lua index 76686e1f..687586e9 100644 --- a/assets/game/mechanicLib/mino/statistics.lua +++ b/assets/game/mechanicLib/mino/statistics.lua @@ -9,6 +9,7 @@ function stat.event_playerInit(P) -- Initially used in minoPlayer.lua line=0, clearTime=0, clears={0,0,0,0}, + allclear=0, atk=0, sent=0, } @@ -43,6 +44,9 @@ function stat.event_afterClear(P,clear) if line%1==0 and line>0 then S.clears[line]=(S.clears[line] or 0)+1 end + if P.field:getHeight()==0 then + S.allclear=S.allclear+1 + end end function stat.event_beforeCancel(P,atk) diff --git a/assets/game/mode/mino/exterior/ac_easy.lua b/assets/game/mode/mino/exterior/ac_easy.lua index 5248ea1b..b0e6bed4 100644 --- a/assets/game/mode/mino/exterior/ac_easy.lua +++ b/assets/game/mode/mino/exterior/ac_easy.lua @@ -12,13 +12,14 @@ return { end, event={ playerInit=function(P) + P.modeData.ac=0 P.settings.das=math.max(P.settings.das,100) P.settings.arr=math.max(P.settings.arr,20) - mechLib.mino.acGenerator.newQuestion(P,{debugging=false,pieceCount=6,holdUsed=true}) + mechLib.mino.acGenerator.newQuestion(P,{debugging=false,pieceCount=3,holdUsed=true}) end, afterClear=function(P) if P.field:getHeight()==0 then - mechLib.mino.acGenerator.newQuestion(P,{debugging=false,pieceCount=6,holdUsed=true}) + mechLib.mino.acGenerator.newQuestion(P,{debugging=false,pieceCount=3+math.floor(P.modeData.stat.allclear^.626),holdUsed=true}) end end, },