Add Master Instinct mode (#545)
* Add Inverse Invisible mode A mode where the locked pieces doesn't become invisible, but your active piece does. [NOTE: I haven't added the mode to the map yet because the mode selection screen is changing] * Renamed to Master Instinct
This commit is contained in:
24
parts/modes/master_instinct.lua
Normal file
24
parts/modes/master_instinct.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
return{
|
||||
env={
|
||||
sequence="bagES",
|
||||
freshLimit=15,
|
||||
eventSet='master_instinct',
|
||||
bg='glow',bgm='sugar fairy',
|
||||
},
|
||||
slowMark=true,
|
||||
score=function(P)return{P.modeData.pt,P.stat.time}end,
|
||||
scoreDisp=function(D)return D[1].."P "..STRING.time(D[2])end,
|
||||
comp=function(a,b)
|
||||
return a[1]>b[1]or(a[1]==b[1]and a[2]<b[2])
|
||||
end,
|
||||
getRank=function(P)
|
||||
local S=P.modeData.pt
|
||||
return
|
||||
S>=1000 and 5 or
|
||||
S>=800 and 4 or
|
||||
S>=500 and 3 or
|
||||
S>=300 and 2 or
|
||||
S>=100 and 1 or
|
||||
S>=60 and 0
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user