@gamepark/mythologies 1.0.22 → 1.0.23
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.
|
@@ -45,6 +45,7 @@ export class CaimanSacrificeEffectRule extends SacrificeEffectRule {
|
|
|
45
45
|
const pantheon = new Pantheon(this.game, this.player);
|
|
46
46
|
pantheon.onCardSacrificed(move.itemIndex);
|
|
47
47
|
moves.push(pantheon.gainGems(1));
|
|
48
|
+
this.memorize(Memory.TargetEntities, (indexes) => indexes.filter((i) => i !== move.itemIndex));
|
|
48
49
|
const remaining = this.memorize(Memory.EffectCount, (count) => count - 1);
|
|
49
50
|
if (!remaining) {
|
|
50
51
|
moves.push(this.customMove(CustomMoveType.EndEffect));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gamepark/mythologies",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"description": "The rules of Mythologies adapted for Game Park",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -18,15 +18,17 @@
|
|
|
18
18
|
"build": "tsc",
|
|
19
19
|
"prepublishOnly": "tsc",
|
|
20
20
|
"publish": "lerna publish",
|
|
21
|
+
"test": "vitest",
|
|
21
22
|
"lint": "eslint --fix"
|
|
22
23
|
},
|
|
23
24
|
"peerDependencies": {
|
|
24
25
|
"@gamepark/rules-api": ">=7",
|
|
25
|
-
"es-toolkit": "^1.
|
|
26
|
+
"es-toolkit": "^1.45.1"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
|
-
"@gamepark/rules-api": "~7.6.
|
|
29
|
-
"es-toolkit": "^1.
|
|
29
|
+
"@gamepark/rules-api": "~7.6.1",
|
|
30
|
+
"es-toolkit": "^1.45.1",
|
|
31
|
+
"vitest": "^4.1.1"
|
|
30
32
|
},
|
|
31
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "4204f64aaf01c1955a0011bd0c53b8b3a834e41d"
|
|
32
34
|
}
|