enefel 1.0.166 → 1.0.168
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +8 -1
- package/league.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -203,6 +203,8 @@ const PLAYER_HISTORY_TYPE = {
|
|
|
203
203
|
REMOVE_FROM_TEAM: "rt",
|
|
204
204
|
SKILL: "s",
|
|
205
205
|
RAZ: "raz",
|
|
206
|
+
RETIRED: "ret",
|
|
207
|
+
RETIRED_END: "retend",
|
|
206
208
|
};
|
|
207
209
|
|
|
208
210
|
const PLAYER_HISTORY_INFO = {
|
|
@@ -922,7 +924,12 @@ const getInactiveDays = (isDev = false) => {
|
|
|
922
924
|
};
|
|
923
925
|
|
|
924
926
|
const getMaxPlayers = (isDev = false) => {
|
|
925
|
-
|
|
927
|
+
let maxPlayers = MAX_PLAYER_USER;
|
|
928
|
+
if (isDev) {
|
|
929
|
+
maxPlayers = 10000;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
return maxPlayers;
|
|
926
933
|
};
|
|
927
934
|
|
|
928
935
|
module.exports = {
|
package/league.js
CHANGED
|
@@ -2,9 +2,9 @@ const { GAME_TYPE } = require("./game");
|
|
|
2
2
|
const { canPlayLeague } = require("./state");
|
|
3
3
|
|
|
4
4
|
const MIN_OPEN_SIZE = 4;
|
|
5
|
-
const GROUP_SIZE =
|
|
5
|
+
const GROUP_SIZE = 0;
|
|
6
6
|
const HAS_NEXT_SEASON_PLAYOFF = false;
|
|
7
|
-
const CAN_CHOOSE_TO_PARTICIPATE =
|
|
7
|
+
const CAN_CHOOSE_TO_PARTICIPATE = false;
|
|
8
8
|
const HOME_AND_AWAY = false;
|
|
9
9
|
const NUMBER_TEAM_CHANGE = 2;
|
|
10
10
|
|