enefel 2.11.5 → 2.11.11

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/dist/index.js CHANGED
@@ -565,7 +565,7 @@ const availableSquaresToPushBack = (p1, p2) => {
565
565
  exports.availableSquaresToPushBack = availableSquaresToPushBack;
566
566
  // playerFrom, pointTo, foe
567
567
  const isOnLine = (A, B, C) => {
568
- //http://www.luccini.it/bloodbowl/downloads/Tabella_Intercetti.pdf
568
+ // Interception table reference
569
569
  const AC = (0, calcul_1.distance)(A, C);
570
570
  const BC = (0, calcul_1.distance)(B, C);
571
571
  const AB = (0, calcul_1.distance)(A, B);
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "enefel",
3
- "version": "2.11.5",
3
+ "version": "2.11.11",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "enefel",
9
- "version": "2.11.5",
9
+ "version": "2.11.11",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "csv-parse": "^6.1.0",
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "enefel",
3
- "version": "2.11.5",
4
- "description": "Blood Bowl 3 game engine",
3
+ "version": "2.11.11",
4
+ "description": "Fantasy Football game engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
package/dist/player.js CHANGED
@@ -45,7 +45,7 @@ var PLAYER_CARAC;
45
45
  PLAYER_CARAC["ST"] = "ST";
46
46
  PLAYER_CARAC["PA"] = "PA";
47
47
  })(PLAYER_CARAC || (exports.PLAYER_CARAC = PLAYER_CARAC = {}));
48
- // Valeurs maximales absolues des caractéristiques (Blood Bowl 2020 rulebook)
48
+ // Valeurs maximales absolues des caractéristiques (rulebook 2020)
49
49
  const CARAC_MAX = {
50
50
  [PLAYER_CARAC.MA]: 9,
51
51
  [PLAYER_CARAC.ST]: 8,
package/index.ts CHANGED
@@ -617,7 +617,7 @@ const availableSquaresToPushBack = (p1: Point, p2: Point) => {
617
617
 
618
618
  // playerFrom, pointTo, foe
619
619
  const isOnLine = (A: Point, B: Point, C: Point) => {
620
- //http://www.luccini.it/bloodbowl/downloads/Tabella_Intercetti.pdf
620
+ // Interception table reference
621
621
  const AC = distance(A, C);
622
622
  const BC = distance(B, C);
623
623
  const AB = distance(A, B);
package/npm-publish.sh CHANGED
@@ -67,23 +67,6 @@ esac
67
67
  echo -e "${BLUE}Construction du package...${NC}"
68
68
  npm run build
69
69
 
70
- # Proposer un dry-run
71
- echo -e "${BLUE}Souhaitez-vous effectuer une simulation de publication (dry-run) avant de publier ?${NC}"
72
- read -p "Simuler la publication (o/n): " dry_run
73
-
74
- if [[ $dry_run == "o" || $dry_run == "O" || $dry_run == "oui" || $dry_run == "Oui" ]]; then
75
- echo -e "${BLUE}Simulation de publication...${NC}"
76
- npm publish --dry-run
77
-
78
- echo -e "${BLUE}Voulez-vous continuer avec la publication réelle ?${NC}"
79
- read -p "Publier (o/n): " confirm_publish
80
-
81
- if [[ $confirm_publish != "o" && $confirm_publish != "O" && $confirm_publish != "oui" && $confirm_publish != "Oui" ]]; then
82
- echo -e "${YELLOW}Publication annulée.${NC}"
83
- exit 0
84
- fi
85
- fi
86
-
87
70
  # Publier le package
88
71
  echo -e "${BLUE}Publication du package...${NC}"
89
72
  npm publish
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "enefel",
3
- "version": "2.11.5",
4
- "description": "Blood Bowl 3 game engine",
3
+ "version": "2.11.11",
4
+ "description": "Fantasy Football game engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
package/player.ts CHANGED
@@ -21,7 +21,7 @@ enum PLAYER_CARAC {
21
21
  PA = "PA",
22
22
  }
23
23
 
24
- // Valeurs maximales absolues des caractéristiques (Blood Bowl 2020 rulebook)
24
+ // Valeurs maximales absolues des caractéristiques (rulebook 2020)
25
25
  const CARAC_MAX: Record<PLAYER_CARAC, number> = {
26
26
  [PLAYER_CARAC.MA]: 9,
27
27
  [PLAYER_CARAC.ST]: 8,
package/teams/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## convert-csv-to-career.ts
4
4
 
5
- Ce script convertit le fichier CSV `players_clean.csv` en un fichier TypeScript `career_v2025.ts` similaire à `career.ts` mais avec les nouvelles équipes et races du Blood Bowl 2025.
5
+ Ce script convertit le fichier CSV `players_clean.csv` en un fichier TypeScript `career_v2025.ts` similaire à `career.ts` mais avec les nouvelles équipes et races de la version 2025.
6
6
 
7
7
  ### Utilisation
8
8