科研模式修改目标后评级代码未更新
This commit is contained in:
@@ -19,23 +19,22 @@ return{
|
|||||||
mText(drawableText.atk,69,243)
|
mText(drawableText.atk,69,243)
|
||||||
mText(drawableText.eff,69,363)
|
mText(drawableText.eff,69,363)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.atk<=200 and math.floor(P.stat.atk)or 200,P.stat.time}end,
|
score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." Attack "..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,
|
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]<b[2]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local L=P.stat.atk
|
local A=P.stat.atk
|
||||||
if L>=200 then
|
if A>=100 then
|
||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<120 and 5 or
|
T<50 and 5 or
|
||||||
T<150 and 4 or
|
T<70 and 4 or
|
||||||
3
|
T<100 and 3 or
|
||||||
|
2
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
L>=150 and 3 or
|
A>=60 and 1 or
|
||||||
L>=100 and 2 or
|
A>=30 and 0
|
||||||
L>=60 and 1 or
|
|
||||||
L>=20 and 0
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -32,23 +32,22 @@ return{
|
|||||||
mText(drawableText.atk,69,243)
|
mText(drawableText.atk,69,243)
|
||||||
mText(drawableText.eff,69,363)
|
mText(drawableText.eff,69,363)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.atk<=200 and math.floor(P.stat.atk)or 200,P.stat.time}end,
|
score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." Attack "..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,
|
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]<b[2]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local L=P.stat.atk
|
local A=P.stat.atk
|
||||||
if L>=200 then
|
if A>=100 then
|
||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<120 and 5 or
|
T<50 and 5 or
|
||||||
T<150 and 4 or
|
T<70 and 4 or
|
||||||
3
|
T<100 and 3 or
|
||||||
|
2
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
L>=150 and 3 or
|
A>=60 and 1 or
|
||||||
L>=100 and 2 or
|
A>=30 and 0
|
||||||
L>=60 and 1 or
|
|
||||||
L>=20 and 0
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -17,23 +17,22 @@ return{
|
|||||||
mText(drawableText.atk,69,243)
|
mText(drawableText.atk,69,243)
|
||||||
mText(drawableText.eff,69,363)
|
mText(drawableText.eff,69,363)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.atk<=200 and math.floor(P.stat.atk)or 200,P.stat.time}end,
|
score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." Attack "..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,
|
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]<b[2]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local L=P.stat.atk
|
local A=P.stat.atk
|
||||||
if L>=200 then
|
if A>=100 then
|
||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<120 and 5 or
|
T<50 and 5 or
|
||||||
T<150 and 4 or
|
T<70 and 4 or
|
||||||
3
|
T<100 and 3 or
|
||||||
|
2
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
L>=150 and 3 or
|
A>=60 and 1 or
|
||||||
L>=100 and 2 or
|
A>=30 and 0
|
||||||
L>=60 and 1 or
|
|
||||||
L>=20 and 0
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -29,23 +29,22 @@ return{
|
|||||||
mText(drawableText.atk,69,243)
|
mText(drawableText.atk,69,243)
|
||||||
mText(drawableText.eff,69,363)
|
mText(drawableText.eff,69,363)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.atk<=200 and math.floor(P.stat.atk)or 200,P.stat.time}end,
|
score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." Attack "..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,
|
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]<b[2]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local L=P.stat.atk
|
local A=P.stat.atk
|
||||||
if L>=200 then
|
if A>=100 then
|
||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<130 and 5 or
|
T<50 and 5 or
|
||||||
T<160 and 4 or
|
T<70 and 4 or
|
||||||
3
|
T<100 and 3 or
|
||||||
|
2
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
L>=150 and 3 or
|
A>=60 and 1 or
|
||||||
L>=100 and 2 or
|
A>=30 and 0
|
||||||
L>=60 and 1 or
|
|
||||||
L>=20 and 0
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -17,23 +17,22 @@ return{
|
|||||||
mText(drawableText.atk,69,243)
|
mText(drawableText.atk,69,243)
|
||||||
mText(drawableText.eff,69,363)
|
mText(drawableText.eff,69,363)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.atk<=200 and math.floor(P.stat.atk)or 200,P.stat.time}end,
|
score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." Attack "..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,
|
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]<b[2]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local L=P.stat.atk
|
local A=P.stat.atk
|
||||||
if L>=200 then
|
if A>=100 then
|
||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<130 and 5 or
|
T<50 and 5 or
|
||||||
T<160 and 4 or
|
T<70 and 4 or
|
||||||
3
|
T<100 and 3 or
|
||||||
|
2
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
L>=150 and 3 or
|
A>=60 and 1 or
|
||||||
L>=100 and 2 or
|
A>=30 and 0
|
||||||
L>=60 and 1 or
|
|
||||||
L>=20 and 0
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -29,23 +29,22 @@ return{
|
|||||||
mText(drawableText.atk,69,243)
|
mText(drawableText.atk,69,243)
|
||||||
mText(drawableText.eff,69,363)
|
mText(drawableText.eff,69,363)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.atk<=200 and math.floor(P.stat.atk)or 200,P.stat.time}end,
|
score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." Attack "..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,
|
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]<b[2]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local L=P.stat.atk
|
local A=P.stat.atk
|
||||||
if L>=200 then
|
if A>=100 then
|
||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<140 and 5 or
|
T<50 and 5 or
|
||||||
T<180 and 4 or
|
T<70 and 4 or
|
||||||
3
|
T<100 and 3 or
|
||||||
|
2
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
L>=150 and 3 or
|
A>=60 and 1 or
|
||||||
L>=100 and 2 or
|
A>=30 and 0
|
||||||
L>=60 and 1 or
|
|
||||||
L>=20 and 0
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -17,23 +17,22 @@ return{
|
|||||||
mText(drawableText.atk,69,243)
|
mText(drawableText.atk,69,243)
|
||||||
mText(drawableText.eff,69,363)
|
mText(drawableText.eff,69,363)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.atk<=200 and math.floor(P.stat.atk)or 200,P.stat.time}end,
|
score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." Attack "..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,
|
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]<b[2]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local L=P.stat.atk
|
local A=P.stat.atk
|
||||||
if L>=200 then
|
if A>=100 then
|
||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<120 and 5 or
|
T<50 and 5 or
|
||||||
T<150 and 4 or
|
T<70 and 4 or
|
||||||
3
|
T<100 and 3 or
|
||||||
|
2
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
L>=150 and 3 or
|
A>=60 and 1 or
|
||||||
L>=100 and 2 or
|
A>=30 and 0
|
||||||
L>=60 and 1 or
|
|
||||||
L>=20 and 0
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -29,23 +29,22 @@ return{
|
|||||||
mText(drawableText.atk,69,243)
|
mText(drawableText.atk,69,243)
|
||||||
mText(drawableText.eff,69,363)
|
mText(drawableText.eff,69,363)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.atk<=200 and math.floor(P.stat.atk)or 200,P.stat.time}end,
|
score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." Attack "..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,
|
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]<b[2]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local L=P.stat.atk
|
local A=P.stat.atk
|
||||||
if L>=200 then
|
if A>=100 then
|
||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<130 and 5 or
|
T<50 and 5 or
|
||||||
T<160 and 4 or
|
T<70 and 4 or
|
||||||
3
|
T<100 and 3 or
|
||||||
|
2
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
L>=150 and 3 or
|
A>=60 and 1 or
|
||||||
L>=100 and 2 or
|
A>=30 and 0
|
||||||
L>=60 and 1 or
|
|
||||||
L>=20 and 0
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user