@champions-digital-game/mod-sdk 0.0.0-stage → 0.46.0
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/LICENSE +661 -0
- package/README.md +71 -2
- package/dist/build.js +1 -0
- package/dist/chunks/chunk-6WFYI6O7.js +22 -0
- package/dist/chunks/chunk-C2OAZ3V7.js +1 -0
- package/dist/chunks/chunk-EQL5OYKH.js +8477 -0
- package/dist/chunks/chunk-Q57JMRMI.js +4 -0
- package/dist/chunks/chunk-QM4LCKP5.js +7 -0
- package/dist/chunks/chunk-SSVC7TJ6.js +1 -0
- package/dist/chunks/chunk-V5MJXIOQ.js +1 -0
- package/dist/import.js +1 -0
- package/dist/index.js +1 -0
- package/dist/mc-pack.js +26 -0
- package/dist/testing.js +1 -0
- package/package.json +59 -4
- package/types/cards/src/ability-refs.d.ts +19 -0
- package/types/cards/src/builtin-packs/define.d.ts +60 -0
- package/types/cards/src/builtin-packs/index.d.ts +14 -0
- package/types/cards/src/builtin-packs/reprints.d.ts +33 -0
- package/types/cards/src/campaigns/aoa.d.ts +90 -0
- package/types/cards/src/campaigns/aos.d.ts +17 -0
- package/types/cards/src/campaigns/composed-sets.d.ts +24 -0
- package/types/cards/src/campaigns/expert-helpers.d.ts +94 -0
- package/types/cards/src/campaigns/fne.d.ts +49 -0
- package/types/cards/src/campaigns/gmw-balanced.d.ts +89 -0
- package/types/cards/src/campaigns/gmw.d.ts +57 -0
- package/types/cards/src/campaigns/index.d.ts +28 -0
- package/types/cards/src/campaigns/modular-picks.d.ts +10 -0
- package/types/cards/src/campaigns/mojo.d.ts +58 -0
- package/types/cards/src/campaigns/mts.d.ts +65 -0
- package/types/cards/src/campaigns/mut_gen.d.ts +51 -0
- package/types/cards/src/campaigns/next_evol.d.ts +57 -0
- package/types/cards/src/campaigns/shadowland.d.ts +8 -0
- package/types/cards/src/campaigns/sm.d.ts +68 -0
- package/types/cards/src/campaigns/structure.d.ts +36 -0
- package/types/cards/src/campaigns/trors.d.ts +46 -0
- package/types/cards/src/core/aspects/aggression.d.ts +15 -0
- package/types/cards/src/core/aspects/basic.d.ts +11 -0
- package/types/cards/src/core/aspects/justice.d.ts +11 -0
- package/types/cards/src/core/aspects/leadership.d.ts +13 -0
- package/types/cards/src/core/aspects/protection.d.ts +10 -0
- package/types/cards/src/core/heroes/black-panther.d.ts +26 -0
- package/types/cards/src/core/heroes/captain-marvel.d.ts +26 -0
- package/types/cards/src/core/heroes/iron-man.d.ts +27 -0
- package/types/cards/src/core/heroes/she-hulk.d.ts +28 -0
- package/types/cards/src/core/heroes/spider-man.d.ts +25 -0
- package/types/cards/src/core/index.d.ts +8 -0
- package/types/cards/src/core/modular/bomb-scare.d.ts +7 -0
- package/types/cards/src/core/modular/hydra-and-doomsday.d.ts +12 -0
- package/types/cards/src/core/modular/standard.d.ts +16 -0
- package/types/cards/src/core/names.d.ts +6 -0
- package/types/cards/src/core/obligations.d.ts +24 -0
- package/types/cards/src/core/pack.d.ts +3 -0
- package/types/cards/src/core/scenarios/klaw.d.ts +37 -0
- package/types/cards/src/core/scenarios/rhino.d.ts +15 -0
- package/types/cards/src/core/scenarios/ultron.d.ts +44 -0
- package/types/cards/src/core/setup.d.ts +120 -0
- package/types/cards/src/dsl/abilities.d.ts +4989 -0
- package/types/cards/src/dsl/effects.d.ts +2579 -0
- package/types/cards/src/dsl/engine-only-features.d.ts +14 -0
- package/types/cards/src/dsl/extra-encounter-deck.d.ts +29 -0
- package/types/cards/src/dsl/index.d.ts +11 -0
- package/types/cards/src/dsl/validate.d.ts +44 -0
- package/types/cards/src/dsl/values.d.ts +1479 -0
- package/types/cards/src/index.d.ts +48 -0
- package/types/cards/src/main-scheme-stages.d.ts +81 -0
- package/types/cards/src/modular-pool.d.ts +108 -0
- package/types/cards/src/playable/community-decks.d.ts +66 -0
- package/types/cards/src/playable/custom.d.ts +56 -0
- package/types/cards/src/playable/index.d.ts +28 -0
- package/types/cards/src/playable/random-civil-war.d.ts +38 -0
- package/types/cards/src/playable/scenario-options.d.ts +260 -0
- package/types/cards/src/playable/unscripted.d.ts +27 -0
- package/types/cards/src/testing/driver.d.ts +23 -0
- package/types/cards/src/testing/index.d.ts +6 -0
- package/types/cards/src/wave1/bkw/kit.d.ts +23 -0
- package/types/cards/src/wave1/bkw/local.d.ts +64 -0
- package/types/cards/src/wave1/bkw/nemesis.d.ts +15 -0
- package/types/cards/src/wave1/bkw/obligation.d.ts +5 -0
- package/types/cards/src/wave1/bkw/pack-cards.d.ts +23 -0
- package/types/cards/src/wave1/bkw/pack.d.ts +11 -0
- package/types/cards/src/wave1/cap/kit.d.ts +29 -0
- package/types/cards/src/wave1/cap/nemesis.d.ts +10 -0
- package/types/cards/src/wave1/cap/obligation.d.ts +8 -0
- package/types/cards/src/wave1/cap/pack-cards.d.ts +11 -0
- package/types/cards/src/wave1/cap/pack.d.ts +5 -0
- package/types/cards/src/wave1/drs/kit.d.ts +70 -0
- package/types/cards/src/wave1/drs/local.d.ts +58 -0
- package/types/cards/src/wave1/drs/nemesis.d.ts +12 -0
- package/types/cards/src/wave1/drs/obligation.d.ts +19 -0
- package/types/cards/src/wave1/drs/pack-cards.d.ts +42 -0
- package/types/cards/src/wave1/drs/pack.d.ts +14 -0
- package/types/cards/src/wave1/gob/a-mess-of-things.d.ts +12 -0
- package/types/cards/src/wave1/gob/goblin-gimmicks.d.ts +18 -0
- package/types/cards/src/wave1/gob/local.d.ts +113 -0
- package/types/cards/src/wave1/gob/mutagen-formula.d.ts +41 -0
- package/types/cards/src/wave1/gob/pack.d.ts +9 -0
- package/types/cards/src/wave1/gob/power-drain.d.ts +31 -0
- package/types/cards/src/wave1/gob/risky-business.d.ts +39 -0
- package/types/cards/src/wave1/gob/running-interference.d.ts +16 -0
- package/types/cards/src/wave1/hlk/kit.d.ts +33 -0
- package/types/cards/src/wave1/hlk/local.d.ts +47 -0
- package/types/cards/src/wave1/hlk/nemesis.d.ts +11 -0
- package/types/cards/src/wave1/hlk/obligation.d.ts +10 -0
- package/types/cards/src/wave1/hlk/pack-cards.d.ts +22 -0
- package/types/cards/src/wave1/hlk/pack.d.ts +12 -0
- package/types/cards/src/wave1/index.d.ts +35 -0
- package/types/cards/src/wave1/msm/kit.d.ts +34 -0
- package/types/cards/src/wave1/msm/nemesis.d.ts +11 -0
- package/types/cards/src/wave1/msm/obligation.d.ts +8 -0
- package/types/cards/src/wave1/msm/pack-cards.d.ts +22 -0
- package/types/cards/src/wave1/msm/pack.d.ts +5 -0
- package/types/cards/src/wave1/names.d.ts +9 -0
- package/types/cards/src/wave1/reprints.d.ts +34 -0
- package/types/cards/src/wave1/setup.d.ts +57 -0
- package/types/cards/src/wave1/thor/kit.d.ts +19 -0
- package/types/cards/src/wave1/thor/local.d.ts +31 -0
- package/types/cards/src/wave1/thor/nemesis.d.ts +10 -0
- package/types/cards/src/wave1/thor/obligation.d.ts +14 -0
- package/types/cards/src/wave1/thor/pack-cards.d.ts +22 -0
- package/types/cards/src/wave1/thor/pack.d.ts +12 -0
- package/types/cards/src/wave1/twc/breakout.d.ts +12 -0
- package/types/cards/src/wave1/twc/bulldozer.d.ts +32 -0
- package/types/cards/src/wave1/twc/local.d.ts +81 -0
- package/types/cards/src/wave1/twc/pack.d.ts +8 -0
- package/types/cards/src/wave1/twc/piledriver.d.ts +26 -0
- package/types/cards/src/wave1/twc/thunderball.d.ts +41 -0
- package/types/cards/src/wave1/twc/wrecker.d.ts +35 -0
- package/types/cards/src/wave10/card-groups.d.ts +16 -0
- package/types/cards/src/wave10/cards.d.ts +8 -0
- package/types/cards/src/wave10/cw/aspect-basic/aggression.d.ts +42 -0
- package/types/cards/src/wave10/cw/aspect-basic/basic.d.ts +30 -0
- package/types/cards/src/wave10/cw/aspect-basic/protection.d.ts +42 -0
- package/types/cards/src/wave10/cw/competitive/leader-cards.d.ts +49 -0
- package/types/cards/src/wave10/cw/competitive/standard-pvp.d.ts +27 -0
- package/types/cards/src/wave10/cw/hulkling/events.d.ts +33 -0
- package/types/cards/src/wave10/cw/hulkling/identity.d.ts +29 -0
- package/types/cards/src/wave10/cw/hulkling/obligation-nemesis.d.ts +48 -0
- package/types/cards/src/wave10/cw/hulkling/support-upgrades-allies.d.ts +37 -0
- package/types/cards/src/wave10/cw/leaders/captain-america.d.ts +37 -0
- package/types/cards/src/wave10/cw/leaders/captain-marvel.d.ts +35 -0
- package/types/cards/src/wave10/cw/leaders/iron-man.d.ts +39 -0
- package/types/cards/src/wave10/cw/leaders/spider-woman.d.ts +39 -0
- package/types/cards/src/wave10/cw/main-schemes/registration.d.ts +26 -0
- package/types/cards/src/wave10/cw/main-schemes/resistance.d.ts +26 -0
- package/types/cards/src/wave10/cw/modular/atlanteans.d.ts +22 -0
- package/types/cards/src/wave10/cw/modular/cape-killer.d.ts +49 -0
- package/types/cards/src/wave10/cw/modular/cloak-and-dagger.d.ts +34 -0
- package/types/cards/src/wave10/cw/modular/dangerous-recruits.d.ts +33 -0
- package/types/cards/src/wave10/cw/modular/defenders.d.ts +31 -0
- package/types/cards/src/wave10/cw/modular/hells-kitchen.d.ts +34 -0
- package/types/cards/src/wave10/cw/modular/heroes-for-hire.d.ts +36 -0
- package/types/cards/src/wave10/cw/modular/maria-hill.d.ts +35 -0
- package/types/cards/src/wave10/cw/modular/martial-law.d.ts +23 -0
- package/types/cards/src/wave10/cw/modular/mighty-avengers.d.ts +33 -0
- package/types/cards/src/wave10/cw/modular/namor.d.ts +30 -0
- package/types/cards/src/wave10/cw/modular/new-avengers.d.ts +43 -0
- package/types/cards/src/wave10/cw/modular/paladin.d.ts +25 -0
- package/types/cards/src/wave10/cw/modular/secret-avengers.d.ts +34 -0
- package/types/cards/src/wave10/cw/modular/spider-man.d.ts +36 -0
- package/types/cards/src/wave10/cw/modular/the-initiative.d.ts +35 -0
- package/types/cards/src/wave10/cw/pack.d.ts +10 -0
- package/types/cards/src/wave10/cw/tigra/events.d.ts +25 -0
- package/types/cards/src/wave10/cw/tigra/identity.d.ts +27 -0
- package/types/cards/src/wave10/cw/tigra/obligation-nemesis.d.ts +36 -0
- package/types/cards/src/wave10/cw/tigra/support-upgrades-allies.d.ts +48 -0
- package/types/cards/src/wave10/hercules/all-versus-all.d.ts +35 -0
- package/types/cards/src/wave10/hercules/basic.d.ts +4 -0
- package/types/cards/src/wave10/hercules/hercules/events.d.ts +30 -0
- package/types/cards/src/wave10/hercules/hercules/gift-labor.d.ts +54 -0
- package/types/cards/src/wave10/hercules/hercules/identity.d.ts +39 -0
- package/types/cards/src/wave10/hercules/hercules/obligation-nemesis.d.ts +43 -0
- package/types/cards/src/wave10/hercules/hercules/support-upgrades-allies.d.ts +55 -0
- package/types/cards/src/wave10/hercules/leadership.d.ts +42 -0
- package/types/cards/src/wave10/hercules/pack.d.ts +8 -0
- package/types/cards/src/wave10/index.d.ts +35 -0
- package/types/cards/src/wave10/modules.d.ts +20 -0
- package/types/cards/src/wave10/setup.d.ts +67 -0
- package/types/cards/src/wave10/synthezoid/competitive/leader-cards.d.ts +22 -0
- package/types/cards/src/wave10/synthezoid/competitive/standard-pvp.d.ts +27 -0
- package/types/cards/src/wave10/synthezoid/leaders/she-hulk.d.ts +28 -0
- package/types/cards/src/wave10/synthezoid/leaders/vision.d.ts +39 -0
- package/types/cards/src/wave10/synthezoid/main-schemes/registration.d.ts +19 -0
- package/types/cards/src/wave10/synthezoid/main-schemes/resistance.d.ts +19 -0
- package/types/cards/src/wave10/synthezoid/modular/deadly-duo.d.ts +33 -0
- package/types/cards/src/wave10/synthezoid/modular/moon-knight.d.ts +36 -0
- package/types/cards/src/wave10/synthezoid/modular/royal-guard.d.ts +31 -0
- package/types/cards/src/wave10/synthezoid/modular/scarlet-twins.d.ts +31 -0
- package/types/cards/src/wave10/synthezoid/modular/shield-ops.d.ts +27 -0
- package/types/cards/src/wave10/synthezoid/modular/taskmaster.d.ts +36 -0
- package/types/cards/src/wave10/synthezoid/modular/thunderbolts.d.ts +31 -0
- package/types/cards/src/wave10/synthezoid/modular/young-avengers.d.ts +29 -0
- package/types/cards/src/wave10/synthezoid/pack.d.ts +9 -0
- package/types/cards/src/wave10/wonder_man/basic.d.ts +4 -0
- package/types/cards/src/wave10/wonder_man/justice.d.ts +58 -0
- package/types/cards/src/wave10/wonder_man/other-aspects.d.ts +74 -0
- package/types/cards/src/wave10/wonder_man/pack.d.ts +8 -0
- package/types/cards/src/wave10/wonder_man/wonder-man/events.d.ts +42 -0
- package/types/cards/src/wave10/wonder_man/wonder-man/identity.d.ts +45 -0
- package/types/cards/src/wave10/wonder_man/wonder-man/obligation-nemesis.d.ts +37 -0
- package/types/cards/src/wave10/wonder_man/wonder-man/support-upgrades-allies.d.ts +49 -0
- package/types/cards/src/wave11/card-groups.d.ts +15 -0
- package/types/cards/src/wave11/cards.d.ts +8 -0
- package/types/cards/src/wave11/elektra/aggression.d.ts +29 -0
- package/types/cards/src/wave11/elektra/basic.d.ts +23 -0
- package/types/cards/src/wave11/elektra/elektra/events.d.ts +26 -0
- package/types/cards/src/wave11/elektra/elektra/identity.d.ts +26 -0
- package/types/cards/src/wave11/elektra/elektra/ninja-deck.d.ts +4 -0
- package/types/cards/src/wave11/elektra/elektra/obligation-nemesis.d.ts +28 -0
- package/types/cards/src/wave11/elektra/elektra/support-upgrades-allies.d.ts +51 -0
- package/types/cards/src/wave11/elektra/justice.d.ts +4 -0
- package/types/cards/src/wave11/elektra/leadership.d.ts +13 -0
- package/types/cards/src/wave11/elektra/pack.d.ts +12 -0
- package/types/cards/src/wave11/elektra/protection.d.ts +22 -0
- package/types/cards/src/wave11/fne/aspect-basic/basic.d.ts +27 -0
- package/types/cards/src/wave11/fne/aspect-basic/justice.d.ts +55 -0
- package/types/cards/src/wave11/fne/aspect-basic/protection.d.ts +41 -0
- package/types/cards/src/wave11/fne/campaign/environments.d.ts +43 -0
- package/types/cards/src/wave11/fne/campaign/typhoid-mary-ally.d.ts +22 -0
- package/types/cards/src/wave11/fne/daredevil/events.d.ts +32 -0
- package/types/cards/src/wave11/fne/daredevil/identity.d.ts +27 -0
- package/types/cards/src/wave11/fne/daredevil/obligation-nemesis.d.ts +32 -0
- package/types/cards/src/wave11/fne/daredevil/sense-deck.d.ts +4 -0
- package/types/cards/src/wave11/fne/daredevil/support-upgrades-allies.d.ts +45 -0
- package/types/cards/src/wave11/fne/echo/events.d.ts +29 -0
- package/types/cards/src/wave11/fne/echo/identity.d.ts +28 -0
- package/types/cards/src/wave11/fne/echo/obligation-nemesis.d.ts +25 -0
- package/types/cards/src/wave11/fne/echo/support-upgrades-allies.d.ts +44 -0
- package/types/cards/src/wave11/fne/modular/cops.d.ts +26 -0
- package/types/cards/src/wave11/fne/modular/disasters.d.ts +22 -0
- package/types/cards/src/wave11/fne/modular/drive.d.ts +25 -0
- package/types/cards/src/wave11/fne/modular/the-owl.d.ts +29 -0
- package/types/cards/src/wave11/fne/modular/tombstone.d.ts +28 -0
- package/types/cards/src/wave11/fne/modular/tracksuit-mafia.d.ts +27 -0
- package/types/cards/src/wave11/fne/pack.d.ts +9 -0
- package/types/cards/src/wave11/fne/scenarios/art-museum-heist.d.ts +35 -0
- package/types/cards/src/wave11/fne/scenarios/kingpin.d.ts +68 -0
- package/types/cards/src/wave11/fne/scenarios/protection-racket.d.ts +47 -0
- package/types/cards/src/wave11/fne/scenarios/stop-the-presses.d.ts +46 -0
- package/types/cards/src/wave11/fne/scenarios/the-getaway.d.ts +39 -0
- package/types/cards/src/wave11/fne/scenarios/the-raft-breakout.d.ts +46 -0
- package/types/cards/src/wave11/fne/villains/bullseye.d.ts +19 -0
- package/types/cards/src/wave11/fne/villains/electro.d.ts +38 -0
- package/types/cards/src/wave11/fne/villains/hammerhead.d.ts +39 -0
- package/types/cards/src/wave11/fne/villains/purple-man.d.ts +32 -0
- package/types/cards/src/wave11/fne/villains/typhoid-mary.d.ts +32 -0
- package/types/cards/src/wave11/index.d.ts +32 -0
- package/types/cards/src/wave11/iron_fist/aggression.d.ts +14 -0
- package/types/cards/src/wave11/iron_fist/basic.d.ts +39 -0
- package/types/cards/src/wave11/iron_fist/iron-fist/chi.d.ts +12 -0
- package/types/cards/src/wave11/iron_fist/iron-fist/events.d.ts +29 -0
- package/types/cards/src/wave11/iron_fist/iron-fist/identity.d.ts +28 -0
- package/types/cards/src/wave11/iron_fist/iron-fist/obligation-nemesis.d.ts +38 -0
- package/types/cards/src/wave11/iron_fist/iron-fist/support-upgrades-allies.d.ts +26 -0
- package/types/cards/src/wave11/iron_fist/leadership.d.ts +26 -0
- package/types/cards/src/wave11/iron_fist/pack.d.ts +12 -0
- package/types/cards/src/wave11/iron_fist/protection.d.ts +53 -0
- package/types/cards/src/wave11/jj/basic.d.ts +35 -0
- package/types/cards/src/wave11/jj/jessica-jones/events.d.ts +22 -0
- package/types/cards/src/wave11/jj/jessica-jones/identity.d.ts +36 -0
- package/types/cards/src/wave11/jj/jessica-jones/obligation-nemesis.d.ts +4 -0
- package/types/cards/src/wave11/jj/jessica-jones/support-upgrades-allies.d.ts +29 -0
- package/types/cards/src/wave11/jj/justice.d.ts +35 -0
- package/types/cards/src/wave11/jj/other-aspects.d.ts +27 -0
- package/types/cards/src/wave11/jj/pack.d.ts +8 -0
- package/types/cards/src/wave11/luke_cage/leadership.d.ts +32 -0
- package/types/cards/src/wave11/luke_cage/luke-cage/events.d.ts +27 -0
- package/types/cards/src/wave11/luke_cage/luke-cage/identity.d.ts +23 -0
- package/types/cards/src/wave11/luke_cage/luke-cage/obligation-nemesis.d.ts +42 -0
- package/types/cards/src/wave11/luke_cage/luke-cage/support-upgrades-allies.d.ts +29 -0
- package/types/cards/src/wave11/luke_cage/other-aspects-basic.d.ts +41 -0
- package/types/cards/src/wave11/luke_cage/pack.d.ts +8 -0
- package/types/cards/src/wave11/modules.d.ts +22 -0
- package/types/cards/src/wave11/setup.d.ts +89 -0
- package/types/cards/src/wave11/shadowland/black-flower.d.ts +4 -0
- package/types/cards/src/wave11/shadowland/creeping-corruption.d.ts +48 -0
- package/types/cards/src/wave11/shadowland/dark-protege.d.ts +4 -0
- package/types/cards/src/wave11/shadowland/deadly-contraptions.d.ts +37 -0
- package/types/cards/src/wave11/shadowland/heart-of-shadow.d.ts +4 -0
- package/types/cards/src/wave11/shadowland/ninja-swarm.d.ts +35 -0
- package/types/cards/src/wave11/shadowland/pack.d.ts +9 -0
- package/types/cards/src/wave11/shadowland/shadow-labyrinth.d.ts +56 -0
- package/types/cards/src/wave11/shadowland/shadows-in-the-night.d.ts +14 -0
- package/types/cards/src/wave2/ant/kit.d.ts +28 -0
- package/types/cards/src/wave2/ant/obligation-nemesis.d.ts +38 -0
- package/types/cards/src/wave2/ant/pack-cards.d.ts +42 -0
- package/types/cards/src/wave2/ant/pack.d.ts +11 -0
- package/types/cards/src/wave2/index.d.ts +33 -0
- package/types/cards/src/wave2/names.d.ts +9 -0
- package/types/cards/src/wave2/qsv/kit.d.ts +57 -0
- package/types/cards/src/wave2/qsv/obligation-nemesis.d.ts +21 -0
- package/types/cards/src/wave2/qsv/pack-cards.d.ts +40 -0
- package/types/cards/src/wave2/qsv/pack.d.ts +10 -0
- package/types/cards/src/wave2/reprints.d.ts +41 -0
- package/types/cards/src/wave2/scw/kit.d.ts +74 -0
- package/types/cards/src/wave2/scw/obligation-nemesis.d.ts +56 -0
- package/types/cards/src/wave2/scw/pack-cards.d.ts +48 -0
- package/types/cards/src/wave2/scw/pack.d.ts +10 -0
- package/types/cards/src/wave2/setup.d.ts +34 -0
- package/types/cards/src/wave2/toafk/kang-encounter-set.d.ts +114 -0
- package/types/cards/src/wave2/toafk/kang.d.ts +109 -0
- package/types/cards/src/wave2/toafk/pack.d.ts +11 -0
- package/types/cards/src/wave2/trors/absorbing-man.d.ts +66 -0
- package/types/cards/src/wave2/trors/campaign-cards.d.ts +34 -0
- package/types/cards/src/wave2/trors/crossbones.d.ts +63 -0
- package/types/cards/src/wave2/trors/hawkeye-kit.d.ts +34 -0
- package/types/cards/src/wave2/trors/hawkeye-obligation-nemesis.d.ts +36 -0
- package/types/cards/src/wave2/trors/pack.d.ts +11 -0
- package/types/cards/src/wave2/trors/red-skull.d.ts +79 -0
- package/types/cards/src/wave2/trors/spider-woman-kit.d.ts +29 -0
- package/types/cards/src/wave2/trors/spider-woman-obligation-nemesis.d.ts +12 -0
- package/types/cards/src/wave2/trors/taskmaster.d.ts +44 -0
- package/types/cards/src/wave2/trors/zola.d.ts +38 -0
- package/types/cards/src/wave2/wsp/kit.d.ts +52 -0
- package/types/cards/src/wave2/wsp/obligation-nemesis.d.ts +12 -0
- package/types/cards/src/wave2/wsp/pack-cards.d.ts +29 -0
- package/types/cards/src/wave2/wsp/pack.d.ts +11 -0
- package/types/cards/src/wave3/cards.d.ts +14 -0
- package/types/cards/src/wave3/drax/drax-kit.d.ts +42 -0
- package/types/cards/src/wave3/drax/drax-obligation-nemesis.d.ts +15 -0
- package/types/cards/src/wave3/drax/drax-pack-cards.d.ts +22 -0
- package/types/cards/src/wave3/drax/pack.d.ts +7 -0
- package/types/cards/src/wave3/gam/gamora-kit.d.ts +44 -0
- package/types/cards/src/wave3/gam/gamora-obligation-nemesis.d.ts +14 -0
- package/types/cards/src/wave3/gam/pack.d.ts +7 -0
- package/types/cards/src/wave3/gmw/badoon-headhunter.d.ts +19 -0
- package/types/cards/src/wave3/gmw/badoon.d.ts +31 -0
- package/types/cards/src/wave3/gmw/campaign-challenge.d.ts +27 -0
- package/types/cards/src/wave3/gmw/escape-the-museum.d.ts +23 -0
- package/types/cards/src/wave3/gmw/galactic-artifacts.d.ts +40 -0
- package/types/cards/src/wave3/gmw/groot-kit.d.ts +38 -0
- package/types/cards/src/wave3/gmw/groot-obligation-nemesis.d.ts +10 -0
- package/types/cards/src/wave3/gmw/market.d.ts +61 -0
- package/types/cards/src/wave3/gmw/museum.d.ts +23 -0
- package/types/cards/src/wave3/gmw/nebula.d.ts +42 -0
- package/types/cards/src/wave3/gmw/pack.d.ts +7 -0
- package/types/cards/src/wave3/gmw/rocket-kit.d.ts +39 -0
- package/types/cards/src/wave3/gmw/rocket-obligation-nemesis.d.ts +5 -0
- package/types/cards/src/wave3/gmw/ronan.d.ts +31 -0
- package/types/cards/src/wave3/gmw/ruthless.d.ts +22 -0
- package/types/cards/src/wave3/gmw/ship-command.d.ts +21 -0
- package/types/cards/src/wave3/index.d.ts +29 -0
- package/types/cards/src/wave3/names.d.ts +9 -0
- package/types/cards/src/wave3/reprints.d.ts +52 -0
- package/types/cards/src/wave3/ron/kree-fanatic.d.ts +31 -0
- package/types/cards/src/wave3/ron/pack.d.ts +7 -0
- package/types/cards/src/wave3/setup.d.ts +19 -0
- package/types/cards/src/wave3/stld/pack.d.ts +7 -0
- package/types/cards/src/wave3/stld/star-lord-kit.d.ts +71 -0
- package/types/cards/src/wave3/stld/star-lord-obligation-nemesis.d.ts +10 -0
- package/types/cards/src/wave3/vnm/pack.d.ts +8 -0
- package/types/cards/src/wave3/vnm/venom-kit.d.ts +65 -0
- package/types/cards/src/wave3/vnm/venom-obligation-nemesis.d.ts +41 -0
- package/types/cards/src/wave4/cards.d.ts +22 -0
- package/types/cards/src/wave4/hood/beasty-boys.d.ts +17 -0
- package/types/cards/src/wave4/hood/brothers-grimm.d.ts +8 -0
- package/types/cards/src/wave4/hood/crossfire-crew.d.ts +11 -0
- package/types/cards/src/wave4/hood/hood.d.ts +26 -0
- package/types/cards/src/wave4/hood/mister-hyde.d.ts +8 -0
- package/types/cards/src/wave4/hood/pack.d.ts +9 -0
- package/types/cards/src/wave4/hood/ransacked-armory.d.ts +11 -0
- package/types/cards/src/wave4/hood/sinister-syndicate.d.ts +15 -0
- package/types/cards/src/wave4/hood/standard-expert-ii.d.ts +18 -0
- package/types/cards/src/wave4/hood/state-of-emergency.d.ts +20 -0
- package/types/cards/src/wave4/hood/streets-of-mayhem.d.ts +11 -0
- package/types/cards/src/wave4/hood/wrecking-crew.d.ts +9 -0
- package/types/cards/src/wave4/index.d.ts +21 -0
- package/types/cards/src/wave4/mts/adam-warlock-kit.d.ts +28 -0
- package/types/cards/src/wave4/mts/adam-warlock-obligation-nemesis.d.ts +13 -0
- package/types/cards/src/wave4/mts/adam-warlock-pack-cards.d.ts +40 -0
- package/types/cards/src/wave4/mts/children-of-thanos.d.ts +16 -0
- package/types/cards/src/wave4/mts/ebony-maw.d.ts +38 -0
- package/types/cards/src/wave4/mts/enchantress.d.ts +7 -0
- package/types/cards/src/wave4/mts/frost-giants.d.ts +14 -0
- package/types/cards/src/wave4/mts/hela.d.ts +40 -0
- package/types/cards/src/wave4/mts/infinity-gauntlet.d.ts +9 -0
- package/types/cards/src/wave4/mts/legions-of-hel.d.ts +7 -0
- package/types/cards/src/wave4/mts/loki.d.ts +29 -0
- package/types/cards/src/wave4/mts/mts-campaign-cards.d.ts +30 -0
- package/types/cards/src/wave4/mts/pack.d.ts +12 -0
- package/types/cards/src/wave4/mts/spectrum-kit.d.ts +27 -0
- package/types/cards/src/wave4/mts/spectrum-obligation-nemesis.d.ts +15 -0
- package/types/cards/src/wave4/mts/spectrum-pack-cards.d.ts +25 -0
- package/types/cards/src/wave4/mts/thanos.d.ts +25 -0
- package/types/cards/src/wave4/mts/tower-defense.d.ts +75 -0
- package/types/cards/src/wave4/names.d.ts +9 -0
- package/types/cards/src/wave4/nebu/nebula-kit.d.ts +42 -0
- package/types/cards/src/wave4/nebu/nebula-obligation-nemesis.d.ts +13 -0
- package/types/cards/src/wave4/nebu/nebula-pack-cards.d.ts +31 -0
- package/types/cards/src/wave4/nebu/pack.d.ts +7 -0
- package/types/cards/src/wave4/reprints.d.ts +17 -0
- package/types/cards/src/wave4/setup.d.ts +27 -0
- package/types/cards/src/wave4/valk/pack.d.ts +7 -0
- package/types/cards/src/wave4/valk/valkyrie-kit.d.ts +23 -0
- package/types/cards/src/wave4/valk/valkyrie-obligation-nemesis.d.ts +16 -0
- package/types/cards/src/wave4/valk/valkyrie-pack-cards.d.ts +24 -0
- package/types/cards/src/wave4/vision/pack.d.ts +8 -0
- package/types/cards/src/wave4/vision/vision-kit.d.ts +47 -0
- package/types/cards/src/wave4/vision/vision-obligation-nemesis.d.ts +18 -0
- package/types/cards/src/wave4/vision/vision-pack-cards.d.ts +26 -0
- package/types/cards/src/wave4/warm/pack.d.ts +7 -0
- package/types/cards/src/wave4/warm/war-machine-kit.d.ts +31 -0
- package/types/cards/src/wave4/warm/war-machine-obligation-nemesis.d.ts +11 -0
- package/types/cards/src/wave4/warm/war-machine-pack-cards.d.ts +29 -0
- package/types/cards/src/wave5/cards.d.ts +17 -0
- package/types/cards/src/wave5/index.d.ts +18 -0
- package/types/cards/src/wave5/ironheart/allies.d.ts +77 -0
- package/types/cards/src/wave5/ironheart/events.d.ts +11 -0
- package/types/cards/src/wave5/ironheart/identity.d.ts +9 -0
- package/types/cards/src/wave5/ironheart/obligation-nemesis.d.ts +10 -0
- package/types/cards/src/wave5/ironheart/pack.d.ts +11 -0
- package/types/cards/src/wave5/ironheart/support-upgrades.d.ts +67 -0
- package/types/cards/src/wave5/ironheart/zzzax.d.ts +13 -0
- package/types/cards/src/wave5/nova/armadillo.d.ts +17 -0
- package/types/cards/src/wave5/nova/events.d.ts +91 -0
- package/types/cards/src/wave5/nova/identity.d.ts +4 -0
- package/types/cards/src/wave5/nova/obligation-nemesis.d.ts +103 -0
- package/types/cards/src/wave5/nova/pack.d.ts +10 -0
- package/types/cards/src/wave5/nova/support-upgrades-allies.d.ts +136 -0
- package/types/cards/src/wave5/setup.d.ts +35 -0
- package/types/cards/src/wave5/silk/quick-quip.d.ts +14 -0
- package/types/cards/src/wave5/sm/basic-cards.d.ts +4 -0
- package/types/cards/src/wave5/sm/campaign/encounter.d.ts +14 -0
- package/types/cards/src/wave5/sm/campaign/shield-tech.d.ts +108 -0
- package/types/cards/src/wave5/sm/ghost-spider/events-a.d.ts +54 -0
- package/types/cards/src/wave5/sm/ghost-spider/events-b.d.ts +8 -0
- package/types/cards/src/wave5/sm/ghost-spider/identity.d.ts +7 -0
- package/types/cards/src/wave5/sm/ghost-spider/index.d.ts +20 -0
- package/types/cards/src/wave5/sm/ghost-spider/obligation-nemesis.d.ts +59 -0
- package/types/cards/src/wave5/sm/ghost-spider/support-upgrades-allies.d.ts +75 -0
- package/types/cards/src/wave5/sm/modulars/down-to-earth.d.ts +35 -0
- package/types/cards/src/wave5/sm/modulars/goblin-gear.d.ts +18 -0
- package/types/cards/src/wave5/sm/modulars/index.d.ts +7 -0
- package/types/cards/src/wave5/sm/modulars/osborn-tech.d.ts +29 -0
- package/types/cards/src/wave5/sm/modulars/sinister-assault.d.ts +23 -0
- package/types/cards/src/wave5/sm/modulars/whispers-of-paranoia.d.ts +51 -0
- package/types/cards/src/wave5/sm/mysterio/encounter-set.d.ts +14 -0
- package/types/cards/src/wave5/sm/mysterio/index.d.ts +10 -0
- package/types/cards/src/wave5/sm/mysterio/main-scheme.d.ts +6 -0
- package/types/cards/src/wave5/sm/mysterio/personal-nightmare.d.ts +9 -0
- package/types/cards/src/wave5/sm/mysterio/villain.d.ts +7 -0
- package/types/cards/src/wave5/sm/pack.d.ts +9 -0
- package/types/cards/src/wave5/sm/sandman/city-in-chaos.d.ts +12 -0
- package/types/cards/src/wave5/sm/sandman/encounter-set.d.ts +22 -0
- package/types/cards/src/wave5/sm/sandman/index.d.ts +8 -0
- package/types/cards/src/wave5/sm/sandman/main-scheme.d.ts +8 -0
- package/types/cards/src/wave5/sm/sandman/villain.d.ts +7 -0
- package/types/cards/src/wave5/sm/sinister-six/encounter-attachments.d.ts +11 -0
- package/types/cards/src/wave5/sm/sinister-six/guerrilla-tactics.d.ts +21 -0
- package/types/cards/src/wave5/sm/sinister-six/index.d.ts +8 -0
- package/types/cards/src/wave5/sm/sinister-six/main-scheme.d.ts +14 -0
- package/types/cards/src/wave5/sm/sinister-six/scenario-cards.d.ts +23 -0
- package/types/cards/src/wave5/sm/sinister-six/treacheries.d.ts +12 -0
- package/types/cards/src/wave5/sm/sinister-six/villains.d.ts +45 -0
- package/types/cards/src/wave5/sm/spider-man-morales/events.d.ts +64 -0
- package/types/cards/src/wave5/sm/spider-man-morales/identity.d.ts +34 -0
- package/types/cards/src/wave5/sm/spider-man-morales/index.d.ts +11 -0
- package/types/cards/src/wave5/sm/spider-man-morales/obligation-nemesis.d.ts +42 -0
- package/types/cards/src/wave5/sm/spider-man-morales/precon-player-cards.d.ts +61 -0
- package/types/cards/src/wave5/sm/spider-man-morales/support-upgrades-allies.d.ts +53 -0
- package/types/cards/src/wave5/sm/venom/encounter-set.d.ts +27 -0
- package/types/cards/src/wave5/sm/venom/index.d.ts +9 -0
- package/types/cards/src/wave5/sm/venom/main-scheme.d.ts +8 -0
- package/types/cards/src/wave5/sm/venom/symbiotic-strength.d.ts +16 -0
- package/types/cards/src/wave5/sm/venom/villain.d.ts +7 -0
- package/types/cards/src/wave5/sm/venom-goblin/encounter-set.d.ts +19 -0
- package/types/cards/src/wave5/sm/venom-goblin/index.d.ts +8 -0
- package/types/cards/src/wave5/sm/venom-goblin/main-scheme.d.ts +36 -0
- package/types/cards/src/wave5/sm/venom-goblin/villain.d.ts +7 -0
- package/types/cards/src/wave5/spdr/allies.d.ts +83 -0
- package/types/cards/src/wave5/spdr/events.d.ts +64 -0
- package/types/cards/src/wave5/spdr/identity.d.ts +9 -0
- package/types/cards/src/wave5/spdr/obligation-nemesis.d.ts +7 -0
- package/types/cards/src/wave5/spdr/pack.d.ts +8 -0
- package/types/cards/src/wave5/spdr/sinister-syndicate.d.ts +22 -0
- package/types/cards/src/wave5/spdr/support-upgrades.d.ts +120 -0
- package/types/cards/src/wave5/spiderham/allies.d.ts +78 -0
- package/types/cards/src/wave5/spiderham/events.d.ts +78 -0
- package/types/cards/src/wave5/spiderham/identity.d.ts +40 -0
- package/types/cards/src/wave5/spiderham/inheritors.d.ts +27 -0
- package/types/cards/src/wave5/spiderham/obligation-nemesis.d.ts +7 -0
- package/types/cards/src/wave5/spiderham/pack.d.ts +8 -0
- package/types/cards/src/wave5/spiderham/support-upgrades.d.ts +105 -0
- package/types/cards/src/wave6/cards.d.ts +8 -0
- package/types/cards/src/wave6/cyclops/cyclops/events.d.ts +18 -0
- package/types/cards/src/wave6/cyclops/cyclops/identity.d.ts +20 -0
- package/types/cards/src/wave6/cyclops/cyclops/index.d.ts +6 -0
- package/types/cards/src/wave6/cyclops/cyclops/obligation-nemesis.d.ts +26 -0
- package/types/cards/src/wave6/cyclops/cyclops/support-upgrades-allies.d.ts +56 -0
- package/types/cards/src/wave6/cyclops/pack.d.ts +6 -0
- package/types/cards/src/wave6/cyclops/precon-player-cards.d.ts +16 -0
- package/types/cards/src/wave6/gambit/exodus/index.d.ts +13 -0
- package/types/cards/src/wave6/gambit/gambit/events.d.ts +25 -0
- package/types/cards/src/wave6/gambit/gambit/identity.d.ts +25 -0
- package/types/cards/src/wave6/gambit/gambit/index.d.ts +7 -0
- package/types/cards/src/wave6/gambit/gambit/obligation-nemesis.d.ts +19 -0
- package/types/cards/src/wave6/gambit/gambit/support-upgrades-allies.d.ts +38 -0
- package/types/cards/src/wave6/gambit/pack.d.ts +6 -0
- package/types/cards/src/wave6/index.d.ts +19 -0
- package/types/cards/src/wave6/mojo/crime.d.ts +21 -0
- package/types/cards/src/wave6/mojo/fantasy.d.ts +28 -0
- package/types/cards/src/wave6/mojo/horror.d.ts +14 -0
- package/types/cards/src/wave6/mojo/longshot.d.ts +12 -0
- package/types/cards/src/wave6/mojo/magog.d.ts +41 -0
- package/types/cards/src/wave6/mojo/mojo.d.ts +36 -0
- package/types/cards/src/wave6/mojo/pack.d.ts +7 -0
- package/types/cards/src/wave6/mojo/sci-fi.d.ts +23 -0
- package/types/cards/src/wave6/mojo/sitcom.d.ts +29 -0
- package/types/cards/src/wave6/mojo/spiral.d.ts +34 -0
- package/types/cards/src/wave6/mojo/western.d.ts +28 -0
- package/types/cards/src/wave6/mut_gen/acolytes.d.ts +25 -0
- package/types/cards/src/wave6/mut_gen/brotherhood.d.ts +27 -0
- package/types/cards/src/wave6/mut_gen/campaign-cards.d.ts +33 -0
- package/types/cards/src/wave6/mut_gen/colossus/events.d.ts +25 -0
- package/types/cards/src/wave6/mut_gen/colossus/identity.d.ts +24 -0
- package/types/cards/src/wave6/mut_gen/colossus/index.d.ts +7 -0
- package/types/cards/src/wave6/mut_gen/colossus/obligation-nemesis.d.ts +25 -0
- package/types/cards/src/wave6/mut_gen/colossus/support-upgrades-allies.d.ts +31 -0
- package/types/cards/src/wave6/mut_gen/future-past.d.ts +24 -0
- package/types/cards/src/wave6/mut_gen/magneto.d.ts +64 -0
- package/types/cards/src/wave6/mut_gen/mansion-attack.d.ts +57 -0
- package/types/cards/src/wave6/mut_gen/master-mold.d.ts +32 -0
- package/types/cards/src/wave6/mut_gen/mystique.d.ts +30 -0
- package/types/cards/src/wave6/mut_gen/pack.d.ts +8 -0
- package/types/cards/src/wave6/mut_gen/precon-player-cards.d.ts +36 -0
- package/types/cards/src/wave6/mut_gen/project-wideawake.d.ts +61 -0
- package/types/cards/src/wave6/mut_gen/role-upgrades.d.ts +73 -0
- package/types/cards/src/wave6/mut_gen/sabretooth.d.ts +54 -0
- package/types/cards/src/wave6/mut_gen/sentinels.d.ts +20 -0
- package/types/cards/src/wave6/mut_gen/shadowcat/events.d.ts +27 -0
- package/types/cards/src/wave6/mut_gen/shadowcat/identity.d.ts +29 -0
- package/types/cards/src/wave6/mut_gen/shadowcat/index.d.ts +7 -0
- package/types/cards/src/wave6/mut_gen/shadowcat/obligation-nemesis.d.ts +32 -0
- package/types/cards/src/wave6/mut_gen/shadowcat/support-upgrades-allies.d.ts +36 -0
- package/types/cards/src/wave6/mut_gen/zero-tolerance.d.ts +16 -0
- package/types/cards/src/wave6/phoenix/pack.d.ts +7 -0
- package/types/cards/src/wave6/phoenix/phoenix/events.d.ts +31 -0
- package/types/cards/src/wave6/phoenix/phoenix/identity.d.ts +26 -0
- package/types/cards/src/wave6/phoenix/phoenix/index.d.ts +8 -0
- package/types/cards/src/wave6/phoenix/phoenix/obligation-nemesis.d.ts +26 -0
- package/types/cards/src/wave6/phoenix/phoenix/support-upgrades-allies.d.ts +41 -0
- package/types/cards/src/wave6/phoenix/precon-player-cards.d.ts +9 -0
- package/types/cards/src/wave6/rogue/pack.d.ts +6 -0
- package/types/cards/src/wave6/rogue/reavers/index.d.ts +14 -0
- package/types/cards/src/wave6/rogue/rogue/events.d.ts +33 -0
- package/types/cards/src/wave6/rogue/rogue/identity.d.ts +25 -0
- package/types/cards/src/wave6/rogue/rogue/index.d.ts +7 -0
- package/types/cards/src/wave6/rogue/rogue/obligation-nemesis.d.ts +23 -0
- package/types/cards/src/wave6/rogue/rogue/support-upgrades-allies.d.ts +40 -0
- package/types/cards/src/wave6/setup.d.ts +18 -0
- package/types/cards/src/wave6/storm/pack.d.ts +6 -0
- package/types/cards/src/wave6/storm/shadow-king/index.d.ts +12 -0
- package/types/cards/src/wave6/storm/storm/events.d.ts +26 -0
- package/types/cards/src/wave6/storm/storm/identity.d.ts +24 -0
- package/types/cards/src/wave6/storm/storm/index.d.ts +8 -0
- package/types/cards/src/wave6/storm/storm/obligation-nemesis.d.ts +27 -0
- package/types/cards/src/wave6/storm/storm/support-upgrades-allies.d.ts +49 -0
- package/types/cards/src/wave6/storm/storm/weather.d.ts +24 -0
- package/types/cards/src/wave6/wolv/lady-deathstrike.d.ts +9 -0
- package/types/cards/src/wave6/wolv/pack.d.ts +7 -0
- package/types/cards/src/wave6/wolv/precon-player-cards.d.ts +35 -0
- package/types/cards/src/wave6/wolv/wolverine/events.d.ts +23 -0
- package/types/cards/src/wave6/wolv/wolverine/identity.d.ts +25 -0
- package/types/cards/src/wave6/wolv/wolverine/index.d.ts +8 -0
- package/types/cards/src/wave6/wolv/wolverine/obligation-nemesis.d.ts +20 -0
- package/types/cards/src/wave6/wolv/wolverine/support-upgrades-allies.d.ts +31 -0
- package/types/cards/src/wave7/angel/events.d.ts +25 -0
- package/types/cards/src/wave7/angel/identity.d.ts +16 -0
- package/types/cards/src/wave7/angel/obligation-nemesis.d.ts +19 -0
- package/types/cards/src/wave7/angel/pack-cards.d.ts +15 -0
- package/types/cards/src/wave7/angel/pack.d.ts +6 -0
- package/types/cards/src/wave7/angel/support-upgrades-allies.d.ts +23 -0
- package/types/cards/src/wave7/cards.d.ts +8 -0
- package/types/cards/src/wave7/deadpool/dreadpool.d.ts +2 -0
- package/types/cards/src/wave7/deadpool/events.d.ts +2 -0
- package/types/cards/src/wave7/deadpool/identity.d.ts +17 -0
- package/types/cards/src/wave7/deadpool/obligation-nemesis.d.ts +32 -0
- package/types/cards/src/wave7/deadpool/pack-cards.d.ts +2 -0
- package/types/cards/src/wave7/deadpool/pack.d.ts +6 -0
- package/types/cards/src/wave7/deadpool/support-upgrades-allies.d.ts +20 -0
- package/types/cards/src/wave7/index.d.ts +19 -0
- package/types/cards/src/wave7/next_evol/black-tom-cassidy.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/cable/events.d.ts +16 -0
- package/types/cards/src/wave7/next_evol/cable/identity.d.ts +15 -0
- package/types/cards/src/wave7/next_evol/cable/index.d.ts +3 -0
- package/types/cards/src/wave7/next_evol/cable/obligation-nemesis.d.ts +22 -0
- package/types/cards/src/wave7/next_evol/cable/support-upgrades-allies.d.ts +25 -0
- package/types/cards/src/wave7/next_evol/campaign.d.ts +37 -0
- package/types/cards/src/wave7/next_evol/domino/events.d.ts +18 -0
- package/types/cards/src/wave7/next_evol/domino/identity.d.ts +13 -0
- package/types/cards/src/wave7/next_evol/domino/index.d.ts +3 -0
- package/types/cards/src/wave7/next_evol/domino/obligation-nemesis.d.ts +19 -0
- package/types/cards/src/wave7/next_evol/domino/support-upgrades-allies.d.ts +29 -0
- package/types/cards/src/wave7/next_evol/extreme-measures.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/flight.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/hope-summers.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/juggernaut.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/marauders.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/military-grade.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/mister-sinister.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/morlock-siege.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/mutant-insurrection.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/mutant-slayers.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/nasty-boys.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/on-the-run.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/pack.d.ts +7 -0
- package/types/cards/src/wave7/next_evol/precon-cable-deck.d.ts +46 -0
- package/types/cards/src/wave7/next_evol/precon-domino-deck.d.ts +26 -0
- package/types/cards/src/wave7/next_evol/precon-player-cards.d.ts +6 -0
- package/types/cards/src/wave7/next_evol/stryfe.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/super-strength.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/telepathy.d.ts +2 -0
- package/types/cards/src/wave7/psylocke/events.d.ts +25 -0
- package/types/cards/src/wave7/psylocke/identity.d.ts +17 -0
- package/types/cards/src/wave7/psylocke/obligation-nemesis.d.ts +18 -0
- package/types/cards/src/wave7/psylocke/pack-cards.d.ts +2 -0
- package/types/cards/src/wave7/psylocke/pack.d.ts +6 -0
- package/types/cards/src/wave7/psylocke/support-upgrades-allies.d.ts +29 -0
- package/types/cards/src/wave7/setup.d.ts +14 -0
- package/types/cards/src/wave7/x23/events.d.ts +21 -0
- package/types/cards/src/wave7/x23/identity.d.ts +18 -0
- package/types/cards/src/wave7/x23/obligation-nemesis.d.ts +18 -0
- package/types/cards/src/wave7/x23/pack-cards.d.ts +18 -0
- package/types/cards/src/wave7/x23/pack.d.ts +6 -0
- package/types/cards/src/wave7/x23/support-upgrades-allies.d.ts +22 -0
- package/types/cards/src/wave8/aoa/apocalypse.d.ts +4 -0
- package/types/cards/src/wave8/aoa/aspect-basic.d.ts +90 -0
- package/types/cards/src/wave8/aoa/bishop/events.d.ts +21 -0
- package/types/cards/src/wave8/aoa/bishop/identity.d.ts +23 -0
- package/types/cards/src/wave8/aoa/bishop/index.d.ts +3 -0
- package/types/cards/src/wave8/aoa/bishop/obligation-nemesis.d.ts +34 -0
- package/types/cards/src/wave8/aoa/bishop/support-upgrades-allies.d.ts +32 -0
- package/types/cards/src/wave8/aoa/blue-moon.d.ts +27 -0
- package/types/cards/src/wave8/aoa/campaign/age-of-apocalypse.d.ts +24 -0
- package/types/cards/src/wave8/aoa/campaign/aoa-basic-campaign.d.ts +4 -0
- package/types/cards/src/wave8/aoa/campaign/aoa-campaign.d.ts +23 -0
- package/types/cards/src/wave8/aoa/campaign/aoa-mission.d.ts +4 -0
- package/types/cards/src/wave8/aoa/campaign/index.d.ts +3 -0
- package/types/cards/src/wave8/aoa/campaign/mission-rules.d.ts +113 -0
- package/types/cards/src/wave8/aoa/campaign/overseer.d.ts +4 -0
- package/types/cards/src/wave8/aoa/celestial-tech.d.ts +26 -0
- package/types/cards/src/wave8/aoa/clan-akkaba.d.ts +16 -0
- package/types/cards/src/wave8/aoa/dark-beast.d.ts +31 -0
- package/types/cards/src/wave8/aoa/dark-riders.d.ts +17 -0
- package/types/cards/src/wave8/aoa/dystopian-nightmare.d.ts +15 -0
- package/types/cards/src/wave8/aoa/en-sabah-nur.d.ts +26 -0
- package/types/cards/src/wave8/aoa/four-horsemen.d.ts +4 -0
- package/types/cards/src/wave8/aoa/genosha.d.ts +29 -0
- package/types/cards/src/wave8/aoa/hounds.d.ts +22 -0
- package/types/cards/src/wave8/aoa/infinites.d.ts +41 -0
- package/types/cards/src/wave8/aoa/magik/events.d.ts +28 -0
- package/types/cards/src/wave8/aoa/magik/identity.d.ts +26 -0
- package/types/cards/src/wave8/aoa/magik/index.d.ts +3 -0
- package/types/cards/src/wave8/aoa/magik/obligation-nemesis.d.ts +37 -0
- package/types/cards/src/wave8/aoa/magik/support-upgrades-allies.d.ts +31 -0
- package/types/cards/src/wave8/aoa/pack.d.ts +11 -0
- package/types/cards/src/wave8/aoa/prelates.d.ts +4 -0
- package/types/cards/src/wave8/aoa/savage-land.d.ts +26 -0
- package/types/cards/src/wave8/aoa/setting.d.ts +19 -0
- package/types/cards/src/wave8/aoa/standard-iii.d.ts +30 -0
- package/types/cards/src/wave8/aoa/unus.d.ts +4 -0
- package/types/cards/src/wave8/card-groups.d.ts +6 -0
- package/types/cards/src/wave8/cards.d.ts +9 -0
- package/types/cards/src/wave8/iceman/aspect-basic.d.ts +54 -0
- package/types/cards/src/wave8/iceman/iceman/events.d.ts +28 -0
- package/types/cards/src/wave8/iceman/iceman/identity.d.ts +26 -0
- package/types/cards/src/wave8/iceman/iceman/index.d.ts +3 -0
- package/types/cards/src/wave8/iceman/iceman/obligation-nemesis.d.ts +37 -0
- package/types/cards/src/wave8/iceman/iceman/support-upgrades-allies.d.ts +58 -0
- package/types/cards/src/wave8/iceman/pack.d.ts +7 -0
- package/types/cards/src/wave8/iceman/sauron.d.ts +30 -0
- package/types/cards/src/wave8/index.d.ts +27 -0
- package/types/cards/src/wave8/jubilee/arcade.d.ts +18 -0
- package/types/cards/src/wave8/jubilee/aspect-basic.d.ts +75 -0
- package/types/cards/src/wave8/jubilee/jubilee/events.d.ts +4 -0
- package/types/cards/src/wave8/jubilee/jubilee/identity.d.ts +16 -0
- package/types/cards/src/wave8/jubilee/jubilee/index.d.ts +3 -0
- package/types/cards/src/wave8/jubilee/jubilee/obligation-nemesis.d.ts +38 -0
- package/types/cards/src/wave8/jubilee/jubilee/support-upgrades-allies.d.ts +4 -0
- package/types/cards/src/wave8/jubilee/pack.d.ts +7 -0
- package/types/cards/src/wave8/magneto/aspect-basic.d.ts +68 -0
- package/types/cards/src/wave8/magneto/hellfire.d.ts +4 -0
- package/types/cards/src/wave8/magneto/magneto/events.d.ts +28 -0
- package/types/cards/src/wave8/magneto/magneto/identity.d.ts +31 -0
- package/types/cards/src/wave8/magneto/magneto/index.d.ts +3 -0
- package/types/cards/src/wave8/magneto/magneto/obligation-nemesis.d.ts +41 -0
- package/types/cards/src/wave8/magneto/magneto/support-upgrades-allies.d.ts +41 -0
- package/types/cards/src/wave8/magneto/pack.d.ts +7 -0
- package/types/cards/src/wave8/ncrawler/aspect-basic.d.ts +49 -0
- package/types/cards/src/wave8/ncrawler/crazy-gang.d.ts +26 -0
- package/types/cards/src/wave8/ncrawler/nightcrawler/events.d.ts +36 -0
- package/types/cards/src/wave8/ncrawler/nightcrawler/identity.d.ts +16 -0
- package/types/cards/src/wave8/ncrawler/nightcrawler/index.d.ts +3 -0
- package/types/cards/src/wave8/ncrawler/nightcrawler/obligation-nemesis.d.ts +35 -0
- package/types/cards/src/wave8/ncrawler/nightcrawler/support-upgrades-allies.d.ts +32 -0
- package/types/cards/src/wave8/ncrawler/pack.d.ts +8 -0
- package/types/cards/src/wave8/setup.d.ts +54 -0
- package/types/cards/src/wave9/aos/aim-abduction.d.ts +34 -0
- package/types/cards/src/wave9/aos/aim-science.d.ts +23 -0
- package/types/cards/src/wave9/aos/aspect-basic.d.ts +129 -0
- package/types/cards/src/wave9/aos/baron-zemo.d.ts +50 -0
- package/types/cards/src/wave9/aos/batroc.d.ts +44 -0
- package/types/cards/src/wave9/aos/batrocs-brigade.d.ts +36 -0
- package/types/cards/src/wave9/aos/black-widow.d.ts +42 -0
- package/types/cards/src/wave9/aos/campaign/carryover.d.ts +54 -0
- package/types/cards/src/wave9/aos/campaign/executive-board-evidence.d.ts +53 -0
- package/types/cards/src/wave9/aos/campaign/executive-board.d.ts +71 -0
- package/types/cards/src/wave9/aos/executive-board.d.ts +35 -0
- package/types/cards/src/wave9/aos/gravitational-pull.d.ts +30 -0
- package/types/cards/src/wave9/aos/hard-sound.d.ts +35 -0
- package/types/cards/src/wave9/aos/maria-hill/events.d.ts +41 -0
- package/types/cards/src/wave9/aos/maria-hill/identity.d.ts +30 -0
- package/types/cards/src/wave9/aos/maria-hill/obligation-nemesis.d.ts +38 -0
- package/types/cards/src/wave9/aos/maria-hill/support-upgrades-allies.d.ts +32 -0
- package/types/cards/src/wave9/aos/modok.d.ts +10 -0
- package/types/cards/src/wave9/aos/nick-fury/events.d.ts +21 -0
- package/types/cards/src/wave9/aos/nick-fury/identity.d.ts +23 -0
- package/types/cards/src/wave9/aos/nick-fury/obligation-nemesis.d.ts +33 -0
- package/types/cards/src/wave9/aos/nick-fury/support-upgrades-allies.d.ts +70 -0
- package/types/cards/src/wave9/aos/pack.d.ts +9 -0
- package/types/cards/src/wave9/aos/pale-little-spider.d.ts +29 -0
- package/types/cards/src/wave9/aos/power-of-the-atom.d.ts +31 -0
- package/types/cards/src/wave9/aos/scientist-supreme.d.ts +26 -0
- package/types/cards/src/wave9/aos/shield.d.ts +27 -0
- package/types/cards/src/wave9/aos/supersonic.d.ts +35 -0
- package/types/cards/src/wave9/aos/the-leaper.d.ts +28 -0
- package/types/cards/src/wave9/aos/thunderbolts.d.ts +4 -0
- package/types/cards/src/wave9/bp/aspect-basic.d.ts +93 -0
- package/types/cards/src/wave9/bp/black-panther/events.d.ts +15 -0
- package/types/cards/src/wave9/bp/black-panther/identity.d.ts +30 -0
- package/types/cards/src/wave9/bp/black-panther/obligation-nemesis.d.ts +30 -0
- package/types/cards/src/wave9/bp/black-panther/support-upgrades-allies.d.ts +30 -0
- package/types/cards/src/wave9/bp/extreme-risk.d.ts +30 -0
- package/types/cards/src/wave9/bp/pack.d.ts +8 -0
- package/types/cards/src/wave9/card-groups.d.ts +9 -0
- package/types/cards/src/wave9/cards.d.ts +8 -0
- package/types/cards/src/wave9/falcon/aspect-basic.d.ts +131 -0
- package/types/cards/src/wave9/falcon/falcon/events.d.ts +46 -0
- package/types/cards/src/wave9/falcon/falcon/identity.d.ts +28 -0
- package/types/cards/src/wave9/falcon/falcon/obligation-nemesis.d.ts +34 -0
- package/types/cards/src/wave9/falcon/falcon/support-upgrades-allies.d.ts +75 -0
- package/types/cards/src/wave9/falcon/pack.d.ts +7 -0
- package/types/cards/src/wave9/falcon/techno.d.ts +35 -0
- package/types/cards/src/wave9/index.d.ts +27 -0
- package/types/cards/src/wave9/setup.d.ts +27 -0
- package/types/cards/src/wave9/silk/aspect-basic.d.ts +68 -0
- package/types/cards/src/wave9/silk/growing-strong.d.ts +28 -0
- package/types/cards/src/wave9/silk/pack.d.ts +12 -0
- package/types/cards/src/wave9/silk/silk/events.d.ts +38 -0
- package/types/cards/src/wave9/silk/silk/identity.d.ts +22 -0
- package/types/cards/src/wave9/silk/silk/obligation-nemesis.d.ts +41 -0
- package/types/cards/src/wave9/silk/silk/support-upgrades-allies.d.ts +53 -0
- package/types/cards/src/wave9/tt/aspect-basic.d.ts +25 -0
- package/types/cards/src/wave9/tt/enchantress.d.ts +56 -0
- package/types/cards/src/wave9/tt/god-of-lies.d.ts +56 -0
- package/types/cards/src/wave9/tt/pack.d.ts +8 -0
- package/types/cards/src/wave9/tt/trickster-magic.d.ts +34 -0
- package/types/cards/src/wave9/winter/aspect-basic.d.ts +78 -0
- package/types/cards/src/wave9/winter/pack.d.ts +8 -0
- package/types/cards/src/wave9/winter/whiteout.d.ts +30 -0
- package/types/cards/src/wave9/winter/winter-soldier/events.d.ts +30 -0
- package/types/cards/src/wave9/winter/winter-soldier/identity.d.ts +23 -0
- package/types/cards/src/wave9/winter/winter-soldier/obligation-nemesis.d.ts +36 -0
- package/types/cards/src/wave9/winter/winter-soldier/support-upgrades-allies.d.ts +59 -0
- package/types/content/src/data/angel/cards.d.ts +3 -0
- package/types/content/src/data/angel/encounterSets.d.ts +2 -0
- package/types/content/src/data/angel/index.d.ts +6 -0
- package/types/content/src/data/angel/packs.d.ts +4 -0
- package/types/content/src/data/angel/provenance.d.ts +4 -0
- package/types/content/src/data/angel/scenarios.d.ts +2 -0
- package/types/content/src/data/angel/starterDecks.d.ts +2 -0
- package/types/content/src/data/ant/cards.d.ts +3 -0
- package/types/content/src/data/ant/encounterSets.d.ts +2 -0
- package/types/content/src/data/ant/index.d.ts +6 -0
- package/types/content/src/data/ant/packs.d.ts +4 -0
- package/types/content/src/data/ant/provenance.d.ts +4 -0
- package/types/content/src/data/ant/scenarios.d.ts +2 -0
- package/types/content/src/data/ant/starterDecks.d.ts +2 -0
- package/types/content/src/data/aoa/campaign.d.ts +20 -0
- package/types/content/src/data/aoa/cards.d.ts +3 -0
- package/types/content/src/data/aoa/encounterSets.d.ts +2 -0
- package/types/content/src/data/aoa/index.d.ts +7 -0
- package/types/content/src/data/aoa/packs.d.ts +4 -0
- package/types/content/src/data/aoa/provenance.d.ts +4 -0
- package/types/content/src/data/aoa/scenarios.d.ts +3 -0
- package/types/content/src/data/aoa/starterDecks.d.ts +2 -0
- package/types/content/src/data/aos/campaign.d.ts +55 -0
- package/types/content/src/data/aos/cards.d.ts +3 -0
- package/types/content/src/data/aos/encounterSets.d.ts +2 -0
- package/types/content/src/data/aos/evidence.d.ts +3 -0
- package/types/content/src/data/aos/index.d.ts +9 -0
- package/types/content/src/data/aos/packs.d.ts +4 -0
- package/types/content/src/data/aos/provenance.d.ts +4 -0
- package/types/content/src/data/aos/scenarios.d.ts +3 -0
- package/types/content/src/data/aos/starterDecks.d.ts +2 -0
- package/types/content/src/data/aos/thunderbolts.d.ts +21 -0
- package/types/content/src/data/bkw/cards.d.ts +3 -0
- package/types/content/src/data/bkw/encounterSets.d.ts +2 -0
- package/types/content/src/data/bkw/index.d.ts +6 -0
- package/types/content/src/data/bkw/packs.d.ts +4 -0
- package/types/content/src/data/bkw/provenance.d.ts +4 -0
- package/types/content/src/data/bkw/scenarios.d.ts +2 -0
- package/types/content/src/data/bkw/starterDecks.d.ts +2 -0
- package/types/content/src/data/bp/cards.d.ts +3 -0
- package/types/content/src/data/bp/encounterSets.d.ts +2 -0
- package/types/content/src/data/bp/index.d.ts +6 -0
- package/types/content/src/data/bp/packs.d.ts +4 -0
- package/types/content/src/data/bp/provenance.d.ts +4 -0
- package/types/content/src/data/bp/scenarios.d.ts +2 -0
- package/types/content/src/data/bp/starterDecks.d.ts +2 -0
- package/types/content/src/data/cap/cards.d.ts +3 -0
- package/types/content/src/data/cap/encounterSets.d.ts +2 -0
- package/types/content/src/data/cap/index.d.ts +6 -0
- package/types/content/src/data/cap/packs.d.ts +4 -0
- package/types/content/src/data/cap/provenance.d.ts +4 -0
- package/types/content/src/data/cap/scenarios.d.ts +2 -0
- package/types/content/src/data/cap/starterDecks.d.ts +2 -0
- package/types/content/src/data/catalog-codes.d.ts +35 -0
- package/types/content/src/data/catalog.d.ts +6 -0
- package/types/content/src/data/core/cards.d.ts +3 -0
- package/types/content/src/data/core/encounterSets.d.ts +2 -0
- package/types/content/src/data/core/index.d.ts +6 -0
- package/types/content/src/data/core/packs.d.ts +4 -0
- package/types/content/src/data/core/provenance.d.ts +4 -0
- package/types/content/src/data/core/scenarios.d.ts +3 -0
- package/types/content/src/data/core/starterDecks.d.ts +2 -0
- package/types/content/src/data/cw/cards.d.ts +3 -0
- package/types/content/src/data/cw/encounterSets.d.ts +2 -0
- package/types/content/src/data/cw/index.d.ts +6 -0
- package/types/content/src/data/cw/packs.d.ts +4 -0
- package/types/content/src/data/cw/provenance.d.ts +4 -0
- package/types/content/src/data/cw/scenarios.d.ts +3 -0
- package/types/content/src/data/cw/starterDecks.d.ts +2 -0
- package/types/content/src/data/cyclops/cards.d.ts +3 -0
- package/types/content/src/data/cyclops/encounterSets.d.ts +2 -0
- package/types/content/src/data/cyclops/index.d.ts +6 -0
- package/types/content/src/data/cyclops/packs.d.ts +4 -0
- package/types/content/src/data/cyclops/provenance.d.ts +4 -0
- package/types/content/src/data/cyclops/scenarios.d.ts +2 -0
- package/types/content/src/data/cyclops/starterDecks.d.ts +2 -0
- package/types/content/src/data/deadpool/cards.d.ts +3 -0
- package/types/content/src/data/deadpool/encounterSets.d.ts +2 -0
- package/types/content/src/data/deadpool/index.d.ts +6 -0
- package/types/content/src/data/deadpool/packs.d.ts +4 -0
- package/types/content/src/data/deadpool/provenance.d.ts +4 -0
- package/types/content/src/data/deadpool/scenarios.d.ts +2 -0
- package/types/content/src/data/deadpool/starterDecks.d.ts +2 -0
- package/types/content/src/data/drax/cards.d.ts +3 -0
- package/types/content/src/data/drax/encounterSets.d.ts +2 -0
- package/types/content/src/data/drax/index.d.ts +6 -0
- package/types/content/src/data/drax/packs.d.ts +4 -0
- package/types/content/src/data/drax/provenance.d.ts +4 -0
- package/types/content/src/data/drax/scenarios.d.ts +2 -0
- package/types/content/src/data/drax/starterDecks.d.ts +2 -0
- package/types/content/src/data/drs/cards.d.ts +3 -0
- package/types/content/src/data/drs/encounterSets.d.ts +2 -0
- package/types/content/src/data/drs/index.d.ts +6 -0
- package/types/content/src/data/drs/packs.d.ts +4 -0
- package/types/content/src/data/drs/provenance.d.ts +4 -0
- package/types/content/src/data/drs/scenarios.d.ts +2 -0
- package/types/content/src/data/drs/starterDecks.d.ts +2 -0
- package/types/content/src/data/elektra/cards.d.ts +3 -0
- package/types/content/src/data/elektra/encounterSets.d.ts +2 -0
- package/types/content/src/data/elektra/index.d.ts +6 -0
- package/types/content/src/data/elektra/packs.d.ts +4 -0
- package/types/content/src/data/elektra/provenance.d.ts +4 -0
- package/types/content/src/data/elektra/scenarios.d.ts +2 -0
- package/types/content/src/data/elektra/starterDecks.d.ts +2 -0
- package/types/content/src/data/falcon/cards.d.ts +3 -0
- package/types/content/src/data/falcon/encounterSets.d.ts +2 -0
- package/types/content/src/data/falcon/index.d.ts +6 -0
- package/types/content/src/data/falcon/packs.d.ts +4 -0
- package/types/content/src/data/falcon/provenance.d.ts +4 -0
- package/types/content/src/data/falcon/scenarios.d.ts +2 -0
- package/types/content/src/data/falcon/starterDecks.d.ts +2 -0
- package/types/content/src/data/fne/campaign.d.ts +14 -0
- package/types/content/src/data/fne/cards.d.ts +3 -0
- package/types/content/src/data/fne/encounterSets.d.ts +2 -0
- package/types/content/src/data/fne/index.d.ts +7 -0
- package/types/content/src/data/fne/packs.d.ts +4 -0
- package/types/content/src/data/fne/provenance.d.ts +4 -0
- package/types/content/src/data/fne/scenarios.d.ts +3 -0
- package/types/content/src/data/fne/starterDecks.d.ts +2 -0
- package/types/content/src/data/gam/cards.d.ts +3 -0
- package/types/content/src/data/gam/encounterSets.d.ts +2 -0
- package/types/content/src/data/gam/index.d.ts +6 -0
- package/types/content/src/data/gam/packs.d.ts +4 -0
- package/types/content/src/data/gam/provenance.d.ts +4 -0
- package/types/content/src/data/gam/scenarios.d.ts +2 -0
- package/types/content/src/data/gam/starterDecks.d.ts +2 -0
- package/types/content/src/data/gambit/cards.d.ts +3 -0
- package/types/content/src/data/gambit/encounterSets.d.ts +2 -0
- package/types/content/src/data/gambit/index.d.ts +6 -0
- package/types/content/src/data/gambit/packs.d.ts +4 -0
- package/types/content/src/data/gambit/provenance.d.ts +4 -0
- package/types/content/src/data/gambit/scenarios.d.ts +2 -0
- package/types/content/src/data/gambit/starterDecks.d.ts +2 -0
- package/types/content/src/data/gmw/campaign.d.ts +18 -0
- package/types/content/src/data/gmw/cards.d.ts +3 -0
- package/types/content/src/data/gmw/encounterSets.d.ts +2 -0
- package/types/content/src/data/gmw/index.d.ts +7 -0
- package/types/content/src/data/gmw/packs.d.ts +4 -0
- package/types/content/src/data/gmw/provenance.d.ts +4 -0
- package/types/content/src/data/gmw/scenarios.d.ts +3 -0
- package/types/content/src/data/gmw/starterDecks.d.ts +2 -0
- package/types/content/src/data/gob/cards.d.ts +3 -0
- package/types/content/src/data/gob/encounterSets.d.ts +2 -0
- package/types/content/src/data/gob/index.d.ts +6 -0
- package/types/content/src/data/gob/packs.d.ts +4 -0
- package/types/content/src/data/gob/provenance.d.ts +4 -0
- package/types/content/src/data/gob/scenarios.d.ts +3 -0
- package/types/content/src/data/gob/starterDecks.d.ts +2 -0
- package/types/content/src/data/hercules/cards.d.ts +3 -0
- package/types/content/src/data/hercules/encounterSets.d.ts +2 -0
- package/types/content/src/data/hercules/index.d.ts +6 -0
- package/types/content/src/data/hercules/packs.d.ts +4 -0
- package/types/content/src/data/hercules/provenance.d.ts +4 -0
- package/types/content/src/data/hercules/scenarios.d.ts +2 -0
- package/types/content/src/data/hercules/starterDecks.d.ts +2 -0
- package/types/content/src/data/hlk/cards.d.ts +3 -0
- package/types/content/src/data/hlk/encounterSets.d.ts +2 -0
- package/types/content/src/data/hlk/index.d.ts +6 -0
- package/types/content/src/data/hlk/packs.d.ts +4 -0
- package/types/content/src/data/hlk/provenance.d.ts +4 -0
- package/types/content/src/data/hlk/scenarios.d.ts +2 -0
- package/types/content/src/data/hlk/starterDecks.d.ts +2 -0
- package/types/content/src/data/hood/cards.d.ts +3 -0
- package/types/content/src/data/hood/encounterSets.d.ts +2 -0
- package/types/content/src/data/hood/index.d.ts +6 -0
- package/types/content/src/data/hood/packs.d.ts +4 -0
- package/types/content/src/data/hood/provenance.d.ts +4 -0
- package/types/content/src/data/hood/scenarios.d.ts +3 -0
- package/types/content/src/data/hood/starterDecks.d.ts +2 -0
- package/types/content/src/data/iceman/cards.d.ts +3 -0
- package/types/content/src/data/iceman/encounterSets.d.ts +2 -0
- package/types/content/src/data/iceman/index.d.ts +6 -0
- package/types/content/src/data/iceman/packs.d.ts +4 -0
- package/types/content/src/data/iceman/provenance.d.ts +4 -0
- package/types/content/src/data/iceman/scenarios.d.ts +2 -0
- package/types/content/src/data/iceman/starterDecks.d.ts +2 -0
- package/types/content/src/data/index.d.ts +268 -0
- package/types/content/src/data/iron_fist/cards.d.ts +3 -0
- package/types/content/src/data/iron_fist/encounterSets.d.ts +2 -0
- package/types/content/src/data/iron_fist/index.d.ts +6 -0
- package/types/content/src/data/iron_fist/packs.d.ts +4 -0
- package/types/content/src/data/iron_fist/provenance.d.ts +4 -0
- package/types/content/src/data/iron_fist/scenarios.d.ts +2 -0
- package/types/content/src/data/iron_fist/starterDecks.d.ts +2 -0
- package/types/content/src/data/ironheart/cards.d.ts +3 -0
- package/types/content/src/data/ironheart/encounterSets.d.ts +2 -0
- package/types/content/src/data/ironheart/index.d.ts +6 -0
- package/types/content/src/data/ironheart/packs.d.ts +4 -0
- package/types/content/src/data/ironheart/provenance.d.ts +4 -0
- package/types/content/src/data/ironheart/scenarios.d.ts +2 -0
- package/types/content/src/data/ironheart/starterDecks.d.ts +2 -0
- package/types/content/src/data/jj/cards.d.ts +3 -0
- package/types/content/src/data/jj/encounterSets.d.ts +2 -0
- package/types/content/src/data/jj/index.d.ts +6 -0
- package/types/content/src/data/jj/packs.d.ts +4 -0
- package/types/content/src/data/jj/provenance.d.ts +4 -0
- package/types/content/src/data/jj/scenarios.d.ts +2 -0
- package/types/content/src/data/jj/starterDecks.d.ts +2 -0
- package/types/content/src/data/jubilee/cards.d.ts +3 -0
- package/types/content/src/data/jubilee/encounterSets.d.ts +2 -0
- package/types/content/src/data/jubilee/index.d.ts +6 -0
- package/types/content/src/data/jubilee/packs.d.ts +4 -0
- package/types/content/src/data/jubilee/provenance.d.ts +4 -0
- package/types/content/src/data/jubilee/scenarios.d.ts +2 -0
- package/types/content/src/data/jubilee/starterDecks.d.ts +2 -0
- package/types/content/src/data/luke_cage/cards.d.ts +3 -0
- package/types/content/src/data/luke_cage/encounterSets.d.ts +2 -0
- package/types/content/src/data/luke_cage/index.d.ts +6 -0
- package/types/content/src/data/luke_cage/packs.d.ts +4 -0
- package/types/content/src/data/luke_cage/provenance.d.ts +4 -0
- package/types/content/src/data/luke_cage/scenarios.d.ts +2 -0
- package/types/content/src/data/luke_cage/starterDecks.d.ts +2 -0
- package/types/content/src/data/magneto/cards.d.ts +3 -0
- package/types/content/src/data/magneto/encounterSets.d.ts +2 -0
- package/types/content/src/data/magneto/index.d.ts +6 -0
- package/types/content/src/data/magneto/packs.d.ts +4 -0
- package/types/content/src/data/magneto/provenance.d.ts +4 -0
- package/types/content/src/data/magneto/scenarios.d.ts +2 -0
- package/types/content/src/data/magneto/starterDecks.d.ts +2 -0
- package/types/content/src/data/mojo/campaign.d.ts +15 -0
- package/types/content/src/data/mojo/cards.d.ts +3 -0
- package/types/content/src/data/mojo/encounterSets.d.ts +2 -0
- package/types/content/src/data/mojo/index.d.ts +7 -0
- package/types/content/src/data/mojo/packs.d.ts +4 -0
- package/types/content/src/data/mojo/provenance.d.ts +4 -0
- package/types/content/src/data/mojo/scenarios.d.ts +3 -0
- package/types/content/src/data/mojo/starterDecks.d.ts +2 -0
- package/types/content/src/data/msm/cards.d.ts +3 -0
- package/types/content/src/data/msm/encounterSets.d.ts +2 -0
- package/types/content/src/data/msm/index.d.ts +6 -0
- package/types/content/src/data/msm/packs.d.ts +4 -0
- package/types/content/src/data/msm/provenance.d.ts +4 -0
- package/types/content/src/data/msm/scenarios.d.ts +2 -0
- package/types/content/src/data/msm/starterDecks.d.ts +2 -0
- package/types/content/src/data/mts/campaign.d.ts +17 -0
- package/types/content/src/data/mts/cards.d.ts +3 -0
- package/types/content/src/data/mts/encounterSets.d.ts +2 -0
- package/types/content/src/data/mts/index.d.ts +7 -0
- package/types/content/src/data/mts/packs.d.ts +4 -0
- package/types/content/src/data/mts/provenance.d.ts +4 -0
- package/types/content/src/data/mts/scenarios.d.ts +3 -0
- package/types/content/src/data/mts/starterDecks.d.ts +2 -0
- package/types/content/src/data/mut_gen/campaign.d.ts +22 -0
- package/types/content/src/data/mut_gen/cards.d.ts +3 -0
- package/types/content/src/data/mut_gen/encounterSets.d.ts +2 -0
- package/types/content/src/data/mut_gen/index.d.ts +7 -0
- package/types/content/src/data/mut_gen/packs.d.ts +4 -0
- package/types/content/src/data/mut_gen/provenance.d.ts +4 -0
- package/types/content/src/data/mut_gen/scenarios.d.ts +3 -0
- package/types/content/src/data/mut_gen/starterDecks.d.ts +2 -0
- package/types/content/src/data/ncrawler/cards.d.ts +3 -0
- package/types/content/src/data/ncrawler/encounterSets.d.ts +2 -0
- package/types/content/src/data/ncrawler/index.d.ts +6 -0
- package/types/content/src/data/ncrawler/packs.d.ts +4 -0
- package/types/content/src/data/ncrawler/provenance.d.ts +4 -0
- package/types/content/src/data/ncrawler/scenarios.d.ts +2 -0
- package/types/content/src/data/ncrawler/starterDecks.d.ts +2 -0
- package/types/content/src/data/nebu/cards.d.ts +3 -0
- package/types/content/src/data/nebu/encounterSets.d.ts +2 -0
- package/types/content/src/data/nebu/index.d.ts +6 -0
- package/types/content/src/data/nebu/packs.d.ts +4 -0
- package/types/content/src/data/nebu/provenance.d.ts +4 -0
- package/types/content/src/data/nebu/scenarios.d.ts +2 -0
- package/types/content/src/data/nebu/starterDecks.d.ts +2 -0
- package/types/content/src/data/next_evol/campaign.d.ts +18 -0
- package/types/content/src/data/next_evol/cards.d.ts +3 -0
- package/types/content/src/data/next_evol/encounterSets.d.ts +2 -0
- package/types/content/src/data/next_evol/index.d.ts +7 -0
- package/types/content/src/data/next_evol/packs.d.ts +4 -0
- package/types/content/src/data/next_evol/provenance.d.ts +4 -0
- package/types/content/src/data/next_evol/scenarios.d.ts +3 -0
- package/types/content/src/data/next_evol/starterDecks.d.ts +2 -0
- package/types/content/src/data/nova/cards.d.ts +3 -0
- package/types/content/src/data/nova/encounterSets.d.ts +2 -0
- package/types/content/src/data/nova/index.d.ts +6 -0
- package/types/content/src/data/nova/packs.d.ts +4 -0
- package/types/content/src/data/nova/provenance.d.ts +4 -0
- package/types/content/src/data/nova/scenarios.d.ts +2 -0
- package/types/content/src/data/nova/starterDecks.d.ts +2 -0
- package/types/content/src/data/phoenix/cards.d.ts +3 -0
- package/types/content/src/data/phoenix/encounterSets.d.ts +2 -0
- package/types/content/src/data/phoenix/index.d.ts +6 -0
- package/types/content/src/data/phoenix/packs.d.ts +4 -0
- package/types/content/src/data/phoenix/provenance.d.ts +4 -0
- package/types/content/src/data/phoenix/scenarios.d.ts +2 -0
- package/types/content/src/data/phoenix/starterDecks.d.ts +2 -0
- package/types/content/src/data/pool-version.d.ts +51 -0
- package/types/content/src/data/psylocke/cards.d.ts +3 -0
- package/types/content/src/data/psylocke/encounterSets.d.ts +2 -0
- package/types/content/src/data/psylocke/index.d.ts +6 -0
- package/types/content/src/data/psylocke/packs.d.ts +4 -0
- package/types/content/src/data/psylocke/provenance.d.ts +4 -0
- package/types/content/src/data/psylocke/scenarios.d.ts +2 -0
- package/types/content/src/data/psylocke/starterDecks.d.ts +2 -0
- package/types/content/src/data/qsv/cards.d.ts +3 -0
- package/types/content/src/data/qsv/encounterSets.d.ts +2 -0
- package/types/content/src/data/qsv/index.d.ts +6 -0
- package/types/content/src/data/qsv/packs.d.ts +4 -0
- package/types/content/src/data/qsv/provenance.d.ts +4 -0
- package/types/content/src/data/qsv/scenarios.d.ts +2 -0
- package/types/content/src/data/qsv/starterDecks.d.ts +2 -0
- package/types/content/src/data/rogue/cards.d.ts +3 -0
- package/types/content/src/data/rogue/encounterSets.d.ts +2 -0
- package/types/content/src/data/rogue/index.d.ts +6 -0
- package/types/content/src/data/rogue/packs.d.ts +4 -0
- package/types/content/src/data/rogue/provenance.d.ts +4 -0
- package/types/content/src/data/rogue/scenarios.d.ts +2 -0
- package/types/content/src/data/rogue/starterDecks.d.ts +2 -0
- package/types/content/src/data/ron/cards.d.ts +3 -0
- package/types/content/src/data/ron/encounterSets.d.ts +2 -0
- package/types/content/src/data/ron/index.d.ts +6 -0
- package/types/content/src/data/ron/packs.d.ts +4 -0
- package/types/content/src/data/ron/provenance.d.ts +4 -0
- package/types/content/src/data/ron/scenarios.d.ts +2 -0
- package/types/content/src/data/ron/starterDecks.d.ts +2 -0
- package/types/content/src/data/scw/cards.d.ts +3 -0
- package/types/content/src/data/scw/encounterSets.d.ts +2 -0
- package/types/content/src/data/scw/index.d.ts +6 -0
- package/types/content/src/data/scw/packs.d.ts +4 -0
- package/types/content/src/data/scw/provenance.d.ts +4 -0
- package/types/content/src/data/scw/scenarios.d.ts +2 -0
- package/types/content/src/data/scw/starterDecks.d.ts +2 -0
- package/types/content/src/data/shadowland/campaign.d.ts +16 -0
- package/types/content/src/data/shadowland/cards.d.ts +3 -0
- package/types/content/src/data/shadowland/encounterSets.d.ts +2 -0
- package/types/content/src/data/shadowland/index.d.ts +7 -0
- package/types/content/src/data/shadowland/packs.d.ts +4 -0
- package/types/content/src/data/shadowland/provenance.d.ts +4 -0
- package/types/content/src/data/shadowland/scenarios.d.ts +3 -0
- package/types/content/src/data/shadowland/starterDecks.d.ts +2 -0
- package/types/content/src/data/silk/cards.d.ts +3 -0
- package/types/content/src/data/silk/encounterSets.d.ts +2 -0
- package/types/content/src/data/silk/index.d.ts +6 -0
- package/types/content/src/data/silk/packs.d.ts +4 -0
- package/types/content/src/data/silk/provenance.d.ts +4 -0
- package/types/content/src/data/silk/scenarios.d.ts +2 -0
- package/types/content/src/data/silk/starterDecks.d.ts +2 -0
- package/types/content/src/data/sm/campaign.d.ts +22 -0
- package/types/content/src/data/sm/cards.d.ts +3 -0
- package/types/content/src/data/sm/encounterSets.d.ts +2 -0
- package/types/content/src/data/sm/index.d.ts +7 -0
- package/types/content/src/data/sm/packs.d.ts +4 -0
- package/types/content/src/data/sm/provenance.d.ts +4 -0
- package/types/content/src/data/sm/scenarios.d.ts +3 -0
- package/types/content/src/data/sm/starterDecks.d.ts +2 -0
- package/types/content/src/data/spdr/cards.d.ts +3 -0
- package/types/content/src/data/spdr/encounterSets.d.ts +2 -0
- package/types/content/src/data/spdr/index.d.ts +6 -0
- package/types/content/src/data/spdr/packs.d.ts +4 -0
- package/types/content/src/data/spdr/provenance.d.ts +4 -0
- package/types/content/src/data/spdr/scenarios.d.ts +2 -0
- package/types/content/src/data/spdr/starterDecks.d.ts +2 -0
- package/types/content/src/data/spiderham/cards.d.ts +3 -0
- package/types/content/src/data/spiderham/encounterSets.d.ts +2 -0
- package/types/content/src/data/spiderham/index.d.ts +6 -0
- package/types/content/src/data/spiderham/packs.d.ts +4 -0
- package/types/content/src/data/spiderham/provenance.d.ts +4 -0
- package/types/content/src/data/spiderham/scenarios.d.ts +2 -0
- package/types/content/src/data/spiderham/starterDecks.d.ts +2 -0
- package/types/content/src/data/stld/cards.d.ts +3 -0
- package/types/content/src/data/stld/encounterSets.d.ts +2 -0
- package/types/content/src/data/stld/index.d.ts +6 -0
- package/types/content/src/data/stld/packs.d.ts +4 -0
- package/types/content/src/data/stld/provenance.d.ts +4 -0
- package/types/content/src/data/stld/scenarios.d.ts +2 -0
- package/types/content/src/data/stld/starterDecks.d.ts +2 -0
- package/types/content/src/data/storm/cards.d.ts +3 -0
- package/types/content/src/data/storm/encounterSets.d.ts +2 -0
- package/types/content/src/data/storm/index.d.ts +6 -0
- package/types/content/src/data/storm/packs.d.ts +4 -0
- package/types/content/src/data/storm/provenance.d.ts +4 -0
- package/types/content/src/data/storm/scenarios.d.ts +2 -0
- package/types/content/src/data/storm/starterDecks.d.ts +2 -0
- package/types/content/src/data/synthezoid/cards.d.ts +3 -0
- package/types/content/src/data/synthezoid/encounterSets.d.ts +2 -0
- package/types/content/src/data/synthezoid/index.d.ts +6 -0
- package/types/content/src/data/synthezoid/packs.d.ts +4 -0
- package/types/content/src/data/synthezoid/provenance.d.ts +4 -0
- package/types/content/src/data/synthezoid/scenarios.d.ts +3 -0
- package/types/content/src/data/synthezoid/starterDecks.d.ts +2 -0
- package/types/content/src/data/thor/cards.d.ts +3 -0
- package/types/content/src/data/thor/encounterSets.d.ts +2 -0
- package/types/content/src/data/thor/index.d.ts +6 -0
- package/types/content/src/data/thor/packs.d.ts +4 -0
- package/types/content/src/data/thor/provenance.d.ts +4 -0
- package/types/content/src/data/thor/scenarios.d.ts +2 -0
- package/types/content/src/data/thor/starterDecks.d.ts +2 -0
- package/types/content/src/data/toafk/cards.d.ts +3 -0
- package/types/content/src/data/toafk/encounterSets.d.ts +2 -0
- package/types/content/src/data/toafk/index.d.ts +6 -0
- package/types/content/src/data/toafk/packs.d.ts +4 -0
- package/types/content/src/data/toafk/provenance.d.ts +4 -0
- package/types/content/src/data/toafk/scenarios.d.ts +3 -0
- package/types/content/src/data/toafk/starterDecks.d.ts +2 -0
- package/types/content/src/data/trors/campaign.d.ts +15 -0
- package/types/content/src/data/trors/cards.d.ts +3 -0
- package/types/content/src/data/trors/encounterSets.d.ts +2 -0
- package/types/content/src/data/trors/index.d.ts +7 -0
- package/types/content/src/data/trors/packs.d.ts +4 -0
- package/types/content/src/data/trors/provenance.d.ts +4 -0
- package/types/content/src/data/trors/scenarios.d.ts +3 -0
- package/types/content/src/data/trors/starterDecks.d.ts +2 -0
- package/types/content/src/data/tt/cards.d.ts +3 -0
- package/types/content/src/data/tt/encounterSets.d.ts +2 -0
- package/types/content/src/data/tt/index.d.ts +6 -0
- package/types/content/src/data/tt/packs.d.ts +4 -0
- package/types/content/src/data/tt/provenance.d.ts +4 -0
- package/types/content/src/data/tt/scenarios.d.ts +3 -0
- package/types/content/src/data/tt/starterDecks.d.ts +2 -0
- package/types/content/src/data/twc/cards.d.ts +3 -0
- package/types/content/src/data/twc/encounterSets.d.ts +2 -0
- package/types/content/src/data/twc/index.d.ts +6 -0
- package/types/content/src/data/twc/packs.d.ts +4 -0
- package/types/content/src/data/twc/provenance.d.ts +4 -0
- package/types/content/src/data/twc/scenarios.d.ts +3 -0
- package/types/content/src/data/twc/starterDecks.d.ts +2 -0
- package/types/content/src/data/types.d.ts +29 -0
- package/types/content/src/data/valk/cards.d.ts +3 -0
- package/types/content/src/data/valk/encounterSets.d.ts +2 -0
- package/types/content/src/data/valk/index.d.ts +6 -0
- package/types/content/src/data/valk/packs.d.ts +4 -0
- package/types/content/src/data/valk/provenance.d.ts +4 -0
- package/types/content/src/data/valk/scenarios.d.ts +2 -0
- package/types/content/src/data/valk/starterDecks.d.ts +2 -0
- package/types/content/src/data/vision/cards.d.ts +3 -0
- package/types/content/src/data/vision/encounterSets.d.ts +2 -0
- package/types/content/src/data/vision/index.d.ts +6 -0
- package/types/content/src/data/vision/packs.d.ts +4 -0
- package/types/content/src/data/vision/provenance.d.ts +4 -0
- package/types/content/src/data/vision/scenarios.d.ts +2 -0
- package/types/content/src/data/vision/starterDecks.d.ts +2 -0
- package/types/content/src/data/vnm/cards.d.ts +3 -0
- package/types/content/src/data/vnm/encounterSets.d.ts +2 -0
- package/types/content/src/data/vnm/index.d.ts +6 -0
- package/types/content/src/data/vnm/packs.d.ts +4 -0
- package/types/content/src/data/vnm/provenance.d.ts +4 -0
- package/types/content/src/data/vnm/scenarios.d.ts +2 -0
- package/types/content/src/data/vnm/starterDecks.d.ts +2 -0
- package/types/content/src/data/warm/cards.d.ts +3 -0
- package/types/content/src/data/warm/encounterSets.d.ts +2 -0
- package/types/content/src/data/warm/index.d.ts +6 -0
- package/types/content/src/data/warm/packs.d.ts +4 -0
- package/types/content/src/data/warm/provenance.d.ts +4 -0
- package/types/content/src/data/warm/scenarios.d.ts +2 -0
- package/types/content/src/data/warm/starterDecks.d.ts +2 -0
- package/types/content/src/data/winter/cards.d.ts +3 -0
- package/types/content/src/data/winter/encounterSets.d.ts +2 -0
- package/types/content/src/data/winter/index.d.ts +6 -0
- package/types/content/src/data/winter/packs.d.ts +4 -0
- package/types/content/src/data/winter/provenance.d.ts +4 -0
- package/types/content/src/data/winter/scenarios.d.ts +2 -0
- package/types/content/src/data/winter/starterDecks.d.ts +2 -0
- package/types/content/src/data/wolv/cards.d.ts +3 -0
- package/types/content/src/data/wolv/encounterSets.d.ts +2 -0
- package/types/content/src/data/wolv/index.d.ts +6 -0
- package/types/content/src/data/wolv/packs.d.ts +4 -0
- package/types/content/src/data/wolv/provenance.d.ts +4 -0
- package/types/content/src/data/wolv/scenarios.d.ts +2 -0
- package/types/content/src/data/wolv/starterDecks.d.ts +2 -0
- package/types/content/src/data/wonder_man/cards.d.ts +3 -0
- package/types/content/src/data/wonder_man/encounterSets.d.ts +2 -0
- package/types/content/src/data/wonder_man/index.d.ts +6 -0
- package/types/content/src/data/wonder_man/packs.d.ts +4 -0
- package/types/content/src/data/wonder_man/provenance.d.ts +4 -0
- package/types/content/src/data/wonder_man/scenarios.d.ts +2 -0
- package/types/content/src/data/wonder_man/starterDecks.d.ts +2 -0
- package/types/content/src/data/wsp/cards.d.ts +3 -0
- package/types/content/src/data/wsp/encounterSets.d.ts +2 -0
- package/types/content/src/data/wsp/index.d.ts +6 -0
- package/types/content/src/data/wsp/packs.d.ts +4 -0
- package/types/content/src/data/wsp/provenance.d.ts +4 -0
- package/types/content/src/data/wsp/scenarios.d.ts +2 -0
- package/types/content/src/data/wsp/starterDecks.d.ts +2 -0
- package/types/content/src/data/x23/cards.d.ts +3 -0
- package/types/content/src/data/x23/encounterSets.d.ts +2 -0
- package/types/content/src/data/x23/index.d.ts +6 -0
- package/types/content/src/data/x23/packs.d.ts +4 -0
- package/types/content/src/data/x23/provenance.d.ts +4 -0
- package/types/content/src/data/x23/scenarios.d.ts +2 -0
- package/types/content/src/data/x23/starterDecks.d.ts +2 -0
- package/types/content/src/import/aspect-cards.d.ts +10 -0
- package/types/content/src/import/from-marvelcdb-json.d.ts +65 -0
- package/types/content/src/import/from-text.d.ts +38 -0
- package/types/content/src/import/index.d.ts +16 -0
- package/types/content/src/import/pool-index.d.ts +53 -0
- package/types/content/src/import/to-text.d.ts +19 -0
- package/types/content/src/import/types.d.ts +95 -0
- package/types/content/src/import/url.d.ts +20 -0
- package/types/content/src/index.d.ts +9 -0
- package/types/content/src/schema/abilities.d.ts +20 -0
- package/types/content/src/schema/aspects.d.ts +18 -0
- package/types/content/src/schema/cards/attachment-host.d.ts +244 -0
- package/types/content/src/schema/cards/base.d.ts +83 -0
- package/types/content/src/schema/cards/encounter-cards.d.ts +191 -0
- package/types/content/src/schema/cards/evidence.d.ts +59 -0
- package/types/content/src/schema/cards/identity.d.ts +302 -0
- package/types/content/src/schema/cards/index.d.ts +18 -0
- package/types/content/src/schema/cards/player-cards.d.ts +234 -0
- package/types/content/src/schema/cards/schemes.d.ts +156 -0
- package/types/content/src/schema/cards/villain.d.ts +128 -0
- package/types/content/src/schema/common.d.ts +108 -0
- package/types/content/src/schema/decks.d.ts +83 -0
- package/types/content/src/schema/glossary.d.ts +174 -0
- package/types/content/src/schema/house-rules.d.ts +49 -0
- package/types/content/src/schema/ids.d.ts +53 -0
- package/types/content/src/schema/images.d.ts +25 -0
- package/types/content/src/schema/index.d.ts +14 -0
- package/types/content/src/schema/keywords.d.ts +180 -0
- package/types/content/src/schema/modes.d.ts +132 -0
- package/types/content/src/schema/packs.d.ts +509 -0
- package/types/content/src/schema/sets.d.ts +712 -0
- package/types/content/src/schema/validation.d.ts +103 -0
- package/types/engine/src/abilities.d.ts +4417 -0
- package/types/engine/src/accusation.d.ts +37 -0
- package/types/engine/src/actions.d.ts +1239 -0
- package/types/engine/src/attach-cost.d.ts +69 -0
- package/types/engine/src/attachment-hosts.d.ts +67 -0
- package/types/engine/src/attack-cost.d.ts +94 -0
- package/types/engine/src/basic-power-uses.d.ts +68 -0
- package/types/engine/src/campaign/log.d.ts +88 -0
- package/types/engine/src/campaign/ops.d.ts +188 -0
- package/types/engine/src/campaign/result.d.ts +28 -0
- package/types/engine/src/campaign/runner.d.ts +190 -0
- package/types/engine/src/campaign/seal.d.ts +41 -0
- package/types/engine/src/campaign-state.d.ts +75 -0
- package/types/engine/src/campaign.d.ts +1629 -0
- package/types/engine/src/card-types.d.ts +16 -0
- package/types/engine/src/change-form-cost.d.ts +54 -0
- package/types/engine/src/choices.d.ts +721 -0
- package/types/engine/src/choose-target-cost.d.ts +29 -0
- package/types/engine/src/commands.d.ts +288 -0
- package/types/engine/src/cost-damage.d.ts +116 -0
- package/types/engine/src/counter-limit.d.ts +14 -0
- package/types/engine/src/counter-types.d.ts +71 -0
- package/types/engine/src/ctx.d.ts +132 -0
- package/types/engine/src/damage-threshold.d.ts +15 -0
- package/types/engine/src/deal-to-cost.d.ts +25 -0
- package/types/engine/src/deck-discard-choice-cost.d.ts +49 -0
- package/types/engine/src/deck-top.d.ts +39 -0
- package/types/engine/src/deck.d.ts +337 -0
- package/types/engine/src/defend-preview.d.ts +144 -0
- package/types/engine/src/defense-claim.d.ts +84 -0
- package/types/engine/src/each-player-cost.d.ts +41 -0
- package/types/engine/src/effects.d.ts +767 -0
- package/types/engine/src/encounter-discard-cost.d.ts +95 -0
- package/types/engine/src/encounter-look-cost.d.ts +44 -0
- package/types/engine/src/encounter-search-cost.d.ts +35 -0
- package/types/engine/src/enemy-attack-cost.d.ts +62 -0
- package/types/engine/src/engine.d.ts +67 -0
- package/types/engine/src/entered-since.d.ts +86 -0
- package/types/engine/src/errors.d.ts +60 -0
- package/types/engine/src/events.d.ts +2682 -0
- package/types/engine/src/flow.d.ts +27 -0
- package/types/engine/src/form-change-cost.d.ts +68 -0
- package/types/engine/src/form-change-target.d.ts +21 -0
- package/types/engine/src/game-fingerprint.d.ts +41 -0
- package/types/engine/src/game-mode.d.ts +14 -0
- package/types/engine/src/heal-cost.d.ts +32 -0
- package/types/engine/src/hidden-pile-state.d.ts +38 -0
- package/types/engine/src/hidden-reverse.d.ts +33 -0
- package/types/engine/src/ids.d.ts +39 -0
- package/types/engine/src/index.d.ts +122 -0
- package/types/engine/src/keyword-abilities.d.ts +36 -0
- package/types/engine/src/keywords.d.ts +169 -0
- package/types/engine/src/lasting.d.ts +382 -0
- package/types/engine/src/legal.d.ts +434 -0
- package/types/engine/src/linked.d.ts +25 -0
- package/types/engine/src/modifiers.d.ts +74 -0
- package/types/engine/src/outside-facts.d.ts +33 -0
- package/types/engine/src/payable.d.ts +56 -0
- package/types/engine/src/per-player-main-schemes.d.ts +63 -0
- package/types/engine/src/pod.d.ts +189 -0
- package/types/engine/src/preview.d.ts +105 -0
- package/types/engine/src/query.d.ts +553 -0
- package/types/engine/src/ready-cards-cost.d.ts +41 -0
- package/types/engine/src/remove-threat-cost.d.ts +74 -0
- package/types/engine/src/resolve/ability.d.ts +40 -0
- package/types/engine/src/resolve/accusation.d.ts +39 -0
- package/types/engine/src/resolve/apply-effect.d.ts +57 -0
- package/types/engine/src/resolve/attach.d.ts +153 -0
- package/types/engine/src/resolve/attack-ability.d.ts +610 -0
- package/types/engine/src/resolve/basic-power-by.d.ts +37 -0
- package/types/engine/src/resolve/campaign.d.ts +30 -0
- package/types/engine/src/resolve/cards.d.ts +241 -0
- package/types/engine/src/resolve/collection.d.ts +31 -0
- package/types/engine/src/resolve/counters-being-placed.d.ts +41 -0
- package/types/engine/src/resolve/damage-group.d.ts +20 -0
- package/types/engine/src/resolve/deck-discard.d.ts +71 -0
- package/types/engine/src/resolve/declare-wilds.d.ts +26 -0
- package/types/engine/src/resolve/defeat.d.ts +219 -0
- package/types/engine/src/resolve/defeated-together.d.ts +76 -0
- package/types/engine/src/resolve/effects-frame.d.ts +15 -0
- package/types/engine/src/resolve/enemy-activation.d.ts +273 -0
- package/types/engine/src/resolve/enter-play.d.ts +177 -0
- package/types/engine/src/resolve/event.d.ts +257 -0
- package/types/engine/src/resolve/find.d.ts +69 -0
- package/types/engine/src/resolve/frames.d.ts +148 -0
- package/types/engine/src/resolve/friendly-attack.d.ts +85 -0
- package/types/engine/src/resolve/game-areas.d.ts +157 -0
- package/types/engine/src/resolve/hidden-hand-pick.d.ts +36 -0
- package/types/engine/src/resolve/hidden-piles.d.ts +84 -0
- package/types/engine/src/resolve/host-step.d.ts +10 -0
- package/types/engine/src/resolve/imminent-attach.d.ts +40 -0
- package/types/engine/src/resolve/index.d.ts +13 -0
- package/types/engine/src/resolve/initiated-activation.d.ts +124 -0
- package/types/engine/src/resolve/keyword-ignored.d.ts +45 -0
- package/types/engine/src/resolve/leave-to-separate-deck.d.ts +38 -0
- package/types/engine/src/resolve/main-scheme-side.d.ts +42 -0
- package/types/engine/src/resolve/other-face.d.ts +34 -0
- package/types/engine/src/resolve/pair-cards.d.ts +44 -0
- package/types/engine/src/resolve/play-card.d.ts +23 -0
- package/types/engine/src/resolve/pod.d.ts +50 -0
- package/types/engine/src/resolve/put-into-play-setup.d.ts +58 -0
- package/types/engine/src/resolve/rearrange.d.ts +50 -0
- package/types/engine/src/resolve/report-fact.d.ts +18 -0
- package/types/engine/src/resolve/reveal-hold.d.ts +45 -0
- package/types/engine/src/resolve/reveal.d.ts +86 -0
- package/types/engine/src/resolve/scenario-deck-top.d.ts +84 -0
- package/types/engine/src/resolve/sentence-hold.d.ts +86 -0
- package/types/engine/src/resolve/separate-decks.d.ts +21 -0
- package/types/engine/src/resolve/sequential-damage.d.ts +23 -0
- package/types/engine/src/resolve/setup-cards.d.ts +30 -0
- package/types/engine/src/resolve/state-checks.d.ts +33 -0
- package/types/engine/src/resolve/status-being-given.d.ts +54 -0
- package/types/engine/src/resolve/status-discarded.d.ts +19 -0
- package/types/engine/src/resolve/suspend.d.ts +75 -0
- package/types/engine/src/resolve/swap-cards.d.ts +49 -0
- package/types/engine/src/resolve/swap-main-scheme.d.ts +77 -0
- package/types/engine/src/resolve/target-validity.d.ts +275 -0
- package/types/engine/src/resolve/then.d.ts +27 -0
- package/types/engine/src/resolve/thwart-session.d.ts +54 -0
- package/types/engine/src/resolve/triggers.d.ts +91 -0
- package/types/engine/src/resolve/tuck.d.ts +79 -0
- package/types/engine/src/resolve/unpreventable.d.ts +40 -0
- package/types/engine/src/resolve/villain-swap.d.ts +42 -0
- package/types/engine/src/resolve/villainous.d.ts +150 -0
- package/types/engine/src/resolve/window.d.ts +25 -0
- package/types/engine/src/resolve/would-discard.d.ts +81 -0
- package/types/engine/src/resolve-ability-cost.d.ts +88 -0
- package/types/engine/src/resources.d.ts +232 -0
- package/types/engine/src/rng.d.ts +13 -0
- package/types/engine/src/rules.d.ts +874 -0
- package/types/engine/src/select.d.ts +1119 -0
- package/types/engine/src/separated-identity.d.ts +90 -0
- package/types/engine/src/setup-steps.d.ts +84 -0
- package/types/engine/src/setup.d.ts +427 -0
- package/types/engine/src/spec.d.ts +7369 -0
- package/types/engine/src/stack-view.d.ts +49 -0
- package/types/engine/src/stack.d.ts +1340 -0
- package/types/engine/src/starting.d.ts +27 -0
- package/types/engine/src/state.d.ts +1603 -0
- package/types/engine/src/team.d.ts +81 -0
- package/types/engine/src/thwart-cost.d.ts +92 -0
- package/types/engine/src/titles.d.ts +58 -0
- package/types/engine/src/treat-as.d.ts +70 -0
- package/types/engine/src/trigger-events.d.ts +2630 -0
- package/types/engine/src/tuck-limit.d.ts +18 -0
- package/types/engine/src/unique.d.ts +95 -0
- package/types/engine/src/villain/audit.d.ts +71 -0
- package/types/engine/src/villain/authority.d.ts +28 -0
- package/types/engine/src/villain/phase.d.ts +48 -0
- package/types/engine/src/visibility.d.ts +210 -0
- package/types/engine/src/why-not.d.ts +80 -0
- package/types/mod-sdk/npm/testing.d.ts +8 -0
- package/types/mod-sdk/src/build.d.ts +59 -0
- package/types/mod-sdk/src/builtin.d.ts +27 -0
- package/types/mod-sdk/src/campaigns.d.ts +26 -0
- package/types/mod-sdk/src/cli.d.ts +12 -0
- package/types/mod-sdk/src/define.d.ts +10 -0
- package/types/mod-sdk/src/features.d.ts +44 -0
- package/types/mod-sdk/src/game.d.ts +66 -0
- package/types/mod-sdk/src/import-marvelcdb.d.ts +99 -0
- package/types/mod-sdk/src/index.d.ts +17 -0
- package/types/mod-sdk/src/loader.d.ts +5 -0
- package/types/mod-sdk/src/obligation.d.ts +2 -0
- package/types/mod-sdk/src/preview.d.ts +18 -0
- package/types/mod-sdk/src/sha256.d.ts +8 -0
- package/types/mod-sdk/src/smoke.d.ts +73 -0
- package/types/mod-sdk/src/validate.d.ts +81 -0
|
@@ -0,0 +1,2630 @@
|
|
|
1
|
+
import type { AbilityId, CardId, Trait } from "../../content/src/index.js";
|
|
2
|
+
import type { EventPattern } from "./abilities.js";
|
|
3
|
+
import type { BasicPowerShare, Command } from "./commands.js";
|
|
4
|
+
import type { EncounterDeckId, FrameId, GameAreaId, InstanceId, PlayerId } from "./ids.js";
|
|
5
|
+
import type { StatusDiscardCause } from "./events.js";
|
|
6
|
+
import type { CardDestination, DefeatPlacement, EffectSpec, Predicate, StatName, StatusName, TargetCategory, ValueSpec } from "./spec.js";
|
|
7
|
+
import { type Bindings, type Vars } from "./stack.js";
|
|
8
|
+
import type { DeckDiscard, MainSchemeAdvancedBy, StatusCounts, ZoneId } from "./state.js";
|
|
9
|
+
/**
|
|
10
|
+
* Something that happens in the game and that abilities can hook. Every one of
|
|
11
|
+
* these gets an `interrupt` window before it and a `response` window after it
|
|
12
|
+
* when it resolves through the stack (RRG "Ability: Simultaneous Timing
|
|
13
|
+
* Priority").
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* What a pattern's `targetIs` reads of an event's target as the event happened, when the event itself may have changed
|
|
17
|
+
* it before an "after" ability is read (the family of `cardLeavesPlay.traits` and `characterDefeated.
|
|
18
|
+
* attachedInstanceIds`). A response reads the game as its triggering condition happened: the clauses of the query this
|
|
19
|
+
* carries are matched against it, every other clause against the card as it now is (`resolve/triggers.ts`).
|
|
20
|
+
*
|
|
21
|
+
* Carried: the names, the status cards and what the card was (`was`). An absent field falls back to the live card, so
|
|
22
|
+
* events stamped before a field existed stay valid.
|
|
23
|
+
*/
|
|
24
|
+
export interface TargetSnapshot {
|
|
25
|
+
/**
|
|
26
|
+
* The card this snapshot is of. An "(attack)" ability's attack begun against the first enemy an instruction names
|
|
27
|
+
* keeps that enemy's snapshot when it later names another as its target (`attack.targetInstanceId`), so the snapshot
|
|
28
|
+
* is read only for the card it was taken of. Absent on a snapshot stamped before it carried this: the event's target.
|
|
29
|
+
*/
|
|
30
|
+
readonly instanceId?: InstanceId;
|
|
31
|
+
/** The name it was showing (`currentName`; `TargetQuery.name`). Absent for a card with none. */
|
|
32
|
+
readonly name?: string;
|
|
33
|
+
/** The titles (and subtitle) naming it (`titlesNaming`; `TargetQuery.titled`). */
|
|
34
|
+
readonly titles: readonly string[];
|
|
35
|
+
/**
|
|
36
|
+
* The status cards it held as the damage was dealt (`TargetQuery.hasStatus`, `hasAnyStatus`): "After Cypher attacks
|
|
37
|
+
* and damages a confused enemy" still finds the enemy confused when that damage defeated it and its status cards
|
|
38
|
+
* left play with it (owner ruling 2026-10-06, docs/phase7-wave7.md §4.1). Read before the damage is applied, so a
|
|
39
|
+
* tough card this damage is about to use is counted, and one a piercing attack discarded first is not.
|
|
40
|
+
*/
|
|
41
|
+
readonly statuses?: StatusCounts;
|
|
42
|
+
/**
|
|
43
|
+
* What it was as the damage was dealt (`TargetQuery.categories`, `trait`, `withoutTrait`, `anyTrait`, `facedown`),
|
|
44
|
+
* the same read as `characterDefeated.asDefeated`: "After your hero attacks and defeats a minion" (Battle Fury,
|
|
45
|
+
* `thor` 06018) still finds a minion when the attack defeated a Drone, a player card facedown as a minion that is its
|
|
46
|
+
* printed self again in its owner's discard pile by the response window (issue #228). The same holds for every card
|
|
47
|
+
* that is a minion only while in play (a Controlled minion facedown, an ally a Beguiled-style attachment turns).
|
|
48
|
+
*/
|
|
49
|
+
readonly was?: DefeatedSnapshot;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* What a defeated character was as its defeat was initiated, read while it was still in play (`characterDefeated.
|
|
53
|
+
* asDefeated`). By the response window an ally or minion has left play and is its printed self again: a player card
|
|
54
|
+
* in play facedown as a minion (`CardInstance.facedownAs`) is an event or an upgrade in a discard pile, an ally an
|
|
55
|
+
* attachment treated as a minion (`treatedAs`) is an ally, and a trait a card in play gave it is gone. A response
|
|
56
|
+
* reads the game as its triggering condition happened (the family of `cardLeavesPlay.traits`), so a pattern's
|
|
57
|
+
* `targetIs` reads these in place of the live card (`resolve/triggers.ts`).
|
|
58
|
+
*/
|
|
59
|
+
export interface DefeatedSnapshot {
|
|
60
|
+
/** Its categories (`categoriesOf`, with any a `countsAs` rule added): `TargetQuery.categories`. */
|
|
61
|
+
readonly categories: readonly TargetCategory[];
|
|
62
|
+
/** Its traits, granted ones included (`traitsOf`): `TargetQuery.trait`, `withoutTrait`, `anyTrait`. */
|
|
63
|
+
readonly traits: readonly Trait[];
|
|
64
|
+
/** Whether it was in play facedown as something else (`CardInstance.facedownAs`): `TargetQuery.facedown`. */
|
|
65
|
+
readonly facedown: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Where a played card was played from (`TriggerEvent cardPlayed.from`, `PlayOrigin` in `actions.ts`): its owner's hand,
|
|
69
|
+
* the top of the deck or a tuck under an as-if-in-hand permission, or a zone an effect played it from.
|
|
70
|
+
*/
|
|
71
|
+
export type PlayedFrom = "hand" | "deckTop" | "tucked" | "separateDeck" | "deck" | "setAside";
|
|
72
|
+
export type TriggerEventBody = {
|
|
73
|
+
readonly kind: "dealDamage";
|
|
74
|
+
readonly targetInstanceId: InstanceId;
|
|
75
|
+
/**
|
|
76
|
+
* The damage this event is still to deal: what it was created with, less what "prevent N of that damage"
|
|
77
|
+
* interrupts have prevented and plus what "increase that damage" interrupts have added. 0 as the event is
|
|
78
|
+
* created is 0 damage as it would be dealt, which opens no window at all (owner ruling 2026-10-06). While its
|
|
79
|
+
* "would take" interrupts resolve (`constantsApplied`), it also has the constant modifiers to the damage taken in
|
|
80
|
+
* it, so that is what they answer (`eventAmount`); the resolved event takes them out again.
|
|
81
|
+
*/
|
|
82
|
+
readonly amount: number;
|
|
83
|
+
/**
|
|
84
|
+
* The damage **dealt** (RRG 1.8 "Prevent", p. 35: "the amount of damage that character 'takes' is reduced, but
|
|
85
|
+
* the amount of damage 'dealt' is not reduced"): `amount` plus everything an interrupt prevented. Written by
|
|
86
|
+
* `preventDamage` the first time it takes anything off `amount`, kept in step by `increaseDamage`, and stamped on
|
|
87
|
+
* every resolved event, so in an interrupt window an absent `dealt` means "`amount`, nothing prevented yet".
|
|
88
|
+
* "After X deals damage / is dealt damage" reads this (owner ruling 2026-10-07, docs/phase7-wave7.md §4.1): a
|
|
89
|
+
* positive amount reached the damage-dealing process, whether or not a tough status card, a prevention, a
|
|
90
|
+
* constant reduction or "cannot take damage" then kept the target from taking it.
|
|
91
|
+
*/
|
|
92
|
+
readonly dealt?: number;
|
|
93
|
+
/**
|
|
94
|
+
* The damage **taken**: what was placed on the target, after preventions, constant reductions and caps, a tough
|
|
95
|
+
* status card and "cannot take damage". Stamped on the resolved event only (absent in the interrupt window) and
|
|
96
|
+
* always equal to its `results.amount` (absent there when 0). "After X takes damage" reads it.
|
|
97
|
+
*/
|
|
98
|
+
readonly taken?: number;
|
|
99
|
+
/**
|
|
100
|
+
* The constant modifiers to the damage taken (increases, reductions and the caps; not doubling) are already in
|
|
101
|
+
* `amount`: set as the damage reaches its "would take" interrupts (RRG 1.8 "Damage", p. 14, step 3;
|
|
102
|
+
* `damageConstantsBeforeWouldTake`), so those interrupts answer the modified amount and the damage step re-checks
|
|
103
|
+
* only the caps, which have the last word over what an interrupt changed since. `removed` is what the modifiers
|
|
104
|
+
* took off (negative when they added): the resolved event adds it back, so its `amount` reads as it does for
|
|
105
|
+
* damage that opened no window (the amount before the constants, less what interrupts prevented).
|
|
106
|
+
*/
|
|
107
|
+
readonly constantsApplied?: {
|
|
108
|
+
readonly removed: number;
|
|
109
|
+
};
|
|
110
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
111
|
+
/** Damage from an attack; defense, retaliate and overkill key off this. */
|
|
112
|
+
readonly fromAttack: boolean;
|
|
113
|
+
/** The attack/activation event frame this damage belongs to; damage/defeat results are reported there. */
|
|
114
|
+
readonly parentFrameId?: FrameId | null;
|
|
115
|
+
/**
|
|
116
|
+
* Overkill spill (RRG 1.8 "Overkill", p. 31): the attack frame whose defeated target this excess spilled from. The
|
|
117
|
+
* spill reports only its per-character `damageTaken.<instanceId>` result there (docs/phase7-wave5.md §4.1 Q65),
|
|
118
|
+
* not the attack's `damage`/`damaged`/`defeated` totals, which count the attacked target's damage alone.
|
|
119
|
+
*/
|
|
120
|
+
readonly spilledFromFrameId?: FrameId | null;
|
|
121
|
+
/** This attack has overkill even if its source lacks the keyword (Relentless Assault, Charge). */
|
|
122
|
+
readonly overkill?: boolean;
|
|
123
|
+
/** "This damage ignores tough status cards" (Lightning Strike, errata RRG 1.8 p. 65): taken through a tough status card, which stays. */
|
|
124
|
+
readonly ignoreTough?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* "Unpreventable damage" (docs/phase7-wave11-hero-packs.md §H3.3, `EffectSpec dealDamage.unpreventable`): taken
|
|
127
|
+
* through a tough status card, which stays, and past every reduction and prevention; increases and "cannot"
|
|
128
|
+
* rules (caps, "cannot take damage") still apply.
|
|
129
|
+
* A redirect of it ("deal that damage to X instead", `sourceFromEvent`) keeps it unpreventable (Q103 at A).
|
|
130
|
+
*/
|
|
131
|
+
readonly unpreventable?: true;
|
|
132
|
+
/**
|
|
133
|
+
* This attack has piercing even if its attacker lacks the keyword ("this attack gains piercing"): the attacked
|
|
134
|
+
* character's tough status cards are discarded before damage (RRG 1.8 "Piercing", p. 32). Stamped when the
|
|
135
|
+
* attack pushes its damage, so every way of granting the keyword is already folded in.
|
|
136
|
+
*/
|
|
137
|
+
readonly piercing?: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Set once this attack's piercing has resolved ahead of the damage's interrupt window (ruling January 17, 2026
|
|
140
|
+
* (3) #2: a keyword has timing priority over triggered abilities): how many tough status cards it discarded. The
|
|
141
|
+
* damage step announces them and does not pierce a second time.
|
|
142
|
+
*/
|
|
143
|
+
readonly toughPierced?: number;
|
|
144
|
+
/**
|
|
145
|
+
* This attack has ranged, its attacker's own or granted to this attack, stamped as `piercing` is. Read by the
|
|
146
|
+
* damage rules keyed to an attack's keyword ("unless … the attack has ranged", `cannotTakeDamage.
|
|
147
|
+
* exceptAttackKeyword`; docs/phase7-wave7.md §3.30).
|
|
148
|
+
*/
|
|
149
|
+
readonly ranged?: true;
|
|
150
|
+
/**
|
|
151
|
+
* This instance of an attack's damage was dealt with the attacker's ATK ("uses their ATK to attack and damage",
|
|
152
|
+
* docs/phase7-wave10.md §3.17): a basic attack's damage, an attack or damage instruction marked `usesAtk`
|
|
153
|
+
* ("damage … equal to your ATK"), and overkill damage spilled from either (rulings December 17, 2025 (2) #3 and
|
|
154
|
+
* January 11, 2026 (1), (2)). Stamped as the attack pushes the damage; every damage of an enemy's attack is
|
|
155
|
+
* stamped as it is applied (`damageUsedStat`, `rules.ts`), so the damage's response window always reads it here.
|
|
156
|
+
* Absent for a flat amount and for damage that is not an attack's.
|
|
157
|
+
*/
|
|
158
|
+
readonly usedStat?: "atk";
|
|
159
|
+
/** The card whose ability produced this damage when that isn't the source ("damage from Black Panther upgrades"). */
|
|
160
|
+
readonly viaInstanceId?: InstanceId | null;
|
|
161
|
+
/** An ally's consequential damage (RRG 1.8 "Consequential Damage", p. 13), so "for this use" can cancel it (§3.21). */
|
|
162
|
+
readonly consequential?: true;
|
|
163
|
+
/** With `consequential`: the basic power it follows, read by a rule's `ConsequentialDamageScope.from` (§3.31). */
|
|
164
|
+
readonly consequentialFrom?: "attack" | "thwart";
|
|
165
|
+
/**
|
|
166
|
+
* Indirect damage (RRG 1.8 "Indirect Damage", p. 24): one character's assigned share, stamped where the shares
|
|
167
|
+
* are dealt (`dealIndirectDamage`), whatever dealt them — an ability, a cost, or an enemy attack that deals
|
|
168
|
+
* indirect damage. Read by `EventPattern.indirect` ("after a friendly character takes indirect damage").
|
|
169
|
+
*/
|
|
170
|
+
readonly indirect?: true;
|
|
171
|
+
/**
|
|
172
|
+
* Attack damage dealt to a character the attack is not against ("damage from that attack is dealt to the chosen
|
|
173
|
+
* enemy instead of you", Psychic Misdirection; `modifyAttack.damageTo`, docs/phase7-wave6.md §3.36 and §4.1 Q18):
|
|
174
|
+
* still `fromAttack` from the attacker, but the attack's piercing and overkill and its "prevent N damage from
|
|
175
|
+
* this attack" budget (all about the attacked character) do not apply to it.
|
|
176
|
+
*/
|
|
177
|
+
readonly notAttacked?: true;
|
|
178
|
+
/**
|
|
179
|
+
* A share of an attack's damage dealt to a character that is not the attacked character: indirect damage assigned
|
|
180
|
+
* to another character (RRG 1.8 "Indirect Damage", p. 24: "Only the defending character, or the attacked player's
|
|
181
|
+
* identity if the attack was undefended, is considered to have been attacked, even if other characters were
|
|
182
|
+
* assigned some or all of the indirect damage"), or a divided attack's share (`divideDamageEvenly`). The attack's
|
|
183
|
+
* piercing discards tough status cards "from the attacked character" only ("Piercing", p. 32; ruling January 24,
|
|
184
|
+
* 2025 #64), so not this character's. Narrower than `notAttacked`: the share is still the attack's damage for
|
|
185
|
+
* everything else (its totals, its keywords as the damage-taken rules read them).
|
|
186
|
+
*/
|
|
187
|
+
readonly pierceExempt?: true;
|
|
188
|
+
/**
|
|
189
|
+
* Damage no player deals although a player controls its source (`EffectSpec dealDamage.by` naming nobody;
|
|
190
|
+
* docs/phase7-wave7.md §4.1 Q2): nothing keyed to the source's controller answers it and a defeat it causes has
|
|
191
|
+
* no defeating player (`sourcePlayerOf`). What applies to any damage still applies: a tough status card absorbs it.
|
|
192
|
+
*/
|
|
193
|
+
readonly noPlayer?: true;
|
|
194
|
+
/** The attacked character's retaliate keyword deals it to its attacker (RRG 1.8 "Retaliate X", p. 38). */
|
|
195
|
+
readonly retaliate?: true;
|
|
196
|
+
/**
|
|
197
|
+
* The target as it took this damage (`TargetSnapshot`), stamped as the damage is applied, so it is absent in the
|
|
198
|
+
* damage's interrupt window and present in its response window. "After Deadpool takes damage" still names him
|
|
199
|
+
* when that damage turned him to his alter-ego side before the response is read (docs/phase7-wave7.md §3.79).
|
|
200
|
+
*/
|
|
201
|
+
readonly targetAsDamaged?: TargetSnapshot;
|
|
202
|
+
} | {
|
|
203
|
+
readonly kind: "healDamage";
|
|
204
|
+
readonly targetInstanceId: InstanceId;
|
|
205
|
+
readonly amount: number;
|
|
206
|
+
/** The card whose ability heals it, read by `RuleSpec cannotBeHealed` (docs/phase7-wave6.md §3.12). */
|
|
207
|
+
readonly sourceInstanceId?: InstanceId | null;
|
|
208
|
+
} | {
|
|
209
|
+
readonly kind: "placeThreat";
|
|
210
|
+
readonly schemeInstanceId: InstanceId;
|
|
211
|
+
readonly amount: number;
|
|
212
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
213
|
+
readonly parentFrameId?: FrameId | null;
|
|
214
|
+
/**
|
|
215
|
+
* The threat a card enters play with (a side scheme's or player side scheme's starting threat, hinder, a flip's
|
|
216
|
+
* new side scheme face): it lands on the card as one event, but no threat is "placed", so no interrupt, response
|
|
217
|
+
* or "each time" effect answers it (FAQ "Jennifer Walters (#19B)", RRG 1.8 Appendix IV: "Side schemes enter play
|
|
218
|
+
* with threat already on them, meaning threat is not 'placed' at this point"). A When Revealed that places more
|
|
219
|
+
* threat on the scheme ("Place an additional 1 per hero threat here") is a placement of its own, without this.
|
|
220
|
+
* Absent on every placement.
|
|
221
|
+
*/
|
|
222
|
+
readonly entering?: true;
|
|
223
|
+
/**
|
|
224
|
+
* Villain phase step one with several main schemes (docs/phase7-wave5.md §4.1 Q71): every scheme's threat lands
|
|
225
|
+
* before any completion is checked. `"deferred"`: this placement skips the completion check; `"closing"`: the
|
|
226
|
+
* last placement of the batch checks every main scheme, even if its own amount was prevented to 0 or it was
|
|
227
|
+
* cancelled. Absent everywhere else, where each placement checks as it lands.
|
|
228
|
+
*/
|
|
229
|
+
readonly completionCheck?: "deferred" | "closing";
|
|
230
|
+
} | {
|
|
231
|
+
readonly kind: "removeThreat";
|
|
232
|
+
readonly schemeInstanceId: InstanceId;
|
|
233
|
+
readonly amount: number;
|
|
234
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
235
|
+
/**
|
|
236
|
+
* "The player who removed that threat" (The Search for Spiral, `mojo` 39016), and this event's player
|
|
237
|
+
* (`PlayerRef eventPlayer`): the thwarting player for a thwart's removal; else the player using the ability that
|
|
238
|
+
* removes it (an effects frame's `byPlayer`), whatever card it is on, so a scheme's own "Hero Action: … remove 3
|
|
239
|
+
* threat from here" names the player who used it although no player controls the scheme (RRG 1.8 "Ability",
|
|
240
|
+
* p. 4: "Any player can use such an ability on an encounter card"; "You, Your", p. 49: that player performs it);
|
|
241
|
+
* else the player the removing card acts for (`sourcePlayerOf`: its controller, or the player an obligation or
|
|
242
|
+
* an attachment on a player card speaks to). Absent or null for a removal no player makes: any other encounter
|
|
243
|
+
* card's forced ability, an enemy's scheme that removes threat.
|
|
244
|
+
*/
|
|
245
|
+
readonly playerId?: PlayerId | null;
|
|
246
|
+
readonly parentFrameId?: FrameId | null;
|
|
247
|
+
/** "…, ignoring any crisis icons in play": this removal skips the crisis check (RRG 1.8 "Crisis Icon", p. 14). */
|
|
248
|
+
readonly ignoreCrisis?: boolean;
|
|
249
|
+
/**
|
|
250
|
+
* A removal no player makes although a player controls its source (`EffectSpec removeThreat.by` naming nobody;
|
|
251
|
+
* docs/phase7-wave7.md §4.1 Q2): `playerId` is null and the source's controller is not read in its place
|
|
252
|
+
* (`sourcePlayerOf`), so no rule on what one player may do applies and a scheme it defeats has no defeating
|
|
253
|
+
* player. It is still a player card's removal: a crisis icon stops it (RRG 1.8 "Crisis Icon", p. 14).
|
|
254
|
+
*/
|
|
255
|
+
readonly noPlayer?: true;
|
|
256
|
+
/**
|
|
257
|
+
* This removal is the first half of a move (`EffectSpec moveThreat`; RRG 1.8 "Move", p. 30): the frame of the
|
|
258
|
+
* move's `placeThreat`, still on the stack below it. An interrupt that places "that threat" elsewhere
|
|
259
|
+
* (`EffectSpec placeThreat.ofRemovedThreat`) takes its tokens out of that placement (ruling Nov 21, 2025).
|
|
260
|
+
*/
|
|
261
|
+
readonly movePlacementFrameId?: FrameId;
|
|
262
|
+
} | {
|
|
263
|
+
readonly kind: "attack";
|
|
264
|
+
readonly attackerInstanceId: InstanceId;
|
|
265
|
+
/**
|
|
266
|
+
* The attacked character. Null only on a `labeled` or `begun` attack that began before any enemy could be named
|
|
267
|
+
* (its enemy is chosen after an earlier instruction of the ability, or every enemy named was guarded): it takes
|
|
268
|
+
* the first enemy an instruction attacks as its target then, and stays null if it attacks nobody.
|
|
269
|
+
*/
|
|
270
|
+
readonly targetInstanceId: InstanceId | null;
|
|
271
|
+
readonly playerId: PlayerId;
|
|
272
|
+
/** Damage for an "(attack)" ability; absent/null = the attacker's ATK (a basic attack). */
|
|
273
|
+
readonly amount?: number | null;
|
|
274
|
+
readonly basic?: boolean;
|
|
275
|
+
readonly overkill?: boolean;
|
|
276
|
+
/** "This attack gains piercing/ranged": keywords this attack has that its attacker need not (`AttackKeyword`). */
|
|
277
|
+
readonly keywords?: readonly ("piercing" | "ranged" | "overkill")[];
|
|
278
|
+
/**
|
|
279
|
+
* "This attack ignores guard" (`EffectSpec attack.ignores`): this attack is not stopped by guard, so the guard
|
|
280
|
+
* minions it got past are recorded as ignored (`guardsIgnored`) and "resolve this attack against …" keeps the
|
|
281
|
+
* waiver. Set on the event an `attack` instruction makes, and on the attack its ability begins with.
|
|
282
|
+
*/
|
|
283
|
+
readonly ignoresGuard?: true;
|
|
284
|
+
/**
|
|
285
|
+
* The attack in progress deals its damage with the attacker's ATK (docs/phase7-wave10.md §3.17): written as the
|
|
286
|
+
* event is made for an `attack` instruction marked `usesAtk` and for a friendly character made to attack, and
|
|
287
|
+
* as the attack deals its damage for a basic attack (`attackUsesAtk`, `rules.ts`, which reads a basic attack
|
|
288
|
+
* before then), and for the attack of an "(attack)" ability as one of its damage instructions marked
|
|
289
|
+
* `usesAtk` deals its damage. `"thw"`: a basic attack made with THW instead ("uses their THW instead of their
|
|
290
|
+
* ATK", `modifyBasicPower.useStat`), written as it deals its damage. Absent for a flat amount.
|
|
291
|
+
*/
|
|
292
|
+
readonly usedStat?: "atk" | "thw";
|
|
293
|
+
/**
|
|
294
|
+
* The attacked hero made a basic defense against this attack: a friendly character's attack its player defended
|
|
295
|
+
* (Old Rivals; `resolve/friendly-attack.ts`), so the hero's DEF is taken off its damage (RRG 1.8 "Attack (Enemy
|
|
296
|
+
* Activation)" step 4, p. 9). Absent on every other attack.
|
|
297
|
+
*/
|
|
298
|
+
readonly basicDefense?: true;
|
|
299
|
+
/**
|
|
300
|
+
* A friendly character's attack on its own player (Old Rivals; `resolve/friendly-attack.ts`): the player it is
|
|
301
|
+
* made against, who may defend it, by the Declare Defender question or by a "(defense)" ability
|
|
302
|
+
* (`declareLabeledDefense`). Absent on every other attack.
|
|
303
|
+
*/
|
|
304
|
+
readonly attackedPlayerId?: PlayerId;
|
|
305
|
+
/** The card whose ability made this attack (the event card for "Hero Action (attack)"). */
|
|
306
|
+
readonly sourceInstanceId?: InstanceId | null;
|
|
307
|
+
/**
|
|
308
|
+
* The ability that made this attack, absent for a basic attack and for an attack no ability made: "When you use
|
|
309
|
+
* your 'Optic Blast' ability" (Full Blast 33008) hears only that ability's attack, not an "(attack)" event's
|
|
310
|
+
* (`EventPattern.sourceAbility`, docs/phase7-wave6.md §3.84).
|
|
311
|
+
*/
|
|
312
|
+
readonly sourceAbilityId?: AbilityId;
|
|
313
|
+
/**
|
|
314
|
+
* The same attack resolved against another target ("resolve this attack against each minion engaged with that
|
|
315
|
+
* player", Thor 25013; `EffectSpec resolveAttackAgainst`, docs/phase7-wave4.md §3.22): the attacker's own "when
|
|
316
|
+
* it attacks" abilities don't re-trigger, as with an enemy attack's `additionalResolution`.
|
|
317
|
+
*/
|
|
318
|
+
readonly additionalResolution?: true;
|
|
319
|
+
/**
|
|
320
|
+
* The attacked character as this attack's damage was dealt to it (`TargetSnapshot`), copied from that damage as
|
|
321
|
+
* it is applied: absent in the attack's interrupt window (which reads the live card) and for an attack that
|
|
322
|
+
* dealt its target no damage, present in its response window. So a status card the attack's own ability gave
|
|
323
|
+
* before the damage counts, and one discarded before the damage does not. Damage to a character the attack is
|
|
324
|
+
* not against (`notAttacked`) is not read.
|
|
325
|
+
*/
|
|
326
|
+
readonly targetAsDamaged?: TargetSnapshot;
|
|
327
|
+
/**
|
|
328
|
+
* The attack an "(attack)"-labeled ability makes when it has no `attack` effect of its own (RRG 1.8 "Labeled
|
|
329
|
+
* Ability", p. 26: resolving the ability "is considered to be an attack made by that player's identity"; owner
|
|
330
|
+
* ruling Q48, docs/phase7-wave8.md §4.1). It deals no damage itself: it opens as the ability begins resolving,
|
|
331
|
+
* before its first instruction (p. 26: "when the labeled ability begins resolving (after costs have been
|
|
332
|
+
* paid)"; owner decision, 2026-10-08, row 61), and the damage of the ability's instructions is this attack's
|
|
333
|
+
* (`resolve/attack-ability.ts`). `targetInstanceId` is the first enemy its first damage instruction would
|
|
334
|
+
* attack, read as the attack begins, or null when none can be named yet.
|
|
335
|
+
*/
|
|
336
|
+
readonly labeled?: true;
|
|
337
|
+
/**
|
|
338
|
+
* The attack of an "(attack)"-labeled ability that has an `attack` effect, begun as the ability began resolving
|
|
339
|
+
* because another instruction resolves before that effect (RRG 1.8 "Labeled Ability", p. 26: "when the labeled
|
|
340
|
+
* ability begins resolving (after costs have been paid)"; owner decision, 2026-10-08, row 73;
|
|
341
|
+
* `resolve/attack-ability.ts`). Its interrupt window opens then. Until its `attack` instruction is reached the
|
|
342
|
+
* event carries what could be read as it began: `targetInstanceId` (the enemy that instruction names if it is
|
|
343
|
+
* already chosen, else null), the instruction's `keywords` and `overkill`, and `amount` 0 (the damage is not
|
|
344
|
+
* known yet). The instruction then takes this event over and gives it its target, amount and keywords, so the
|
|
345
|
+
* resolved event reads as any other attack's. An attack no instruction took over attacked only the enemies the
|
|
346
|
+
* ability's other damage instructions named (`attacked`, always present on it).
|
|
347
|
+
*/
|
|
348
|
+
readonly begun?: true;
|
|
349
|
+
/**
|
|
350
|
+
* On an "(attack)" ability's attack once it has finished: every enemy it attacked, in order, each once (RRG 1.8
|
|
351
|
+
* "Attack (Player Ability Type)", p. 10: "When an attack targets multiple enemies, the attacking character is
|
|
352
|
+
* considered to have attacked each of those enemies"; owner ruling Q50). These are the enemies an instruction of
|
|
353
|
+
* the ability targeted, never an enemy that only lost hit points to it (an overkill spill). The event's targets
|
|
354
|
+
* (`eventSubjects`, so `targetIs`, `eventTarget`) are these when present. Absent when it is exactly
|
|
355
|
+
* `[targetInstanceId]`, so a one-target attack reads as it always has; always present on a `labeled` attack.
|
|
356
|
+
*/
|
|
357
|
+
readonly attacked?: readonly InstanceId[];
|
|
358
|
+
/**
|
|
359
|
+
* A condition derived from this attack for one character its overkill damaged other than the attacked one (the
|
|
360
|
+
* identity of a defeated ally's controller, the villain beyond a defeated minion): `targetInstanceId` is that
|
|
361
|
+
* character and `results` its damage alone. It shares the attack's response window (`overkillSpillConditions`,
|
|
362
|
+
* `resolve/event.ts`) and is heard only by "attacks and damages" (`requireResults` `damage`/`damaged`): FFG ruling
|
|
363
|
+
* January 11, 2026 (2), "if Jigsaw attacks with overkill and damages both an ally and an identity, his Forced
|
|
364
|
+
* Response triggers twice"; RRG 1.8 "Overkill" (p. 31): the spill "is considered damage from an attack, but does
|
|
365
|
+
* not constitute an attack against that character".
|
|
366
|
+
*/
|
|
367
|
+
readonly overkillSpill?: true;
|
|
368
|
+
} | {
|
|
369
|
+
readonly kind: "thwart";
|
|
370
|
+
readonly thwarterInstanceId: InstanceId;
|
|
371
|
+
readonly schemeInstanceId: InstanceId;
|
|
372
|
+
readonly playerId: PlayerId;
|
|
373
|
+
/**
|
|
374
|
+
* Threat this thwart removes: a "(thwart)" ability's (or a divided basic thwart's share) from the start; absent
|
|
375
|
+
* or null on a basic thwart until it resolves (it removes the thwarter's THW, `select.ts` `thwartAmount`). Once
|
|
376
|
+
* resolved, the threat actually removed, which is what its response window sees.
|
|
377
|
+
*/
|
|
378
|
+
readonly amount?: number | null;
|
|
379
|
+
readonly basic?: boolean;
|
|
380
|
+
/** A basic thwart made with ATK instead of THW (the Assault keyword, or "may use their ATK"; §3.11). */
|
|
381
|
+
readonly useAtk?: boolean;
|
|
382
|
+
/**
|
|
383
|
+
* Every scheme of the one divided basic thwart this share belongs to, this share's own included (RRG 1.8
|
|
384
|
+
* "Assault", p. 8, and docs/phase7-wave7.md §4.1 Q3: a divided basic thwart is one basic thwart). The character
|
|
385
|
+
* is thwarting each of them for as long as any share is resolving, which is what `thwartInProgress` reads.
|
|
386
|
+
*/
|
|
387
|
+
readonly dividedAmong?: readonly InstanceId[];
|
|
388
|
+
/** "…, ignoring any crisis icons in play": passed to the threat removal this thwart makes. */
|
|
389
|
+
readonly ignoreCrisis?: boolean;
|
|
390
|
+
/** "…, ignoring the patrol keyword": this thwart is not stopped by patrol (docs/phase7-wave4.md §3.32). */
|
|
391
|
+
readonly ignorePatrol?: boolean;
|
|
392
|
+
readonly sourceInstanceId?: InstanceId | null;
|
|
393
|
+
/**
|
|
394
|
+
* This is one instance of the threat a "(thwart)" ability removes by its controller's identity: the root effects
|
|
395
|
+
* frame of that ability's resolution, which carries its `ThwartSession`. The ability is a single thwart (RRG 1.8
|
|
396
|
+
* "Thwart", p. 44), so only its first instance opens an interrupt window and none opens a response window; the
|
|
397
|
+
* ability's one resolved `thwart` event (without this field) follows its last effect. `resolve/thwart-session.ts`.
|
|
398
|
+
*/
|
|
399
|
+
readonly abilityFrameId?: FrameId;
|
|
400
|
+
/**
|
|
401
|
+
* On the resolved event of a "(thwart)" ability that removed several instances of threat: each instance in order,
|
|
402
|
+
* with the threat actually removed. `schemeInstanceId` is then the first instance's scheme, `amount` the total,
|
|
403
|
+
* and the event's targets (`eventSubjects`) are all of these schemes. Absent for a single instance.
|
|
404
|
+
*/
|
|
405
|
+
readonly instances?: readonly {
|
|
406
|
+
readonly schemeInstanceId: InstanceId;
|
|
407
|
+
readonly amount: number;
|
|
408
|
+
}[];
|
|
409
|
+
/**
|
|
410
|
+
* A thwart that removes no threat: "Interrupt (thwart): When the villain schemes, reduce the amount of threat
|
|
411
|
+
* placed on the scheme by 1" (Emergency 01085; owner decision, 2026-10-03). As it applies, the scheme activation
|
|
412
|
+
* `activationFrameId` places `amount` less threat (its `threatBonus`); `schemeInstanceId` is the scheme that
|
|
413
|
+
* activation places its threat on, and `amount` (the thwart's) is 0. See `EffectSpec modifyAttack.threatBonus`.
|
|
414
|
+
*/
|
|
415
|
+
readonly reducesThreatPlaced?: {
|
|
416
|
+
readonly activationFrameId: FrameId;
|
|
417
|
+
readonly amount: number;
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
/** A defender was declared (basic defense) or a "(defense)" ability made the identity the defender. */
|
|
421
|
+
| {
|
|
422
|
+
readonly kind: "defended";
|
|
423
|
+
readonly defenderInstanceId: InstanceId;
|
|
424
|
+
/**
|
|
425
|
+
* The attacking character, the event's source: an enemy, except for a friendly character's attack on its own
|
|
426
|
+
* player (Old Rivals, `resolve/friendly-attack.ts`), whose attacker is no enemy (ruling Oct 26, 2023 (102)). A
|
|
427
|
+
* pattern for a defense "against an enemy attack" asks for an enemy source (`sourceIs`).
|
|
428
|
+
*/
|
|
429
|
+
readonly enemyInstanceId: InstanceId;
|
|
430
|
+
readonly playerId: PlayerId;
|
|
431
|
+
readonly basic: boolean;
|
|
432
|
+
} | {
|
|
433
|
+
readonly kind: "enemyAttack";
|
|
434
|
+
readonly enemyInstanceId: InstanceId;
|
|
435
|
+
/**
|
|
436
|
+
* The player the attack was initiated against: the "you" of "**When** [enemy] attacks you" (`PlayerRef
|
|
437
|
+
* attackedPlayer` with `initiated`). A declared defender never changes it.
|
|
438
|
+
*/
|
|
439
|
+
readonly attackedPlayerId: PlayerId;
|
|
440
|
+
/**
|
|
441
|
+
* The attack's target player now: the attacked player until another player's hero or ally defends, or another
|
|
442
|
+
* player's "(defense)" ability makes their identity the defender, and that player from then on. The "you" of
|
|
443
|
+
* "**After** [enemy] attacks you" (RRG 1.8 "Defend, Defense", pp. 15-16; `EventPattern.usesAttackedPlayer`), and
|
|
444
|
+
* of a constant or boost ability while the attack resolves (p. 16; `PlayerRef attackedPlayer`).
|
|
445
|
+
*/
|
|
446
|
+
readonly targetPlayerId: PlayerId;
|
|
447
|
+
readonly targetInstanceId: InstanceId;
|
|
448
|
+
/** The same attack resolved against another player (Whirlwind): the attacker's "when it attacks" abilities don't re-trigger. */
|
|
449
|
+
readonly additionalResolution?: boolean;
|
|
450
|
+
/** "That attack does not get a boost card" (Escaped Convict, I See You): step 1 deals nothing. */
|
|
451
|
+
readonly noBoost?: boolean;
|
|
452
|
+
/** `EffectSpec enemyActivation.boostCards`: given as this activation's boost cards at its step 1. */
|
|
453
|
+
readonly appliedBoostCards?: readonly InstanceId[];
|
|
454
|
+
/** `EffectSpec enemyAttack.statBonusTiming`: the `atkBonus` read once this attack's interrupts have resolved. */
|
|
455
|
+
readonly deferredBonus?: DeferredActivationBonus;
|
|
456
|
+
/** As on `attack`: a condition derived for a character this attack's overkill damaged. */
|
|
457
|
+
readonly overkillSpill?: true;
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* An enemy attack has reached its damage step (RRG 1.8 "Attack (Enemy Activation)", pp. 8-9: step 2 has declared
|
|
461
|
+
* the defender, step 3 has resolved the boost cards, a defending ally that left play has made the attack undefended
|
|
462
|
+
* (step 5), and step 4's damage is not yet dealt). An interrupt: "When an enemy resolves an undefended attack against
|
|
463
|
+
* you, deal that damage to [this ally]" (`on.enemyAttacks(…, { atDamage: true, undefended: true })`). RRG 1.8
|
|
464
|
+
* "Interrupt" (p. 25) resolves it before the damage, so ahead of the attack's `dealDamage` and of the tough status
|
|
465
|
+
* card that damage would discard (RRG 1.8 "Damage", p. 14; owner decision 2026-10-16: attack-triggered interrupts
|
|
466
|
+
* are scripted on the attack, not on its damage, so a tough card does not pre-empt them). An interrupt's
|
|
467
|
+
* `modifyAttack` (`damageTo`, `atkBonus`, …) changes the damage this step then deals.
|
|
468
|
+
*
|
|
469
|
+
* `undefended` is 1 when nobody defends the attack now (the attack's `undefended` result), else 0, so a pattern
|
|
470
|
+
* narrows by it with `eventAtLeast` / `eventAtMost`. `targetPlayerId` ("you") and `targetInstanceId` are the attack's
|
|
471
|
+
* target as the damage step reads them: the defending player and the defender, or the attacked player's identity
|
|
472
|
+
* when undefended. Pushed only when an ability could react (`heard`), so other games resolve as before.
|
|
473
|
+
*/
|
|
474
|
+
| {
|
|
475
|
+
readonly kind: "enemyAttackDamageStep";
|
|
476
|
+
readonly enemyInstanceId: InstanceId;
|
|
477
|
+
readonly attackedPlayerId: PlayerId;
|
|
478
|
+
readonly targetPlayerId: PlayerId;
|
|
479
|
+
readonly targetInstanceId: InstanceId;
|
|
480
|
+
readonly defenderInstanceId: InstanceId | null;
|
|
481
|
+
readonly undefended: 0 | 1;
|
|
482
|
+
} | {
|
|
483
|
+
readonly kind: "enemyScheme";
|
|
484
|
+
readonly enemyInstanceId: InstanceId;
|
|
485
|
+
readonly playerId: PlayerId;
|
|
486
|
+
readonly noBoost?: boolean;
|
|
487
|
+
/** `EffectSpec enemyActivation.boostCards`: given as this activation's boost cards at its step 1. */
|
|
488
|
+
readonly appliedBoostCards?: readonly InstanceId[];
|
|
489
|
+
/**
|
|
490
|
+
* A Boost ability started this scheme during an enemy attack, or during a scheme that was itself so started: it
|
|
491
|
+
* follows that attack (RRG 1.8 "Activation", p. 6), and a boost card's "after this attack" still has one to answer
|
|
492
|
+
* (ruling 191, May 16, 2024; `Predicate currentSchemeStartedByAttackBoost`).
|
|
493
|
+
*/
|
|
494
|
+
readonly startedByAttackBoost?: true;
|
|
495
|
+
/** `EffectSpec enemyScheme.divert` (docs/phase7-wave9.md §3.9), read at this activation's place-threat step. */
|
|
496
|
+
readonly divert?: SchemeThreatDivert;
|
|
497
|
+
/** `EffectSpec enemyScheme.wouldPlaceThreat`, resolved at this activation's place-threat step. */
|
|
498
|
+
readonly wouldPlaceThreat?: SchemeWouldPlaceThreat;
|
|
499
|
+
/** `EffectSpec enemyScheme.statBonusTiming`: the `schBonus` read once this scheme's interrupts have resolved. */
|
|
500
|
+
readonly deferredBonus?: DeferredActivationBonus;
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* An enemy was given a facedown boost card (docs/phase7-wave9.md §3.44): "Hero Response (defense): After an
|
|
504
|
+
* attacking enemy is given a facedown boost card, look at that card and the top card of the encounter deck. You may
|
|
505
|
+
* swap those cards" (Up, Up, and Away, `falcon` 53005). An announcement: the card is on the enemy, facedown, and
|
|
506
|
+
* nothing has been turned up (RRG 1.8 "Attack (Enemy Activation)" step 1, p. 8, "Scheme (Enemy Activation)" step 1,
|
|
507
|
+
* "Boost, Boost Icon", p. 11). One event, with a response window of its own, for each boost card: the activation's
|
|
508
|
+
* own card, each additional one, and a card a card ability gives ("give the villain a facedown boost card"). Only
|
|
509
|
+
* recorded when an ability in the registry listens (`recordBoostGiven`), and announced between frames
|
|
510
|
+
* (`announceBoostCardsGiven`).
|
|
511
|
+
*
|
|
512
|
+
* `enemyInstanceId` is the event's source and `boostInstanceId` its target ("that card"), whose face no player may
|
|
513
|
+
* read: a pattern must not narrow by it. `activation`: the activation of that enemy in progress as it was given the
|
|
514
|
+
* card ("an attacking enemy" is `activation: "attack"`), null when it is not activating (the card waits facedown,
|
|
515
|
+
* p. 11). `playerId`: the player that activation is against ("you"), null with no activation.
|
|
516
|
+
*
|
|
517
|
+
* During its own activation an enemy is given its boost cards one at a time in a game that listens, each window
|
|
518
|
+
* resolved before the next card is taken off the deck, so the card a response swapped onto the top of the deck is
|
|
519
|
+
* the next boost card given.
|
|
520
|
+
*/
|
|
521
|
+
| {
|
|
522
|
+
readonly kind: "boostCardGiven";
|
|
523
|
+
readonly enemyInstanceId: InstanceId;
|
|
524
|
+
readonly boostInstanceId: InstanceId;
|
|
525
|
+
readonly activation: "attack" | "scheme" | null;
|
|
526
|
+
readonly playerId: PlayerId | null;
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* A facedown boost card is about to be given to a card: "Interrupt: When an enemy would be given a facedown boost
|
|
530
|
+
* card, remove 1[per_hero] support counters from here instead." (Public Support 60163b, `fne`;
|
|
531
|
+
* docs/phase7-wave11-scenarios.md E23). RRG 1.8 "Boost, Boost Icon" (p. 11); "'Would'" (p. 48); "Replacement
|
|
532
|
+
* Effect" (p. 37): a replaced give "is no longer considered imminent", so no card is given and no `boostCardGiven`
|
|
533
|
+
* follows it.
|
|
534
|
+
*
|
|
535
|
+
* One event per card, before it is given: `enemyInstanceId` is the card to hold it (the event's source, as for
|
|
536
|
+
* `boostCardGiven`), `activation` / `playerId` the activation of that enemy in progress and the player it is
|
|
537
|
+
* against (null when it is not activating). `outsideActivation`: a card ability gives it (`EffectSpec
|
|
538
|
+
* giveBoostCard`), not the activation (its step 1, or an additional boost card an effect adds to it). `named`: a
|
|
539
|
+
* chosen card (`giveBoostCard.card`), the event's target, not yet moved; absent, the card is whatever is on top of
|
|
540
|
+
* the encounter deck when the event applies.
|
|
541
|
+
*
|
|
542
|
+
* Interrupt only: the give is this event's apply step (`applyBoostCardBeingGiven`), which gives as before, so
|
|
543
|
+
* `boostCardGiven` still follows a give that was not replaced. Cancelled or replaced (`cancelTriggeringEvent`,
|
|
544
|
+
* `replaceTriggeringEvent`), nothing is given: the deck's top card stays on top and a named card stays where it was.
|
|
545
|
+
* An activation's own card still counts as one of its boost cards for the give step, so "1 additional boost card"
|
|
546
|
+
* is not given in its place.
|
|
547
|
+
* A replaced give does not leave the giving effect's text before a "then" unresolved, as a replaced named deal
|
|
548
|
+
* (`encounterCardBeingDealt`) does: no printed card yet gives a boost card before a "then" (engine reading,
|
|
549
|
+
* authority step 5).
|
|
550
|
+
*
|
|
551
|
+
* Pushed only when an ability could react (`boostAwaitingInterrupt`, `heard`); otherwise the card is given at once,
|
|
552
|
+
* with the log, state and replay of a game that has no such ability. **Not** heard (engine reading, authority step
|
|
553
|
+
* 5): a boost card given as a cost (`AbilityCost.giveBoostCards`; all costs are paid at once, RRG 1.8 "Cost", p. 13),
|
|
554
|
+
* a defeated card given to the enemy leader as its own boost card (`defeatFromPlay`), and the boost card of a
|
|
555
|
+
* villainous character's basic power.
|
|
556
|
+
*/
|
|
557
|
+
| {
|
|
558
|
+
readonly kind: "boostCardBeingGiven";
|
|
559
|
+
readonly enemyInstanceId: InstanceId;
|
|
560
|
+
readonly activation: "attack" | "scheme" | null;
|
|
561
|
+
readonly playerId: PlayerId | null;
|
|
562
|
+
readonly outsideActivation?: true;
|
|
563
|
+
readonly named?: {
|
|
564
|
+
readonly instanceId: InstanceId;
|
|
565
|
+
};
|
|
566
|
+
/** Held for the friendly holder's next basic power (`EffectSpec giveBoostCard.forBasicPower`). */
|
|
567
|
+
readonly forBasicPower?: true;
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* A facedown boost card is about to be turned faceup during an enemy's activation: "When a boost card … would be
|
|
571
|
+
* turned faceup" (Defiance 26018). Interrupt only, and the card is still facedown while its window is open: FFG ruling
|
|
572
|
+
* (Alex Werner, RRG 1.0-1.4 rulings, "Is there any meaningful difference between 'is' and 'would be' for interrupts?")
|
|
573
|
+
* says Defiance discards the card without turning it faceup, while Preemptive Strike's "is turned face up" sees it.
|
|
574
|
+
* Not announced for a villainous ally's or hero's own boost card (Defiance's "on an enemy", §S3.7).
|
|
575
|
+
*/
|
|
576
|
+
| {
|
|
577
|
+
readonly kind: "boostCardTurningFaceup";
|
|
578
|
+
readonly enemyInstanceId: InstanceId;
|
|
579
|
+
readonly boostInstanceId: InstanceId;
|
|
580
|
+
readonly activation: "attack" | "scheme";
|
|
581
|
+
/** "You": the player the activation is against. */
|
|
582
|
+
readonly playerId: PlayerId;
|
|
583
|
+
/** An attack's target character (the defender, once declared), as on `boostCardTurnedFaceup`. */
|
|
584
|
+
readonly targetInstanceId?: InstanceId;
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* A boost card was turned faceup during an activation (RRG 1.8 "Boost", p. 11), before its "Boost" ability resolves
|
|
588
|
+
* and its icons are added: "When a boost card is turned faceup" (Attacrobatics, an interrupt) and "After a boost card is
|
|
589
|
+
* turned faceup" (Target Acquired, a response). `boostIcons` is what it would add now, 0 once cancelled.
|
|
590
|
+
*/
|
|
591
|
+
| {
|
|
592
|
+
readonly kind: "boostCardTurnedFaceup";
|
|
593
|
+
/** The card holding it: an enemy, or a villainous ally or hero using a basic power (§S3.7). */
|
|
594
|
+
readonly enemyInstanceId: InstanceId;
|
|
595
|
+
readonly boostInstanceId: InstanceId;
|
|
596
|
+
/**
|
|
597
|
+
* The activation, or for a villainous character's own card (`resolve/villainous.ts`) "attack" for its basic
|
|
598
|
+
* attack or a hero's basic defense (it is during an attack) and null for a thwart or a recovery.
|
|
599
|
+
*/
|
|
600
|
+
readonly activation: "attack" | "scheme" | null;
|
|
601
|
+
readonly boostIcons: number;
|
|
602
|
+
/** "You": the player the activation is against, or for a villainous character's own card its controller. */
|
|
603
|
+
readonly playerId: PlayerId;
|
|
604
|
+
/**
|
|
605
|
+
* An attack's target character as the card is turned faceup (the defender, once declared): "an enemy attacking
|
|
606
|
+
* **you**" names the identity (`EventPattern.youAreIdentity`). Absent on a scheme's boost card.
|
|
607
|
+
*/
|
|
608
|
+
readonly targetInstanceId?: InstanceId;
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* An enemy attacks another enemy ("That minion attacks another enemy of your choice", Moondragon; `EffectSpec
|
|
612
|
+
* enemyAttacksEnemy`, docs/phase7-wave3.md §3.23). An attack but not an activation (§4 Q12, the user's decision,
|
|
613
|
+
* 2026-09-23), so it is deliberately not an `enemyAttack`: no boost card, no defense, and no "when this enemy
|
|
614
|
+
* attacks/activates" ability hears it. Its interrupt window comes before the damage; its apply step deals the
|
|
615
|
+
* attacker's ATK to the target as attack damage and names the target in a `characterAttacked` event (retaliate).
|
|
616
|
+
* No player is a subject: nobody is attacked, and the player whose ability caused it is not attacking.
|
|
617
|
+
*/
|
|
618
|
+
| {
|
|
619
|
+
readonly kind: "enemyAttacksEnemy";
|
|
620
|
+
readonly attackerInstanceId: InstanceId;
|
|
621
|
+
readonly targetInstanceId: InstanceId;
|
|
622
|
+
/** The card whose ability made the attack (Moondragon), for the log. */
|
|
623
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
624
|
+
/**
|
|
625
|
+
* The attacker is dealt and resolves a boost card for this attack, this player resolving it (Headpool's
|
|
626
|
+
* controller; FFG ruling January 26, 2026 (4); owner decision 2026-10-16, audit finding 14). Absent: no boost.
|
|
627
|
+
*/
|
|
628
|
+
readonly boostPlayerId?: PlayerId;
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* "After [character] is attacked", named after the attack's damage resolves so
|
|
632
|
+
* the target is the character that was actually hit (the defender, if one was
|
|
633
|
+
* declared). Retaliate X hangs off this; so does any card ability worded the
|
|
634
|
+
* same way.
|
|
635
|
+
*/
|
|
636
|
+
| {
|
|
637
|
+
readonly kind: "characterAttacked";
|
|
638
|
+
readonly attackerInstanceId: InstanceId;
|
|
639
|
+
readonly targetInstanceId: InstanceId;
|
|
640
|
+
readonly playerId: PlayerId | null;
|
|
641
|
+
/**
|
|
642
|
+
* The attack had ranged (printed on the attacker, or granted to this attack alone), so it "ignores the retaliate
|
|
643
|
+
* keyword" (RRG 1.8 "Ranged", p. 35). Stamped when the attack pushes this event, alongside `dealDamage.piercing`.
|
|
644
|
+
*/
|
|
645
|
+
readonly ranged?: boolean;
|
|
646
|
+
/**
|
|
647
|
+
* The player the target was engaged with as the attack was made, before its damage was dealt (absent: engaged
|
|
648
|
+
* with no one). By the response window an attack may have defeated the minion, and a card out of play is engaged
|
|
649
|
+
* with no one, so a pattern's `engagedWithPlayer` / `engagedWith` clauses read this for a target that has left
|
|
650
|
+
* play (`EffectContext.lastKnown`, `resolve/triggers.ts`); a target still in play is read live. "After a
|
|
651
|
+
* character in this play area is attacked" (Battle in the Bodega 60134b) still hears an attack that defeated the
|
|
652
|
+
* minion engaged with that player (owner Q208 open, built A; a response reads the game as its triggering
|
|
653
|
+
* condition happened, RRG 1.8 "Response", p. 38).
|
|
654
|
+
*/
|
|
655
|
+
readonly targetEngagedWith?: PlayerId;
|
|
656
|
+
} | {
|
|
657
|
+
readonly kind: "cardEntersPlay";
|
|
658
|
+
readonly instanceId: InstanceId;
|
|
659
|
+
readonly playerId: PlayerId | null;
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* `payment`: what was paid to play the card, stamped as the play is announced (the play frame's `paid.*` and
|
|
663
|
+
* `overpaid.*` vars and a chosen `x`: `playPaymentVars`), so an "after you play" ability reads the payment of "that
|
|
664
|
+
* event" from the event it answers, whatever has left the stack since ("remove 1 threat … for each different
|
|
665
|
+
* resource type used to pay for that event", Jubilee's Coat 47004; docs/phase7-wave8.md §3.62). Absent for a play
|
|
666
|
+
* that recorded no payment.
|
|
667
|
+
*/
|
|
668
|
+
| {
|
|
669
|
+
readonly kind: "cardPlayed";
|
|
670
|
+
readonly instanceId: InstanceId;
|
|
671
|
+
readonly playerId: PlayerId;
|
|
672
|
+
/**
|
|
673
|
+
* Where the card was played from, and `countsAsFrom: "hand"` when the game counts it as played from the hand
|
|
674
|
+
* from elsewhere ("as if it were in your hand"; RRG 1.8 FAQ "Magik (#30A)", p. 64). Read by
|
|
675
|
+
* `EventPattern.playedFromHand`. Absent on an event built by hand: from the hand.
|
|
676
|
+
*/
|
|
677
|
+
readonly from?: PlayedFrom;
|
|
678
|
+
readonly countsAsFrom?: "hand";
|
|
679
|
+
readonly payment?: Vars;
|
|
680
|
+
/**
|
|
681
|
+
* The cards that paid for the play (`PAID_CARDS_SLOT`, docs/phase7-wave9.md §3.46 (b)), which an answering
|
|
682
|
+
* ability reads as slot `paid.cards` (`carriedByEvent`). Absent when no card paid.
|
|
683
|
+
*/
|
|
684
|
+
readonly paidCards?: readonly InstanceId[];
|
|
685
|
+
/** The cards in play whose resource ability paid for the play (`PAID_IN_PLAY_CARDS_SLOT`); absent when none did. */
|
|
686
|
+
readonly paidInPlayCards?: readonly InstanceId[];
|
|
687
|
+
/**
|
|
688
|
+
* The card whose ability or permission played this one, as the play recorded it (`PLAYED_VIA_SLOT`): the
|
|
689
|
+
* `playFromHand.via` card (Wolverine's Claws; docs/phase7-wave6.md §3.42) or the hand card discarded to play it
|
|
690
|
+
* as if it were in the hand (Photographic Reflexes; docs/phase7-wave11.md §3.9). Read by `EventPattern.playedVia`
|
|
691
|
+
* and `notPlayedVia`. Absent for every other play.
|
|
692
|
+
*/
|
|
693
|
+
readonly via?: InstanceId;
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* A card has been paid for and is about to resolve: "When you play an [Attack] event" (Embiggen!, Shrink). An
|
|
697
|
+
* interrupt here happens before the card's own abilities resolve, which is what lets a modifier apply to every
|
|
698
|
+
* instance of damage the event deals. `cardPlayed` stays where it is — announced after the card has resolved — so
|
|
699
|
+
* "after you play" responses are unaffected. Only put on the stack when an ability could react (`heard`).
|
|
700
|
+
*/
|
|
701
|
+
| {
|
|
702
|
+
readonly kind: "cardBeingPlayed";
|
|
703
|
+
readonly instanceId: InstanceId;
|
|
704
|
+
readonly playerId: PlayerId;
|
|
705
|
+
/** As `cardPlayed.from` / `countsAsFrom`. */
|
|
706
|
+
readonly from?: PlayedFrom;
|
|
707
|
+
readonly countsAsFrom?: "hand";
|
|
708
|
+
/** The cards that paid for the play, as `cardPlayed.paidCards` has them; absent when no card paid. */
|
|
709
|
+
readonly paidCards?: readonly InstanceId[];
|
|
710
|
+
/** As `cardPlayed.paidInPlayCards`. */
|
|
711
|
+
readonly paidInPlayCards?: readonly InstanceId[];
|
|
712
|
+
} | {
|
|
713
|
+
readonly kind: "cardRevealed";
|
|
714
|
+
readonly instanceId: InstanceId;
|
|
715
|
+
readonly playerId: PlayerId;
|
|
716
|
+
/**
|
|
717
|
+
* "After another card is revealed that gives 1 or more heroes the Unregistered trait" (Hunting Rebel Heroes, `cw`
|
|
718
|
+
* 56097b; docs/phase7-wave10.md §3.16): for each trait a constant ability of the revealed card grants
|
|
719
|
+
* (`TraitGrantSpec.trait`), the cards in play that grant reaches, read once every step of the reveal has
|
|
720
|
+
* completed and the card is in play (`traitGrantReach`). Whether a card already had the trait is not asked: the
|
|
721
|
+
* text "gives" it to every card it names (owner decision, docs/phase7-wave10.md §4.1 question 12 = A,
|
|
722
|
+
* provisional). A trait whose grant reaches no card is left out. Read by `EventPattern.grantsTrait` and
|
|
723
|
+
* `TargetRef grantedTo`. Absent on a reveal that grants nothing, and in a game where no ability asks.
|
|
724
|
+
*/
|
|
725
|
+
readonly grantedTo?: Readonly<Record<string, readonly InstanceId[]>>;
|
|
726
|
+
/**
|
|
727
|
+
* `"encounterDeck"`: the reveal began at an encounter deck, a facedown encounter card dealt from one included
|
|
728
|
+
* (`Frame<"reveal">.source`; docs/phase7-wave6.md §3.64, §4 Q35). "After a player reveals a [Tracksuit] minion
|
|
729
|
+
* from the encounter deck" (Tracksuit Mafia, `fne` 60204; docs/phase7-wave11-scenarios.md §S3.10) reads it with
|
|
730
|
+
* `EventPattern.eventIs { from: "encounterDeck" }`, so a minion revealed from under that scheme, from a set-aside
|
|
731
|
+
* area, a scenario deck or a discard pile is not heard. Absent on every other reveal.
|
|
732
|
+
*/
|
|
733
|
+
readonly from?: "encounterDeck";
|
|
734
|
+
}
|
|
735
|
+
/**
|
|
736
|
+
* A revealed treachery (or a revealed event) has **resolved**: "After you resolve a treachery, … attach that treachery
|
|
737
|
+
* facedown here" (Spider-Man Noir, `spdr` 31015). RRG 1.8 "Resolve" (p. 37): "A treachery card is resolved when it is
|
|
738
|
+
* revealed and one or more of its abilities resolve"; treacheries and events are the only card types that are
|
|
739
|
+
* resolved, so no other type announces it. Keyword abilities count (surge and incite are When Revealed abilities,
|
|
740
|
+
* RRG 1.8 "Reveal" step 3, p. 38; "Surge", p. 42), and a card whose effects were all cancelled has not resolved
|
|
741
|
+
* (RRG 1.8 "Cancel", p. 11) — FAQ "Spider-Man Noir (#15)" (RRG 1.8 p. 63): "some part of the treachery card must be
|
|
742
|
+
* resolved … If no part of the treachery card resolves, he cannot attach it."
|
|
743
|
+
*
|
|
744
|
+
* Announced with `cardRevealed`, after reveal step 4 (the discard), so `to` is where the card went — the encounter
|
|
745
|
+
* discard pile, or wherever its own When Revealed moved it — and a response can take it from there. Before any surge
|
|
746
|
+
* card is revealed ("Complete the process of resolving the original card, as well as any response abilities … before
|
|
747
|
+
* revealing the additional card", RRG 1.8 "Surge", p. 42). Response window only; pushed only when an ability listens.
|
|
748
|
+
*/
|
|
749
|
+
| {
|
|
750
|
+
readonly kind: "encounterCardResolved";
|
|
751
|
+
readonly instanceId: InstanceId;
|
|
752
|
+
readonly playerId: PlayerId;
|
|
753
|
+
readonly to: ZoneId["kind"] | null;
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* Cards were spent from a player's hand to generate resources for one payment (docs/phase7-wave2.md §12): "Hero
|
|
757
|
+
* Response: After you spend this card, …" (Pym Particles 12006 and seven more), "Interrupt: When you spend this card
|
|
758
|
+
* to play an ally, …". One event per payment, listing every card that payment spent, so the responses of several
|
|
759
|
+
* spent cards share one window and their controller orders them (RRG 1.8 "Response", p. 38: responses to triggering
|
|
760
|
+
* conditions one effect causes "can be resolved in any order").
|
|
761
|
+
*
|
|
762
|
+
* **When.** Pushed once the costs are paid (step 5 of RRG 1.8 "Initiating Abilities", p. 24) and on top of the card
|
|
763
|
+
* or ability being paid for, so both windows resolve before that card commences being played (step 6). RRG 1.8
|
|
764
|
+
* "Cost Arrow Icon" (p. 14): "Responses to the text preceding the cost arrow icon resolve before the text following
|
|
765
|
+
* the icon resolves"; ruling, Feb 28, 2026 (1): "Any abilities triggered by paying a cost resolve immediately before
|
|
766
|
+
* the effect following the arrow resolves." Pushed only when an ability could react (`heard`).
|
|
767
|
+
*
|
|
768
|
+
* **Where the ability is.** The spent cards are in the discard pile by now, which the trigger scan does not read. RRG
|
|
769
|
+
* 1.8 "Resource Card" (p. 37): "Some resource cards have card text that is active while using the card to generate
|
|
770
|
+
* resources", and a spent resource "is also considered to be spent by that player's identity" — so while this event
|
|
771
|
+
* resolves, each spent card's own abilities on this event are live, controlled by the spender (`resolve/triggers.ts`).
|
|
772
|
+
*
|
|
773
|
+
* - `cardInstanceIds`: the cards discarded from hand, in payment order. A "Resource:" ability of a card in play is not
|
|
774
|
+
* a card being spent, so it is not listed.
|
|
775
|
+
* - `playerId`: whose hand they came from ("you"). `forPlayerId`: the player whose cost they paid — "After you spend
|
|
776
|
+
* this card **for a player**, heal 1 damage from that player's identity" (Everyday Hero 28019). They differ when
|
|
777
|
+
* another player helps pay for an alliance card (RRG 1.8 "Alliance", p. 6; docs/phase7-wave4.md §3.17): one event
|
|
778
|
+
* per spender, each naming the paying player as `forPlayerId`.
|
|
779
|
+
* - `payingForInstanceId` / `purpose`: what the payment was for — the card being played (`playCard`), the card whose
|
|
780
|
+
* ability's cost it paid (`ability`), or neither (`effect`: "spend X resources" inside an effect). The played card
|
|
781
|
+
* is the event's *target*, so "When you spend this card to play a THWART event" is a `targetIs` query; an
|
|
782
|
+
* ability's source is deliberately not a target, so a query for "an ally" cannot match an ally's own ability cost.
|
|
783
|
+
*/
|
|
784
|
+
| {
|
|
785
|
+
readonly kind: "resourcesSpent";
|
|
786
|
+
readonly cardInstanceIds: readonly InstanceId[];
|
|
787
|
+
readonly playerId: PlayerId;
|
|
788
|
+
readonly forPlayerId: PlayerId;
|
|
789
|
+
readonly payingForInstanceId: InstanceId | null;
|
|
790
|
+
readonly purpose: "playCard" | "ability" | "effect";
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* A player generated resources to pay a cost (docs/phase7-wave5.md §3.25): "After the engaged player generates any
|
|
794
|
+
* number of resources, deal an equal amount of damage to that player's hero" (M.O.R.B.I.U.S., `spdr` 31027 errata,
|
|
795
|
+
* RRG 1.8 p. 68). Response only (an announcement), pushed with `resourcesSpent` once per payment for each player who
|
|
796
|
+
* generated at least 1 resource in it, when an ability listens.
|
|
797
|
+
*
|
|
798
|
+
* - `amount`: every resource that player generated in the payment, overpaid ones included (RRG 1.8 "Cost", p. 13:
|
|
799
|
+
* resources are generated by discarding cards from hand or using "Resource" abilities; the excess is generated and
|
|
800
|
+
* then lost) — hand cards as they counted for that card (doubled, Haywire'd), and each resource ability use. A
|
|
801
|
+
* counter spent as if it were a resource (`spentAsIfResource`, docs/phase7-wave5.md §4.1 Q5) pays but is not
|
|
802
|
+
* generated, so it adds nothing, and a payment of only those raises no event.
|
|
803
|
+
* - `playerId` ("that player") is the generating player; `forPlayerId`, `payingForInstanceId` and `purpose` are as
|
|
804
|
+
* on `resourcesSpent`. The card paid for is the event's target when `purpose` is `playCard`.
|
|
805
|
+
*/
|
|
806
|
+
| {
|
|
807
|
+
readonly kind: "resourcesGenerated";
|
|
808
|
+
readonly playerId: PlayerId;
|
|
809
|
+
readonly amount: number;
|
|
810
|
+
readonly forPlayerId: PlayerId;
|
|
811
|
+
readonly payingForInstanceId: InstanceId | null;
|
|
812
|
+
readonly purpose: "playCard" | "ability" | "effect";
|
|
813
|
+
}
|
|
814
|
+
/**
|
|
815
|
+
* An ally or minion at 0 hit points is being defeated. Interruptible ("when
|
|
816
|
+
* attached minion would be defeated … instead", "when attached minion is
|
|
817
|
+
* defeated"); the card leaves play when it applies. `overkill` carries excess
|
|
818
|
+
* damage from an overkill attack, dealt only if the defeat happens.
|
|
819
|
+
*/
|
|
820
|
+
| {
|
|
821
|
+
readonly kind: "characterDefeated";
|
|
822
|
+
readonly instanceId: InstanceId;
|
|
823
|
+
/**
|
|
824
|
+
* Defeated by an effect that says "defeat" (`EffectSpec defeat`; Nova Prime), not by reaching zero remaining hit
|
|
825
|
+
* points, so applying it does not re-check the dial (docs/phase7-wave3.md §3.9).
|
|
826
|
+
*/
|
|
827
|
+
readonly byEffect?: true;
|
|
828
|
+
/**
|
|
829
|
+
* The defeating effect ignores the defeated card's own "When Defeated" abilities (`EffectSpec defeat`
|
|
830
|
+
* `ignoreWhenDefeated`; RRG 1.8 "Ignore", p. 23): none of them resolves as the defeat applies. Every other part of
|
|
831
|
+
* the defeat, and every other card's ability that answers it, is unchanged.
|
|
832
|
+
*/
|
|
833
|
+
readonly ignoreWhenDefeated?: true;
|
|
834
|
+
/**
|
|
835
|
+
* Set by the defeat sweep on villains that reached zero together: whether each could be defeated ("cannot be
|
|
836
|
+
* defeated while X has any hit points remaining") was read once for all of them, before any applied, so applying
|
|
837
|
+
* one does not re-read it after another has already advanced to a fresh stage (docs/phase7-wave4.md §3.3).
|
|
838
|
+
*/
|
|
839
|
+
readonly protectionChecked?: true;
|
|
840
|
+
/**
|
|
841
|
+
* The defeating damage was attack damage (`dealDamage.fromAttack`: an attack's damage, or its overkill spill), or
|
|
842
|
+
* the defeat was an "(attack)" ability's own instruction (`attack-ability.ts`, "A defeat instruction"), so
|
|
843
|
+
* "When an ally is defeated by an enemy attack" (Regroup, `drax` 19032) is `fromAttack: true` with `sourceIs` an
|
|
844
|
+
* enemy (docs/phase7-wave3.md §3.45). Absent for any other defeat.
|
|
845
|
+
*/
|
|
846
|
+
readonly fromAttack?: true;
|
|
847
|
+
/**
|
|
848
|
+
* "Return it to its owner's hand instead of discarding it" (Regroup): where the defeated card goes instead of its
|
|
849
|
+
* discard pile, set by an interrupt's `EffectSpec setDefeatDestination` (docs/phase7-wave3.md §3.45). It is still
|
|
850
|
+
* defeated — When Defeated, Victory X and "after … is defeated" all still apply; only the discard is replaced.
|
|
851
|
+
* `{ boostCardOf }`: onto that card as a facedown boost card (docs/phase7-wave10.md §3.10).
|
|
852
|
+
*/
|
|
853
|
+
readonly destination?: DefeatPlacement;
|
|
854
|
+
readonly parentFrameId?: FrameId | null;
|
|
855
|
+
/**
|
|
856
|
+
* The damage event that dealt the defeating damage, told "defeated" as well as its parent: "If that character is
|
|
857
|
+
* defeated this way" after a card's own `dealDamage` (Out for Blood; docs/phase7-wave4.md §3.54), which has no
|
|
858
|
+
* attack to be the parent.
|
|
859
|
+
*/
|
|
860
|
+
readonly reportFrameId?: FrameId | null;
|
|
861
|
+
/** The attack whose overkill spill dealt the defeating damage, told this character's defeat (`spillDefeatedKey`). */
|
|
862
|
+
readonly spilledFromFrameId?: FrameId | null;
|
|
863
|
+
readonly overkill?: {
|
|
864
|
+
readonly amount: number;
|
|
865
|
+
readonly toInstanceId: InstanceId;
|
|
866
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
867
|
+
/**
|
|
868
|
+
* The attack's card and its ranged keyword, carried onto the spill, which is "damage from an attack" (RRG 1.8
|
|
869
|
+
* "Overkill", p. 31), so a rule reading the attack sees the same one (docs/phase7-wave7.md §3.30).
|
|
870
|
+
*/
|
|
871
|
+
readonly viaInstanceId?: InstanceId | null;
|
|
872
|
+
readonly ranged?: true;
|
|
873
|
+
/** The defeating damage's `usedStat`: overkill damage of an attack that used ATK used it too (§3.17 of wave 10). */
|
|
874
|
+
readonly usedStat?: "atk";
|
|
875
|
+
};
|
|
876
|
+
/**
|
|
877
|
+
* The player whose card dealt the defeating damage ("after *you* defeat a
|
|
878
|
+
* minion"), when the defeat came from a damage event with a player-controlled
|
|
879
|
+
* source. It is the event's player subject, so `playerIs: "controller"` matches it.
|
|
880
|
+
*/
|
|
881
|
+
readonly defeatedByPlayerId?: PlayerId | null;
|
|
882
|
+
/**
|
|
883
|
+
* **What** dealt the defeating damage, where `defeatedByPlayerId` is **who**: the card that was the damage's
|
|
884
|
+
* source (the attacking character, or the card whose effect dealt it). It is the event's source subject, so
|
|
885
|
+
* `sourceIs` matches it — which is how "After Wasp (or an event you play) defeats a minion" (Small but Mighty,
|
|
886
|
+
* 13001a) says what "you defeat" cannot: an ally's attack has the same defeating *player* and a different
|
|
887
|
+
* defeating *card*. Null when nothing player- or card-driven defeated it.
|
|
888
|
+
*/
|
|
889
|
+
readonly sourceInstanceId?: InstanceId | null;
|
|
890
|
+
/**
|
|
891
|
+
* For a defeat by an effect (`byEffect`) that an "(attack)" ability made as its attack (`attack-ability.ts`, "A
|
|
892
|
+
* defeat instruction"): the card whose ability says "defeat", where `sourceInstanceId` is then the attacking
|
|
893
|
+
* identity, as `dealDamage.viaInstanceId` is to its source. The rules that read the defeating card (Permanent,
|
|
894
|
+
* "card abilities cannot remove") read this one. Absent for every other defeat.
|
|
895
|
+
*/
|
|
896
|
+
readonly viaInstanceId?: InstanceId | null;
|
|
897
|
+
/**
|
|
898
|
+
* Excess damage (RRG 1.8 "Excess Damage", p. 19): how far the damage that defeated this character went beyond its
|
|
899
|
+
* remaining hit points, the value overkill would spill ("If a card ability counts excess damage dealt, that ability
|
|
900
|
+
* counts the same value of excess damage that is calculated when resolving the overkill keyword", RRG 1.8
|
|
901
|
+
* "Overkill", p. 31; `excessDamageOf`). From any damage (an attack, an event or ability, an indirect share, an
|
|
902
|
+
* overkill spill). Absent (never 0) when there was none: exactly lethal damage, a defeat by an effect that is not
|
|
903
|
+
* damage ("defeat a minion"), a sweep with no damage behind it. Prevented, reduced-away and tough-absorbed damage
|
|
904
|
+
* is never taken and so never excess. Read by `ValueSpec defeatExcessDamage` (docs/phase7-wave5.md §4.1 Q68).
|
|
905
|
+
*/
|
|
906
|
+
readonly excessDamage?: number;
|
|
907
|
+
/**
|
|
908
|
+
* The defeating damage was an ally's consequential damage (`dealDamage.consequential`, RRG 1.8 "Consequential
|
|
909
|
+
* Damage", p. 13), from its attack or its thwart alike: "if she was defeated by taking excess consequential damage"
|
|
910
|
+
* (SP//dr, `spiderham` 30021) is this with `excessDamage`, through `ValueSpec defeatExcessDamage`'s
|
|
911
|
+
* `consequential` option. Absent for any other defeat.
|
|
912
|
+
*/
|
|
913
|
+
readonly consequential?: true;
|
|
914
|
+
/**
|
|
915
|
+
* The cards attached to the character when its defeat was initiated ("is defeated", before any interrupt), set as
|
|
916
|
+
* the event goes on the stack (`eventFrame`). By its response window the character has left play and a card
|
|
917
|
+
* like Death-Glow has set itself aside, so "After the enemy with Death-Glow is defeated" (Flight of the
|
|
918
|
+
* Valkyrior, 25008) reads this, through `EventPattern.targetHadAttachment` (docs/phase7-wave4.md §3.22).
|
|
919
|
+
* Absent when nothing was attached.
|
|
920
|
+
*/
|
|
921
|
+
readonly attachedInstanceIds?: readonly InstanceId[];
|
|
922
|
+
/**
|
|
923
|
+
* For a villain's defeat, the printed number of the stage that was defeated (`VillainStage.stageNumber`), read as
|
|
924
|
+
* the defeat is initiated. By the response window the villain shows its next stage, so "after [villain] (II) is
|
|
925
|
+
* defeated" reads this, through `EventPattern.eventAtLeast` / `eventAtMost` (docs/phase7-wave7.md §3.34). Absent
|
|
926
|
+
* for any other character.
|
|
927
|
+
*/
|
|
928
|
+
readonly villainStageNumber?: number;
|
|
929
|
+
/**
|
|
930
|
+
* What the character was when its defeat was initiated, set as the event goes on the stack (`eventFrame`): "After
|
|
931
|
+
* a Controlled minion is defeated" answers a player card that was in play facedown as a Controlled minion and
|
|
932
|
+
* is itself again in its owner's discard pile (docs/phase7-wave9.md §3.32). Read by a pattern's `targetIs`
|
|
933
|
+
* (`DefeatedSnapshot`). Absent on an event stamped before the field existed, which reads the live card.
|
|
934
|
+
*/
|
|
935
|
+
readonly asDefeated?: DefeatedSnapshot;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* An encounter card has been flipped faceup and is about to resolve (RRG "Reveal"): the point to cancel it.
|
|
939
|
+
*
|
|
940
|
+
* `from`: as `cardRevealed.from`, `"encounterDeck"` only for a reveal that began at an encounter deck or at a
|
|
941
|
+
* facedown encounter card dealt from one (`Frame<"reveal">.source`). "When a card is revealed from the encounter
|
|
942
|
+
* deck" (Black Widow 01075, Enhanced Spider-Sense 01004; `on.encounterCardRevealedFromEncounterDeck`) reads it, so a
|
|
943
|
+
* minion revealed from under Tracksuit Mafia, a set-aside card or a scenario deck's card is not heard (ruling
|
|
944
|
+
* September 14, 2026 - Ruling 1; docs/phase7-wave11-scenarios.md §S7 E22). Wording that says only "revealed" hears
|
|
945
|
+
* every reveal.
|
|
946
|
+
*/
|
|
947
|
+
| {
|
|
948
|
+
readonly kind: "encounterCardRevealing";
|
|
949
|
+
readonly instanceId: InstanceId;
|
|
950
|
+
readonly playerId: PlayerId;
|
|
951
|
+
readonly from?: "encounterDeck";
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* An encounter card is about to be revealed and is still facedown: "When you would reveal an encounter card"
|
|
955
|
+
* (Scarlet Spider 30020, Spider-Tingle 31020). RRG 1.8 "Interrupt" (p. 25): a "would" interrupt resolves before its
|
|
956
|
+
* triggering condition initiates, and "Reveal" (p. 38) step 1 turns the card faceup, so the player answers without
|
|
957
|
+
* seeing the card. Interrupt only; announced only when an ability could answer it. `from` as on
|
|
958
|
+
* `encounterCardRevealing`.
|
|
959
|
+
*/
|
|
960
|
+
| {
|
|
961
|
+
readonly kind: "encounterCardBeingRevealed";
|
|
962
|
+
readonly instanceId: InstanceId;
|
|
963
|
+
readonly playerId: PlayerId;
|
|
964
|
+
readonly from?: "encounterDeck";
|
|
965
|
+
}
|
|
966
|
+
/**
|
|
967
|
+
* A side scheme reached no threat and is defeated (RRG 1.8 "Defeat", p. 15). `defeatedByPlayerId` is the player
|
|
968
|
+
* whose thwart or card effect removed the last threat — "the player who defeated this scheme" (Crossbones' Assault
|
|
969
|
+
* 04070), "the defeating player" (Mystique's Manipulations errata, RRG 1.8 p. 66). Null when no player did it.
|
|
970
|
+
*
|
|
971
|
+
* `sourceInstanceId` is the card that removed that last threat, the `characterDefeated` field of the same name: the
|
|
972
|
+
* thwarting character for a thwart (basic or "(thwart)"-labeled — the character performs it, RRG 1.8 "Thwart",
|
|
973
|
+
* p. 44), the card whose effect removed the threat otherwise.
|
|
974
|
+
*/
|
|
975
|
+
| {
|
|
976
|
+
readonly kind: "schemeDefeated";
|
|
977
|
+
readonly instanceId: InstanceId;
|
|
978
|
+
readonly defeatedByPlayerId?: PlayerId | null;
|
|
979
|
+
readonly sourceInstanceId?: InstanceId | null;
|
|
980
|
+
/**
|
|
981
|
+
* How much more threat the defeating removal attempted to remove than the scheme had (its `removeThreat.amount`,
|
|
982
|
+
* after every modifier, minus the threat there as it applied): 0 when it removed exactly the last threat. Absent
|
|
983
|
+
* for a defeat no removal made (a scheme held at no threat whose protection ended, `checkSchemeProtectionEnded`).
|
|
984
|
+
* Read by `Predicate exactlyDefeated` (docs/phase7-wave11.md §3.7).
|
|
985
|
+
*/
|
|
986
|
+
readonly excessThreat?: number;
|
|
987
|
+
/**
|
|
988
|
+
* The defeating removal was a thwart's (a basic thwart, a `thwart` effect or a "(thwart)"-labeled ability's
|
|
989
|
+
* removal; `thwartOfRemoval`): "After you thwart and exactly defeat a side scheme". Absent for a plain removal.
|
|
990
|
+
*/
|
|
991
|
+
readonly byThwart?: true;
|
|
992
|
+
/**
|
|
993
|
+
* The thwart frame whose removal initiated this defeat (`byThwart`), which records its `defeated` result once the
|
|
994
|
+
* defeat actually happens (`applySchemeDefeated`; `EffectSpec atEndOfThwart`, docs/phase7-wave11-hero-packs.md
|
|
995
|
+
* H3.12). Absent for any other defeat.
|
|
996
|
+
*/
|
|
997
|
+
readonly thwartFrameId?: FrameId;
|
|
998
|
+
/**
|
|
999
|
+
* What the scheme was as its defeat was initiated (`DefeatedSnapshot`), the `characterDefeated` field of the same
|
|
1000
|
+
* name. A side scheme whose When Defeated turns it over to another card (Secure the Landing Pad into the ally
|
|
1001
|
+
* Cosmo, `mts` 21180) is no side scheme by the response window, yet "After you thwart and exactly defeat a side
|
|
1002
|
+
* scheme" (Stealth Training 60028) answers it: a response reads the game as its triggering condition happened
|
|
1003
|
+
* (RRG 1.8 "Response", p. 38; issue #700). Absent on an event stamped before the field existed.
|
|
1004
|
+
*/
|
|
1005
|
+
readonly asDefeated?: DefeatedSnapshot;
|
|
1006
|
+
} | {
|
|
1007
|
+
readonly kind: "villainStageAdvanced";
|
|
1008
|
+
readonly stageIndex: number;
|
|
1009
|
+
readonly instanceId: InstanceId;
|
|
1010
|
+
}
|
|
1011
|
+
/** `schemeInstanceId` is set only for a separate game area's own stage (docs/phase7-wave2.md §3.1). */
|
|
1012
|
+
| {
|
|
1013
|
+
readonly kind: "mainSchemeAdvanced";
|
|
1014
|
+
readonly stageIndex: number;
|
|
1015
|
+
readonly schemeInstanceId?: InstanceId;
|
|
1016
|
+
/** What advanced it (`MainSchemeState.advancedBy`, docs/phase7-wave7.md §3.12); absent only in an older save. */
|
|
1017
|
+
readonly advancedBy?: MainSchemeAdvancedBy;
|
|
1018
|
+
}
|
|
1019
|
+
/**
|
|
1020
|
+
* A main scheme stage was completed and did not end the game or advance: a separate game area's stage ("Forced
|
|
1021
|
+
* Response: After this stage is complete, …", Kang's stage 3 cards), or a stage whose next stage is a group of
|
|
1022
|
+
* alternatives that card text must choose among (docs/phase7-wave2.md §3.1, §3.4).
|
|
1023
|
+
*/
|
|
1024
|
+
| {
|
|
1025
|
+
readonly kind: "mainSchemeCompleted";
|
|
1026
|
+
readonly schemeInstanceId: InstanceId;
|
|
1027
|
+
readonly stageIndex: number;
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* A deck ran out of cards (docs/phase7-wave4.md §3.11): "After your deck runs out of cards" (Soul World, `mts` 21033) and
|
|
1031
|
+
* "After a player resets their deck" (Universal Church of Truth, 21068) are a player's deck, which resets the moment it
|
|
1032
|
+
* empties (RRG 1.8 "Player Deck", p. 33); "After the infinity stone deck runs out" (Thanos I–III, 21111–21113) is a
|
|
1033
|
+
* scenario deck. Announced between frames, and only when an ability listens.
|
|
1034
|
+
*
|
|
1035
|
+
* "After the encounter deck resets" (Wheel of Genres, `mojo` 39026a; docs/phase7-wave6.md §3.60) is an encounter
|
|
1036
|
+
* deck, `deckId` naming which (The Wrecking Crew has one per villain): it resets at the move that empties it (RRG 1.8
|
|
1037
|
+
* "Encounter Deck", p. 17), the acceleration token is placed, and this is announced after both.
|
|
1038
|
+
*/
|
|
1039
|
+
| {
|
|
1040
|
+
readonly kind: "deckRanOut";
|
|
1041
|
+
readonly deck: "player" | "scenario" | "encounter";
|
|
1042
|
+
readonly playerId?: PlayerId;
|
|
1043
|
+
readonly name?: string;
|
|
1044
|
+
readonly deckId?: EncounterDeckId;
|
|
1045
|
+
}
|
|
1046
|
+
/**
|
|
1047
|
+
* Counters are removed from a card by an effect (docs/phase7-wave4.md §3.15): "When the last lock counter is removed from
|
|
1048
|
+
* here" (Holding Cell, `aos` 50105a, an interrupt), "After the last invocation counter is removed from Fireball"
|
|
1049
|
+
* (`mts` 21076–21079), "After the last power counter is removed from here" (Phoenix Force, `phoenix` 34002a).
|
|
1050
|
+
* `remaining` is what the card will hold after the removal (`eventAtMost: { remaining: 0 }` is "the last"). Pushed
|
|
1051
|
+
* only when an ability listens; its apply step removes them (so the uses keyword's discard follows).
|
|
1052
|
+
*
|
|
1053
|
+
* `paidAsCost`: removed by a counter cost (`AbilityCost.spendCounters`; "Remove 1 power counter from Phoenix Force →",
|
|
1054
|
+
* docs/phase7-wave6.md §3.85). A cost is paid at once (RRG 1.8 "Cost", p. 13), so the counters are already gone when
|
|
1055
|
+
* it is pushed: an announcement, response only, whose apply step removes nothing. Its responses resolve before the
|
|
1056
|
+
* paid-for ability's effects, as the cost's other announcements do (RRG 1.8 "Cost Arrow Icon", p. 14).
|
|
1057
|
+
*/
|
|
1058
|
+
| {
|
|
1059
|
+
readonly kind: "countersRemoved";
|
|
1060
|
+
readonly instanceId: InstanceId;
|
|
1061
|
+
readonly counterType: string;
|
|
1062
|
+
readonly amount: number;
|
|
1063
|
+
readonly remaining: number;
|
|
1064
|
+
readonly paidAsCost?: true;
|
|
1065
|
+
}
|
|
1066
|
+
/**
|
|
1067
|
+
* Counters were placed on a card (docs/phase7-wave6.md §3.2): "After you place a magnet counter on this scheme"
|
|
1068
|
+
* (Asteroid M, Factory Online, The Rule of Magnus, `mut_gen` 32141b–32143b, errata RRG 1.8 p. 68), "After a power
|
|
1069
|
+
* counter is placed here" (Phoenix Force, `phoenix` 34002b). An announcement (response only), pushed by `EffectSpec
|
|
1070
|
+
* addCounters` once per target and by `moveCounters` once per type moved onto its target, and only when an ability
|
|
1071
|
+
* listens. One event per placement with `amount` the number placed (§4.1 Q8): six placed at once is one event, so
|
|
1072
|
+
* "if there are at least 3 … remove 3" checks once and leaves 3. `playerId` is the player resolving the placing
|
|
1073
|
+
* ability ("you"), null when none does. `counterType` is the type as stored on the card: an all-purpose counter has
|
|
1074
|
+
* already taken the card's type (ruling, Jan 26, 2026 (2)), which the placing card's script names.
|
|
1075
|
+
*
|
|
1076
|
+
* `paidAsCost`: placed by a counter cost (`AbilityCost.placeCounters`; "place 1 charge counter on Gambit →",
|
|
1077
|
+
* docs/phase7-wave6.md §3.53), already on the card when announced; `playerId` is then the paying player.
|
|
1078
|
+
*/
|
|
1079
|
+
| {
|
|
1080
|
+
readonly kind: "countersPlaced";
|
|
1081
|
+
readonly targetInstanceId: InstanceId;
|
|
1082
|
+
readonly counterType: string;
|
|
1083
|
+
readonly amount: number;
|
|
1084
|
+
readonly playerId: PlayerId | null;
|
|
1085
|
+
readonly paidAsCost?: true;
|
|
1086
|
+
/**
|
|
1087
|
+
* The counters are still to be placed: "When a charm counter **would be placed** on the Enchantment card in your
|
|
1088
|
+
* play area, … place 1 threat here instead" (Prime Real Estate 1B, Sovereign Sorceress 2B, `tt` 55004b, 55005b;
|
|
1089
|
+
* docs/phase7-wave9.md §3.55; RRG 1.8 "'Would'", p. 48). Pushed in front of an `EffectSpec addCounters`
|
|
1090
|
+
* placement, one event per card with `amount` the number about to be placed there, and only when an interrupt
|
|
1091
|
+
* answers it (`placeCountersOrAnnounce`); the counters are not on the card yet. It has an interrupt window and
|
|
1092
|
+
* no response window: its apply step places the counters and then announces this event without `imminent`,
|
|
1093
|
+
* which is what "after … is placed" answers. An interrupt that cancels or replaces it (RRG 1.8 "Replacement
|
|
1094
|
+
* Effect", p. 37) leaves the counters unplaced: nothing is announced and the placing effect's `<bind>.amount`
|
|
1095
|
+
* does not count them. `eventAmount` is the number of counters, so "1 threat instead" for each is
|
|
1096
|
+
* `replaceTriggeringEvent` with `placeThreat(eventAmount, …)`.
|
|
1097
|
+
*
|
|
1098
|
+
* `countOn` names the frame variable the placing effect reads as "placed this way" (`addCounters.bind`), raised
|
|
1099
|
+
* by `amount` if the counters land.
|
|
1100
|
+
*
|
|
1101
|
+
* Not announced this way: counters moved from another card (`moveCounters`), a counter cost (`paidAsCost`:
|
|
1102
|
+
* every cost is paid at once, RRG 1.8 "Cost", p. 13) and a keyword's counters as its card enters play (Uses).
|
|
1103
|
+
*/
|
|
1104
|
+
readonly imminent?: {
|
|
1105
|
+
readonly countOn?: {
|
|
1106
|
+
readonly frameId: FrameId;
|
|
1107
|
+
readonly name: string;
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1110
|
+
}
|
|
1111
|
+
/**
|
|
1112
|
+
* A status card was discarded from a card (docs/phase7-wave6.md §3.5): "After a tough status card is discarded from
|
|
1113
|
+
* Colossus" (Iron Will, Organic Steel, `mut_gen` 32004, 32006). An announcement (response only), one per status card,
|
|
1114
|
+
* from every path that discards one: a tough card used up by damage (RRG 1.8 "Tough", p. 44), piercing, a stun or
|
|
1115
|
+
* confuse spent, an effect, a status the card can no longer hold (stalwart). Several discarded by
|
|
1116
|
+
* one step (piercing on two tough cards) share one response window (§4.1 Q5), so a response with no limit answers
|
|
1117
|
+
* each and one that exhausts its card answers once. Pushed only when an ability listens; a status that was never
|
|
1118
|
+
* held (a `cannotHaveStatus` refusal) announces nothing.
|
|
1119
|
+
*/
|
|
1120
|
+
| {
|
|
1121
|
+
readonly kind: "statusDiscarded";
|
|
1122
|
+
readonly instanceId: InstanceId;
|
|
1123
|
+
readonly status: StatusName;
|
|
1124
|
+
readonly cause: StatusDiscardCause;
|
|
1125
|
+
}
|
|
1126
|
+
/**
|
|
1127
|
+
* A status card was placed on a character (docs/phase7-wave7.md §3.27): "Forced Response: After a status card is
|
|
1128
|
+
* placed on Mister Sinister" (`next_evol` 40136–40138). The mirror of `statusDiscarded`: an announcement (response
|
|
1129
|
+
* only), one per status card that actually lands, from every path that gives one, since all of them go through
|
|
1130
|
+
* `giveStatus`: an effect or a cost, the toughness keyword (RRG 1.8 "Toughness", p. 45: "Forced Response: After this
|
|
1131
|
+
* character enters play, give it a tough status card"), a constant's refill (`RuleSpec keepsGivingStatus`). A give the
|
|
1132
|
+
* character cannot hold places nothing and announces nothing: it already has one (RRG 1.8 "Status Cards", p. 41: "A
|
|
1133
|
+
* character cannot have more than one status card of each type at a time"; steady and `statusLimit` raise that), or
|
|
1134
|
+
* it is stalwart or "cannot be stunned" (p. 40; "Stun, Stunned", p. 41: "stunned status cards cannot be placed on that
|
|
1135
|
+
* character"). The card is already on the character when announced. Those placed by one step (one effect stunning
|
|
1136
|
+
* two enemies, a steady character given two) share one response window, as `statusDiscarded`'s do (wave 6 §4.1 Q5).
|
|
1137
|
+
* Pushed only when an ability listens. No effect moves a status card from one character to another today; one that
|
|
1138
|
+
* did would take it off the first (`statusDiscarded` is not that: nothing is discarded) and has to put it on the
|
|
1139
|
+
* second through `giveStatus`, so it would be announced as a placement there, as counters moved onto a card are
|
|
1140
|
+
* (`countersPlaced`, wave 6 §3.2), and refused there by the same capacity rule.
|
|
1141
|
+
*
|
|
1142
|
+
* `sourceInstanceId` is the card whose ability, cost, keyword or constant placed it (the character itself for its
|
|
1143
|
+
* own toughness; null when no card did). `playerId` is the player whose ability placed it ("you"): the one using the
|
|
1144
|
+
* ability or paying the cost, as `removeThreat.playerId` reads it, so null for an encounter card's forced ability, a
|
|
1145
|
+
* keyword and a constant.
|
|
1146
|
+
*/
|
|
1147
|
+
| {
|
|
1148
|
+
readonly kind: "statusPlaced";
|
|
1149
|
+
readonly instanceId: InstanceId;
|
|
1150
|
+
readonly status: StatusName;
|
|
1151
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
1152
|
+
readonly playerId: PlayerId | null;
|
|
1153
|
+
}
|
|
1154
|
+
/**
|
|
1155
|
+
* A status card is about to be given to a character (docs/phase7-wave9.md §3.33): "Forced Interrupt: When attached
|
|
1156
|
+
* enemy would gain a confused or stunned status card, discard this card instead" (Solid Sound Constructs, `aos`
|
|
1157
|
+
* 50144). The "would" twin of `statusPlaced`: interrupt only (RRG 1.8 "Interrupt", p. 25: a "would" interrupt
|
|
1158
|
+
* resolves "before its triggering condition initiates, when that condition becomes imminent"), one per status card, pushed by an effect
|
|
1159
|
+
* that gives one (`EffectSpec giveStatus`, a `divide` of status cards; `giveStatusOrAnnounce`) only when an ability
|
|
1160
|
+
* hears it, so a game with no such ability, or one whose ability does not match this give, keeps its log, its state
|
|
1161
|
+
* and its replay. The card is not on the character yet. A give the character has no room for is not imminent and
|
|
1162
|
+
* opens no window (RRG 1.8 "Status Cards", p. 41; stalwart, p. 40): the room is read when the give is announced and
|
|
1163
|
+
* again as its window would open, so the second of two stuns given to one character is not asked about once the
|
|
1164
|
+
* first has landed.
|
|
1165
|
+
*
|
|
1166
|
+
* Uncancelled, the card is given as the event applies, through `giveStatus` like any other: `statusPlaced` is
|
|
1167
|
+
* announced, and a vulnerable character is discarded (RRG 1.8 "Vulnerable", p. 48). Cancelled or replaced
|
|
1168
|
+
* (`cancelTriggeringEvent`, `replaceTriggeringEvent`; RRG 1.8 "Replacement Effect", p. 37), no card is given: the
|
|
1169
|
+
* character did not become stunned or confused, so vulnerable does not read it, nothing is announced as placed, and
|
|
1170
|
+
* the giving effect's `<bind>.amount` does not count it.
|
|
1171
|
+
*
|
|
1172
|
+
* `sourceInstanceId` and `playerId` are `statusPlaced`'s: the card whose effect gives it, and the player whose
|
|
1173
|
+
* ability it is ("you"), null for an encounter card's forced ability. `countOn` names the frame variable the giving
|
|
1174
|
+
* effect reads as "status cards given this way" (`EffectSpec giveStatus.bind`), raised by one if the card lands.
|
|
1175
|
+
*
|
|
1176
|
+
* Not announced: a status card given as a cost (`CostSpec giveStatus`; every cost is paid at once, RRG 1.8 "Cost",
|
|
1177
|
+
* p. 13), by the toughness keyword as a character enters play (p. 45), or by a constant's refill (`RuleSpec
|
|
1178
|
+
* keepsGivingStatus`): those keep placing their card at once.
|
|
1179
|
+
*/
|
|
1180
|
+
| {
|
|
1181
|
+
readonly kind: "statusBeingGiven";
|
|
1182
|
+
readonly instanceId: InstanceId;
|
|
1183
|
+
readonly status: StatusName;
|
|
1184
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
1185
|
+
readonly playerId: PlayerId | null;
|
|
1186
|
+
/** The card replaces another (`StatusGiver.replacing`): landed, it is not announced as `statusPlaced` (post-RRG 1.5 #181). */
|
|
1187
|
+
readonly replacing?: true;
|
|
1188
|
+
readonly countOn?: {
|
|
1189
|
+
readonly frameId: FrameId;
|
|
1190
|
+
readonly name: string;
|
|
1191
|
+
};
|
|
1192
|
+
/**
|
|
1193
|
+
* The effects frame of the `giveStatus` that gives it: a card that is not given after all (no room left, or
|
|
1194
|
+
* replaced by an "instead" interrupt) marks that frame's pre-"then" text unresolved (`statusNotGiven`).
|
|
1195
|
+
*/
|
|
1196
|
+
readonly givingFrameId?: FrameId;
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* A character's hit points were reset (docs/phase7-wave6.md §3.67): "Forced Response: After MaGog's hit points are
|
|
1200
|
+
* reset" (Jolt of Adrenaline, Surge of Aggression, `mojo` 39005, 39006). An announcement (response only), pushed by
|
|
1201
|
+
* `EffectSpec setRemainingHitPoints` once per character it sets to its maximum hit points (no damage left), and only
|
|
1202
|
+
* when an ability listens. A dial set below the maximum is not a reset, and neither is a villain's next stage. The
|
|
1203
|
+
* exception is a set flagged `reset` ("reset his hit points to 10 instead", docs/phase7-wave9.md §3.5), announced at
|
|
1204
|
+
* whatever number it sets.
|
|
1205
|
+
*/
|
|
1206
|
+
| {
|
|
1207
|
+
readonly kind: "hitPointsReset";
|
|
1208
|
+
readonly instanceId: InstanceId;
|
|
1209
|
+
}
|
|
1210
|
+
/**
|
|
1211
|
+
* An ability attached a card to a host (docs/phase7-wave8.md §3.61): "Forced Response: After you attach a [named]
|
|
1212
|
+
* upgrade to an enemy, take 1 damage." An announcement (response only), pushed by the one way an ability attaches a
|
|
1213
|
+
* card (`attachCard`: the `attach` effect, `findCard`'s `{ attachTo }`, an attach cost) once per card that landed on
|
|
1214
|
+
* a new host, already attached, and only when an ability listens. A card already on that host did not move and
|
|
1215
|
+
* announces nothing. `playerId`: the player resolving the ability or paying the cost ("you attach"), null for an
|
|
1216
|
+
* encounter card's ability with no player. Not announced for a card played or revealed onto the host its own
|
|
1217
|
+
* "attach to" names: that card enters play (`cardEntersPlay`), and RRG 1.8 "Attach To" (p. 8) keeps the two apart
|
|
1218
|
+
* ("the 'attach to' phrase on a card is not resolved if another ability causes that card to attach").
|
|
1219
|
+
*/
|
|
1220
|
+
| {
|
|
1221
|
+
readonly kind: "cardAttached";
|
|
1222
|
+
readonly instanceId: InstanceId;
|
|
1223
|
+
readonly hostInstanceId: InstanceId;
|
|
1224
|
+
readonly playerId: PlayerId | null;
|
|
1225
|
+
/**
|
|
1226
|
+
* The attach is still to come: "When a … attachment **would be attached** to the villain, attach it to [this
|
|
1227
|
+
* card] instead" (docs/phase7-wave9.md §3.49; RRG 1.8 "'Would'", p. 48). Such an event is interrupt only: the
|
|
1228
|
+
* card is where it was (an encounter deck, a discard pile, in front of the revealing player), the attach is the
|
|
1229
|
+
* event's apply step, and `EffectSpec replaceAttachHost` replaces it (RRG 1.8 "Replacement Effect", p. 37). It
|
|
1230
|
+
* is pushed only when an interrupt hears it (`resolve/imminent-attach.ts`), so a game with no such ability keeps
|
|
1231
|
+
* its log, its state and its replay. Nothing answers it in a response window: the attach it performs announces
|
|
1232
|
+
* what an attach always did (the card entering play, and this event without `imminent` for an ability's attach).
|
|
1233
|
+
*
|
|
1234
|
+
* `entry`: how the card is being attached. `"placement"`: by its own "attach to" text as it enters play (a
|
|
1235
|
+
* reveal's placement step, RRG 1.8 "Reveal", p. 38, or a card put into play); `"ability"`: by another ability's
|
|
1236
|
+
* `attach` effect ("attach this card to the villain" on a boost ability, a search that attaches).
|
|
1237
|
+
* `sourceInstanceId`: the card whose ability attaches it, null for a placement.
|
|
1238
|
+
*/
|
|
1239
|
+
readonly imminent?: ImminentAttach;
|
|
1240
|
+
}
|
|
1241
|
+
/**
|
|
1242
|
+
* A card stopped being attached to a host, however it went (community pack `yondu-dh`, D'ast Whistlin': "After the
|
|
1243
|
+
* Yaka Arrow upgrade is attached to or removed from an enemy, deal 1 damage to that enemy"): moved to another host,
|
|
1244
|
+
* returned to a hand, discarded, or taken out of play with its host. An announcement (response only), recorded by the
|
|
1245
|
+
* one move every zone change makes (`relocateCard`, `pendingUnattached`) and announced between frames, only when an
|
|
1246
|
+
* ability listens. The attached card is the source, `hostInstanceId` (the host it left, which may have left play
|
|
1247
|
+
* itself) the target, so `eventTarget` is "that enemy". A move from one host to another is heard twice, this first and
|
|
1248
|
+
* then that move's `cardAttached`; RRG 1.8 "Attach To" (p. 8) makes the move one change, and the engine reads "removed
|
|
1249
|
+
* from" as having happened before "attached to" (an engine reading, no ruling). Not announced for a facedown card
|
|
1250
|
+
* coming off its host (out of play, RRG 1.8 p. 23). `to`: the kind of zone it went to. `playerId`: the card's
|
|
1251
|
+
* controller before the move (null for one no player controlled).
|
|
1252
|
+
*/
|
|
1253
|
+
| {
|
|
1254
|
+
readonly kind: "cardUnattached";
|
|
1255
|
+
readonly instanceId: InstanceId;
|
|
1256
|
+
readonly hostInstanceId: InstanceId;
|
|
1257
|
+
readonly playerId: PlayerId | null;
|
|
1258
|
+
readonly to: ZoneId["kind"];
|
|
1259
|
+
}
|
|
1260
|
+
/**
|
|
1261
|
+
* A character ignored a guard or patrol keyword, or a crisis icon, that would otherwise have stopped the attack or
|
|
1262
|
+
* thwart it just made (docs/phase7-wave6.md §3.8, §4.1 Q6): "After you ignore the guard or patrol keyword on a minion"
|
|
1263
|
+
* (Acute Control, `mut_gen` 32034), "After you ignore the crisis icon on a scheme" (Intangible Interference, 32035).
|
|
1264
|
+
* One per card ignored (`cardInstanceId`: the guard or patrol minion, or the card showing the crisis icon), recorded
|
|
1265
|
+
* as the attack or threat removal applies and announced (response only) once that attack or thwart has finished.
|
|
1266
|
+
* Waived by a `characterIgnores` rule or by the thwart's own "ignoring the patrol keyword / any crisis icons".
|
|
1267
|
+
* Nothing is recorded for an attack or thwart that was cancelled or whose threat removal was stopped anyway. Pushed
|
|
1268
|
+
* only when an ability listens; several from one attack or thwart share one response window.
|
|
1269
|
+
*
|
|
1270
|
+
* `"retaliate"` (docs/phase7-wave7.md §3.30): an attacker's `characterIgnores` waived the attacked character's
|
|
1271
|
+
* retaliate, which would otherwise have dealt it damage (both still in play once the attack resolved, retaliate
|
|
1272
|
+
* above 0, and the attack without ranged, which ignores retaliate by itself). `cardInstanceId` is the attacked
|
|
1273
|
+
* character; `playerId` is the attacker's controller, null for an enemy.
|
|
1274
|
+
*/
|
|
1275
|
+
| {
|
|
1276
|
+
readonly kind: "keywordIgnored";
|
|
1277
|
+
readonly characterInstanceId: InstanceId;
|
|
1278
|
+
readonly playerId: PlayerId | null;
|
|
1279
|
+
readonly ignored: "guard" | "patrol" | "crisis" | "retaliate";
|
|
1280
|
+
readonly cardInstanceId: InstanceId;
|
|
1281
|
+
}
|
|
1282
|
+
/**
|
|
1283
|
+
* "After Loki is swapped with a set-aside Loki villain" (Loki's Cape, `mts` 21172): `EffectSpec swapVillain` exchanged
|
|
1284
|
+
* the villain's card (docs/phase7-wave4.md §3.7). Response window only; pushed only when an ability listens.
|
|
1285
|
+
*/
|
|
1286
|
+
| {
|
|
1287
|
+
readonly kind: "villainSwapped";
|
|
1288
|
+
readonly villainInstanceId: InstanceId;
|
|
1289
|
+
readonly fromCardId: CardId;
|
|
1290
|
+
readonly toCardId: CardId;
|
|
1291
|
+
}
|
|
1292
|
+
/**
|
|
1293
|
+
* A main scheme stage **would be** completed by reaching its target threat (docs/phase7-wave4.md §3.4): "Forced
|
|
1294
|
+
* Interrupt: When this stage would be completed, remove all the threat from this stage instead." (Under Siege and The
|
|
1295
|
+
* Armies of Thanos, `mts` 21098b/21099b; Upgrading Adaptoids 1B, `aos` 50104b). Pushed only when an ability listens;
|
|
1296
|
+
* its apply step completes the stage (a loss on the final stage, else When Completed and the advance) unless an
|
|
1297
|
+
* interrupt cancelled it or the threat has fallen below the target.
|
|
1298
|
+
*/
|
|
1299
|
+
| {
|
|
1300
|
+
readonly kind: "mainSchemeCompleting";
|
|
1301
|
+
readonly schemeInstanceId: InstanceId;
|
|
1302
|
+
readonly stageIndex: number;
|
|
1303
|
+
}
|
|
1304
|
+
/**
|
|
1305
|
+
* A main scheme stage turns from its A side to its B side (docs/phase7-wave8.md §4.1 Q56; RRG 1.8 Appendix II step
|
|
1306
|
+
* 12b, p. 51, and "Main Scheme" advance step 3, p. 27). Pushed behind the A side's own Setup / When Revealed frames.
|
|
1307
|
+
* Its apply step makes the B side the faceup one (`MainSchemeState.faceupSide`), so that side's abilities are live
|
|
1308
|
+
* from then on, and puts the B side's `resolve` abilities on the stack in that order, resolved by `playerId`.
|
|
1309
|
+
*/
|
|
1310
|
+
| {
|
|
1311
|
+
readonly kind: "mainSchemeTurnsToB";
|
|
1312
|
+
readonly schemeInstanceId: InstanceId;
|
|
1313
|
+
readonly stageIndex: number;
|
|
1314
|
+
readonly resolve: readonly ("setup" | "whenRevealed")[];
|
|
1315
|
+
readonly playerId: PlayerId;
|
|
1316
|
+
}
|
|
1317
|
+
/**
|
|
1318
|
+
* An enemy **would** activate (docs/phase7-wave5.md §3.2): "Hero Interrupt: When an enemy would activate, cancel that
|
|
1319
|
+
* activation" (Web Binding, `sm` 27006); "Forced Interrupt: When a villain would activate, if no villain is in play,
|
|
1320
|
+
* resolve this card's 'Ambush!' ability. Continue that activation." (Sinister Synchronization 1B / Sinister Beatdown
|
|
1321
|
+
* 2B, 27100b/27101b). Pushed after the status check (a stun or confuse replaces the activation first, FAQ "Norman
|
|
1322
|
+
* Osborn (#1A)", RRG 1.8 p. 58) and only when an ability listens. `enemyInstanceId` is null for the villain's step-2
|
|
1323
|
+
* activation with no villain in play. Its apply step initiates the attack or scheme; a cancelled one never happens.
|
|
1324
|
+
*/
|
|
1325
|
+
/**
|
|
1326
|
+
* An acceleration token was placed on this card (docs/phase7-wave5.md §3.4): "Forced Response: After an acceleration
|
|
1327
|
+
* token is placed on this scheme, deal 3 indirect damage to the first player." (Hapless Pedestrians 1B, `sm` 27064b).
|
|
1328
|
+
* Response only; pushed by `addAccelerationToken` only when an ability listens.
|
|
1329
|
+
*/
|
|
1330
|
+
| {
|
|
1331
|
+
readonly kind: "accelerationTokenPlaced";
|
|
1332
|
+
readonly instanceId: InstanceId;
|
|
1333
|
+
}
|
|
1334
|
+
/**
|
|
1335
|
+
* An encounter card left a player's deck: drawn into the hand, or discarded (docs/phase7-wave5.md §3.5). Maze of
|
|
1336
|
+
* Mirrors / Edge of Reality (`sm` 27087, 27088): "Forced Interrupt: When you would draw or discard an encounter card
|
|
1337
|
+
* from your deck, deal it to yourself as a facedown encounter card → draw 1 card." Announced between frames after the
|
|
1338
|
+
* draw or discard is done (MC27 p. 21 FAQ), with an interrupt window whose replacement is `dealAsEncounterCard`. Always
|
|
1339
|
+
* pushed: its apply step deals a card nothing replaced facedown to that player, who draws 1 card, the printed handling
|
|
1340
|
+
* as the engine's fallback (`dealUnhandledEncounterCard`, §4.1 Q4). An obligation drawn goes to the play area as before.
|
|
1341
|
+
*/
|
|
1342
|
+
| {
|
|
1343
|
+
readonly kind: "encounterCardFromPlayerDeck";
|
|
1344
|
+
readonly playerId: PlayerId;
|
|
1345
|
+
readonly instanceId: InstanceId;
|
|
1346
|
+
readonly how: "draw" | "discard";
|
|
1347
|
+
}
|
|
1348
|
+
/**
|
|
1349
|
+
* A card entered a player's hand from anywhere else (docs/phase7-wave6.md §3.10): drawn, searched for, returned from
|
|
1350
|
+
* play, moved there by an effect. "Forced Response: After this card enters your hand, …" (Infiltration, Shapeshifter
|
|
1351
|
+
* Surprise, `mut_gen` 32082-32083; MC32 p. 7: "If one of these treachery cards subsequently enters your hand, trigger
|
|
1352
|
+
* its Forced Response at that time"). `playerId`: whose hand ("you"); `from`: the zone it came from. Response only:
|
|
1353
|
+
* the card is already in the hand. Recorded by `settlePlayerDecks` only when an ability in the registry listens, and
|
|
1354
|
+
* announced between frames after any `encounterCardFromPlayerDeck` of the same draw has resolved, so a card that draw's
|
|
1355
|
+
* fallback dealt away is no longer in the hand to answer it.
|
|
1356
|
+
*/
|
|
1357
|
+
| {
|
|
1358
|
+
readonly kind: "cardEntersHand";
|
|
1359
|
+
readonly playerId: PlayerId;
|
|
1360
|
+
readonly instanceId: InstanceId;
|
|
1361
|
+
readonly from: ZoneId["kind"] | null;
|
|
1362
|
+
}
|
|
1363
|
+
/**
|
|
1364
|
+
* A player has been dealt a facedown encounter card: "Response: After a player is dealt an encounter card, …"
|
|
1365
|
+
* (docs/phase7-wave9.md §3.12). RRG 1.8 "Deal, Deal an Encounter Card" (p. 15): step three of the villain phase, and
|
|
1366
|
+
* "If a card ability instructs a player to be dealt an encounter card, the player takes the top card of the encounter
|
|
1367
|
+
* deck and places it facedown in front of them"; "Villain Phase" (p. 47) step three with its hazard cards; "Player
|
|
1368
|
+
* Deck" (p. 33), a deck that ran out; "Surge" (p. 42), the card the keyword deals, heard when it is dealt and before
|
|
1369
|
+
* it is revealed (docs/phase7-wave9.md §4.1 Q19; `resolveSurge`). One event per card dealt, `playerId` the player it
|
|
1370
|
+
* was dealt to ("a player", `PlayerRef eventPlayer`), `instanceId` the facedown card and `source` what dealt it
|
|
1371
|
+
* (`EncounterDealSource`).
|
|
1372
|
+
*
|
|
1373
|
+
* Response only: the card is already in front of the player. Recorded as it is dealt (`recordEncounterCardDealt`)
|
|
1374
|
+
* only when an ability in the registry listens, and announced between frames (`announceEncounterCardsDealt`): the
|
|
1375
|
+
* cards one step or one effect dealt share one response window (RRG 1.8 "Triggering Condition", p. 45), so step
|
|
1376
|
+
* three asks once, after every player's card and the hazard cards are dealt, not once per card. A card no longer
|
|
1377
|
+
* among that player's dealt cards by then is not announced.
|
|
1378
|
+
*
|
|
1379
|
+
* The after-the-fact sibling of the "would be dealt" interrupt, `encounterCardBeingDealt` (docs/phase7-wave9.md
|
|
1380
|
+
* §3.45): that one opens before each card is taken from the deck, and a deal it replaces is never announced here.
|
|
1381
|
+
*/
|
|
1382
|
+
| {
|
|
1383
|
+
readonly kind: "encounterCardDealt";
|
|
1384
|
+
readonly playerId: PlayerId;
|
|
1385
|
+
readonly instanceId: InstanceId;
|
|
1386
|
+
readonly source: EncounterDealSource;
|
|
1387
|
+
}
|
|
1388
|
+
/**
|
|
1389
|
+
* A player is about to be dealt the top card of the encounter deck, facedown: "Interrupt: When a player would be
|
|
1390
|
+
* dealt an encounter card, remove 1 recon counter from here instead." (docs/phase7-wave9.md §3.45). RRG 1.8 "Deal,
|
|
1391
|
+
* Deal an Encounter Card" (p. 15); "'Would'" (p. 48); "Replacement Effect" (p. 37): "When an effect is replaced, it
|
|
1392
|
+
* is no longer considered imminent and no further interrupts or responses to that effect can be triggered."
|
|
1393
|
+
*
|
|
1394
|
+
* One event per card, before it leaves the deck: `playerId` the player it is to be dealt to ("a player",
|
|
1395
|
+
* `PlayerRef eventPlayer`), `source` what deals it (`EncounterDealSource`, shared with `encounterCardDealt`) and
|
|
1396
|
+
* `sourceInstanceId` the card whose ability or surge keyword deals it (`eventSource`), null for the game's own
|
|
1397
|
+
* deals (step three of the villain phase, a hazard icon, a player deck that ran out). The card is not named: it is
|
|
1398
|
+
* whatever is on top of the encounter deck when the event applies, and nothing is on the stack for it until then.
|
|
1399
|
+
*
|
|
1400
|
+
* Interrupt only: the deal is this event's apply step (`applyEncounterCardBeingDealt`), which deals as every deal
|
|
1401
|
+
* does, so `encounterCardDealt` still follows a deal that was not replaced. Cancelled or replaced
|
|
1402
|
+
* (`cancelTriggeringEvent`, `replaceTriggeringEvent`), no card is taken: the card stays on top of the encounter
|
|
1403
|
+
* deck, the player is dealt nothing by that deal (or what the replacing ability says), a surge reveals nothing, and
|
|
1404
|
+
* the next deal takes that same card. Each card has its own window (RRG 1.8 "Triggering Condition", p. 45): step
|
|
1405
|
+
* three deals one card, and only then asks about the next player's.
|
|
1406
|
+
*
|
|
1407
|
+
* Pushed only when an ability could react (`dealEncounterCardOrAnnounce`, `heard`); otherwise the card is dealt at
|
|
1408
|
+
* once, with the log, state and replay of a game that has no such ability.
|
|
1409
|
+
*
|
|
1410
|
+
* **A named card** (`named`; "deal that minion to the first player", "deal that card to yourself as a facedown
|
|
1411
|
+
* encounter card": `EffectSpec dealAsEncounterCard`) is a deal like any other and is heard the same way
|
|
1412
|
+
* (docs/phase7-wave9.md §3.45: "a card's 'deal … as a facedown encounter card'"). The card is known and is the
|
|
1413
|
+
* event's target (`eventTarget`); it has not moved yet. The apply step deals it from wherever it then is
|
|
1414
|
+
* (`dealAsEncounterCards`: a card in play leaves play by it). Cancelled or replaced, it stays exactly where it was
|
|
1415
|
+
* (the encounter discard pile, under a card, in play), nothing is dealt, and the text before a "then" of the
|
|
1416
|
+
* dealing effect is unresolved (`preThenUnresolved { cause: "cardNotDealt" }`), as for a card that could not be
|
|
1417
|
+
* dealt. `source` is `"ability"` and `sourceInstanceId` the card whose ability deals it.
|
|
1418
|
+
*
|
|
1419
|
+
* **Not** announced: a card dealt as a cost (`AbilityCost.dealEncounterCards`, `dealEncounterCardsTo`; all costs are paid at once, RRG 1.8
|
|
1420
|
+
* "Cost", p. 13, as `cardBeingDiscarded` and `statusBeingGiven` have it), the engine's own handling of an encounter
|
|
1421
|
+
* card found in a player deck (`dealUnhandledEncounterCard`, a fallback no card text makes), and "reveal an
|
|
1422
|
+
* additional encounter card" for a card that could not be given or enter play (no deal; `source: null` of
|
|
1423
|
+
* `dealEncounterCardTo`).
|
|
1424
|
+
*/
|
|
1425
|
+
| {
|
|
1426
|
+
readonly kind: "encounterCardBeingDealt";
|
|
1427
|
+
readonly playerId: PlayerId;
|
|
1428
|
+
readonly source: EncounterDealSource;
|
|
1429
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
1430
|
+
/** The deal of a named card rather than of the encounter deck's top card. */
|
|
1431
|
+
readonly named?: {
|
|
1432
|
+
readonly instanceId: InstanceId;
|
|
1433
|
+
/** The dealing effect's frame, whose pre-"then" text is unresolved when the card is not dealt. */
|
|
1434
|
+
readonly frameId: FrameId;
|
|
1435
|
+
/** The dealing ability's card, for the Permanent keyword's same-set exception (`dealAsEncounterCards`). */
|
|
1436
|
+
readonly sourceCardId?: CardId;
|
|
1437
|
+
/** The decks a find searched for the card, shuffled once the deal is settled (RRG 1.8 "Search", p. 39). */
|
|
1438
|
+
readonly searched?: readonly ZoneId[];
|
|
1439
|
+
};
|
|
1440
|
+
}
|
|
1441
|
+
/**
|
|
1442
|
+
* A card in a player's hand or deck is about to be discarded by the effect of a card's ability: "Interrupt: When an
|
|
1443
|
+
* encounter card effect would discard a card you control, discard [this card] instead of discarding that card."
|
|
1444
|
+
* (docs/phase7-wave9.md §4.1 Q20 = B). RRG 1.8 "Ownership and Control" (p. 31): "A player controls the cards in their
|
|
1445
|
+
* own out-of-play areas (such as the hand, the deck, and the discard pile)", so "a card you control" reaches a hand
|
|
1446
|
+
* and a deck; "Discard" (p. 16): "Discarding is the act of attempting to move a card from a non-discard-pile play
|
|
1447
|
+
* area to a discard pile." The in-play half of the same text is `cardLeavesPlay` with `to: "discard"`.
|
|
1448
|
+
*
|
|
1449
|
+
* `instanceId` is the card (`eventTarget`), `playerId` the player whose hand or deck holds it, who controls it
|
|
1450
|
+
* (`eventPlayer`), `from` which of the two, and `sourceInstanceId` the card whose ability discards it
|
|
1451
|
+
* (`eventSource`). `to` is always `"discard"`, so one `eventIs: { to: "discard", by }` reads this event and
|
|
1452
|
+
* `cardLeavesPlay` alike. `by`: the side of that card (`LeaveCauseSide`, `leaveCauseSide`), the same notion as
|
|
1453
|
+
* `cardLeavesPlay.by`, read by the same function; absent with no source card.
|
|
1454
|
+
*
|
|
1455
|
+
* Interrupt only ("would", RRG 1.8 p. 48): the discard is this event's apply step (`discard`, `applyWouldDiscard`),
|
|
1456
|
+
* and cancelling or replacing the event (`EffectSpec replaceTriggeringEvent`; RRG 1.8 "Replacement Effect", p. 37)
|
|
1457
|
+
* leaves the card where it was, in the hand or on the deck. Pushed only when an ability hears it
|
|
1458
|
+
* (`resolve/would-discard.ts`); otherwise the card is discarded at once, with the log, state and replay of a game
|
|
1459
|
+
* that has no such ability.
|
|
1460
|
+
*
|
|
1461
|
+
* Announced for the effects that discard named or chosen cards: `EffectSpec discardFromHand` (chosen and `random`:
|
|
1462
|
+
* a random card is picked first, then announced) and a `moveCards` to the discard pile of a card in a hand or a
|
|
1463
|
+
* deck ("discard the top N cards of your deck"), each card its own event. **Not** announced: a cost (RRG 1.8 "Cost",
|
|
1464
|
+
* p. 13: the arrow "distinguishes a cost from an effect"), whichever card prints it; the game's own discards (the
|
|
1465
|
+
* end-of-phase discard down to hand size); and `EffectSpec discardDeckUntil` ("discard cards from the top of your
|
|
1466
|
+
* deck until …"), whose next card depends on the one before (a replaced card would stay on top and be the next card
|
|
1467
|
+
* again; reported with §4.1 Q20).
|
|
1468
|
+
*/
|
|
1469
|
+
| {
|
|
1470
|
+
readonly kind: "cardBeingDiscarded";
|
|
1471
|
+
readonly instanceId: InstanceId;
|
|
1472
|
+
readonly playerId: PlayerId;
|
|
1473
|
+
readonly from: "hand" | "deck";
|
|
1474
|
+
readonly to: "discard";
|
|
1475
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
1476
|
+
readonly by?: LeaveCauseSide;
|
|
1477
|
+
/** The card whose ability discards it, as `moveCardsTo` reads it. */
|
|
1478
|
+
readonly sourceCardId?: CardId;
|
|
1479
|
+
/** The discard this event performs when it applies. */
|
|
1480
|
+
readonly discard: OutOfPlayDiscard;
|
|
1481
|
+
}
|
|
1482
|
+
/**
|
|
1483
|
+
* A card is about to be tucked under another (docs/phase7-wave9.md §3.40; RRG 1.8 "Tuck", p. 45: "When a player is
|
|
1484
|
+
* instructed to tuck a card under another card"): "Forced Interrupt: When a card would be tucked under your identity
|
|
1485
|
+
* by a player card effect, tuck it under here instead." (Silk Sense Overload, `silk` 52028). `instanceId` is the card
|
|
1486
|
+
* (`eventTarget`), `hostInstanceId` the card it is to go under, `sourceInstanceId` the card whose ability tucks it
|
|
1487
|
+
* (`eventSource`), and `playerId` the player the host speaks to (its controller, or the "you" of an uncontrolled
|
|
1488
|
+
* card; `eventPlayer`, `playerIs`), null for a host with none. `under` says what the host is, so "under your
|
|
1489
|
+
* identity" is `eventIs: { under: "identity" }` with `playerIs: "controller"`.
|
|
1490
|
+
*
|
|
1491
|
+
* `by`: the side of the card whose effect tucks it (`LeaveCauseSide`, `leaveCauseSide`): "by a player card effect"
|
|
1492
|
+
* is `eventIs: { by: "playerCard" }`, and a treachery that tucks itself is an encounter card's. The same notion as
|
|
1493
|
+
* `cardLeavesPlay.by`, read by the same function from the same source card. Absent with no source card.
|
|
1494
|
+
*
|
|
1495
|
+
* Interrupt only ("would", RRG 1.8 p. 48): the tuck is this event's apply step (`tuckCardUnder`), and
|
|
1496
|
+
* `EffectSpec replaceTuckHost` replaces it (RRG 1.8 "Replacement Effect", p. 37). Pushed only when an ability
|
|
1497
|
+
* hears it (`tuckOrAnnounce`); otherwise the card is tucked at once, with the log and state of a game that has no
|
|
1498
|
+
* such ability. Announced by `EffectSpec tuckCards` only: a swap with a tucked card (`swapCards`, RRG 1.8 "Swap",
|
|
1499
|
+
* p. 42) instructs no one to tuck, so it is not heard here.
|
|
1500
|
+
*/
|
|
1501
|
+
| {
|
|
1502
|
+
readonly kind: "cardBeingTucked";
|
|
1503
|
+
readonly instanceId: InstanceId;
|
|
1504
|
+
readonly hostInstanceId: InstanceId;
|
|
1505
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
1506
|
+
readonly playerId: PlayerId | null;
|
|
1507
|
+
readonly under: TuckHostKind;
|
|
1508
|
+
readonly by?: LeaveCauseSide;
|
|
1509
|
+
/** The card whose ability tucks it, as `leavePlay` reads it (the Permanent keyword's same-set exception). */
|
|
1510
|
+
readonly sourceCardId?: CardId;
|
|
1511
|
+
/** `EffectSpec tuckCards.facedown`. */
|
|
1512
|
+
readonly facedown?: true;
|
|
1513
|
+
/**
|
|
1514
|
+
* The tuck is a leaving card's new destination (`EffectSpec replaceLeaveDestination`, docs/phase7-wave9.md
|
|
1515
|
+
* §3.20): the frame of that card's waiting `cardLeavesPlay`. The card is still in play and leaves when that
|
|
1516
|
+
* event applies, so this event's apply step (and a `replaceTuckHost`) records the host there (`LeaveRequest
|
|
1517
|
+
* tuck`) instead of moving the card.
|
|
1518
|
+
*/
|
|
1519
|
+
readonly leavingFrameId?: FrameId;
|
|
1520
|
+
}
|
|
1521
|
+
/**
|
|
1522
|
+
* A card tucked under another was discarded (docs/phase7-wave9.md §3.40 (b)): "Forced Response: After a player card
|
|
1523
|
+
* effect discards this card from under an identity, that identity takes 2 damage." (Hunting the Spider-Bride,
|
|
1524
|
+
* `silk` 52031), read from the card itself where the discard left it (`AbilityDefinition.activeIn: "tucked"`).
|
|
1525
|
+
* `instanceId` is the discarded card ("this card", `eventTarget`), `hostInstanceId` the card it was under,
|
|
1526
|
+
* `sourceInstanceId` the card whose ability discarded it (`eventSource`; null when none did), and `playerId` the
|
|
1527
|
+
* player the host speaks to (`eventPlayer`: "that identity" is `identityOf(eventPlayer)` when `under` is
|
|
1528
|
+
* `"identity"`), null for a host with none.
|
|
1529
|
+
*
|
|
1530
|
+
* The cause is two fields. `by` is the side of the card whose ability discarded it (`LeaveCauseSide`, read by
|
|
1531
|
+
* `leaveCauseSide` from the source card's printed type), **whether as that ability's effect or as its cost**; `how`
|
|
1532
|
+
* says which (`TuckedDiscardCause`). `cardLeavesPlay.by` is the same notion narrowed to effects: it is this event's
|
|
1533
|
+
* `by` when `how` is `"effect"` and absent otherwise. They are kept apart here because of owner decision §4.1 Q7 = A
|
|
1534
|
+
* (provisional): "a player card effect" on 52031 is any discard a player card causes, so its pattern is
|
|
1535
|
+
* `eventIs: { by: "playerCard" }` with no `how`; under answer B it would add `how: "effect"`. A constant's discard
|
|
1536
|
+
* (an identity's "discard all but 4", a state check) is an effect of its card's ability (RRG 1.8 "Ability", p. 4;
|
|
1537
|
+
* "Player Card", p. 33: identity cards are player cards). `how: "rule"` has no `by`: the cards under a card that
|
|
1538
|
+
* leaves play, or flips to another card type, are discarded by the game (RRG 1.8 "Tuck", p. 45; "Flip", p. 19).
|
|
1539
|
+
*
|
|
1540
|
+
* Response only: announced after the card has reached its discard pile, between frames
|
|
1541
|
+
* (`announceTuckedDiscards`), the cards one effect or one cost discarded sharing one response window (RRG 1.8
|
|
1542
|
+
* "Triggering Condition", p. 45). Recorded (`recordTuckedDiscard`) only when an ability in the registry listens. A
|
|
1543
|
+
* tucked card that stops being tucked any other way (swapped out, returned to a hand, shuffled into a deck, removed
|
|
1544
|
+
* from the game, played from under its host) was not discarded and is not heard.
|
|
1545
|
+
*/
|
|
1546
|
+
| {
|
|
1547
|
+
readonly kind: "tuckedCardDiscarded";
|
|
1548
|
+
readonly instanceId: InstanceId;
|
|
1549
|
+
readonly hostInstanceId: InstanceId;
|
|
1550
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
1551
|
+
readonly playerId: PlayerId | null;
|
|
1552
|
+
readonly under: TuckHostKind;
|
|
1553
|
+
readonly by?: LeaveCauseSide;
|
|
1554
|
+
readonly how: TuckedDiscardCause;
|
|
1555
|
+
}
|
|
1556
|
+
/**
|
|
1557
|
+
* A card was discarded from the top of a player's deck (docs/phase7-wave7.md §3.55): "Response: After this card is
|
|
1558
|
+
* discarded from the top of your deck, shuffle it back into your deck" / "add it to your hand" / "put her into play
|
|
1559
|
+
* under your control" (`next_evol` 40043, 40060, 40057), read from the card itself in the discard pile
|
|
1560
|
+
* (`AbilityDefinition.activeIn: "discard"`), and "After you discard a card from the top of your deck, attach that
|
|
1561
|
+
* card facedown here" (40045) on a card in play. `playerId`: whose deck ("you", whoever's card did the discarding);
|
|
1562
|
+
* `instanceId`: the card ("this card" / "that card", `eventTarget`); `sourceInstanceId`: the card whose effect or
|
|
1563
|
+
* cost discarded it, null when none is named.
|
|
1564
|
+
*
|
|
1565
|
+
* Which discards (owner decision, 2026-10-05, §4.1 Q31): any effect or cost that moves a card from a player's deck to
|
|
1566
|
+
* that player's discard pile, one event per card, in discard order: a player card's effect, a "discard the top card
|
|
1567
|
+
* of your deck →" cost, an encounter card's "discard the top 5 cards of your deck", a "discard until" loop. Every
|
|
1568
|
+
* such move is recorded by `recordDeckDiscard` (`resolve/deck-discard.ts`). A card discarded from a hand or from
|
|
1569
|
+
* play, and a card discarded from an encounter deck, is not one. `fromTop` is always true: a player deck is only
|
|
1570
|
+
* discarded from off its top, or from the top cards an effect has just looked at, which are the top of the deck
|
|
1571
|
+
* while they are looked at.
|
|
1572
|
+
*
|
|
1573
|
+
* Response only: the card is already in the discard pile. Recorded only when an ability in the registry listens, and
|
|
1574
|
+
* announced between frames, so the cards one effect or cost discarded share one response window (RRG 1.8 "Triggering
|
|
1575
|
+
* Condition", p. 45) that resolves before the discarding ability's next effect. A response that takes the card away
|
|
1576
|
+
* leaves nothing for another to act on: once the card is no longer where the discard put it, nothing more is offered
|
|
1577
|
+
* for it (`deckDiscardStillThere`), and the discarding ability no longer counts it (ruling, April 30, 2026 - Ruling
|
|
1578
|
+
* 4, answer 1; §4.1 Q32; `settleDeckDiscards`), unless the response that took it says it stays counted
|
|
1579
|
+
* (`AbilityDefinition.discardsStayCounted`, docs/phase7-wave10-box-heroes.md B3.3).
|
|
1580
|
+
*
|
|
1581
|
+
* `at`: where the discard left the card. `"discard"`: the player's discard pile. `"deck"`: the discard emptied the
|
|
1582
|
+
* deck, whose reset shuffled this card into the new deck at once (RRG 1.8 "Player Deck", p. 33; MC40 p. 21: "Player
|
|
1583
|
+
* decks reset as soon as they are empty, so Domino's deck is reset with Jackpot shuffled into it"). The response
|
|
1584
|
+
* still resolves, on the card in the new deck (owner decision, 2026-10-05, §4.1 Q33): "add it to your hand" and "put
|
|
1585
|
+
* her into play" take it from there. A "shuffle it back into your deck" has already been done by the reset (MC40
|
|
1586
|
+
* p. 21), which its pattern says with `eventIs: { at: "discard" }`.
|
|
1587
|
+
*
|
|
1588
|
+
* **The encounter deck** (`deck: "encounter"`, docs/phase7-wave9.md §3.43 (b)): "Forced Response: After a Serpent
|
|
1589
|
+
* Society minion is discarded from the top of the encounter deck, deal that minion to the first player as a
|
|
1590
|
+
* facedown encounter card" (Serpent Solutions, `falcon` 53031). `playerId` is null (the deck is no player's, so
|
|
1591
|
+
* `playerIs` never matches), `encounterDeckId` names the deck, `how` says whether an effect or a cost discarded the
|
|
1592
|
+
* card and `by` which side's card that was (the source card's side for a cost too, as `tuckedCardDiscarded.by`).
|
|
1593
|
+
* Heard only by a pattern that asks for it, `eventIs: { deck: "encounter" }` (`hearsEncounterDeckDiscard`): every
|
|
1594
|
+
* pattern written for a player's deck keeps hearing a player's deck alone, and a registry with no such pattern
|
|
1595
|
+
* records nothing (`listensForEncounterDeckDiscard`). Recorded by `recordEncounterDeckDiscard` from every path that
|
|
1596
|
+
* discards off the top of an encounter deck: `discardTopOfEncounterDeck` (`EffectSpec discardEncounterCards`,
|
|
1597
|
+
* `AbilityCost.discardFromEncounterDeck`), `EffectSpec discardEncounterUntil`, `AbilityCost.encounterLookDiscard`
|
|
1598
|
+
* (the looked-at cards "are still considered part of that deck", RRG 1.8 "Look, Looked-At", p. 27) and a
|
|
1599
|
+
* `moveCards` from the deck to its discard pile. A boost card discarded after an activation leaves play, not the
|
|
1600
|
+
* deck (RRG 1.8 "Boost, Boost Icon", p. 11: "After applying a boost card to an activation, discard it"), and is
|
|
1601
|
+
* not one; neither is a revealed or dealt card. Everything above holds as written: one event per card in discard
|
|
1602
|
+
* order, the cards one effect or cost discarded sharing one response window (RRG 1.8 "Triggering Condition",
|
|
1603
|
+
* p. 45), `at: "deck"` for the card whose discard emptied the deck (RRG 1.8 "Encounter Deck", p. 17: the discard
|
|
1604
|
+
* pile is "immediately shuffled" into a new deck, that card in it), and a card a response took away is neither
|
|
1605
|
+
* offered to another response nor counted by the discarding ability (§4.1 Q32).
|
|
1606
|
+
*/
|
|
1607
|
+
| {
|
|
1608
|
+
readonly kind: "cardDiscardedFromDeck";
|
|
1609
|
+
readonly instanceId: InstanceId;
|
|
1610
|
+
readonly playerId: PlayerId | null;
|
|
1611
|
+
readonly deck: "player" | "encounter";
|
|
1612
|
+
readonly fromTop: true;
|
|
1613
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
1614
|
+
readonly at: "discard" | "deck";
|
|
1615
|
+
readonly encounterDeckId?: EncounterDeckId;
|
|
1616
|
+
readonly by?: LeaveCauseSide;
|
|
1617
|
+
readonly how?: "effect" | "cost";
|
|
1618
|
+
}
|
|
1619
|
+
/**
|
|
1620
|
+
* A card leaves play (docs/phase7-wave5.md §3.13): "Interrupt: When Spider-Man leaves play, …" (`sm` 27017,
|
|
1621
|
+
* Ghost-Spider 27048) and "Response: After a [Web-Warrior] ally leaves play, …" (Web of Life and Destiny 27023, Warrior
|
|
1622
|
+
* of the Great Web 30029). RRG 1.8 "Leaves Play" (p. 27) covers defeat, discard, the victory display, returning to hand
|
|
1623
|
+
* or deck and removal from the game. Only pushed when an ability listens.
|
|
1624
|
+
*
|
|
1625
|
+
* Two shapes (wave 5 §4.1 Q17: RRG 1.8 "Interrupt", p. 25; ruling Jan 17, 2026 (1) #2):
|
|
1626
|
+
* - with `leaving`: pushed by `leavePlay` *before* the move, when some interrupt hears it. The card is still in play,
|
|
1627
|
+
* with its attachments, counters and controller, while the interrupt window runs; the apply step performs the move
|
|
1628
|
+
* `leaving` describes (`applyLeavingPlay`) and the responses see the card gone. A replacement ("… instead") cancels
|
|
1629
|
+
* the event and moves the card itself; that move is announced after the "cancelled" line (§4.1 Q34). The
|
|
1630
|
+
* attachments leaving with it wait with it (`leaving: withHost`, §4.1 Q32), and every card leaving from one step
|
|
1631
|
+
* shares one interrupt window and one response window (§4.1 Q33).
|
|
1632
|
+
* - without it: recorded by `leavePlay` after the move (`pendingLeftPlay`) and announced between frames, when no
|
|
1633
|
+
* interrupt heard it before the move; its interrupt window, if any, is late. `interruptsResolved` marks a card that
|
|
1634
|
+
* left during its own leaving's interrupt window (a replacement's move): only the responses open.
|
|
1635
|
+
*
|
|
1636
|
+
* Either way the event carries what the card was while still in play — `cardId`, `controllerId` and `traits` (granted
|
|
1637
|
+
* ones included) — and a trigger's `targetIs` trait clauses read `traits`. `to` is where it went (with `leaving`: where
|
|
1638
|
+
* it is going, until the apply step sets where it went). The card's own abilities answer the responses from wherever
|
|
1639
|
+
* it went (`leftCardCandidates`).
|
|
1640
|
+
*/
|
|
1641
|
+
| {
|
|
1642
|
+
readonly kind: "cardLeavesPlay";
|
|
1643
|
+
readonly instanceId: InstanceId;
|
|
1644
|
+
readonly cardId: CardId;
|
|
1645
|
+
readonly controllerId: PlayerId | null;
|
|
1646
|
+
/**
|
|
1647
|
+
* For a card no player controlled: the player its "you" named while it was in play (`uncontrolledYouOf`), the one
|
|
1648
|
+
* whose play area held the obligation or whose card the attachment was on (RRG 1.8 "Obligation", p. 30;
|
|
1649
|
+
* "Attachment", p. 8). The event's player when there is no controller ("After a player discards an obligation,
|
|
1650
|
+
* that player …", Mojo in the Middle `mojo` 39060), and who the card's own leaves-play abilities resolve as.
|
|
1651
|
+
* Absent for a controlled card and for one that spoke to no player (a minion, a scheme).
|
|
1652
|
+
*/
|
|
1653
|
+
readonly speakerId?: PlayerId;
|
|
1654
|
+
readonly to: ZoneId["kind"];
|
|
1655
|
+
readonly traits: readonly Trait[];
|
|
1656
|
+
/**
|
|
1657
|
+
* The attachments that stay in play, unattached, once this card has left: a player's permanent or "cannot leave
|
|
1658
|
+
* play" card on it (RRG 1.8 "Permanent", p. 32; "Attach To", p. 8). Read while it was still in play. To each of
|
|
1659
|
+
* them this event's card is still "attached [card]" (`hostOfSelf`, `TargetRef host`), so "After attached enemy
|
|
1660
|
+
* leaves play, set this card aside" on a permanent upgrade hears its former host leave (docs/phase7-wave8.md
|
|
1661
|
+
* §3.61). Absent when there is none.
|
|
1662
|
+
*/
|
|
1663
|
+
readonly strandedAttachments?: readonly InstanceId[];
|
|
1664
|
+
/**
|
|
1665
|
+
* Whose card effect made the card leave play (`LeaveCauseSide`, `leaveCauseSide`), read from the move's source
|
|
1666
|
+
* card: "When an encounter card effect would discard a card you control" is `eventIs: { by: "encounterCard" }`
|
|
1667
|
+
* with `to: "discard"`. Absent when no card effect moved it: a game rule (a defeat at zero hit points or zero
|
|
1668
|
+
* threat, a uses card emptied, the ally limit, an attachment going with its host), or an ability's cost.
|
|
1669
|
+
*/
|
|
1670
|
+
readonly by?: LeaveCauseSide;
|
|
1671
|
+
readonly leaving?: LeaveRequest;
|
|
1672
|
+
readonly interruptsResolved?: true;
|
|
1673
|
+
}
|
|
1674
|
+
/**
|
|
1675
|
+
* A boost card has been resolved for an activation — its Boost ability done and its icons counted — and is about to be
|
|
1676
|
+
* discarded (docs/phase7-wave5.md §3.5). Mysterio I–III (`sm` 27084–27086): "Forced Response: After you resolve a boost
|
|
1677
|
+
* card during Mysterio's activation, place that card in your discard pile / on the bottom of your deck / on the top of
|
|
1678
|
+
* your deck if it has the [Illusion] trait." Response only, pushed only when an ability listens; a card a response
|
|
1679
|
+
* moved is not then discarded.
|
|
1680
|
+
*/
|
|
1681
|
+
| {
|
|
1682
|
+
readonly kind: "boostCardResolved";
|
|
1683
|
+
readonly enemyInstanceId: InstanceId;
|
|
1684
|
+
readonly boostInstanceId: InstanceId;
|
|
1685
|
+
readonly playerId: PlayerId;
|
|
1686
|
+
} | {
|
|
1687
|
+
readonly kind: "enemyActivating";
|
|
1688
|
+
readonly enemyInstanceId: InstanceId | null;
|
|
1689
|
+
readonly activation: "attack" | "scheme";
|
|
1690
|
+
readonly playerId: PlayerId;
|
|
1691
|
+
/**
|
|
1692
|
+
* Set when a card effect makes the activation (`EffectSpec enemyAttack` / `enemyScheme` / `enemyActivation`)
|
|
1693
|
+
* rather than step two of the villain phase. RRG 1.8 "Activation" (p. 6): attacks and schemes a card ability
|
|
1694
|
+
* causes "are also considered activations", so "when [enemy] activates against you" interrupts them too (owner
|
|
1695
|
+
* ruling, docs/phase7-wave5.md §4.1 Q67). It carries what the effect fixed for the attack or scheme, which
|
|
1696
|
+
* `continueActivation` initiates once the interrupts are done.
|
|
1697
|
+
*/
|
|
1698
|
+
readonly cardCaused?: CardCausedActivation;
|
|
1699
|
+
}
|
|
1700
|
+
/**
|
|
1701
|
+
* A boost card's icons are about to be counted for an activation (docs/phase7-wave2.md §3.6): "When boost icons on an
|
|
1702
|
+
* encounter card would be counted" (Chaos Control) and "increase or decrease the number of boost icons on that card by
|
|
1703
|
+
* 1 for this count" (Scarlet Witch's Crest) interrupt it with `replaceBoostCount` / `adjustBoostCount`. Announced only
|
|
1704
|
+
* when an ability could react.
|
|
1705
|
+
*
|
|
1706
|
+
* A count made by a card effect (`EffectSpec countBoostIcons`: "take damage equal to the number of boost icons on
|
|
1707
|
+
* that card", "for each boost icon discarded this way") is the same event with `enemyInstanceId: null`, one per
|
|
1708
|
+
* encounter card counted (docs/phase7-wave2.md §4 Q8: both cards say "on an encounter card", not "on a boost
|
|
1709
|
+
* card"). `playerId` is then the player resolving the counting effect, null when it has none. An interrupt's
|
|
1710
|
+
* `replaceBoostCount` / `adjustBoostCount` is recorded on the event itself (`countFrom`, `countAdjust`), and the
|
|
1711
|
+
* number counted is stamped on it as it applies (`counted`), so the log carries why the count is what it is.
|
|
1712
|
+
*/
|
|
1713
|
+
| {
|
|
1714
|
+
readonly kind: "boostIconsCounting";
|
|
1715
|
+
readonly enemyInstanceId: InstanceId | null;
|
|
1716
|
+
readonly cardInstanceId: InstanceId;
|
|
1717
|
+
readonly playerId: PlayerId | null;
|
|
1718
|
+
/** Effect counts only: "count the number of boost icons on that card instead" (`replaceBoostCount`). */
|
|
1719
|
+
readonly countFrom?: InstanceId;
|
|
1720
|
+
/** Effect counts only: "increase or decrease … by 1 for this count" (`adjustBoostCount`), summed. */
|
|
1721
|
+
readonly countAdjust?: number;
|
|
1722
|
+
/** Effect counts only: the icons counted, floored at 0. Set as the event applies. */
|
|
1723
|
+
readonly counted?: number;
|
|
1724
|
+
/** Effect counts only: an encounter card's effect is counting. */
|
|
1725
|
+
readonly byEncounter?: true;
|
|
1726
|
+
}
|
|
1727
|
+
/**
|
|
1728
|
+
* A character used a basic power (docs/phase7-wave2.md §3.11): "After you use a basic power" (Quicksilver's Super
|
|
1729
|
+
* Speed; Captain Marvel ally 04032). FAQ "Quicksilver (#1A)" (RRG 1.8 p. 61): a stunned attack or a
|
|
1730
|
+
* confused thwart "is not considered to have used a basic power", so it is announced only once the power resolves.
|
|
1731
|
+
* Announced only when an ability could react. The *interrupt* side of the same moment is `basicPowerUsing`.
|
|
1732
|
+
*
|
|
1733
|
+
* `stat`: the stat powering this use, which is not always the power's own (docs/phase7-wave8.md §4.1 Q54). A basic
|
|
1734
|
+
* thwart against a scheme with assault, or one a rule lets the character make with ATK, is `power: "thwart"` with
|
|
1735
|
+
* `stat: "atk"` (RRG 1.8 "Assault", p. 8); "uses their THW instead of their ATK" makes an attack `stat: "thw"`, and
|
|
1736
|
+
* "use its ATK instead of its DEF" a defense `stat: "atk"`. Otherwise THW, ATK, DEF or REC by the power. A
|
|
1737
|
+
* substitution made while the event waits on the stack rewrites it (`setBasicPowerStat`), so a card reads the stat
|
|
1738
|
+
* here and never infers it from the power's name.
|
|
1739
|
+
*/
|
|
1740
|
+
| {
|
|
1741
|
+
readonly kind: "basicPowerUsed";
|
|
1742
|
+
readonly characterInstanceId: InstanceId;
|
|
1743
|
+
readonly power: "attack" | "thwart" | "defense" | "recover";
|
|
1744
|
+
readonly stat: StatName;
|
|
1745
|
+
readonly playerId: PlayerId;
|
|
1746
|
+
}
|
|
1747
|
+
/**
|
|
1748
|
+
* A character is using a basic power, before the power's own value is read (docs/phase7-wave2.md §17.4): "Hero
|
|
1749
|
+
* Interrupt: When you use one of your hero's basic powers (THW, ATK, or DEF), … get +2 to that power for this use"
|
|
1750
|
+
* (Rapid Growth 13005), "When you use one of Venom's basic powers, … Venom gets +1 to that power for this use"
|
|
1751
|
+
* (Venom's Pistol). The interrupt twin of `basicPowerUsed`, the way `cardReadying` is to a ready and
|
|
1752
|
+
* `encounterCardRevealing` is to a reveal: one event whose shape is the same for every power, so a card that names
|
|
1753
|
+
* several of them at once is one trigger rather than one per power (each power's own event — `attack`, `thwart`,
|
|
1754
|
+
* the enemy attack a defense belongs to — has a different shape and a different subject).
|
|
1755
|
+
*
|
|
1756
|
+
* Pushed **on top of** the power's own events, so it resolves first: an interrupt to it runs before the power's
|
|
1757
|
+
* value is read, which is what "for this use" needs. Its *response* window therefore also runs before the power
|
|
1758
|
+
* resolves — "after you use a basic power" is `basicPowerUsed`, which is announced beneath the power.
|
|
1759
|
+
*
|
|
1760
|
+
* A basic recovery pushes it too, on top of its `basicRecovery` event (docs/phase7-wave6.md §3.40). Recovery is an
|
|
1761
|
+
* alter-ego power (RRG 1.8 "Recover, Recovery", p. 36), so the Hero Interrupts that name no power never see it.
|
|
1762
|
+
*
|
|
1763
|
+
* `stat`: the stat powering this use (see `basicPowerUsed`): what `modifyBasicPower` adds to, and what
|
|
1764
|
+
* `Predicate basicPowerStatIs` and `eventIs: { stat }` read.
|
|
1765
|
+
*/
|
|
1766
|
+
| {
|
|
1767
|
+
readonly kind: "basicPowerUsing";
|
|
1768
|
+
readonly characterInstanceId: InstanceId;
|
|
1769
|
+
readonly power: "attack" | "thwart" | "defense" | "recover";
|
|
1770
|
+
readonly stat: StatName;
|
|
1771
|
+
readonly playerId: PlayerId;
|
|
1772
|
+
}
|
|
1773
|
+
/**
|
|
1774
|
+
* A player's character is about to attack or thwart (docs/phase7-wave10.md §3.21): "Forced Interrupt: When attached
|
|
1775
|
+
* character would scheme, thwart, or attack, discard this card instead." (Tangled Up, `cw` 56181.) One "would"
|
|
1776
|
+
* point for every way the act is made:
|
|
1777
|
+
*
|
|
1778
|
+
* - **a basic attack or thwart**, of a hero or an ally: pushed by the command once its costs are paid (the character
|
|
1779
|
+
* is exhausted, the power's own additional cost paid) and after a stunned or confused status card has had its
|
|
1780
|
+
* say, in place of everything the power does. Its apply step is the power itself (`basic`): the attack or thwart
|
|
1781
|
+
* events, the consequential damage, the `basicPowerUsing` / `basicPowerUsed` announcements;
|
|
1782
|
+
* - **an attack- or thwart-labeled ability** (an event, or an ability of a card in play), which is its player's
|
|
1783
|
+
* identity's attack or thwart (RRG 1.8 "Labeled Ability", p. 26): pushed above the ability's frame
|
|
1784
|
+
* (`abilityFrameId`) as it begins resolving, after its costs are paid. The ability resolves once this has.
|
|
1785
|
+
*
|
|
1786
|
+
* Replaced (`replaceTriggeringEvent`; RRG 1.8 "'Would'", p. 48, "Replacement Effect", p. 37), the act never
|
|
1787
|
+
* happened: nothing of the basic power is pushed, the character has not attacked, thwarted or used a basic power,
|
|
1788
|
+
* and the ability resolves none of its effects. What was paid stays paid (RRG 1.8 "Cost", p. 13), a played event
|
|
1789
|
+
* is discarded, and the ability's use counts toward its limit, as a use a status card cancels does.
|
|
1790
|
+
*
|
|
1791
|
+
* Pushed only when an ability could react; otherwise the act goes ahead at once. A basic defense or recovery, and
|
|
1792
|
+
* an attack or thwart an unlabeled effect has a character make, do not announce it.
|
|
1793
|
+
*/
|
|
1794
|
+
| {
|
|
1795
|
+
readonly kind: "characterWouldAct";
|
|
1796
|
+
readonly act: "attack" | "thwart";
|
|
1797
|
+
readonly characterInstanceId: InstanceId;
|
|
1798
|
+
readonly playerId: PlayerId;
|
|
1799
|
+
/** **Engine-internal.** The basic power this stands in front of, carried out by the apply step. */
|
|
1800
|
+
readonly basic?: BasicPowerResume;
|
|
1801
|
+
/** **Engine-internal.** The labeled ability's frame waiting beneath this event. */
|
|
1802
|
+
readonly abilityFrameId?: FrameId;
|
|
1803
|
+
}
|
|
1804
|
+
/**
|
|
1805
|
+
* The healing of a basic recovery (docs/phase7-wave6.md §3.40): its apply step heals the identity by its REC as it
|
|
1806
|
+
* is then. "When you make a basic recovery, discard this card instead of healing damage" (Death Factor, 35030) is an
|
|
1807
|
+
* interrupt that replaces this event, which replaces the healing only (§4.1 Q20): the identity is exhausted already
|
|
1808
|
+
* and `basicPowerUsed { power: "recover" }`, beneath this frame, still announces the recovery. Pushed only when an
|
|
1809
|
+
* ability could react to it or to its `basicPowerUsing`; otherwise the command heals at once as before.
|
|
1810
|
+
*/
|
|
1811
|
+
| {
|
|
1812
|
+
readonly kind: "basicRecovery";
|
|
1813
|
+
readonly characterInstanceId: InstanceId;
|
|
1814
|
+
readonly playerId: PlayerId;
|
|
1815
|
+
}
|
|
1816
|
+
/**
|
|
1817
|
+
* A card is about to ready (docs/phase7-wave2.md §3.11): "When attached character would ready, discard this card
|
|
1818
|
+
* instead" (Frozen in Time) replaces it. Pushed only when an ability could react; otherwise the card readies at once.
|
|
1819
|
+
*/
|
|
1820
|
+
| {
|
|
1821
|
+
readonly kind: "cardReadying";
|
|
1822
|
+
readonly instanceId: InstanceId;
|
|
1823
|
+
/**
|
|
1824
|
+
* The card whose ability readies it, for "cannot be readied by player card effects" (Unnatural Storm;
|
|
1825
|
+
* docs/phase7-wave4.md §3.19). Absent for the end-of-phase ready.
|
|
1826
|
+
*/
|
|
1827
|
+
readonly sourceInstanceId?: InstanceId;
|
|
1828
|
+
}
|
|
1829
|
+
/**
|
|
1830
|
+
* A card **has** readied (docs/phase7-wave2.md §21): "Hero Response: After you ready Quicksilver, ready this card."
|
|
1831
|
+
* (Friction Resistance, `qsv` 14009.) The "-ed" twin of `cardReadying`, in the same idiom as
|
|
1832
|
+
* `basicPowerUsing`/`basicPowerUsed`: an announcement, so it opens a response window and nothing else.
|
|
1833
|
+
*
|
|
1834
|
+
* Announced only when the ready actually changed the card from exhausted to ready — never when the card was
|
|
1835
|
+
* already ready, and never when RRG 1.8 "'Cannot'" (p. 11) stopped it (All Tied Up). "After you ready X" is a
|
|
1836
|
+
* fact about a ready that happened.
|
|
1837
|
+
*/
|
|
1838
|
+
| {
|
|
1839
|
+
readonly kind: "cardReadied";
|
|
1840
|
+
readonly instanceId: InstanceId;
|
|
1841
|
+
} | {
|
|
1842
|
+
readonly kind: "turnStarted";
|
|
1843
|
+
readonly playerId: PlayerId;
|
|
1844
|
+
}
|
|
1845
|
+
/**
|
|
1846
|
+
* A minion engaged a player (RRG 1.8 "Engage", p. 18): it entered play in their area, was put into play engaged with
|
|
1847
|
+
* them, or moved to them. "After you engage a minion" (Thor). Announced after the minion's keywords (quickstrike):
|
|
1848
|
+
* ruling, Jan 17, 2026 (3) answer 2, "keywords have timing priority over triggered abilities".
|
|
1849
|
+
*/
|
|
1850
|
+
| {
|
|
1851
|
+
readonly kind: "minionEngaged";
|
|
1852
|
+
readonly minionInstanceId: InstanceId;
|
|
1853
|
+
readonly playerId: PlayerId;
|
|
1854
|
+
}
|
|
1855
|
+
/** A player's turn is about to end: "Forced Interrupt: When your turn ends, discard your hand." (Hulk). The turn ends when it applies. */
|
|
1856
|
+
| {
|
|
1857
|
+
readonly kind: "turnEnding";
|
|
1858
|
+
readonly playerId: PlayerId;
|
|
1859
|
+
}
|
|
1860
|
+
/**
|
|
1861
|
+
* An encounter card's surge is about to resolve (its player deals themself another encounter card): "When the surge
|
|
1862
|
+
* keyword on an encounter card would be resolved" (Espionage). Ruling, Aug 3, 2026 (3): surge "is treated as a When
|
|
1863
|
+
* Revealed ability".
|
|
1864
|
+
*/
|
|
1865
|
+
| {
|
|
1866
|
+
readonly kind: "surgeResolving";
|
|
1867
|
+
readonly instanceId: InstanceId;
|
|
1868
|
+
readonly playerId: PlayerId;
|
|
1869
|
+
}
|
|
1870
|
+
/**
|
|
1871
|
+
* A player chose an option of a "choose one" (`EffectSpec chooseOne`), and it has not resolved yet: "Forced
|
|
1872
|
+
* Interrupt: When you choose the 'Avoid' effect or the 'Trip' effect on a Trap! card, take 2 indirect damage" (Path
|
|
1873
|
+
* of a Thousand Cuts, `shadowland` 65049). RRG 1.8 "Interrupt" (p. 25): an interrupt resolves "when its triggering
|
|
1874
|
+
* condition initiates, but before that triggering condition resolves", so its interrupt window opens with the
|
|
1875
|
+
* option chosen and before the option's effects (it is pushed above them), and its response window follows. It
|
|
1876
|
+
* changes nothing when it applies. `playerId` is the chooser ("you"), `sourceInstanceId` the card whose ability
|
|
1877
|
+
* holds the choice (`EventPattern.sourceIs` reads it: "on a Trap! card"), `tag` the option's name when it has one
|
|
1878
|
+
* (`eventIs: { tag }`), `index` its place in the list. Pushed only when an ability could answer it.
|
|
1879
|
+
*/
|
|
1880
|
+
| {
|
|
1881
|
+
readonly kind: "optionChoosing";
|
|
1882
|
+
readonly playerId: PlayerId;
|
|
1883
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
1884
|
+
readonly index: number;
|
|
1885
|
+
readonly tag?: string;
|
|
1886
|
+
}
|
|
1887
|
+
/**
|
|
1888
|
+
* An ability resolved: it was triggered and its effects resolved (RRG 1.8 "Resolve", p. 37). "After you resolve the
|
|
1889
|
+
* ability of a Preparation card you control" (Black Widow; Synth-Suit too, ruling Feb 28, 2026 (2)).
|
|
1890
|
+
*
|
|
1891
|
+
* `carried` (docs/phase7-wave9.md §3.43 (c)): the slots the ability holds once its effects have resolved, by its
|
|
1892
|
+
* own names: what its costs bound (`AbilityCost.discardFromEncounterDeck.slot`, `encounterLookDiscard.slot`, …), its
|
|
1893
|
+
* chosen targets, the slots its own event gave it, and what its effects bound (a card an effect discarded, found or
|
|
1894
|
+
* chose; a branch's slots as they came back to the ability). An answering ability reads them as `moment.<slot>`
|
|
1895
|
+
* (`carriedByEvent`), so "After you resolve Falcon's 'Eagle-Eyed' ability, … for each icon in the discarded card's
|
|
1896
|
+
* boost area" (Talon Line, `falcon` 53012) reads `moment.<slot>`, the card Eagle-Eyed discarded, where that card
|
|
1897
|
+
* now is. A card a response took away from a "discarded this way" set (§4.1 Q32) is still in the carried set: the
|
|
1898
|
+
* resolved ability no longer counts it, but it is the card that was discarded. Slots only: a var of the set
|
|
1899
|
+
* (`<slot>.boostIcons`) says what the resolved ability counted, not what the card prints, so an answering ability
|
|
1900
|
+
* reads the card (`ValueSpec boostIcons`, `starIcons`). Absent when the ability holds no slot.
|
|
1901
|
+
*
|
|
1902
|
+
* Made as the ability's effects frame finishes (`announceAbilityResolved`), and only if something could respond
|
|
1903
|
+
* then: an answering ability's own condition may read `carried`, so it is judged once the slots are known.
|
|
1904
|
+
*/
|
|
1905
|
+
| {
|
|
1906
|
+
readonly kind: "abilityResolved";
|
|
1907
|
+
readonly instanceId: InstanceId;
|
|
1908
|
+
readonly abilityId: AbilityId;
|
|
1909
|
+
readonly controllerId: PlayerId | null;
|
|
1910
|
+
readonly carried?: Readonly<Record<string, readonly InstanceId[]>>;
|
|
1911
|
+
}
|
|
1912
|
+
/**
|
|
1913
|
+
* A card (villain or double-sided encounter card) has flipped. An announcement: the flip has happened.
|
|
1914
|
+
*
|
|
1915
|
+
* `playerId`: the player whose effect flipped the card, the "you" of the effect or cost that turned it ("After you
|
|
1916
|
+
* flip to this side", Pursued by the Past side B, `aoa` 45075b; docs/phase7-wave8.md §2.5, §3.6). It is the event's
|
|
1917
|
+
* player subject, so an uncontrolled card's Forced Response to its own flip resolves as that player. Absent when the
|
|
1918
|
+
* flip had no "you" (an effect resolved with no player).
|
|
1919
|
+
*/
|
|
1920
|
+
| {
|
|
1921
|
+
readonly kind: "cardFlipped";
|
|
1922
|
+
readonly instanceId: InstanceId;
|
|
1923
|
+
readonly playerId?: PlayerId;
|
|
1924
|
+
}
|
|
1925
|
+
/**
|
|
1926
|
+
* A player's identity is about to change form (the hero/alter-ego flip, or a change between hero faces): "Interrupt:
|
|
1927
|
+
* When you change to hero form, …" printed on the face being left, which is still the face showing while this
|
|
1928
|
+
* event's interrupt window is open. The "would" twin of `formChanged`, as `cardReadying` is to a ready: its apply
|
|
1929
|
+
* step makes the change (`setForm`) and announces `formChanged`. Pushed only when an interrupt listens for it
|
|
1930
|
+
* (`changeIdentityForm`); otherwise the identity turns at once, as it did before this event existed. Interrupt-only:
|
|
1931
|
+
* "after you change form" answers `formChanged`.
|
|
1932
|
+
*
|
|
1933
|
+
* An additional cost to change form (`RuleSpec formChangeCost`) is paid before this event resolves: RRG 1.8
|
|
1934
|
+
* "Initiating Abilities" (p. 24), costs are paid (step 5) before the change becomes imminent, so the order is cost,
|
|
1935
|
+
* this interrupt window, the change, then `formChanged`.
|
|
1936
|
+
*
|
|
1937
|
+
* `to`, `change` and `identityInstanceId` read as on `formChanged` (the identity is the event's target). An additional
|
|
1938
|
+
* form change ("[type] form") has no such window.
|
|
1939
|
+
*/
|
|
1940
|
+
| {
|
|
1941
|
+
readonly kind: "formChanging";
|
|
1942
|
+
readonly playerId: PlayerId;
|
|
1943
|
+
readonly to: "hero" | "alterEgo";
|
|
1944
|
+
readonly change: "identity";
|
|
1945
|
+
readonly identityInstanceId: InstanceId;
|
|
1946
|
+
/** The once-per-round player action, which this change uses up (`setForm`). */
|
|
1947
|
+
readonly voluntary: boolean;
|
|
1948
|
+
/** The hero face changed to, for an identity with more than one. */
|
|
1949
|
+
readonly heroFormIndex: number;
|
|
1950
|
+
}
|
|
1951
|
+
/** A player changed form (by the once-per-round flip or a card effect): "after you change to this form". */
|
|
1952
|
+
/**
|
|
1953
|
+
* `fromHeroForm` / `toHeroForm`: the hero faces before and after, for an identity with more than one (a three-sided
|
|
1954
|
+
* identity changing between its hero forms is a change of form with `to: "hero"`; docs/phase7-wave2.md §3.2).
|
|
1955
|
+
*/
|
|
1956
|
+
| {
|
|
1957
|
+
readonly kind: "formChanged";
|
|
1958
|
+
readonly playerId: PlayerId;
|
|
1959
|
+
/** The identity's form after the change (unchanged by an additional form change). */
|
|
1960
|
+
readonly to: "hero" | "alterEgo";
|
|
1961
|
+
readonly fromHeroForm?: number | null;
|
|
1962
|
+
readonly toHeroForm?: number | null;
|
|
1963
|
+
/**
|
|
1964
|
+
* `identity`: the hero/alter-ego flip. `additional`: an additional form ("[type] form" keyword; RRG 1.8 "Form,
|
|
1965
|
+
* Change Form", p. 21, "it does count as changing form for the purpose of triggering card effects"), with its type,
|
|
1966
|
+
* the name now showing and the form card as the event's target. docs/phase7-wave4.md §3.1.
|
|
1967
|
+
*/
|
|
1968
|
+
readonly change: "identity" | "additional";
|
|
1969
|
+
readonly formType?: string;
|
|
1970
|
+
readonly formName?: string;
|
|
1971
|
+
readonly formCardInstanceId?: InstanceId;
|
|
1972
|
+
/**
|
|
1973
|
+
* `identity` changes: the identity card that flipped, the event's target, so "When a character flips … move all
|
|
1974
|
+
* threat from that character" (MojoMania 1B, `mojo` 39025b) names it as `eventTarget` (docs/phase7-wave6.md
|
|
1975
|
+
* §3.59, §4 Q34: a hero's change of form is a flip, RRG 1.8 "Flip", p. 20).
|
|
1976
|
+
*/
|
|
1977
|
+
readonly identityInstanceId?: InstanceId;
|
|
1978
|
+
/**
|
|
1979
|
+
* `identity` changes: the identity's traits just before the change, printed and granted (copied ones included,
|
|
1980
|
+
* docs/phase7-wave6.md §3.50), read from the face it changed away from. "After a MUTANT alter-ego changes into hero
|
|
1981
|
+
* form" (Moira MacTaggert, `rogue` 38018) is asked once the identity shows its hero face, which may not have the
|
|
1982
|
+
* trait; a pattern's `targetIs` trait clauses read these as they read `cardLeavesPlay.traits` (docs/phase7-
|
|
1983
|
+
* wave6.md §3.56). Absent for an additional form change (its target is the form card).
|
|
1984
|
+
*/
|
|
1985
|
+
readonly fromTraits?: readonly Trait[];
|
|
1986
|
+
}
|
|
1987
|
+
/**
|
|
1988
|
+
* A named moment a script raised (`EffectSpec raiseMoment`, docs/phase7-wave8.md §3.39): "After you resolve a mission
|
|
1989
|
+
* attempt". An announcement (`isAnnouncement`): what the name stands for has already happened, so it opens a response
|
|
1990
|
+
* window and no interrupt window. `playerId` is "you", `sourceInstanceId` the card whose effect raised it. A pattern
|
|
1991
|
+
* names the moment with `eventIs: { name }`.
|
|
1992
|
+
*
|
|
1993
|
+
* `carried` / `carriedVars`: the slots `raiseMoment.carry` named and their vars, by the raising ability's own names
|
|
1994
|
+
* (docs/phase7-wave8.md §3.71); absent when it named none. An answering ability reads them as `moment.<slot>`
|
|
1995
|
+
* (`carriedByEvent`).
|
|
1996
|
+
*/
|
|
1997
|
+
| {
|
|
1998
|
+
readonly kind: "momentRaised";
|
|
1999
|
+
readonly name: string;
|
|
2000
|
+
readonly playerId: PlayerId;
|
|
2001
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
2002
|
+
readonly carried?: Readonly<Record<string, readonly InstanceId[]>>;
|
|
2003
|
+
readonly carriedVars?: Readonly<Record<string, number>>;
|
|
2004
|
+
} | {
|
|
2005
|
+
readonly kind: "playerPhaseEnded";
|
|
2006
|
+
} | {
|
|
2007
|
+
readonly kind: "villainPhaseEnded";
|
|
2008
|
+
}
|
|
2009
|
+
/**
|
|
2010
|
+
* "When/After the [player|villain] phase begins" (docs/phase7-wave3.md §3.2): Museum Ship and Nebula's Ship (`gmw`),
|
|
2011
|
+
* Blazing Inferno (`gmw`), Sibling Rivalry (`gam`), Ronan the Accuser (`ron`), and 15 more in the pool. RRG 1.8 "Round
|
|
2012
|
+
* Overview" (p. 4) steps 1 and 4 make the phase's beginning its own point, before its first step: an interrupt and a
|
|
2013
|
+
* response window, then the player phase's first turn or the villain phase's step one. Pushed only when an ability is
|
|
2014
|
+
* listening, so every game without one logs exactly as before.
|
|
2015
|
+
*/
|
|
2016
|
+
| {
|
|
2017
|
+
readonly kind: "phaseBeginning";
|
|
2018
|
+
readonly phase: "player" | "villain";
|
|
2019
|
+
}
|
|
2020
|
+
/**
|
|
2021
|
+
* "When/After the [player|villain] phase ends" and "When/After the round ends" (docs/phase7-wave3.md §3.2). RRG 1.8
|
|
2022
|
+
* "End of Player Phase" (p. 18) step 5 and "Villain Phase" (p. 47) step 6b: "Resolve any 'when/after the [villain]
|
|
2023
|
+
* phase ends' or 'when/after the round ends' effects" — so the villain phase's end **is** the round's end, one timing
|
|
2024
|
+
* point, after "until the end of the phase/round" effects have ended (steps 4 and 6a). Its apply step resolves the
|
|
2025
|
+
* "at the end of the phase/round" delayed effects, which RRG 1.8 "Delayed Effect" (p. 16) places "immediately after
|
|
2026
|
+
* their specified timing point [...] and before responses". The Collector's and Hela's ∞ faces, Rogue Vessel (`gmw`),
|
|
2027
|
+
* Regroup (`drax`), Magical Enhancements (`drs`), the temporary keyword. Pushed only when an ability is listening.
|
|
2028
|
+
*
|
|
2029
|
+
* `"round"`: the round ends with no villain phase, which was skipped (`EffectSpec skipNextVillainPhase`,
|
|
2030
|
+
* docs/phase7-wave11-hero-packs.md H3.7, Q101). "When the round ends" hears it (`eventIs: { phase: ["villain",
|
|
2031
|
+
* "round"] }`, the DSL's `on.roundEnding()`, the temporary keyword); "when the villain phase ends" does not.
|
|
2032
|
+
*/
|
|
2033
|
+
| {
|
|
2034
|
+
readonly kind: "phaseEnding";
|
|
2035
|
+
readonly phase: "player" | "villain" | "round";
|
|
2036
|
+
}
|
|
2037
|
+
/**
|
|
2038
|
+
* "After resolving step one of the villain phase" (docs/phase7-wave3.md §3.2): 36 printed cards, among them
|
|
2039
|
+
* Terrestrial Invasion 1B, Protect the Planet 2B and Bombardment (`gmw`). Announced once step one's threat and its
|
|
2040
|
+
* own interrupts and responses have resolved, before step two begins (RRG 1.8 "Villain Phase", p. 47). Not a
|
|
2041
|
+
* `placeThreat` response: that also fires on every scheme, incite and card-placed threat. Response window only.
|
|
2042
|
+
*/
|
|
2043
|
+
| {
|
|
2044
|
+
readonly kind: "villainStepResolved";
|
|
2045
|
+
readonly step: "placeThreat";
|
|
2046
|
+
}
|
|
2047
|
+
/**
|
|
2048
|
+
* "At the start of step three of the villain phase (deal encounter cards)" (Wheel of Genres, Stopped, `mojo` 39026b;
|
|
2049
|
+
* docs/phase7-wave6.md §3.61). RRG 1.8 "Villain Phase" (p. 47) step 3: "Deal one encounter card to each player."
|
|
2050
|
+
* Announced once step two has finished and before step three deals anything, when an interrupt listens; the step's
|
|
2051
|
+
* own deal (one card each, then the hazard icons') follows the frame and reads the encounter deck and the icons in
|
|
2052
|
+
* play as the interrupt left them. Cards the interrupt deals are not that deal. Interrupt window only: nothing
|
|
2053
|
+
* printed answers "after step three starts", and its apply step changes nothing.
|
|
2054
|
+
*/
|
|
2055
|
+
| {
|
|
2056
|
+
readonly kind: "villainStepStarting";
|
|
2057
|
+
readonly step: "dealEncounterCards";
|
|
2058
|
+
}
|
|
2059
|
+
/**
|
|
2060
|
+
* A card discarded from play went to a scenario area instead (`RuleSpec discardFromPlayDestination`; The Collection,
|
|
2061
|
+
* docs/phase7-wave3.md §3.14): "…, then place 1 threat on the main scheme" (Collector III) responds to it. Response only.
|
|
2062
|
+
*/
|
|
2063
|
+
| {
|
|
2064
|
+
readonly kind: "discardRedirected";
|
|
2065
|
+
readonly instanceId: InstanceId;
|
|
2066
|
+
readonly area: string;
|
|
2067
|
+
}
|
|
2068
|
+
/**
|
|
2069
|
+
* A card went into the scenario out-of-play area `area` (`moveCards` to `{ scenarioArea }`, or a `setAsideDestination`
|
|
2070
|
+
* redirect): "When a card is put into Damnation from a player's deck, put 1 additional card into Damnation from that
|
|
2071
|
+
* player's deck" (Exposing Intentions, community pack `mephisto-nep` 14). One event per card, announced once the
|
|
2072
|
+
* whole move is done (the cards of one move share one window), and only when an ability listens, so a game without
|
|
2073
|
+
* one logs nothing new. `from` is the zone kind it left and `fromPlayerId` that zone's player (null for a zone of no
|
|
2074
|
+
* player); `ownerId` is the card's owner; `sourceInstanceId` the card whose ability moved it (null for none). The
|
|
2075
|
+
* event player is `fromPlayerId`, else the owner ("that player"). Narrow it with `eventIs: { area, from }`. Both
|
|
2076
|
+
* windows hear it after the move: a "When … is put into" interrupt resolves as its response would (engine reading,
|
|
2077
|
+
* authority step 5: what such text does, "put 1 additional card", does not depend on the card still being on its way).
|
|
2078
|
+
*/
|
|
2079
|
+
| {
|
|
2080
|
+
readonly kind: "cardPutIntoScenarioArea";
|
|
2081
|
+
readonly instanceId: InstanceId;
|
|
2082
|
+
readonly area: string;
|
|
2083
|
+
readonly ownerId: PlayerId | null;
|
|
2084
|
+
readonly from: ZoneId["kind"] | "unknown";
|
|
2085
|
+
readonly fromPlayerId: PlayerId | null;
|
|
2086
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
2087
|
+
}
|
|
2088
|
+
/**
|
|
2089
|
+
* Damage was prevented, by the card `preventerInstanceId` (docs/phase7-wave4.md §3.20): "After Abjuration prevents 2
|
|
2090
|
+
* or more damage from a single attack, discard it" (Abjuration, `mts` 21082) is a forced response with `selfIs:
|
|
2091
|
+
* "source"`, `fromAttack: true` and `eventAtLeast: { amount: 2 }`. Announced (response only) when an ability listens,
|
|
2092
|
+
* for a `preventAllDamage` constant and for a `preventDamage` effect (whose card is the preventer). A tough status
|
|
2093
|
+
* card, a reduction and "cannot take damage" are not a card preventing damage and announce nothing.
|
|
2094
|
+
*/
|
|
2095
|
+
| {
|
|
2096
|
+
readonly kind: "damagePrevented";
|
|
2097
|
+
readonly targetInstanceId: InstanceId;
|
|
2098
|
+
readonly amount: number;
|
|
2099
|
+
readonly preventerInstanceId: InstanceId | null;
|
|
2100
|
+
readonly fromAttack: boolean;
|
|
2101
|
+
/** The card dealing the damage. */
|
|
2102
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
2103
|
+
};
|
|
2104
|
+
/**
|
|
2105
|
+
* What a card effect fixed for the activation it makes, carried by that activation's `enemyActivating` announcement.
|
|
2106
|
+
* `kind`: "X attacks you" is an attack and "X schemes" a scheme whatever the player's form; `"byForm"` is "X activates
|
|
2107
|
+
* against you", read from the player's form as the activation begins (after the interrupts, as in the villain phase).
|
|
2108
|
+
* `vars` seeds the attack's or scheme's frame (`atkBonus`, `schBonus`, the keywords, the boost changes).
|
|
2109
|
+
*/
|
|
2110
|
+
export interface CardCausedActivation {
|
|
2111
|
+
readonly kind: "attack" | "scheme" | "byForm";
|
|
2112
|
+
/** "X attacks [that character]": the attack's target, when it is not the player's identity. */
|
|
2113
|
+
readonly targetInstanceId?: InstanceId;
|
|
2114
|
+
readonly additionalResolution?: boolean;
|
|
2115
|
+
readonly noBoost?: boolean;
|
|
2116
|
+
/** Handed on to the attack's or scheme's event (`TriggerEvent enemyAttack.appliedBoostCards`). */
|
|
2117
|
+
readonly appliedBoostCards?: readonly InstanceId[];
|
|
2118
|
+
/** Handed on to the scheme's event (`TriggerEvent enemyScheme.startedByAttackBoost`). */
|
|
2119
|
+
readonly startedByAttackBoost?: true;
|
|
2120
|
+
readonly divert?: SchemeThreatDivert;
|
|
2121
|
+
readonly wouldPlaceThreat?: SchemeWouldPlaceThreat;
|
|
2122
|
+
/** Handed on to the attack's or scheme's event (`TriggerEvent enemyAttack.deferredBonus`). */
|
|
2123
|
+
readonly deferredBonus?: DeferredActivationBonus;
|
|
2124
|
+
readonly vars: Vars;
|
|
2125
|
+
/** A rule waiting on "that attack" (`LastingDuration awaitingAttack`) is retimed to this activation's attack. */
|
|
2126
|
+
readonly settlesAwaitingAttack?: boolean;
|
|
2127
|
+
}
|
|
2128
|
+
/**
|
|
2129
|
+
* An activation bonus read when the activation's ATK / SCH is set (`EffectSpec enemyAttack.statBonusTiming`): after the
|
|
2130
|
+
* "when [enemy] activates / attacks / schemes" interrupts, at the apply step of the attack's or scheme's event, in the
|
|
2131
|
+
* scope of the ability whose effect initiated it. An attack reads `atkBonus`, a scheme `schBonus`. Engine extension of
|
|
2132
|
+
* FFG ruling #147, Feb 15 2024 (authority tier 5, built on #147's order: interrupts to the initiated activation, then
|
|
2133
|
+
* the rest of the card, then the activation); RRG 1.8 "Interrupt", p. 25.
|
|
2134
|
+
*
|
|
2135
|
+
* The scope is the one the effect had, read later: `selfInstanceId` names the card even after it left play (a revealed
|
|
2136
|
+
* treachery is in the discard pile by then), so a bonus reading `self` sees it there, and the `event` the value sees
|
|
2137
|
+
* is the activation being resolved, not the reveal or other event that triggered the ability.
|
|
2138
|
+
*
|
|
2139
|
+
* `shared`: the same attack resolved against several players (`additionalResolution`) reads the bonus once, at its
|
|
2140
|
+
* first resolution, as the eager form does; `fixed` then carries that value to the other resolutions still queued.
|
|
2141
|
+
* Separate activations from one effect ("each enemy attacks you") each read their own, after their own interrupts.
|
|
2142
|
+
*/
|
|
2143
|
+
export interface DeferredActivationBonus {
|
|
2144
|
+
readonly atkBonus?: ValueSpec;
|
|
2145
|
+
readonly schBonus?: ValueSpec;
|
|
2146
|
+
readonly selfInstanceId: InstanceId | null;
|
|
2147
|
+
readonly controllerId: PlayerId | null;
|
|
2148
|
+
readonly bindings: Bindings;
|
|
2149
|
+
readonly vars: Vars;
|
|
2150
|
+
/** The effect frame and effect index that initiated the resolutions sharing one reading (`additionalResolution`). */
|
|
2151
|
+
readonly shared?: string;
|
|
2152
|
+
/** The value the first of the `shared` resolutions read. */
|
|
2153
|
+
readonly fixed?: {
|
|
2154
|
+
readonly atkBonus?: number;
|
|
2155
|
+
readonly schBonus?: number;
|
|
2156
|
+
};
|
|
2157
|
+
}
|
|
2158
|
+
/**
|
|
2159
|
+
* Part of one scheme activation's threat placed on a card instead of on the main scheme (`EffectSpec
|
|
2160
|
+
* enemyScheme.divert`, docs/phase7-wave9.md §3.9). `amount` and `toInstanceId` were fixed when the effect that
|
|
2161
|
+
* initiated the activation resolved; `if` is evaluated at the place-threat step in the scope of that effect's ability
|
|
2162
|
+
* (its card, its controller, its slots and vars), which is why they travel with the event.
|
|
2163
|
+
*/
|
|
2164
|
+
export interface SchemeThreatDivert {
|
|
2165
|
+
readonly amount: number;
|
|
2166
|
+
readonly toInstanceId: InstanceId;
|
|
2167
|
+
readonly if?: Predicate;
|
|
2168
|
+
readonly selfInstanceId: InstanceId | null;
|
|
2169
|
+
readonly controllerId: PlayerId | null;
|
|
2170
|
+
readonly bindings: Bindings;
|
|
2171
|
+
readonly vars: Vars;
|
|
2172
|
+
}
|
|
2173
|
+
/**
|
|
2174
|
+
* The effects one scheme activation resolves as it is about to place threat on a main scheme (`EffectSpec
|
|
2175
|
+
* enemyScheme.wouldPlaceThreat`), with the scope of the ability that initiated the activation as it was when that
|
|
2176
|
+
* effect resolved, which is why they travel with the event (as `SchemeThreatDivert`).
|
|
2177
|
+
*/
|
|
2178
|
+
export interface SchemeWouldPlaceThreat {
|
|
2179
|
+
readonly effects: readonly EffectSpec[];
|
|
2180
|
+
readonly selfInstanceId: InstanceId | null;
|
|
2181
|
+
readonly controllerId: PlayerId | null;
|
|
2182
|
+
readonly abilityId?: AbilityId;
|
|
2183
|
+
readonly bindings: Bindings;
|
|
2184
|
+
readonly vars: Vars;
|
|
2185
|
+
}
|
|
2186
|
+
/**
|
|
2187
|
+
* `results` is attached when the event's response window opens: what the event
|
|
2188
|
+
* actually did (`amount`, and for attacks/activations `damage`, `damaged`,
|
|
2189
|
+
* `defeated`, `undefended`, `threatPlaced`, `threatRemoved`, and one
|
|
2190
|
+
* `damageTaken.<instanceId>` per character that took damage, `damageTakenKey`). A `removeThreat` that took its scheme
|
|
2191
|
+
* from some threat to none records `lastThreatRemoved` (docs/phase7-wave7.md §3.34). An enemy attack that reached its
|
|
2192
|
+
* damage step records `totalAtk` (`TOTAL_ATK_RESULT`), and for a hero's basic defense `defenderDef` and
|
|
2193
|
+
* `exactlyDefended` (`DEFENDER_DEF_RESULT`, `EXACTLY_DEFENDED_RESULT`). Damage, and the attack it belongs to, records
|
|
2194
|
+
* `excessDealt` (the excess of the damage taken) and `excessAsDealt` (of the damage dealt, `EXCESS_AS_DEALT_RESULT`).
|
|
2195
|
+
*/
|
|
2196
|
+
export type TriggerEvent = TriggerEventBody & {
|
|
2197
|
+
readonly results?: Vars;
|
|
2198
|
+
/**
|
|
2199
|
+
* The cards that entered play after this condition occurred, in the order they entered: none of them answers it
|
|
2200
|
+
* in a response window (RRG 1.8 "Triggering Condition", p. 45; "Response", p. 38; the owner's answer 43B,
|
|
2201
|
+
* `entered-since.ts`). Absent until a card does, which is nearly always.
|
|
2202
|
+
*/
|
|
2203
|
+
readonly enteredPlaySince?: readonly InstanceId[];
|
|
2204
|
+
};
|
|
2205
|
+
/**
|
|
2206
|
+
* The result key an enemy attack records "its total ATK for that attack" under (docs/phase7-wave8.md §3.81): the
|
|
2207
|
+
* enemy's ATK as the attack's damage step read it (constant modifiers and "+N ATK for this attack" included; a printed
|
|
2208
|
+
* dash is an unmodifiable 0) plus the boost icons counted for it, before the defender's DEF (RRG 1.8 "Attack (Enemy
|
|
2209
|
+
* Activation)" step 4, p. 9). Absent (read as 0) for an attack that never reached that step: a stunned enemy, a
|
|
2210
|
+
* cancelled attack. The result `damage` is what the attack then dealt.
|
|
2211
|
+
*/
|
|
2212
|
+
export declare const TOTAL_ATK_RESULT = "totalAtk";
|
|
2213
|
+
/**
|
|
2214
|
+
* The result key an enemy attack records its defending hero's DEF for that attack under (Redirection Mastery, `iron_fist`
|
|
2215
|
+
* 64018: "deal damage to the attacker equal to your DEF for that attack"): the stat the attack's damage step subtracted
|
|
2216
|
+
* for a hero's basic defense (RRG 1.8 "Attack (Enemy Activation)" step 4, p. 9), every modifier included. Recorded only
|
|
2217
|
+
* for a basic defense by a player's identity, the only defense that subtracts DEF; absent (read as 0) for an
|
|
2218
|
+
* undefended attack, an ally's defense, a defense made by a "(defense)" ability alone, and an attack that never reached
|
|
2219
|
+
* its damage step. Where an effect has the hero use another stat instead (`modifyAttack.defenseUsesAtk`, The Best
|
|
2220
|
+
* Defense), that stat's value stands in for DEF here and in `EXACTLY_DEFENDED_RESULT` (with Redirection Mastery: owner
|
|
2221
|
+
* question pending, built to A).
|
|
2222
|
+
*/
|
|
2223
|
+
export declare const DEFENDER_DEF_RESULT = "defenderDef";
|
|
2224
|
+
/**
|
|
2225
|
+
* The result key (1) an enemy attack records when its defender **exactly defended** it: a hero's basic defense whose
|
|
2226
|
+
* DEF for that attack (`DEFENDER_DEF_RESULT`) equals the attack's total ATK (`TOTAL_ATK_RESULT`: modifiers, "+N ATK for
|
|
2227
|
+
* this attack" and boost icons included). FFG ruling September 10, 2026 (4): "the defender's modified DEF must equal
|
|
2228
|
+
* the attacker's modified ATK for that attack; damage prevention/reduction effects cannot be used to meet this
|
|
2229
|
+
* requirement". The comparison is DEF against ATK at the damage step, before any damage exists to prevent or reduce,
|
|
2230
|
+
* so a prevention or reduction can never make it hold. A basic defense is required: an identity made the defender only
|
|
2231
|
+
* by a "(defense)" ability (an event alone) does not exactly defend (FFG ruling October 12, 2026 (4)). Absent (read as
|
|
2232
|
+
* 0) otherwise. Read on the `defended` response, which carries the attack's results (`after.exactlyDefends`).
|
|
2233
|
+
*/
|
|
2234
|
+
export declare const EXACTLY_DEFENDED_RESULT = "exactlyDefended";
|
|
2235
|
+
/**
|
|
2236
|
+
* The result key (1) a thwart records when its removal **exactly defeated** a side scheme: the scheme's defeat got past
|
|
2237
|
+
* its interrupt window and the removal attempted no more threat than the scheme had (`schemeDefeated.excessThreat` 0;
|
|
2238
|
+
* MC60 p. 4: "defeated by a thwart that did not attempt to remove more threat than was necessary"). Beside the thwart's
|
|
2239
|
+
* `defeated`. It reaches an ally's consequential damage as `thwart.exactlyDefeated`. An attack's exact defeat of an
|
|
2240
|
+
* enemy is its `defeated` with no `excessAsDealt` (FFG ruling August 3, 2026 (6): no excess damage **dealt**), which
|
|
2241
|
+
* the cards DSL composes (`exactlyDefeatedByPower`).
|
|
2242
|
+
*/
|
|
2243
|
+
export declare const EXACTLY_DEFEATED_RESULT = "exactlyDefeated";
|
|
2244
|
+
/**
|
|
2245
|
+
* The result key an attack records "the damage dealt by this attack" under: every point of damage it dealt to the
|
|
2246
|
+
* attacked characters plus every point its overkill spilled onto another character (RRG 1.8 "Overkill", p. 31: the
|
|
2247
|
+
* spill "is considered damage from an attack"). Beside `damage`, which counts the attacked characters' damage taken
|
|
2248
|
+
* only (the condition "attacks and damages" answers, one per damaged character: ruling January 11, 2026 (2)). Read by
|
|
2249
|
+
* a response to the attack as a whole ("after X attacks you, ... for each point of damage dealt by this attack").
|
|
2250
|
+
* It counts damage dealt, before anything that changes the damage taken: RRG 1.8 "Damage" (p. 14), "the amount of damage
|
|
2251
|
+
* dealt is not modified" when the damage taken is (such as by damage being prevented), and a tough status card
|
|
2252
|
+
* prevents it ("Tough", p. 44; ruling January 17, 2026 (3): prevention stops "damage taken, not dealt"). Damage the
|
|
2253
|
+
* defender's DEF covers is never dealt and is not counted.
|
|
2254
|
+
*/
|
|
2255
|
+
export declare const ATTACK_DAMAGE_RESULT = "attackDamage";
|
|
2256
|
+
/**
|
|
2257
|
+
* The result key a damage event, and the attack it belongs to, record the excess of the damage **dealt** under: the
|
|
2258
|
+
* amount dealt beyond the target's remaining hit points, before anything that changes the damage taken (a constant
|
|
2259
|
+
* reduction, a tough status card, a prevention; `excessAsDealtOf`, `resolve/event.ts`, which says what "dealt" is in
|
|
2260
|
+
* each case). Beside `excessDealt`, which despite its name is the excess of the damage **taken**, the value overkill
|
|
2261
|
+
* spills (RRG 1.8 "Overkill", p. 31) and the one every "excess damage" ability reads unless the owner has ruled its
|
|
2262
|
+
* card counts the damage dealt (February 8, 2026 - Ruling 2; owner answer 31B, docs/phase7-wave10.md §4.0). Absent
|
|
2263
|
+
* (read as 0) when the amount dealt did not exceed the remaining hit points.
|
|
2264
|
+
*/
|
|
2265
|
+
export declare const EXCESS_AS_DEALT_RESULT = "excessAsDealt";
|
|
2266
|
+
/**
|
|
2267
|
+
* The result key an attack/activation records one character's damage taken under (docs/phase7-wave5.md §4.1 Q65):
|
|
2268
|
+
* every share of its damage the character actually took, an indirect attack's assignment and an overkill spill
|
|
2269
|
+
* included, after prevention, reductions and tough. Summed if the character took damage from it more than once.
|
|
2270
|
+
*/
|
|
2271
|
+
export declare const damageTakenKey: (instanceId: InstanceId) => string;
|
|
2272
|
+
/**
|
|
2273
|
+
* The result key an attack records a character's defeat by its overkill spill under: the spill is damage from the
|
|
2274
|
+
* attack, so "attacks and defeats" answers that character too (ruling January 11, 2026 (2), Captain Marvel: her Forced
|
|
2275
|
+
* Response "triggers for both instances"; `resolve/event.ts` `overkillSpillConditions`).
|
|
2276
|
+
*/
|
|
2277
|
+
export declare const spillDefeatedKey: (instanceId: InstanceId) => string;
|
|
2278
|
+
export type TriggerEventKind = TriggerEvent["kind"];
|
|
2279
|
+
/**
|
|
2280
|
+
* What dealt a player a facedown encounter card (`TriggerEvent encounterCardDealt.source`; the "would be dealt"
|
|
2281
|
+
* interrupt `encounterCardBeingDealt` carries the same, docs/phase7-wave9.md §3.45): step three of the villain
|
|
2282
|
+
* phase's one card each (`villainPhase`) or its additional card for a hazard icon (`hazard`; RRG 1.8 "Villain Phase",
|
|
2283
|
+
* p. 47), a card ability's effect or cost (`ability`; "Deal, Deal an Encounter Card", p. 15), a player deck that ran
|
|
2284
|
+
* out (`deckReset`; "Player Deck", p. 33), the surge keyword (`surge`; "Surge", p. 42: "the player resolving the
|
|
2285
|
+
* card deals themself a facedown encounter card from the top of the encounter deck"; docs/phase7-wave9.md §4.1 Q19),
|
|
2286
|
+
* or the unique rule turning away an encounter card being revealed (`uniqueRule`; "Unique Icon", p. 46: "the player
|
|
2287
|
+
* revealing it is dealt a facedown encounter card"; docs/phase7-wave9.md §4.1 Q38).
|
|
2288
|
+
*/
|
|
2289
|
+
export type EncounterDealSource = "villainPhase" | "hazard" | "ability" | "deckReset" | "surge" | "uniqueRule";
|
|
2290
|
+
/**
|
|
2291
|
+
* Whose card effect makes a card leave play (`TriggerEvent cardLeavesPlay.by`): the side of the card whose ability's
|
|
2292
|
+
* effect moves it, by that card's printed type (RRG 1.8 "Card Types", p. 12: attachment, environment, main scheme,
|
|
2293
|
+
* minion, obligation, side scheme, treachery and villain cards are encounter cards; the rest are player cards). Any
|
|
2294
|
+
* ability of such a card counts, a When Revealed, a Boost, a Forced Response or a constant one alike (RRG 1.8
|
|
2295
|
+
* "Ability", p. 4). A cost is not an effect (RRG 1.8 "Cost", p. 13: the cost arrow "distinguishes a cost from an
|
|
2296
|
+
* effect"), and a move the game's rules make has no card effect behind it, whatever card set it up: damage from an
|
|
2297
|
+
* encounter card that leaves an ally at zero hit points defeats it by "Defeat" (p. 15), and a card's attachments go
|
|
2298
|
+
* with it by "Leaves Play" (p. 27).
|
|
2299
|
+
*/
|
|
2300
|
+
export type LeaveCauseSide = "encounterCard" | "playerCard";
|
|
2301
|
+
/**
|
|
2302
|
+
* The discard a `cardBeingDiscarded` event performs when it applies, as plain data so the stack stays serializable and
|
|
2303
|
+
* replayable (as `LeaveRequest` is for a card in play): `hand`, a card of `EffectSpec discardFromHand` (`random`: it
|
|
2304
|
+
* was picked at random), through `discardFromHand`; `moveCards`, one card of a `moveCards` to the discard pile,
|
|
2305
|
+
* through `moveCardsTo`. `boundOn`: the set the discarding ability keeps of the cards "discarded this way"
|
|
2306
|
+
* (`DeckDiscard.boundOn`); a card whose discard is replaced leaves it.
|
|
2307
|
+
*/
|
|
2308
|
+
export type OutOfPlayDiscard = {
|
|
2309
|
+
readonly kind: "hand";
|
|
2310
|
+
readonly random?: true;
|
|
2311
|
+
} | {
|
|
2312
|
+
readonly kind: "moveCards";
|
|
2313
|
+
readonly boundOn?: DeckDiscard["boundOn"];
|
|
2314
|
+
};
|
|
2315
|
+
/**
|
|
2316
|
+
* What a tucked card's host is (`TriggerEvent cardBeingTucked.under`, `tuckedCardDiscarded.under`): an identity card
|
|
2317
|
+
* ("under your identity", "from under an identity") or any other card. Read when the event is made.
|
|
2318
|
+
*/
|
|
2319
|
+
export type TuckHostKind = "identity" | "other";
|
|
2320
|
+
/**
|
|
2321
|
+
* How a tucked card came to be discarded (`TriggerEvent tuckedCardDiscarded.how`): as the `effect` of a card's ability
|
|
2322
|
+
* (a triggered ability, an action, a When Revealed or a constant alike), as an ability's `cost` (RRG 1.8 "Cost",
|
|
2323
|
+
* p. 13: the arrow "distinguishes a cost from an effect"), or by a `rule` of the game with no card's ability behind it
|
|
2324
|
+
* (its host left play, RRG 1.8 "Tuck", p. 45).
|
|
2325
|
+
*/
|
|
2326
|
+
export type TuckedDiscardCause = "effect" | "cost" | "rule";
|
|
2327
|
+
/**
|
|
2328
|
+
* The move a `cardLeavesPlay` event with an interrupt window performs when it applies (docs/phase7-wave5.md §4.1 Q17),
|
|
2329
|
+
* as plain data so the stack stays serializable and replayable: the `leavePlay` call that waited (`zone`, with `patch`
|
|
2330
|
+
* for what its caller sets on the card afterwards), one card of a `moveCards` effect, an ally's or minion's defeat
|
|
2331
|
+
* (`defeatFromPlay`: Victory X, "instead of discarding it"), or an attachment leaving with its host (`withHost`).
|
|
2332
|
+
*
|
|
2333
|
+
* `sourceCardId`: the card whose ability makes the card leave, if any, for the Permanent keyword's same-set exception
|
|
2334
|
+
* (RRG 1.8 "Permanent", p. 32; `effects.ts` `permanentStopsLeaving`, docs/phase7-wave5.md §4.1 Q46). Absent for a move
|
|
2335
|
+
* the game's rules make. `asCost`: that ability moves the card as its cost, not as its effect (`LeaveCauseSide`).
|
|
2336
|
+
*/
|
|
2337
|
+
export type LeaveRequest = {
|
|
2338
|
+
readonly kind: "zone";
|
|
2339
|
+
readonly zone: ZoneId;
|
|
2340
|
+
readonly position: "top" | "bottom";
|
|
2341
|
+
readonly discarded: boolean;
|
|
2342
|
+
readonly patch?: LeavePatch;
|
|
2343
|
+
readonly sourceCardId?: CardId;
|
|
2344
|
+
readonly asCost?: true;
|
|
2345
|
+
} | {
|
|
2346
|
+
readonly kind: "moveCards";
|
|
2347
|
+
readonly destination: CardDestination;
|
|
2348
|
+
readonly into?: PlayerId;
|
|
2349
|
+
readonly sourceCardId?: CardId;
|
|
2350
|
+
readonly asCost?: true;
|
|
2351
|
+
} | {
|
|
2352
|
+
readonly kind: "defeat";
|
|
2353
|
+
readonly insteadTo?: DefeatPlacement;
|
|
2354
|
+
readonly sourceCardId?: CardId;
|
|
2355
|
+
}
|
|
2356
|
+
/**
|
|
2357
|
+
* A swap's outgoing card (`EffectSpec swapCards`, docs/phase7-wave6.md §3.47): once its interrupts resolve, the swap
|
|
2358
|
+
* with `with` completes (`swapCards` again), taking the out-of-play card's place as that card enters play in its own.
|
|
2359
|
+
*/
|
|
2360
|
+
| {
|
|
2361
|
+
readonly kind: "swap";
|
|
2362
|
+
readonly with: InstanceId;
|
|
2363
|
+
readonly sourceCardId?: CardId;
|
|
2364
|
+
}
|
|
2365
|
+
/**
|
|
2366
|
+
* A leaving an interrupt sent under a card (`EffectSpec replaceLeaveDestination`, docs/phase7-wave9.md §3.20): the
|
|
2367
|
+
* card is tucked under `hostInstanceId` when the leaving applies, in place of the move `replaced` describes, which
|
|
2368
|
+
* still says what made it leave (its source card, a cost, a defeat). `replaced` is performed after all when the
|
|
2369
|
+
* host has left play by then.
|
|
2370
|
+
*/
|
|
2371
|
+
| {
|
|
2372
|
+
readonly kind: "tuck";
|
|
2373
|
+
readonly hostInstanceId: InstanceId;
|
|
2374
|
+
readonly replaced: ReplaceableLeave;
|
|
2375
|
+
}
|
|
2376
|
+
/**
|
|
2377
|
+
* A leaving an interrupt sent to the bottom of its owner's separate deck (`EffectSpec replaceLeaveDestination` with
|
|
2378
|
+
* `to.separateDeck`, docs/phase7-wave11.md §3.3): placed there when the leaving applies, in place of the move
|
|
2379
|
+
* `replaced` describes, which still says what made it leave (its source card, a cost, a defeat).
|
|
2380
|
+
*/
|
|
2381
|
+
| ({
|
|
2382
|
+
readonly kind: "separateDeck";
|
|
2383
|
+
readonly replaced: ReplaceableLeave;
|
|
2384
|
+
} & SeparateDeckPlacement)
|
|
2385
|
+
/**
|
|
2386
|
+
* An attachment (or Victory X upgrade) leaving play because its host `host` does (§4.1 Q32): its interrupts share
|
|
2387
|
+
* the host's window, and its host's move takes it (`leaveNow` records where in `moved`). `step`: the host has no
|
|
2388
|
+
* leaving of its own on the stack (a villain removed or set aside, a main scheme stage removed or flipped), so this
|
|
2389
|
+
* frame's apply step performs the host's change, which takes the attachments with it. `toSeparateDeck`: an interrupt
|
|
2390
|
+
* sent it to the bottom of its owner's separate deck instead (docs/phase7-wave11.md §3.3), so the host's move puts
|
|
2391
|
+
* it there rather than where it was going.
|
|
2392
|
+
*/
|
|
2393
|
+
| {
|
|
2394
|
+
readonly kind: "withHost";
|
|
2395
|
+
readonly host: InstanceId;
|
|
2396
|
+
readonly step?: HostStep;
|
|
2397
|
+
readonly moved?: ZoneId["kind"];
|
|
2398
|
+
readonly toSeparateDeck?: SeparateDeckPlacement;
|
|
2399
|
+
};
|
|
2400
|
+
/**
|
|
2401
|
+
* Where `EffectSpec replaceLeaveDestination { to: { separateDeck } }` sends a leaving card: the bottom of `playerId`'s
|
|
2402
|
+
* separate deck `name` (the card's owner's). `instead`: where it was going (`TriggerEvent cardLeavesPlay.to` when the
|
|
2403
|
+
* replacement resolved), for the log's `returnedToSeparateDeck`. `order`: among the attachments of one host move
|
|
2404
|
+
* sent to separate decks, the order their replacements resolved, which is the order they go to the bottom (the first
|
|
2405
|
+
* resolved goes first, so the last ends lowest).
|
|
2406
|
+
*/
|
|
2407
|
+
export interface SeparateDeckPlacement {
|
|
2408
|
+
readonly playerId: PlayerId;
|
|
2409
|
+
readonly name: string;
|
|
2410
|
+
readonly instead: ZoneId["kind"];
|
|
2411
|
+
readonly order: number;
|
|
2412
|
+
}
|
|
2413
|
+
/**
|
|
2414
|
+
* The leavings whose destination `EffectSpec replaceLeaveDestination` can replace (`LeaveRequest tuck.replaced`,
|
|
2415
|
+
* `separateDeck.replaced`).
|
|
2416
|
+
*/
|
|
2417
|
+
export type ReplaceableLeave = Extract<LeaveRequest, {
|
|
2418
|
+
readonly kind: "zone" | "moveCards" | "defeat";
|
|
2419
|
+
}>;
|
|
2420
|
+
/**
|
|
2421
|
+
* A change to a card that is not itself leaving play but takes its attachments out of play, as plain data so that it
|
|
2422
|
+
* can wait on the stack for the attachments' "when this leaves play" interrupts and then run (docs/phase7-wave5.md §4.1
|
|
2423
|
+
* Q32; `waitsForHostStep`, `runHostStep`). Each names the engine function that makes the change.
|
|
2424
|
+
*/
|
|
2425
|
+
export type HostStep = {
|
|
2426
|
+
readonly kind: "removeVillains";
|
|
2427
|
+
readonly ids: readonly InstanceId[];
|
|
2428
|
+
} | {
|
|
2429
|
+
readonly kind: "setVillainsAside";
|
|
2430
|
+
readonly ids: readonly InstanceId[];
|
|
2431
|
+
} | {
|
|
2432
|
+
readonly kind: "removeMainSchemeStage";
|
|
2433
|
+
readonly schemeId: InstanceId;
|
|
2434
|
+
}
|
|
2435
|
+
/** `advanceMainScheme`: the old stage is removed from the game with its attachments (RRG 1.8 "Main Scheme", p. 27). */
|
|
2436
|
+
| {
|
|
2437
|
+
readonly kind: "advanceMainScheme";
|
|
2438
|
+
readonly schemeId: InstanceId;
|
|
2439
|
+
readonly nextIndex: number;
|
|
2440
|
+
readonly advancedBy: MainSchemeAdvancedBy;
|
|
2441
|
+
}
|
|
2442
|
+
/** `joinGameArea`, whose first change removes the joining area's own stage (docs/phase7-wave5.md §4.1 Q50). */
|
|
2443
|
+
| {
|
|
2444
|
+
readonly kind: "joinGameArea";
|
|
2445
|
+
readonly fromId: GameAreaId;
|
|
2446
|
+
readonly intoId: GameAreaId | null;
|
|
2447
|
+
}
|
|
2448
|
+
/**
|
|
2449
|
+
* `flipMainSchemeStage`; `reveal`: on completion (its frames pushed), else a "flip this card" (`cardFlipped` after).
|
|
2450
|
+
* `flippedBy`: the player whose effect flipped it (`cardFlipped.playerId`), when it had one.
|
|
2451
|
+
*/
|
|
2452
|
+
| {
|
|
2453
|
+
readonly kind: "flipMainSchemeStage";
|
|
2454
|
+
readonly schemeId: InstanceId;
|
|
2455
|
+
readonly reveal: boolean;
|
|
2456
|
+
readonly playerId: PlayerId;
|
|
2457
|
+
readonly flippedBy?: PlayerId;
|
|
2458
|
+
}
|
|
2459
|
+
/**
|
|
2460
|
+
* `setForm` for a separated identity whose other card flips with it and discards what the identity cannot take
|
|
2461
|
+
* (`separatedFlipWaits`, docs/phase7-wave5.md §4.1 Q50); its `formChanged` announcement follows the change.
|
|
2462
|
+
*/
|
|
2463
|
+
| {
|
|
2464
|
+
readonly kind: "setForm";
|
|
2465
|
+
readonly playerId: PlayerId;
|
|
2466
|
+
readonly to: "hero" | "alterEgo";
|
|
2467
|
+
readonly voluntary: boolean;
|
|
2468
|
+
readonly heroFormIndex: number;
|
|
2469
|
+
}
|
|
2470
|
+
/**
|
|
2471
|
+
* `flipToOtherFace` to a new card type, from a "flip this card" (`cardFlipped` after). `reveal`: the flip also reveals
|
|
2472
|
+
* the new face (`flipCard.reveal`), and `flipToOtherFace` pushes the `cardFlipped` itself, under the reveal.
|
|
2473
|
+
*/
|
|
2474
|
+
| {
|
|
2475
|
+
readonly kind: "flipToOtherFace";
|
|
2476
|
+
readonly id: InstanceId;
|
|
2477
|
+
readonly playerId: PlayerId;
|
|
2478
|
+
readonly reveal?: true;
|
|
2479
|
+
/** The player whose effect flipped it (`cardFlipped.playerId`), when it had one. */
|
|
2480
|
+
readonly flippedBy?: PlayerId;
|
|
2481
|
+
/** `flipCard.keepCounters`: the counter types it keeps through the change of type. */
|
|
2482
|
+
readonly keepCounters?: readonly string[];
|
|
2483
|
+
}
|
|
2484
|
+
/**
|
|
2485
|
+
* `swapMainScheme` (docs/phase7-wave11-scenarios.md §S3.2): the main scheme in play swapped out with `incoming`, a
|
|
2486
|
+
* set-aside main scheme, its attachments discarded; `placePreviousThreat` / `sourceInstanceId` as
|
|
2487
|
+
* `MainSchemeSwapOptions`. `frameId`: the swapping ability's effects frame, marked for a "then" if the swap is refused
|
|
2488
|
+
* when it resumes.
|
|
2489
|
+
*/
|
|
2490
|
+
| {
|
|
2491
|
+
readonly kind: "swapMainScheme";
|
|
2492
|
+
readonly schemeId: InstanceId;
|
|
2493
|
+
readonly incoming: InstanceId;
|
|
2494
|
+
readonly placePreviousThreat?: true;
|
|
2495
|
+
readonly sourceInstanceId?: InstanceId;
|
|
2496
|
+
readonly frameId?: FrameId;
|
|
2497
|
+
};
|
|
2498
|
+
/** How a card about to be attached is being attached (`TriggerEvent cardAttached.imminent`). */
|
|
2499
|
+
export interface ImminentAttach {
|
|
2500
|
+
readonly entry: "placement" | "ability";
|
|
2501
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
2502
|
+
}
|
|
2503
|
+
/** The `cardFlipped` announcement for a card `by` flipped (`null` or absent: the flip had no "you"). */
|
|
2504
|
+
export declare const cardFlippedEvent: (instanceId: InstanceId, by?: PlayerId | null) => TriggerEvent;
|
|
2505
|
+
/**
|
|
2506
|
+
* What a caller of `leavePlay` sets on the card once it has left (`tuckCards`, `takeIntoHand`), with the move and after
|
|
2507
|
+
* any "when it leaves play" interrupt (`applyLeavePatch`). `ownerId`: "take it into your hand" of another player's card
|
|
2508
|
+
* changes its owner then, not before the card waits (docs/phase7-wave5.md §4.1 Q35).
|
|
2509
|
+
*/
|
|
2510
|
+
export interface LeavePatch {
|
|
2511
|
+
readonly faceup?: boolean;
|
|
2512
|
+
readonly controllerId?: PlayerId | null;
|
|
2513
|
+
readonly attachedTo?: null;
|
|
2514
|
+
readonly ownerId?: PlayerId;
|
|
2515
|
+
}
|
|
2516
|
+
/**
|
|
2517
|
+
* A basic attack or thwart whose costs are paid, held by its `characterWouldAct` event until that event's interrupt
|
|
2518
|
+
* window has passed (docs/phase7-wave10.md §3.21): the command as it was given, the targets it was checked against
|
|
2519
|
+
* (`shares`: one target, or a divided power's), and for a thwart whether it uses ATK and whether the schemes'
|
|
2520
|
+
* additional thwart cost is already paid.
|
|
2521
|
+
*/
|
|
2522
|
+
export type BasicPowerResume = {
|
|
2523
|
+
readonly power: "attack";
|
|
2524
|
+
readonly command: Extract<Command, {
|
|
2525
|
+
type: "basicAttack";
|
|
2526
|
+
}>;
|
|
2527
|
+
readonly shares: readonly BasicPowerShare[];
|
|
2528
|
+
} | {
|
|
2529
|
+
readonly power: "thwart";
|
|
2530
|
+
readonly command: Extract<Command, {
|
|
2531
|
+
type: "basicThwart";
|
|
2532
|
+
}>;
|
|
2533
|
+
readonly shares: readonly BasicPowerShare[];
|
|
2534
|
+
readonly useAtk: boolean;
|
|
2535
|
+
readonly thwartCostPaid: boolean;
|
|
2536
|
+
/** `BasicPowerTerms.ignores` of a thwart a card had the player make (docs/phase7-wave11-hero-packs.md §H3.14). */
|
|
2537
|
+
readonly ignores?: readonly ("patrol" | "crisis")[];
|
|
2538
|
+
};
|
|
2539
|
+
/**
|
|
2540
|
+
* The stat a basic power uses when nothing substitutes another (RRG 1.8 "Basic Power", p. 10): the default of the
|
|
2541
|
+
* `stat` on `basicPowerUsing` / `basicPowerUsed`.
|
|
2542
|
+
*/
|
|
2543
|
+
export declare const BASIC_POWER_STAT: {
|
|
2544
|
+
readonly attack: "atk";
|
|
2545
|
+
readonly thwart: "thw";
|
|
2546
|
+
readonly defense: "def";
|
|
2547
|
+
readonly recover: "rec";
|
|
2548
|
+
};
|
|
2549
|
+
/**
|
|
2550
|
+
* Announcement events describe a state change that the engine has already made
|
|
2551
|
+
* (a card moved, a stage advanced). They only open a response window — there is
|
|
2552
|
+
* nothing left to interrupt.
|
|
2553
|
+
*/
|
|
2554
|
+
export declare function isAnnouncement(event: TriggerEvent): boolean;
|
|
2555
|
+
export interface EventSubjects {
|
|
2556
|
+
readonly sources: readonly InstanceId[];
|
|
2557
|
+
readonly targets: readonly InstanceId[];
|
|
2558
|
+
readonly players: readonly PlayerId[];
|
|
2559
|
+
}
|
|
2560
|
+
/** The cards and players an event is "about", used to match ability trigger patterns. */
|
|
2561
|
+
export declare function eventSubjects(event: TriggerEvent): EventSubjects;
|
|
2562
|
+
/**
|
|
2563
|
+
* Whether a pattern on `cardDiscardedFromDeck` asks for the encounter deck's discards: `eventIs: { deck: "encounter" }`
|
|
2564
|
+
* (or a list holding it). The one test of it, for the registry's gate (`listensForEncounterDeckDiscard`) and for the
|
|
2565
|
+
* match itself (`resolve/triggers.ts`), so a pattern that does not ask never hears one in any game.
|
|
2566
|
+
*/
|
|
2567
|
+
export declare function hearsEncounterDeckDiscard(pattern: EventPattern): boolean;
|
|
2568
|
+
/**
|
|
2569
|
+
* Whether a pattern hears `kind` among its own `on` kinds, or through the one alias the engine makes: a pattern on
|
|
2570
|
+
* `attack` whose target is this card or the card it is attached to also hears an `enemyAttacksEnemy` with that card the
|
|
2571
|
+
* attacked enemy, however the pattern names it: `selfIs: "target"` (`on.thisIsAttacked`, "When/After [this card] is
|
|
2572
|
+
* attacked"), `targetIs: { self: true }` ("After a character attacks and damages Gorgon", `shadowland` 65021) or
|
|
2573
|
+
* `targetIs: { hostOfSelf: true }` ("When Kang is attacked" on Temporal Shield, `toafk` 11014). Whether the attacked
|
|
2574
|
+
* card is an enemy is left to the event: an `enemyAttacksEnemy` only ever attacks one.
|
|
2575
|
+
*
|
|
2576
|
+
* An enemy is a character (RRG 1.8 "Character", p. 12: "Identities, allies, villains and minions are characters"), so an
|
|
2577
|
+
* enemy's attack on this card is "a character attacks" it; and the owner's decision on enemy-against-enemy attacks
|
|
2578
|
+
* (docs/phase7-wave3.md §4 Q12, §3.23) already gives the target its tough status, damage reduction and retaliate as for
|
|
2579
|
+
* any attack. No FFG ruling covers an enemy's attack against an enemy with such an ability (Sinister Syndicate's Shocker
|
|
2580
|
+
* 24045, Speed Demon 24046; The Punisher community scenario), so this is the rules-expert's reading of the RRG
|
|
2581
|
+
* (2026-11-12), at authority step 5. A text that names who attacks still has to say so: "a character **you control**
|
|
2582
|
+
* attacks Black Widow" (`aos` 50064) adds a `sourceIs` with a controller. The rest of the pattern reads the
|
|
2583
|
+
* `enemyAttacksEnemy` event as it is: its source is the attacking enemy, it has no player subject (so a `playerIs`
|
|
2584
|
+
* pattern never matches it), and the `attack`-only fields (`attackKind`, `attackHas`, `sourceAbility`) never match it.
|
|
2585
|
+
* A "cannot attack" or "cannot be stunned" rule then stops what the ability does, not the trigger (RRG 1.8 "'Cannot'",
|
|
2586
|
+
* p. 11).
|
|
2587
|
+
*/
|
|
2588
|
+
export declare function patternHearsKind(pattern: EventPattern, kind: TriggerEventKind): boolean;
|
|
2589
|
+
/**
|
|
2590
|
+
* The suffix of the slot that keeps, beside a set of cards "discarded this way", the cards a response to their discard
|
|
2591
|
+
* took away from it (`settleDeckDiscards`, docs/phase7-wave7.md §4.1 Q32): `<slot>.takenAway`. The discarding ability
|
|
2592
|
+
* no longer counts them, and they are still the cards it discarded (`abilityResolved.carried`).
|
|
2593
|
+
*/
|
|
2594
|
+
export declare const TAKEN_AWAY_SUFFIX = ".takenAway";
|
|
2595
|
+
/**
|
|
2596
|
+
* The suffix of the slot that keeps, beside a set of cards "discarded this way" from a player's deck, the cards a
|
|
2597
|
+
* response took away that the ability still counts (docs/phase7-wave7.md §4.1 Q32 = A, `settleDeckDiscards`):
|
|
2598
|
+
* `<slot>.countedAway`. They are out of the set, so the ability's later effects ("add them to your hand") do not move
|
|
2599
|
+
* them again, and their icons still count (`<slot>.*` totals, `ValueSpec totalPrintedResources` over the slot).
|
|
2600
|
+
*/
|
|
2601
|
+
export declare const COUNTED_AWAY_SUFFIX = ".countedAway";
|
|
2602
|
+
/**
|
|
2603
|
+
* The slots an ability hands to the abilities that answer its resolution (`abilityResolved.carried`,
|
|
2604
|
+
* docs/phase7-wave9.md §3.43 (c)): its own, each set of discarded cards whole again (`TAKEN_AWAY_SUFFIX`).
|
|
2605
|
+
* Undefined when it holds none.
|
|
2606
|
+
*/
|
|
2607
|
+
export declare function slotsCarriedByResolved(bindings: Bindings): Readonly<Record<string, readonly InstanceId[]>> | undefined;
|
|
2608
|
+
/**
|
|
2609
|
+
* The prefix an ability answering a moment reads its carried slots and vars under (`EffectSpec raiseMoment.carry`), and
|
|
2610
|
+
* one answering `abilityResolved` the resolved ability's slots (`abilityResolved.carried`).
|
|
2611
|
+
*/
|
|
2612
|
+
export declare const MOMENT_PREFIX = "moment.";
|
|
2613
|
+
declare const NOTHING_CARRIED: {
|
|
2614
|
+
readonly bindings: Readonly<Record<string, readonly InstanceId[]>>;
|
|
2615
|
+
readonly vars: Readonly<Record<string, number>>;
|
|
2616
|
+
};
|
|
2617
|
+
/**
|
|
2618
|
+
* What the event an ability answers hands to that ability's slots and vars (docs/phase7-wave8.md §3.71): the slots and
|
|
2619
|
+
* vars a `momentRaised` carries, each under `MOMENT_PREFIX`, so the raising ability's `pulled` is the answering
|
|
2620
|
+
* ability's `moment.pulled` and `pulled.count` its `moment.pulled.count`. The prefix keeps them apart from the
|
|
2621
|
+
* answering ability's own slots and cost results. An `abilityResolved` hands over the resolved ability's slots the
|
|
2622
|
+
* same way (docs/phase7-wave9.md §3.43 (c)), and no vars. A play's `cardBeingPlayed` and `cardPlayed` hand over the
|
|
2623
|
+
* cards that paid for it as slot `paid.cards` (`PAID_CARDS_SLOT`, §3.46 (b)). Every other event, and one that carries
|
|
2624
|
+
* nothing, gives nothing.
|
|
2625
|
+
*
|
|
2626
|
+
* Read wherever an ability is judged or resolved against its event: its condition and targets (`resolve/triggers.ts`,
|
|
2627
|
+
* `target-validity.ts`), its cost (`actions.ts`) and its frame (`abilityFrame`).
|
|
2628
|
+
*/
|
|
2629
|
+
export declare function carriedByEvent(event: TriggerEvent | null | undefined): typeof NOTHING_CARRIED;
|
|
2630
|
+
export {};
|