enefel 2.15.2 → 2.15.3

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.
@@ -0,0 +1,2 @@
1
+ registry=https://registry.npmjs.org/
2
+ //registry.npmjs.org/:_authToken=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
package/avatarsSeason.ts CHANGED
@@ -44,6 +44,23 @@ export const AVATAR_SEASON_LIST: SeasonAvatar[] = [
44
44
  { file: "11.png", season: 19, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
45
45
  { file: "12.png", season: 19, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
46
46
  { file: "13.png", season: 19, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
47
+ // Saison 20 — ajouter une ligne par fichier déposé dans
48
+ // client/public/tile/shop/avatar-season/s20/. Ne déclarer que les fichiers
49
+ // réellement présents : une entrée sans image affiche un visuel cassé en
50
+ // boutique et laisse acheter un avatar inexistant.
51
+ { file: "1.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
52
+ { file: "2.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
53
+ { file: "3.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
54
+ { file: "4.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
55
+ { file: "5.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
56
+ { file: "6.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
57
+ { file: "7.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
58
+ { file: "8.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
59
+ { file: "9.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
60
+ { file: "10.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
61
+ { file: "11.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
62
+ { file: "12.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
63
+ { file: "13.png", season: 20, rarity: AVATAR_RARITY.SEASONAL, portrait: true },
47
64
  ];
48
65
 
49
66
  /** Chemin complet utilisé pour afficher l'avatar d'un joueur (ex: <img src>) */
package/dice.ts CHANGED
@@ -27,6 +27,17 @@ const DICE_LIST: DiceSkin[] = [
27
27
  season: 19,
28
28
  rarity: AVATAR_RARITY.SEASONAL,
29
29
  },
30
+ {
31
+ // Or sur pourpre profond. Contraste WCAG 9.4:1, contre 5.9:1 pour le
32
+ // blanc sur rouge des saisons 17 et 19 : les points restent lisibles même
33
+ // au format réduit du journal de match.
34
+ id: "s20-gold",
35
+ color: "#f5c542",
36
+ background: "#2d1b4e",
37
+ price: 30,
38
+ season: 20,
39
+ rarity: AVATAR_RARITY.SEASONAL,
40
+ },
30
41
  ];
31
42
 
32
43
  const getDiceById = (id: string | null | undefined): DiceSkin => {
@@ -40,6 +40,23 @@ exports.AVATAR_SEASON_LIST = [
40
40
  { file: "11.png", season: 19, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
41
41
  { file: "12.png", season: 19, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
42
42
  { file: "13.png", season: 19, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
43
+ // Saison 20 — ajouter une ligne par fichier déposé dans
44
+ // client/public/tile/shop/avatar-season/s20/. Ne déclarer que les fichiers
45
+ // réellement présents : une entrée sans image affiche un visuel cassé en
46
+ // boutique et laisse acheter un avatar inexistant.
47
+ { file: "1.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
48
+ { file: "2.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
49
+ { file: "3.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
50
+ { file: "4.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
51
+ { file: "5.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
52
+ { file: "6.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
53
+ { file: "7.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
54
+ { file: "8.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
55
+ { file: "9.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
56
+ { file: "10.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
57
+ { file: "11.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
58
+ { file: "12.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
59
+ { file: "13.png", season: 20, rarity: career_1.AVATAR_RARITY.SEASONAL, portrait: true },
43
60
  ];
44
61
  /** Chemin complet utilisé pour afficher l'avatar d'un joueur (ex: <img src>) */
45
62
  function getSeasonAvatarPath(season) {
package/dist/dice.js CHANGED
@@ -20,6 +20,17 @@ const DICE_LIST = [
20
20
  season: 19,
21
21
  rarity: career_1.AVATAR_RARITY.SEASONAL,
22
22
  },
23
+ {
24
+ // Or sur pourpre profond. Contraste WCAG 9.4:1, contre 5.9:1 pour le
25
+ // blanc sur rouge des saisons 17 et 19 : les points restent lisibles même
26
+ // au format réduit du journal de match.
27
+ id: "s20-gold",
28
+ color: "#f5c542",
29
+ background: "#2d1b4e",
30
+ price: 30,
31
+ season: 20,
32
+ rarity: career_1.AVATAR_RARITY.SEASONAL,
33
+ },
23
34
  ];
24
35
  exports.DICE_LIST = DICE_LIST;
25
36
  const getDiceById = (id) => {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "enefel",
3
- "version": "2.15.2",
3
+ "version": "2.15.3",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "enefel",
9
- "version": "2.15.2",
9
+ "version": "2.15.3",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "csv-parse": "^6.1.0",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enefel",
3
- "version": "2.15.2",
3
+ "version": "2.15.3",
4
4
  "description": "Fantasy Football game engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/npm-login.sh CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enefel",
3
- "version": "2.15.2",
3
+ "version": "2.15.3",
4
4
  "description": "Fantasy Football game engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",