새 숙련도 공식 반영, 제곱식 기반에서 세제곱식 기반으로

This commit is contained in:
2019-04-08 01:21:06 +09:00
parent 59583d48d7
commit 6250f2ab28
+27 -31
View File
@@ -453,36 +453,32 @@ function getTechCall($tech) : string {
function getDexLevelList(): array{ function getDexLevelList(): array{
return [ return [
[0, 'navy', 'F-'], [0, 'navy', 'F-'],
[2500, 'navy', 'F'], [350, 'navy', 'F'],
[7500, 'navy', 'F+'], [1375, 'navy', 'F+'],
[15000, 'skyblue', 'E-'], [3500, 'skyblue', 'E-'],
[25000, 'skyblue', 'E'], [7125, 'skyblue', 'E'],
[37500, 'skyblue', 'E+'], [12650, 'skyblue', 'E+'],
[52500, 'seagreen', 'D-'], [20475, 'seagreen', 'D-'],
[70000, 'seagreen', 'D'], [31000, 'seagreen', 'D'],
[90000, 'seagreen', 'D+'], [44625, 'seagreen', 'D+'],
[112500, 'teal', 'C-'], [61750, 'teal', 'C-'],
[137500, 'teal', 'C'], [82775, 'teal', 'C'],
[165000, 'teal', 'C+'], [108100, 'teal', 'C+'],
[195000, 'limegreen', 'B-'], [138125, 'limegreen', 'B-'],
[227500, 'limegreen', 'B'], [173250, 'limegreen', 'B'],
[262500, 'limegreen', 'B+'], [213875, 'limegreen', 'B+'],
[300000, 'gold', 'A-'], [260400, 'darkorange', 'A-'],
[340000, 'gold', 'A'], [313225, 'darkorange', 'A'],
[382500, 'gold', 'A+'], [372750, 'darkorange', 'A+'],
[427500, 'darkorange', 'S-'], [439375, 'tomato', 'S-'],
[475000, 'darkorange', 'S'], [513500, 'tomato', 'S'],
[525000, 'darkorange', 'S+'], [595525, 'tomato', 'S+'],
[577500, 'tomato', 'SS-'], [685850, 'darkviolet', 'Z-'],
[632500, 'tomato', 'SS'], [784875, 'darkviolet', 'Z'],
[690000, 'tomato', 'SS+'], [893000, 'darkviolet', 'Z+'],
[750000, 'red', 'SSS-'], [1010625, 'gold', 'EX-'],
[812500, 'red', 'SSS'], [1138150, 'gold', 'EX'],
[877500, 'red', 'SSS+'], [1275975, 'white', 'EX+'],
[945000, 'darkviolet', 'Z-'],
[1015000, 'darkviolet', 'Z'],
[1087500, 'darkviolet', 'Z+'],
[1162500, 'white', '?']
]; ];
} }
@@ -520,7 +516,7 @@ function getDexLevel(int $dex) : int {
} }
function getDexLog($dex1, $dex2) { function getDexLog($dex1, $dex2) {
$ratio = (getDexLevel($dex1) - getDexLevel($dex2)) / 50 + 1; $ratio = (getDexLevel($dex1) - getDexLevel($dex2)) / 55 + 1;
return $ratio; return $ratio;
} }