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.
Files changed (3) hide show
  1. package/index.js +8 -1
  2. package/league.js +2 -2
  3. 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
- return isDev ? 10000 : MAX_PLAYER_USER;
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 = 6;
5
+ const GROUP_SIZE = 0;
6
6
  const HAS_NEXT_SEASON_PLAYOFF = false;
7
- const CAN_CHOOSE_TO_PARTICIPATE = true;
7
+ const CAN_CHOOSE_TO_PARTICIPATE = false;
8
8
  const HOME_AND_AWAY = false;
9
9
  const NUMBER_TEAM_CHANGE = 2;
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enefel",
3
- "version": "1.0.166",
3
+ "version": "1.0.168",
4
4
  "main": "index.js",
5
5
  "author": "Manest",
6
6
  "license": "MIT",