diff --git a/parts/modes/tech_finesse.lua b/parts/modes/tech_finesse.lua index f0885af8..4d2ff558 100644 --- a/parts/modes/tech_finesse.lua +++ b/parts/modes/tech_finesse.lua @@ -19,23 +19,22 @@ return{ mText(drawableText.atk,69,243) mText(drawableText.eff,69,363) 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, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=200 then + local A=P.stat.atk + if A>=100 then local T=P.stat.time return - T<120 and 5 or - T<150 and 4 or - 3 + T<50 and 5 or + T<70 and 4 or + T<100 and 3 or + 2 else return - L>=150 and 3 or - L>=100 and 2 or - L>=60 and 1 or - L>=20 and 0 + A>=60 and 1 or + A>=30 and 0 end end, } \ No newline at end of file diff --git a/parts/modes/tech_finesse_f.lua b/parts/modes/tech_finesse_f.lua index 46313dc5..5ae67ecc 100644 --- a/parts/modes/tech_finesse_f.lua +++ b/parts/modes/tech_finesse_f.lua @@ -32,23 +32,22 @@ return{ mText(drawableText.atk,69,243) mText(drawableText.eff,69,363) 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, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=200 then + local A=P.stat.atk + if A>=100 then local T=P.stat.time return - T<120 and 5 or - T<150 and 4 or - 3 + T<50 and 5 or + T<70 and 4 or + T<100 and 3 or + 2 else return - L>=150 and 3 or - L>=100 and 2 or - L>=60 and 1 or - L>=20 and 0 + A>=60 and 1 or + A>=30 and 0 end end, } \ No newline at end of file diff --git a/parts/modes/tech_h.lua b/parts/modes/tech_h.lua index 919f53a0..3a1533e2 100644 --- a/parts/modes/tech_h.lua +++ b/parts/modes/tech_h.lua @@ -17,23 +17,22 @@ return{ mText(drawableText.atk,69,243) mText(drawableText.eff,69,363) 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, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=200 then + local A=P.stat.atk + if A>=100 then local T=P.stat.time return - T<120 and 5 or - T<150 and 4 or - 3 + T<50 and 5 or + T<70 and 4 or + T<100 and 3 or + 2 else return - L>=150 and 3 or - L>=100 and 2 or - L>=60 and 1 or - L>=20 and 0 + A>=60 and 1 or + A>=30 and 0 end end, } \ No newline at end of file diff --git a/parts/modes/tech_h_plus.lua b/parts/modes/tech_h_plus.lua index 6a15fdd0..432bada5 100644 --- a/parts/modes/tech_h_plus.lua +++ b/parts/modes/tech_h_plus.lua @@ -29,23 +29,22 @@ return{ mText(drawableText.atk,69,243) mText(drawableText.eff,69,363) 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, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=200 then + local A=P.stat.atk + if A>=100 then local T=P.stat.time return - T<130 and 5 or - T<160 and 4 or - 3 + T<50 and 5 or + T<70 and 4 or + T<100 and 3 or + 2 else return - L>=150 and 3 or - L>=100 and 2 or - L>=60 and 1 or - L>=20 and 0 + A>=60 and 1 or + A>=30 and 0 end end, } \ No newline at end of file diff --git a/parts/modes/tech_l.lua b/parts/modes/tech_l.lua index 9ebeb62c..e3f4ef53 100644 --- a/parts/modes/tech_l.lua +++ b/parts/modes/tech_l.lua @@ -17,23 +17,22 @@ return{ mText(drawableText.atk,69,243) mText(drawableText.eff,69,363) 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, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=200 then + local A=P.stat.atk + if A>=100 then local T=P.stat.time return - T<130 and 5 or - T<160 and 4 or - 3 + T<50 and 5 or + T<70 and 4 or + T<100 and 3 or + 2 else return - L>=150 and 3 or - L>=100 and 2 or - L>=60 and 1 or - L>=20 and 0 + A>=60 and 1 or + A>=30 and 0 end end, } \ No newline at end of file diff --git a/parts/modes/tech_l_plus.lua b/parts/modes/tech_l_plus.lua index 08d730e3..b9231872 100644 --- a/parts/modes/tech_l_plus.lua +++ b/parts/modes/tech_l_plus.lua @@ -29,23 +29,22 @@ return{ mText(drawableText.atk,69,243) mText(drawableText.eff,69,363) 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, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=200 then + local A=P.stat.atk + if A>=100 then local T=P.stat.time return - T<140 and 5 or - T<180 and 4 or - 3 + T<50 and 5 or + T<70 and 4 or + T<100 and 3 or + 2 else return - L>=150 and 3 or - L>=100 and 2 or - L>=60 and 1 or - L>=20 and 0 + A>=60 and 1 or + A>=30 and 0 end end, } \ No newline at end of file diff --git a/parts/modes/tech_n.lua b/parts/modes/tech_n.lua index 73a8c033..5713361b 100644 --- a/parts/modes/tech_n.lua +++ b/parts/modes/tech_n.lua @@ -17,23 +17,22 @@ return{ mText(drawableText.atk,69,243) mText(drawableText.eff,69,363) 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, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=200 then + local A=P.stat.atk + if A>=100 then local T=P.stat.time return - T<120 and 5 or - T<150 and 4 or - 3 + T<50 and 5 or + T<70 and 4 or + T<100 and 3 or + 2 else return - L>=150 and 3 or - L>=100 and 2 or - L>=60 and 1 or - L>=20 and 0 + A>=60 and 1 or + A>=30 and 0 end end, } \ No newline at end of file diff --git a/parts/modes/tech_n_plus.lua b/parts/modes/tech_n_plus.lua index d72d01fd..e407d61d 100644 --- a/parts/modes/tech_n_plus.lua +++ b/parts/modes/tech_n_plus.lua @@ -29,23 +29,22 @@ return{ mText(drawableText.atk,69,243) mText(drawableText.eff,69,363) 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, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=200 then + local A=P.stat.atk + if A>=100 then local T=P.stat.time return - T<130 and 5 or - T<160 and 4 or - 3 + T<50 and 5 or + T<70 and 4 or + T<100 and 3 or + 2 else return - L>=150 and 3 or - L>=100 and 2 or - L>=60 and 1 or - L>=20 and 0 + A>=60 and 1 or + A>=30 and 0 end end, } \ No newline at end of file