@gamepark/mythologies 0.8.2 → 0.8.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.
@@ -36,7 +36,7 @@ exports.Ganesh = {
36
36
  .player(this.player)
37
37
  .id(function (id) { return (0, Entity_1.isCreature)(id.front); }).length;
38
38
  var pantheon = new Pantheon_1.Pantheon(this.game, this.player);
39
- return creaturesSacrificed > 0 ? [pantheon.gainFavor(Math.max(creaturesSacrificed, 5))] : [];
39
+ return creaturesSacrificed > 0 ? [pantheon.gainFavor(Math.min(creaturesSacrificed, 5))] : [];
40
40
  };
41
41
  return GaneshEffectRule;
42
42
  }(Effect_1.PlayerEffectRule))
@@ -54,7 +54,7 @@ var KinnaraEffectRule = (function (_super) {
54
54
  var mythology = mythologies_1_1.value;
55
55
  moves.push(creaturesDecks.locationId(mythology).deck().moveItem({ type: LocationType_1.LocationType.PlayerBufferArea, player: this.player }));
56
56
  if (gems >= 4) {
57
- godsDecks.locationId(mythology).deck().moveItem({ type: LocationType_1.LocationType.PlayerBufferArea, player: this.player });
57
+ moves.push(godsDecks.locationId(mythology).deck().moveItem({ type: LocationType_1.LocationType.PlayerBufferArea, player: this.player }));
58
58
  }
59
59
  }
60
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamepark/mythologies",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "The rules of Mythologies adapted for Game Park",
5
5
  "sideEffects": false,
6
6
  "main": "dist/index.js",
@@ -29,5 +29,5 @@
29
29
  "i18next": "^22.0.3",
30
30
  "lodash": "^4.17.21"
31
31
  },
32
- "gitHead": "cd2d58c47c0ec502d6ddd1c0830a5dbe28426608"
32
+ "gitHead": "fc3f731c9aaf2990fc0a12d743031073f16940b4"
33
33
  }