@gamepark/mythologies 1.0.21 → 1.0.22

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.
@@ -7,6 +7,7 @@ export declare class TianlongEffectRule extends MoveEffectRule {
7
7
  ruleId: RuleId;
8
8
  getPlayerMoves(): MaterialMove[];
9
9
  onCardMoved(move: MoveItem): MaterialMove[];
10
+ updateGridAfterMoves(): void;
10
11
  }
11
12
  export declare class TianlongOpponentsEffectRule extends SimultaneousMoveEffectRule {
12
13
  ruleId: RuleId;
@@ -5,6 +5,7 @@ import { MaterialType } from '../../material/MaterialType';
5
5
  import { Pantheon } from '../../material/Pantheon';
6
6
  import { Memory } from '../../Memory';
7
7
  import { RuleId } from '../RuleId';
8
+ import { TriggerEffectsRule } from './TriggerEffectsRule';
8
9
  export class TianlongEffectRule extends MoveEffectRule {
9
10
  ruleId = RuleId.TianlongEffect;
10
11
  getPlayerMoves() {
@@ -26,6 +27,11 @@ export class TianlongEffectRule extends MoveEffectRule {
26
27
  }
27
28
  return [];
28
29
  }
30
+ updateGridAfterMoves() {
31
+ for (const player of new TriggerEffectsRule(this.game).getPlayersByEffectPriorityOrder()) {
32
+ new Pantheon(this.game, player).updateGrid();
33
+ }
34
+ }
29
35
  }
30
36
  export class TianlongOpponentsEffectRule extends SimultaneousMoveEffectRule {
31
37
  ruleId = RuleId.TianlongOpponentsEffect;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamepark/mythologies",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "The rules of Mythologies adapted for Game Park",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -28,5 +28,5 @@
28
28
  "@gamepark/rules-api": "~7.6.0",
29
29
  "es-toolkit": "^1.44.0"
30
30
  },
31
- "gitHead": "4dfc870ee99fb2e88921b077bcaaea9118999e15"
31
+ "gitHead": "14c2fc58bd04f271e0353a857385c2dd1411bc0f"
32
32
  }