@gamepark/mythologies 0.12.0 → 0.12.1

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.
@@ -10,7 +10,7 @@ export const Freya = {
10
10
  playEffect() {
11
11
  const pantheon = new Pantheon(this.game, this.player);
12
12
  const gain = pantheon.coveredEntities.id((id) => isCreature(id.front)).length;
13
- return gain > 0 ? [pantheon.gainFavor(gain)] : [];
13
+ return gain > 0 ? [pantheon.gainFavor(Math.min(gain, 5))] : [];
14
14
  }
15
15
  }
16
16
  }
@@ -58,9 +58,5 @@ export declare enum RuleId {
58
58
  LeprechaunEffect = 60,
59
59
  SelkieEffect = 61,
60
60
  DullahanEffect = 62,
61
- GarudaSacrifice = 63,
62
- Mythology = 1000,
63
- Creature = 1001,
64
- Divinity = 1002,
65
- Destined = 1003
61
+ GarudaSacrifice = 63
66
62
  }
@@ -60,8 +60,4 @@ export var RuleId;
60
60
  RuleId[RuleId["SelkieEffect"] = 61] = "SelkieEffect";
61
61
  RuleId[RuleId["DullahanEffect"] = 62] = "DullahanEffect";
62
62
  RuleId[RuleId["GarudaSacrifice"] = 63] = "GarudaSacrifice";
63
- RuleId[RuleId["Mythology"] = 1000] = "Mythology";
64
- RuleId[RuleId["Creature"] = 1001] = "Creature";
65
- RuleId[RuleId["Divinity"] = 1002] = "Divinity";
66
- RuleId[RuleId["Destined"] = 1003] = "Destined";
67
63
  })(RuleId || (RuleId = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamepark/mythologies",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "The rules of Mythologies adapted for Game Park",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -25,8 +25,8 @@
25
25
  "es-toolkit": "^1.39.10"
26
26
  },
27
27
  "devDependencies": {
28
- "@gamepark/rules-api": "~7.0.3",
28
+ "@gamepark/rules-api": "~7.1.0",
29
29
  "es-toolkit": "^1.39.10"
30
30
  },
31
- "gitHead": "0c7452e2a5ab531208e1bc4d994ec47bfd7bfcdd"
31
+ "gitHead": "77d7343dd850d5ec7cc31dd8ef4c78002ed196e3"
32
32
  }