@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,1119 @@
|
|
|
1
|
+
import type { AbilityId, AbilityReference, AnyCard, CardId, Trait } from "../../content/src/index.js";
|
|
2
|
+
import { type TeamState } from "./team.js";
|
|
3
|
+
import { type AbilityDefinition, type AbilityTriggerSpec, type EngineDeps, type RuleSpec } from "./abilities.js";
|
|
4
|
+
import { type RulesCardType } from "./card-types.js";
|
|
5
|
+
import type { InstanceId, PlayerId } from "./ids.js";
|
|
6
|
+
import type { LogValue } from "./campaign.js";
|
|
7
|
+
import { type ResourcePool } from "./resources.js";
|
|
8
|
+
import { type Bindings, type Vars } from "./stack.js";
|
|
9
|
+
import { type AttachmentBound, type LastingDuration, type LastingReach, type LastingScope } from "./lasting.js";
|
|
10
|
+
import type { CharacterNames, PlayerRef, Predicate, TargetCategory, TargetQuery, TargetRef, ValueSpec, AbilityTimingWord } from "./spec.js";
|
|
11
|
+
import { type GameAreaState, type GameState, type ZoneId } from "./state.js";
|
|
12
|
+
import type { TriggerEvent } from "./trigger-events.js";
|
|
13
|
+
/** Everything an effect needs to turn authoring-time refs into concrete ids. */
|
|
14
|
+
export interface EffectContext {
|
|
15
|
+
readonly selfInstanceId: InstanceId | null;
|
|
16
|
+
readonly controllerId: PlayerId | null;
|
|
17
|
+
readonly event: TriggerEvent | null;
|
|
18
|
+
readonly bindings: Bindings;
|
|
19
|
+
/** Numbers bound by the ability's cost and earlier effects (see `ValueSpec` `var`). */
|
|
20
|
+
readonly vars?: Vars;
|
|
21
|
+
/** The ability registry, so granted keywords/traits and modified stats are seen. */
|
|
22
|
+
readonly deps?: EngineDeps;
|
|
23
|
+
/** "That player" inside `forEachPlayer`. */
|
|
24
|
+
readonly scopedPlayerId?: PlayerId | null;
|
|
25
|
+
/**
|
|
26
|
+
* The effects are those of an ability labeled "(thwart)", used by a player (RRG 1.8 "Labeled Ability", p. 26: "that
|
|
27
|
+
* ability is considered to be a thwart made by that player's identity"): threat such an ability removes from a
|
|
28
|
+
* scheme is a thwart by the controller's identity, however the removal is written (`removeThreat`, `divide`,
|
|
29
|
+
* `modifyAttack.removesThreat` / `removesThreatFrom`). Owner decision, 2026-10-03. Set by `contextOf` and by
|
|
30
|
+
* `abilityLacksValidTarget`; absent for every other ability and for a delayed effect.
|
|
31
|
+
*/
|
|
32
|
+
readonly thwartLabeled?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* The same for an ability labeled "(attack)" (RRG 1.8 "Labeled Ability", p. 26: "that ability is considered to be an
|
|
35
|
+
* attack made by that player's identity"; owner rulings Q48 and Q49, docs/phase7-wave8.md §4.1): damage such an
|
|
36
|
+
* ability deals to an enemy is an attack on that enemy by the controller's identity, so an enemy that identity may
|
|
37
|
+
* not attack (guard, `cannotAttack`) is no target for it (`resolve/attack-ability.ts`, `target-validity.ts`). Set by
|
|
38
|
+
* `contextOf` and by `abilityLacksValidTarget`.
|
|
39
|
+
*/
|
|
40
|
+
readonly attackLabeled?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The ability's attack ignores guard (`EffectSpec attack.ignores`, `attackIgnoringOf`): every guard check read in
|
|
43
|
+
* this context waives guard (`canAttack`'s `ignoreGuard`), so its enemy may be chosen past a guard minion. Set by
|
|
44
|
+
* `contextOf` and by `abilityLacksValidTarget`.
|
|
45
|
+
*/
|
|
46
|
+
readonly attackIgnoresGuard?: true;
|
|
47
|
+
/**
|
|
48
|
+
* The guard minions engaged with the ability's controller as its effect was initiated (`Frame<"effects">
|
|
49
|
+
* .guardsAtInitiation`): only these can guard against its attack (`canAttack`'s `guardFrom`). Absent: guard is read
|
|
50
|
+
* live (an ability being initiated, a basic attack, an unlabeled ability's separate attacks). Set by `contextOf`.
|
|
51
|
+
*/
|
|
52
|
+
readonly attackGuardFrom?: readonly InstanceId[];
|
|
53
|
+
/**
|
|
54
|
+
* What this context may match inside a closed in-play scenario area (`closedScenarioPlayArea`,
|
|
55
|
+
* docs/phase7-wave8.md §3.33): the area its ability declares (`AbilityDefinition.reaches`, `reachOf`), or `"all"`
|
|
56
|
+
* for a read. A condition, a count and an event pattern are reads (§4.1 Q18 = A: "counting or watching them does
|
|
57
|
+
* not affect them"), and `evaluate`, `resolveValue` and the trigger matcher mark their own context so. Absent: the
|
|
58
|
+
* context is that of an ability that picks or changes cards and does not refer to the area.
|
|
59
|
+
*/
|
|
60
|
+
readonly reaches?: "all" | {
|
|
61
|
+
readonly scenarioPlayArea: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Last known information about cards that may have left play, by card: what was attached to each, the status
|
|
65
|
+
* cards it held and whom it was engaged with (`LastKnownCard`). A query's `hasAttachment`, `hasStatus`,
|
|
66
|
+
* `hasAnyStatus`, `engagedWith` and `engagedWithPlayer` read it for a card that is no longer in play; a card still in
|
|
67
|
+
* play is always read live. Set only where a ruling asks for it: an ally's consequential damage after an attack that
|
|
68
|
+
* defeated its target (`rules.ts` `lastKnownFromAttack`), and a pattern on `characterAttacked` whose target was
|
|
69
|
+
* engaged as it was attacked (`characterAttacked.targetEngagedWith`, `resolve/triggers.ts`).
|
|
70
|
+
*/
|
|
71
|
+
readonly lastKnown?: Readonly<Record<InstanceId, LastKnownCard>>;
|
|
72
|
+
/**
|
|
73
|
+
* The query being read chooses the target of a player's attack (`attackChoiceContext`, `target-validity.ts`): a
|
|
74
|
+
* card players may attack "as if it were a minion" (`RuleSpec attackableAsMinion`, docs/phase7-wave9.md §3.50)
|
|
75
|
+
* then matches the categories a minion has. Absent everywhere else, so no other query sees such a card as one.
|
|
76
|
+
*/
|
|
77
|
+
readonly choosingAttackTarget?: true;
|
|
78
|
+
/**
|
|
79
|
+
* The query being read is the `target` of a `cannotAttack` rule (`attackForbidden`): a card players may attack "as
|
|
80
|
+
* if it were a minion" then matches `minion`, and neither `enemy` nor `character` (it is neither: RRG 1.8 "Enemy",
|
|
81
|
+
* p. 18). Absent everywhere else.
|
|
82
|
+
*/
|
|
83
|
+
readonly prohibitingAttack?: true;
|
|
84
|
+
}
|
|
85
|
+
/** A card as it last was in play, as far as `EffectContext.lastKnown` carries it. */
|
|
86
|
+
export interface LastKnownCard {
|
|
87
|
+
/** Absent: not recorded, so `hasAttachment` reads the live card. */
|
|
88
|
+
readonly attachments?: readonly InstanceId[];
|
|
89
|
+
/** Absent: not recorded, so `hasStatus` / `hasAnyStatus` read the live card. */
|
|
90
|
+
readonly statuses?: Readonly<Record<"stunned" | "confused" | "tough", number>>;
|
|
91
|
+
/** The player it was engaged with (null: no one). Absent: not recorded, so the engagement clauses read it live. */
|
|
92
|
+
readonly engagedWith?: PlayerId | null;
|
|
93
|
+
}
|
|
94
|
+
/** `AbilityDefinition.reaches` as a context field: spread into the context an ability's queries are read in. */
|
|
95
|
+
export declare const reachOf: (definition: AbilityDefinition | undefined) => {
|
|
96
|
+
readonly reaches?: {
|
|
97
|
+
readonly scenarioPlayArea: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* "This attack ignores guard" (`EffectSpec attack.ignores`) as a context field: spread into the context an ability's
|
|
102
|
+
* queries are read in, so the waiver covers the whole attack, from the choice of its enemy on (RRG 1.8 "Ignore", p. 23;
|
|
103
|
+
* "Guard", p. 21). It is the ability's: an "(attack)" ability is one attack (RRG 1.8 "Attack (Player Ability Type)",
|
|
104
|
+
* p. 10), so its other damage instructions are that attack and ignore guard with it. An unlabeled ability with an
|
|
105
|
+
* `attack` instruction marked so reads every attack it makes with the waiver too (interpretation: no card mixes an
|
|
106
|
+
* attack that ignores guard with one that does not in the same ability).
|
|
107
|
+
*/
|
|
108
|
+
export declare const attackIgnoringOf: (definition: AbilityDefinition | undefined) => {
|
|
109
|
+
readonly attackIgnoresGuard?: true;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Whether this ability is one attack, initiated with its effect: it is labeled "(attack)" (RRG 1.8 "Labeled Ability",
|
|
113
|
+
* p. 26; one attack per ability, wave 8 Q48). Its effects frame keeps the guard minions engaged as its effect was
|
|
114
|
+
* initiated (`Frame<"effects">.guardsAtInitiation`), which its guard checks read. An unlabeled ability's `attack`
|
|
115
|
+
* instructions are each their own attack, initiated as that instruction resolves (FAQ "Dance of Death (#4)", RRG 1.8
|
|
116
|
+
* p. 59), so each reads guard live.
|
|
117
|
+
*/
|
|
118
|
+
export declare const abilityIsOneAttack: (definition: AbilityDefinition | undefined) => boolean;
|
|
119
|
+
/**
|
|
120
|
+
* MC45 p. 5: "Cards in the mission area are in play but under no player's control. They cannot be affected by card
|
|
121
|
+
* abilities unless the ability refers to the mission area." Whether `id` is such a card for this context: in a closed
|
|
122
|
+
* in-play scenario area (or attached to a card in one) that the context does not reach. A card is never closed to its
|
|
123
|
+
* own abilities ("this card", `self`): the sentence is about what reaches into the area, and a card there that could
|
|
124
|
+
* not name itself could not resolve its own text. Reads are not closed (`EffectContext.reaches`).
|
|
125
|
+
*
|
|
126
|
+
* The one test behind every query (`explainQuery`) and every ref that names a card without a query (`resolveRef`).
|
|
127
|
+
* Free in a game with no such area.
|
|
128
|
+
*/
|
|
129
|
+
export declare function closedScenarioPlayArea(state: GameState, id: InstanceId, context: EffectContext): string | null;
|
|
130
|
+
/** The context a lasting effect evaluates in: the ability that created it. */
|
|
131
|
+
export declare const lastingContext: (scope: LastingScope, deps: EngineDeps) => EffectContext;
|
|
132
|
+
/**
|
|
133
|
+
* Whether a lasting effect's `whileAttached` bound still holds (`AttachmentBound`, docs/phase7-wave6.md §3.50, §4.1
|
|
134
|
+
* Q28): the card is in play, attached to that host.
|
|
135
|
+
*/
|
|
136
|
+
export declare function attachmentHolds(state: GameState, bound: AttachmentBound): boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Whether a lasting effect touches this card right now (fixed targets, or a live query). One still waiting to start
|
|
139
|
+
* (`lastingEffectWaiting`: Psychic Kicker's "for its next basic thwart or attack", docs/phase7-wave6.md §3.39) touches
|
|
140
|
+
* nothing yet.
|
|
141
|
+
*/
|
|
142
|
+
export declare function lastingReaches(state: GameState, effect: LastingReach & {
|
|
143
|
+
readonly scope: LastingScope;
|
|
144
|
+
readonly duration?: LastingDuration;
|
|
145
|
+
readonly whileAttached?: AttachmentBound;
|
|
146
|
+
}, id: InstanceId, deps: EngineDeps): boolean;
|
|
147
|
+
/**
|
|
148
|
+
* The play's frame slot holding the card whose ability played it (`EffectSpec playFromHand.via`; docs/phase7-wave6.md
|
|
149
|
+
* §3.42), inherited by the played card's ability frames and read by `Predicate playedVia`.
|
|
150
|
+
*/
|
|
151
|
+
export declare const PLAYED_VIA_SLOT = "playedVia";
|
|
152
|
+
/**
|
|
153
|
+
* The slot of an ability frame naming the targets of every triggering condition it answers at once
|
|
154
|
+
* (`EventPattern.together`): "for each [energy] resource discarded" counts the icons of all the cards one discard put
|
|
155
|
+
* in the discard pile, whichever of them the answer is listed under.
|
|
156
|
+
*/
|
|
157
|
+
export declare const TOGETHER_TARGETS_SLOT = "together.targets";
|
|
158
|
+
/**
|
|
159
|
+
* The slot a lasting stat modifier's `amount` reads the card whose stat is being read from (`EffectSpec
|
|
160
|
+
* modifyStatUntil`, docs/phase7-wave6.md §3.43: "while Wolverine or Jubilee is making a basic attack …, **they** get
|
|
161
|
+
* +2 ATK"). Bound only for that read.
|
|
162
|
+
*/
|
|
163
|
+
export declare const AFFECTED_SLOT = "affected";
|
|
164
|
+
/** The `enemyAttack` event frame slot a defense records its defender in (`resolve/enemy-activation.ts` `setDefender`). */
|
|
165
|
+
export declare const DEFENDER_SLOT = "defender";
|
|
166
|
+
/**
|
|
167
|
+
* RRG 1.8 "You, Your" (p. 49): "Some player cards are considered to be an extension of a player's identity" — events
|
|
168
|
+
* the player plays, resources they spend, and upgrades they control "unless attached to a different friendly
|
|
169
|
+
* character" — so what they do is done by that identity. Allies, supports, player side schemes and encounter cards are
|
|
170
|
+
* not. `TargetQuery.extensionOf` (docs/phase7-wave4.md §3.22: "If Valkyrie defeated that enemy" when an event she
|
|
171
|
+
* played dealt the damage). Read wherever the card is (an event or spent resource is out of play by then); an event is
|
|
172
|
+
* the identity's of the player playing it while it resolves (`eventPlayerOf`), else its owner's, a resource its
|
|
173
|
+
* owner's, an upgrade its controller's.
|
|
174
|
+
*/
|
|
175
|
+
export declare function isIdentityExtension(state: GameState, id: InstanceId, players: readonly PlayerId[]): boolean;
|
|
176
|
+
/**
|
|
177
|
+
* The player an event or resource acts for: the player resolving it while it resolves, else its owner. RRG 1.8 "You,
|
|
178
|
+
* Your" (p. 49): what resolves from an event is "performed by that player's identity", the player playing it; a
|
|
179
|
+
* borrowed event stays its owner's card (RRG 1.8 "Ownership and Control", p. 31; August 13, 2026 R1: Echo's Study the
|
|
180
|
+
* Tape plays another player's event) but acts for whoever plays it. Out of resolution (in its owner's discard pile)
|
|
181
|
+
* the engine reads its owner (engine interpretation).
|
|
182
|
+
*/
|
|
183
|
+
export declare function eventPlayerOf(state: GameState, id: InstanceId): PlayerId | null;
|
|
184
|
+
/**
|
|
185
|
+
* The character a card's ability is performed by, or null when no character performs it: "Characters other than [X]
|
|
186
|
+
* cannot remove threat from [this scheme]" (`RuleSpec threatCannotBeRemoved.exceptBy`, docs/phase7-wave7.md §3.51).
|
|
187
|
+
*
|
|
188
|
+
* - A character (RRG 1.8 "Character", p. 12: "Identities (heroes and alter-egos), allies, villains, and minions are
|
|
189
|
+
* all characters") acts for itself.
|
|
190
|
+
* - An event or a resource is the identity of the player it acts for (`eventPlayerOf`: the player playing an event
|
|
191
|
+
* while it resolves, else its owner; RRG 1.8 "You, Your", p. 49: what resolves from a player playing an event is
|
|
192
|
+
* "performed by that player's identity").
|
|
193
|
+
* - An upgrade attached to a friendly character other than its controller's identity is that character. The RRG says
|
|
194
|
+
* only that such an upgrade is not an extension of the controller's identity ("unless attached to a different
|
|
195
|
+
* friendly character"), not whose it is then; the engine reads it as its host's. Any other upgrade (attached to the
|
|
196
|
+
* identity, to an enemy, or to nothing) is its controller's identity.
|
|
197
|
+
* - A support, a player side scheme and every encounter card that is not a villain or minion is nobody's (RRG 1.8
|
|
198
|
+
* "You, Your", p. 49: their abilities "are not considered to be performed by that player's identity").
|
|
199
|
+
*/
|
|
200
|
+
export declare function actingCharacterOf(state: GameState, id: InstanceId): InstanceId | null;
|
|
201
|
+
/**
|
|
202
|
+
* The card type a card has now, as `TargetQuery cardTypeIs` reads it (docs/phase7-wave7.md §3.33): its printed type,
|
|
203
|
+
* which for a double-sided card is its front face's and is the same on either face of an identity. RRG 1.8 "Card
|
|
204
|
+
* Types" (p. 12): "If an ability causes a card to change its card type, it loses all other card types it might
|
|
205
|
+
* possess", so a card in play as a facedown minion or treated as a minion or an ally is that type only. Null for a
|
|
206
|
+
* card whose schema `type` is not a card type of the rules.
|
|
207
|
+
*/
|
|
208
|
+
export declare function cardTypeOf(state: GameState, id: InstanceId): RulesCardType | null;
|
|
209
|
+
/**
|
|
210
|
+
* The var a "choose one entry of a fixed list" effect binds its answer as (`EffectSpec chooseCardType`,
|
|
211
|
+
* docs/phase7-wave7.md §3.33): `<bind>.chosen.<entry id>` = 1. Vars are numbers, so the entry is named in the key;
|
|
212
|
+
* the binding lives in the resolving ability's vars and nowhere else.
|
|
213
|
+
*/
|
|
214
|
+
export declare const chosenVar: (bind: string, entry: string) => string;
|
|
215
|
+
/** The entry bound under `bind` by such an effect, read back from the vars; null when nothing is bound. */
|
|
216
|
+
export declare function chosenFromList(vars: Vars | undefined, bind: string): string | null;
|
|
217
|
+
export declare function categoriesOf(state: GameState, id: InstanceId): readonly TargetCategory[];
|
|
218
|
+
/** The three player-card classifications a card effect compares (RRG 1.8 "Classifications", p. 12). */
|
|
219
|
+
export type PlayerCardClassification = "identitySpecific" | "aspect" | "basic";
|
|
220
|
+
/**
|
|
221
|
+
* The player-card classifications this card belongs to, read off its card data wherever it is (`TargetQuery
|
|
222
|
+
* sameClassificationAs`, docs/phase7-wave6.md §3.51). An identity card is identity-specific in either form (RRG 1.8
|
|
223
|
+
* "Identity-Specific Card", p. 23); a card with an identity's set icon (`aspect: "hero:<id>"`) is identity-specific,
|
|
224
|
+
* and also aspect when it prints one (`printedAspect`); the five aspects are one "aspect" classification (§4.1 Q29);
|
|
225
|
+
* "basic" is basic. Encounter cards and a card printed with none of the three (`aspect: "none"`, a Captive ally) have
|
|
226
|
+
* none. Neither control nor a "treat as" changes a card's classification: it is a printed attribute.
|
|
227
|
+
*/
|
|
228
|
+
export declare function classificationsOf(state: GameState, id: InstanceId): readonly PlayerCardClassification[];
|
|
229
|
+
/**
|
|
230
|
+
* An ally card, controlled or not, that no attachment treats as a minion. Its readers walk a play area, so a captive
|
|
231
|
+
* attached to a card (`isCaptiveAlly`, in no play area) never reaches them.
|
|
232
|
+
*/
|
|
233
|
+
export declare function isAlly(state: GameState, id: InstanceId): boolean;
|
|
234
|
+
/**
|
|
235
|
+
* An ally attached to a card and controlled by no player (Odin on the main scheme, Robert Kelly on Find the Senator;
|
|
236
|
+
* docs/phase7-wave6.md §3.75): an ally and a character in play, but not friendly (RRG 1.8 "Friendly", p. 20: "cards the
|
|
237
|
+
* players control"; ruling Jun 25, 2026 (4) #5). A query for a friendly character, `["identity", "ally"]` (the DSL's
|
|
238
|
+
* `FRIENDLY_CHARACTER`), does not match it (`explainQuery`'s "notFriendly").
|
|
239
|
+
*/
|
|
240
|
+
export declare function isCaptiveAlly(state: GameState, id: InstanceId): boolean;
|
|
241
|
+
/**
|
|
242
|
+
* A minion attached to another card: "When Defeated: Attach [this minion] to the non-[PSIONIC] ally with the highest
|
|
243
|
+
* cost" (docs/phase7-wave7.md §3.44). RRG 1.8 FAQ "Malice (#199)" (p. 64): while attached she "retains the minion card
|
|
244
|
+
* type" and "any damage on her", "can be attacked and targeted by card abilities (including attachments) like any
|
|
245
|
+
* minion, but cannot be defeated again, even if she gains hit points or heals damage", "is not considered engaged with
|
|
246
|
+
* a player and so cannot activate", and "is discarded when the card to which she is attached leaves play". She is a
|
|
247
|
+
* minion only, not an attachment (§4.1 Q26): `categoriesOf` reads the card type, never where the card sits. An ally
|
|
248
|
+
* attached to a card is `isCaptiveAlly`, which is defeated as any ally.
|
|
249
|
+
*/
|
|
250
|
+
export declare function isAttachedMinion(state: GameState, id: InstanceId): boolean;
|
|
251
|
+
/**
|
|
252
|
+
* A minion an environment holds (`EffectSpec attach` with `as: "heldMinion"`; docs/phase7-wave9.md §3.21): Thunderbolt
|
|
253
|
+
* Backup, `aos` 50131b, "(The minion attached here is in play and can be targeted by attacks and abilities.)". MC50
|
|
254
|
+
* p. 15: "The attached minion is considered to be in play, retains all tokens, status cards, and attachments on it, and
|
|
255
|
+
* can be targeted by attacks and player card abilities. The attached minion does not activate because it is not engaged
|
|
256
|
+
* with any player."
|
|
257
|
+
*
|
|
258
|
+
* It is an attached minion (`isAttachedMinion`) in everything that follows from being engaged with nobody: it never
|
|
259
|
+
* activates (`cannotActivate`), its guard and patrol stop no player (RRG 1.8 "Guard", p. 21, and "Patrol", p. 32, both
|
|
260
|
+
* read "while a minion … is engaged with a player"), and it is no player's "minion engaged with you". Unlike the minion
|
|
261
|
+
* of FAQ "Malice (#199)" (p. 64), whose "cannot be defeated again" is that entry's own, it is defeated at zero hit
|
|
262
|
+
* points or by an effect as any minion is (`cannotBeDefeatedAgain`): the scenario is won by defeating these minions.
|
|
263
|
+
* `engage` takes it off its host into the engaging player's play area with everything on it (`engageInPlayMinion`).
|
|
264
|
+
* RRG 1.8 "Attach To" (p. 8) still governs the host: when it leaves play "the attached card is discarded", not defeated.
|
|
265
|
+
*/
|
|
266
|
+
export declare function isHeldMinion(state: GameState, id: InstanceId): boolean;
|
|
267
|
+
/**
|
|
268
|
+
* RRG 1.8 FAQ "Malice (#199)" (p. 64): a minion its own text attached to a card "cannot be defeated again, even if she
|
|
269
|
+
* gains hit points or heals damage". A minion an environment holds is not that minion (`isHeldMinion`).
|
|
270
|
+
*/
|
|
271
|
+
export declare function cannotBeDefeatedAgain(state: GameState, id: InstanceId): boolean;
|
|
272
|
+
/** The printed timing word of an ability's trigger, or null for one with none (a constant, When Revealed, …; §3.33). */
|
|
273
|
+
export declare function timingWordOf(trigger: AbilityTriggerSpec): AbilityTimingWord | null;
|
|
274
|
+
/**
|
|
275
|
+
* "Text on that card that refers to 'the villain' refers to [its host] instead" (`CardInstance.villainAlias`,
|
|
276
|
+
* docs/phase7-wave9.md §3.49): the card `selfId`'s text means by "the villain", when that is not the villain. Only
|
|
277
|
+
* while `selfId` is still attached to that card and it is in play.
|
|
278
|
+
*/
|
|
279
|
+
export declare function villainAliasOf(state: GameState, selfId: InstanceId | null | undefined): InstanceId | undefined;
|
|
280
|
+
/**
|
|
281
|
+
* Printed traits plus traits gained from constant abilities and lasting effects (RRG "Gains").
|
|
282
|
+
*
|
|
283
|
+
* **A constant trait grant's own `while` and `target` are read against printed characteristics and lasting effects
|
|
284
|
+
* only, never against traits (or keywords, or anything else) that constant abilities grant** — the same guard
|
|
285
|
+
* `blankedByConstantRules` uses below, and for the same reason: a condition like "while you have the Giant trait"
|
|
286
|
+
* (Yellowjacket 12027, Ant-Man's ally 13002) re-enters this function, which would otherwise recurse forever whatever
|
|
287
|
+
* the board looks like, and two grants each conditional on the other's granted trait have no answer at all.
|
|
288
|
+
*
|
|
289
|
+
* The RRG does not settle this: "Modifiers" (p. 29) says a modified quantity is recalculated from its base value and
|
|
290
|
+
* all active modifiers, with no rule for a modifier whose own condition depends on the result, and "Constant
|
|
291
|
+
* Abilities" (p. 5) only says a conditional one is active "anytime the specific condition is met". So this is the
|
|
292
|
+
* engine's reading, chosen because it terminates and because no answer depends on the order cards are visited (see
|
|
293
|
+
* docs/phase7-wave2.md §17.5). It costs the cards that need it nothing: a three-sided identity prints Giant/Tiny on
|
|
294
|
+
* its own hero face, so a form-conditional grant reads a printed trait.
|
|
295
|
+
*/
|
|
296
|
+
export declare function traitsOf(state: GameState, id: InstanceId, deps?: EngineDeps): readonly Trait[];
|
|
297
|
+
/**
|
|
298
|
+
* What one card's text gives: for each trait a constant ability of `sourceId` grants by name (`TraitGrantSpec.trait`),
|
|
299
|
+
* the cards in play that grant reaches now, in play order (docs/phase7-wave10.md §3.16, `cardRevealed.grantedTo`). The
|
|
300
|
+
* same read `traitsOf` makes of every constant, asked of one source: the card must be one whose constants are read
|
|
301
|
+
* (`constantSources`: in play, its text box not blank), and each grant's `while` and `target` are read as `traitsOf`
|
|
302
|
+
* reads them. Whether a card already has the trait, printed or from another grant, is not asked. A grant that copies
|
|
303
|
+
* other cards' traits (`traitsOf`) names no trait and is not listed; a trait reaching no card is left out.
|
|
304
|
+
*/
|
|
305
|
+
export declare function traitGrantReach(state: GameState, deps: EngineDeps, sourceId: InstanceId): Readonly<Record<string, readonly InstanceId[]>>;
|
|
306
|
+
/** Every card instance that is in play, in a stable order (RRG "In Play and Out of Play"). */
|
|
307
|
+
/**
|
|
308
|
+
* The faceup cards `playerId` controls that grant an additional form of `formType` now (docs/phase7-wave4.md §3.1): the
|
|
309
|
+
* player "is in <name> <type> form" while one shows that name (RRG 1.8 "Form, Change Form", p. 21).
|
|
310
|
+
*/
|
|
311
|
+
export declare function additionalFormCards(state: GameState, playerId: PlayerId, formType: string, deps?: EngineDeps): readonly InstanceId[];
|
|
312
|
+
/**
|
|
313
|
+
* The main scheme a `focusedMainScheme` rule names (Focused Defense's host, docs/phase7-wave4.md §3.2), when it is a
|
|
314
|
+
* main scheme in play; else null.
|
|
315
|
+
*/
|
|
316
|
+
export declare function focusedMainSchemeId(state: GameState, deps: EngineDeps): InstanceId | null;
|
|
317
|
+
/**
|
|
318
|
+
* The one main scheme encounter cards, enemy threat, acceleration tokens, crisis and patrol mean when a
|
|
319
|
+
* `focusedMainScheme` rule says `encounterCards: "focused"` (Venom Goblin's glider counter, docs/phase7-wave5.md §3.3);
|
|
320
|
+
* else null.
|
|
321
|
+
*/
|
|
322
|
+
export declare function gliderMainSchemeId(state: GameState, deps: EngineDeps): InstanceId | null;
|
|
323
|
+
/**
|
|
324
|
+
* Acceleration tokens on cards in play that are not main schemes (their `acceleration` counter, docs/phase7-wave5.md
|
|
325
|
+
* §3.4). RRG 1.8 "Acceleration Token" (p. 5): they "still add threat to the main scheme during step one" — to "the main
|
|
326
|
+
* scheme", so to the glider's when there is one (MC27 p. 17), else the central one.
|
|
327
|
+
*/
|
|
328
|
+
export declare function offSchemeAccelerationTokens(state: GameState): number;
|
|
329
|
+
/**
|
|
330
|
+
* Acceleration tokens on one card in play: a main scheme's `accelerationTokens`, any other card's `acceleration`
|
|
331
|
+
* counter (docs/phase7-wave5.md §3.4). None on a card out of play.
|
|
332
|
+
*/
|
|
333
|
+
export declare function accelerationTokensOnCard(state: GameState, id: InstanceId): number;
|
|
334
|
+
/**
|
|
335
|
+
* Whether the crisis icon and patrol protect this card as "the main scheme": any main scheme, or with a glider-style
|
|
336
|
+
* focus (§3.3; MC21 p. 21 FAQ, "encounter effects that refer to 'the main scheme' only refer to the scheme with the
|
|
337
|
+
* glider counter") only the focused one.
|
|
338
|
+
*/
|
|
339
|
+
export declare function isProtectedMainScheme(state: GameState, deps: EngineDeps, id: InstanceId): boolean;
|
|
340
|
+
/**
|
|
341
|
+
* The binding slot an ability's frame records its card's host in, read when the ability is initiated (before its cost
|
|
342
|
+
* is paid; `resolve/frames.ts` `abilityFrame`). RRG 1.8 "Initiating Abilities" (p. 24, steps 5-7) and "Cost Arrow
|
|
343
|
+
* Icon" (p. 13): the cost is paid in full before the effect resolves, so a "discard this card →" ability resolves with
|
|
344
|
+
* its card already gone. Its "attached scheme"/"attached character" is read as the card it was attached to (the RRG
|
|
345
|
+
* has no explicit last-known-information rule; this is the only reading under which such text does anything), so
|
|
346
|
+
* `host` and `hostOfSelf` read this slot once the card is no longer attached (Overwatch, `spiderham` 30019).
|
|
347
|
+
*/
|
|
348
|
+
export declare const SELF_HOST = "_selfHost";
|
|
349
|
+
/**
|
|
350
|
+
* `bindings` plus the card's current host under `SELF_HOST`, when it has one. An unattached card keeps what it was
|
|
351
|
+
* given: an action records its host before its resources are paid (`actions.ts`), which may already have moved it.
|
|
352
|
+
*/
|
|
353
|
+
export declare function withSelfHost(state: GameState, instanceId: InstanceId, bindings: Bindings): Bindings;
|
|
354
|
+
/**
|
|
355
|
+
* The binding slot the "which villain?" choice fills for a player card's ability with more than one villain in play
|
|
356
|
+
* (owner, 2026-10-04, matrix Q-M2): a player card that targets "the villain" lets its player choose any villain in play,
|
|
357
|
+
* unless the scenario's `ScenarioRules.theVillain` makes it the active villain (The Wrecking Crew).
|
|
358
|
+
* A constant effect or keyword on a player card that says "the villain" is not asked and means the active villain.
|
|
359
|
+
*/
|
|
360
|
+
export declare const VILLAIN_CHOICE = "_villain";
|
|
361
|
+
/** The binding slot the "which main scheme?" choice fills for a player card's ability (docs/phase7-wave4.md §3.2). */
|
|
362
|
+
export declare const MAIN_SCHEME_CHOICE = "_mainScheme";
|
|
363
|
+
/**
|
|
364
|
+
* A player's card: owned by a player (a player deck card, even while it resolves or sits out of play), or a player card
|
|
365
|
+
* type with an encounter back under a player's control (Longshot, docs/phase7-wave6.md §3.71): the scenario owns it,
|
|
366
|
+
* but it is an ally (RRG 1.8 "Player Card", p. 33), so its attack is a player card's ("by player card effects").
|
|
367
|
+
*/
|
|
368
|
+
export declare function isPlayerCard(state: GameState, id: InstanceId | null): boolean;
|
|
369
|
+
/**
|
|
370
|
+
* RRG 1.8 "In Play and Out of Play" (p. 23): "Facedown cards attached to in-play cards are out of play." A card attached
|
|
371
|
+
* facedown (`attachCard`'s `facedown`, a swap into a facedown attachment's place) is on its host but not in play: its
|
|
372
|
+
* text is inactive, no ability counts or targets it as an upgrade, ally or support "you control", and it neither enters
|
|
373
|
+
* nor leaves play as it comes and goes. It still goes where its host's attachments go when the host leaves play (RRG
|
|
374
|
+
* 1.8 "Leaves Play", p. 27), its owner may look at it (`visibility.ts`), and an ability that names it finds it: a
|
|
375
|
+
* `TargetQuery` asking for `facedown: true` (`selectTargets`), "the cards attached here" (`TargetRef attachmentsOf`),
|
|
376
|
+
* "you may play the event attached here" (`playableAttachments`). The same standing as a tucked card (RRG 1.8 "Tuck",
|
|
377
|
+
* p. 45). Not a facedown card in play in a role (`FacedownRole` `minion`), nor a loose facedown card in a play area.
|
|
378
|
+
*/
|
|
379
|
+
export declare function isFacedownAttachment(state: GameState, id: InstanceId): boolean;
|
|
380
|
+
/** Every card in play. A facedown attachment is not (`isFacedownAttachment`, RRG 1.8 p. 23). */
|
|
381
|
+
export declare function cardsInPlay(state: GameState): readonly InstanceId[];
|
|
382
|
+
/** The facedown cards attached to cards in play: out of play, on their hosts (`isFacedownAttachment`). */
|
|
383
|
+
export declare function facedownAttachments(state: GameState): readonly InstanceId[];
|
|
384
|
+
/** A card a "find" names, and the deck it is in (null outside a deck). */
|
|
385
|
+
export interface FoundCard {
|
|
386
|
+
readonly id: InstanceId;
|
|
387
|
+
readonly deck: ZoneId | null;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* The cards matching `query` (owned by one of `owners`, when given) in every game area a "find" searches (RRG 1.8
|
|
391
|
+
* "Find", p. 19; docs/phase7-wave6.md §3.48), in the order it looks: cards in play (attached cards included), tucked
|
|
392
|
+
* cards, the set-aside areas (each player's, the scenario's, its named out-of-play areas), hands, discard piles, and
|
|
393
|
+
* last the decks — player decks, separate decks, encounter decks, scenario decks — so a card in an open area is found
|
|
394
|
+
* before anyone searches a deck ("Players should not unnecessarily search game areas if they know where the card
|
|
395
|
+
* they are looking for can be found"). `decksSearchedByFind` names the decks the find then shuffles.
|
|
396
|
+
*
|
|
397
|
+
* Not searched (RRG 1.8 "Find", p. 19): facedown encounter cards in an in-play area (dealt encounter cards, boost cards,
|
|
398
|
+
* a facedown encounter card in play or tucked), the victory display, removed-from-game cards; nor, ruling December 17,
|
|
399
|
+
* 2025 (4) answer 3, anything outside the game ("The **Find** keyword can only search 'in game' areas"), which has no
|
|
400
|
+
* instance here at all. Engine reading: an event card mid-resolution (`PlayerState.resolving`) is not found either; it
|
|
401
|
+
* belongs to the play in progress.
|
|
402
|
+
*/
|
|
403
|
+
export declare function findCards(state: GameState, query: TargetQuery, context: EffectContext, owners: ReadonlySet<PlayerId> | null,
|
|
404
|
+
/** `EffectSpec findCard.anywhere`: also the areas a find does not reach, looked at last. */
|
|
405
|
+
anywhere?: boolean): readonly FoundCard[];
|
|
406
|
+
/**
|
|
407
|
+
* The decks a "find" searched, each shuffled once the find completes, whether or not it found the card (RRG 1.8
|
|
408
|
+
* "Shuffle", p. 40: "Any time a deck is searched by a game step or card ability, that deck is shuffled after the game
|
|
409
|
+
* step or card ability completes its resolution"; "Search", p. 39: "If any portion of a deck is searched … shuffle that
|
|
410
|
+
* entire deck"; the owner's decision, 2026-10-03, docs/phase7-wave6.md §4.1 Q77). `found`: the card the find took, the
|
|
411
|
+
* first in search order, or undefined when it found none.
|
|
412
|
+
*
|
|
413
|
+
* - **Found in an open area** (in play, tucked, set aside, a hand, a discard pile): no deck was searched (RRG 1.8
|
|
414
|
+
* "Find", p. 19: "Players should not unnecessarily search game areas if they know where the card they are looking
|
|
415
|
+
* for can be found"), so none is shuffled.
|
|
416
|
+
* - **Found in a deck**: that deck, and each deck the card could have been in that the find looks through before it.
|
|
417
|
+
* - **Not found**: every deck the card could have been in.
|
|
418
|
+
*
|
|
419
|
+
* The decks a card "could be found" in (p. 19) follow from whose card it is, which the players know: a player's card
|
|
420
|
+
* could be in its owner's deck and separate decks, since it goes back to its owner's out-of-play areas (RRG 1.8
|
|
421
|
+
* "Ownership and Control", p. 31); an encounter card (no owner) in an encounter deck or a scenario deck. With `owners`
|
|
422
|
+
* ("your Touched") the card is theirs. Without, it is read from the copies of the card this game has, wherever they
|
|
423
|
+
* are now; a card with no copy in the game at all could be in any player deck or encounter deck, so each of those is
|
|
424
|
+
* searched. An empty deck holds nothing to look through and is not shuffled.
|
|
425
|
+
*
|
|
426
|
+
* **A special deck** (an identity's separate deck, `PlayerState.separateDecks`; a scenario deck,
|
|
427
|
+
* `GameState.scenarioDecks`) is made of its own cards only, which every player knows, so the card "could be found"
|
|
428
|
+
* there only when the find can name one of that deck's own cards (`specialDeckCouldHold`): a find for an ally does not
|
|
429
|
+
* look through, or shuffle, a deck of encounter attachments or of Permanent upgrades (the owner's answer 54B,
|
|
430
|
+
* 2026-10-13, docs/phase7-wave10.md §4.0; RRG 1.8 "Find", p. 19: "each game area where that card could be found").
|
|
431
|
+
* A special deck the find does look through is shuffled like any other.
|
|
432
|
+
*/
|
|
433
|
+
export declare function decksSearchedByFind(state: GameState, query: TargetQuery, context: EffectContext, owners: ReadonlySet<PlayerId> | null, found: FoundCard | undefined): readonly ZoneId[];
|
|
434
|
+
/**
|
|
435
|
+
* Which clause of a `TargetQuery` rejected a card.
|
|
436
|
+
*
|
|
437
|
+
* These are clause names, not player-facing copy: the engine has no wording for them (unlike `EngineError.message`,
|
|
438
|
+
* which is written for exactly that), so a client keeps its own code→wording table. They exist so "why isn't that a
|
|
439
|
+
* legal target?" can be answered by the filter that actually ran, rather than by a second implementation of it.
|
|
440
|
+
*/
|
|
441
|
+
export type QueryExclusion = "unknownCard"
|
|
442
|
+
/** Not in the in-play scenario area the query names (`TargetQuery.inScenarioPlayArea`). */
|
|
443
|
+
| "notInScenarioPlayArea"
|
|
444
|
+
/** In a closed in-play scenario area the ability does not refer to (MC45 p. 5; `closedScenarioPlayArea`). */
|
|
445
|
+
| "closedScenarioPlayArea" | "wrongSelf" | "wrongCategory"
|
|
446
|
+
/** A query for a friendly character (`["identity", "ally"]`) and an ally no player controls (`isCaptiveAlly`). */
|
|
447
|
+
| "notFriendly" | "wrongController" | "notIdentityExtension"
|
|
448
|
+
/** The character the card acts for (none, for a support) does not match `TargetQuery.actsFor`. */
|
|
449
|
+
| "notActingCharacter" | "notEngagedWithYou" | "notEngaged" | "missingTrait" | "hasExcludedTrait"
|
|
450
|
+
/** Lacks the query's `withKeyword` keyword (printed or granted). */
|
|
451
|
+
| "missingKeyword"
|
|
452
|
+
/** Has the query's `withoutKeyword` keyword (printed or granted). */
|
|
453
|
+
| "hasExcludedKeyword"
|
|
454
|
+
/** Matches none of the query's `anyOf` alternatives, or matches the query it must not (`not`). */
|
|
455
|
+
| "matchesNoAlternative" | "wrongName" | "wrongPrintedId" | "wrongFacedown"
|
|
456
|
+
/** The card prints no form keyword of the query's `printedForm` type (docs/phase7-wave4.md §3.1). */
|
|
457
|
+
| "wrongForm"
|
|
458
|
+
/** No ability with one of the query's `abilityTiming` words (docs/phase7-wave4.md §3.33), or none printed with a `printsAbility` label. */
|
|
459
|
+
| "noSuchAbility" | "wrongStarIcon"
|
|
460
|
+
/** Not in an enemy's boost area (`TargetQuery.boostCard`, docs/phase7-wave11-scenarios.md §S3.6). */
|
|
461
|
+
| "notBoostCard" | "wrongUnique" | "notHostOfSelf" | "notAttachedToHost"
|
|
462
|
+
/** No card attached to it matches the query's `hasAttachment`. */
|
|
463
|
+
| "missingAttachment" | "cannotHaveAttached"
|
|
464
|
+
/** Its own "attach to" text allows none of the hosts the query's `canAttachTo` names, or no card of its `canAttachToCategory`. */
|
|
465
|
+
| "cannotAttachTo"
|
|
466
|
+
/**
|
|
467
|
+
* The query's `canEnterPlay` asks for a card that can enter play, and this one cannot (`canBePutIntoPlay`): a card in
|
|
468
|
+
* play matches it under the unique rule, a `RuleSpec cannotEnterPlay` names it, "Max N per player" stops it, or an
|
|
469
|
+
* upgrade has no legal host.
|
|
470
|
+
*/
|
|
471
|
+
| "cannotEnterPlay"
|
|
472
|
+
/** A `cannotFlip` rule names it, and the query's `canFlip` asks for a card that can be flipped. */
|
|
473
|
+
| "cannotFlip" | "wrongOwner" | "missingPrintedResource" | "wrongAspect" | "exhausted" | "ready" | "noThreat" | "hasThreat"
|
|
474
|
+
/** No counter of the query's `hasCounter` type on it (docs/phase7-wave5.md §3.3). */
|
|
475
|
+
| "missingCounter" | "notDamaged" | "damaged" | "missingStatus" | "hasStatus"
|
|
476
|
+
/** `canTakeStatus`: a status card of that type given to it now would not be placed. */
|
|
477
|
+
| "noStatusRoom" | "printedHpTooHigh" | "printedCostTooHigh" | "printedCostTooLow"
|
|
478
|
+
/** The card's stat fails the query's `statCompare`, or it has no stats. */
|
|
479
|
+
| "statComparisonFailed" | "cannotBeAttacked"
|
|
480
|
+
/** `canAttackOneOf`: there is no other card in play the query matches that this character could attack. */
|
|
481
|
+
| "nothingToAttack" | "alreadyChosen" | "notInSlot" | "wrongSignatureSideScheme" | "notEngagedWithPlayer"
|
|
482
|
+
/** Not in the play area of a player the query's `inPlayAreaOf` names (docs/phase7-wave4.md §3.16). */
|
|
483
|
+
| "notInPlayArea" | "wrongIdentitySet" | "notNemesisMinion"
|
|
484
|
+
/** Not a copy of the obligation of a player the query's `obligationOf` names. */
|
|
485
|
+
| "notObligation"
|
|
486
|
+
/** Not the side scheme of the nemesis set of a player the query's `nemesisSideSchemeOf` names. */
|
|
487
|
+
| "notNemesisSideScheme"
|
|
488
|
+
/** Not a card of the nemesis encounter set of a player the query's `nemesisSetOf` names. */
|
|
489
|
+
| "notNemesisSet" | "noSharedTrait"
|
|
490
|
+
/** Not the other face (`otherFaceId`) of a card the query's `otherFaceOf` names. */
|
|
491
|
+
| "notOtherFace"
|
|
492
|
+
/** Shares no classification (identity-specific, aspect, basic) with the query's `sameClassificationAs` cards, or is not of its `classification`. */
|
|
493
|
+
| "wrongClassification" | "wrongEncounterSet"
|
|
494
|
+
/** The card's title is not recorded in the campaign-log field the query names (`inCampaignLogField`). */
|
|
495
|
+
| "notInCampaignLog"
|
|
496
|
+
/** In a different separate game area from the effect's (docs/phase7-wave2.md §3.1). */
|
|
497
|
+
| "otherGameArea";
|
|
498
|
+
/**
|
|
499
|
+
* The single implementation of "does this card match this query?", reported as *which clause said no*.
|
|
500
|
+
*
|
|
501
|
+
* `matchesQuery` is this function asked whether it found anything, so the filter that selects targets and the
|
|
502
|
+
* explanation of why a card was not selected can never drift apart (see `why-not.ts`). Clauses are checked in the
|
|
503
|
+
* order they are written; the first one that rejects is the one reported.
|
|
504
|
+
*/
|
|
505
|
+
export declare function explainQuery(state: GameState, id: InstanceId, query: TargetQuery, context: EffectContext): QueryExclusion | null;
|
|
506
|
+
/**
|
|
507
|
+
* The campaign-log field an in-game read names: the shared one, or the column of the seat `seat` resolves to.
|
|
508
|
+
*
|
|
509
|
+
* Undefined when the game has no campaign, when the field is not in the frozen view, or when `seat` names nobody
|
|
510
|
+
* seated in the campaign — every reader above treats all three the same way, as "nothing recorded".
|
|
511
|
+
*/
|
|
512
|
+
export declare function campaignFieldRead(state: GameState, spec: {
|
|
513
|
+
readonly field: string;
|
|
514
|
+
readonly seat?: PlayerRef;
|
|
515
|
+
}, context: EffectContext): LogValue | undefined;
|
|
516
|
+
/**
|
|
517
|
+
* Whose column a campaign-log read or write addresses: the seat `seat` resolves to (the first, as every `PlayerRef`
|
|
518
|
+
* used as a singular does), or null for the shared field and for a `seat` that names nobody.
|
|
519
|
+
*/
|
|
520
|
+
export declare function campaignSeatRead(state: GameState, spec: {
|
|
521
|
+
readonly seat?: PlayerRef;
|
|
522
|
+
}, context: EffectContext): number | null;
|
|
523
|
+
/**
|
|
524
|
+
* The separate game area an effect resolves in (docs/phase7-wave2.md §3.1), or null for every area: the players share
|
|
525
|
+
* one area, or the effect's card is area-neutral (an environment, the central stage). The Once and Future Kang insert:
|
|
526
|
+
* "Cards and components in one game area cannot affect another game area (with the exception of the text on stage 2B)."
|
|
527
|
+
*
|
|
528
|
+
* The card resolving the effect decides when it is in an area; otherwise the player resolving it ("That player", then
|
|
529
|
+
* the controller) does, which covers an encounter card revealed by a player and an ability of a card out of play.
|
|
530
|
+
*/
|
|
531
|
+
export declare function contextArea(state: GameState, context: EffectContext): GameAreaState | null;
|
|
532
|
+
/**
|
|
533
|
+
* The team "your" and "the enemy" are read for in an effect (docs/competitive-mode-plan.md §3.3): the one team of a
|
|
534
|
+
* game that stores none; otherwise the team of the player resolving the effect ("you", then "that player"), and with
|
|
535
|
+
* no player the team that plays in the game area of the effect's card. Null when neither names a team: an area-neutral
|
|
536
|
+
* card resolving for no player, for which the words name nobody.
|
|
537
|
+
*/
|
|
538
|
+
export declare function contextTeam(state: GameState, context: EffectContext): TeamState | null;
|
|
539
|
+
/**
|
|
540
|
+
* Who makes a choice a card gives to "the enemy team" (docs/competitive-mode-plan.md §3.4, §4 task 7; `PlayerRef
|
|
541
|
+
* enemyTeamDecider`), or null when the effect is read for no team.
|
|
542
|
+
*
|
|
543
|
+
* With one team it is the first player. MC56 p. 6: cooperatively "'the enemy team' refers to the players", who
|
|
544
|
+
* "resolve these abilities using the grim rule: Imagine what an opponent would do if it were their choice"; the
|
|
545
|
+
* rulebook names no one player, and the owner's decision (2026-10-11, docs/phase7-wave10.md question 6, answer A) is
|
|
546
|
+
* the first player, who already decides what an encounter card leaves open (RRG 1.8 "First Player", p. 19). The
|
|
547
|
+
* choice follows the token as every first-player choice does.
|
|
548
|
+
*
|
|
549
|
+
* With two teams it is a player of the other team still in the game: the first of them in player order. Which of a
|
|
550
|
+
* team's players speaks for it is that team's to settle and is not built; one seat is named so the choice is parked
|
|
551
|
+
* with a player of the right team.
|
|
552
|
+
*/
|
|
553
|
+
export declare function enemyTeamDecider(state: GameState, context: EffectContext): PlayerId | null;
|
|
554
|
+
/**
|
|
555
|
+
* "The enemy leader" (`of: "enemy"`) or "your leader" (`of: "yours"`) for an effect: the one definition behind
|
|
556
|
+
* `TargetRef leader` and `AttachmentHost leader`.
|
|
557
|
+
*
|
|
558
|
+
* A team with no game area of its own (every cooperative game) is fighting "the villain", which the caller reads its
|
|
559
|
+
* own way through `theVillain`: the active villain, narrowed to the effect's game area when the players are split
|
|
560
|
+
* (MC56 p. 6; ruling of July 9, 2026 (3) answer 2). With two teams it is the active villain of the team's area. "Your
|
|
561
|
+
* leader" is the enemy team's enemy leader, and no card with one team (`yourLeaderOf`).
|
|
562
|
+
*/
|
|
563
|
+
export declare function leaderFor(state: GameState, of: "yours" | "enemy", context: EffectContext, theVillain: () => readonly InstanceId[]): readonly InstanceId[];
|
|
564
|
+
/** Whether a card can be affected from the effect's area: same area, or either side is in every area. */
|
|
565
|
+
export declare function inContextArea(state: GameState, id: InstanceId, context: EffectContext): boolean;
|
|
566
|
+
export declare const matchesQuery: (state: GameState, id: InstanceId, query: TargetQuery, context: EffectContext) => boolean;
|
|
567
|
+
/**
|
|
568
|
+
* Rule restrictions from constant abilities in play ("cannot take damage",
|
|
569
|
+
* "threat cannot be removed", ally limit, "must defend with an ally"). Like
|
|
570
|
+
* modifiers, they are recomputed on every check (RRG "Constant Abilities").
|
|
571
|
+
*
|
|
572
|
+
* Lives here rather than in `rules.ts` (which is where every consumer of it lives) only so that `canAttack`, an
|
|
573
|
+
* older and much more widely called resident of this module, can read rules through the same one scan as everything
|
|
574
|
+
* else instead of its own hand-rolled copy that saw constant abilities but not lasting ones (§3.4). Not modeled:
|
|
575
|
+
* §25.2). `rules.ts` imports it straight back out.
|
|
576
|
+
*/
|
|
577
|
+
export interface ActiveRule<K extends RuleSpec["kind"]> {
|
|
578
|
+
readonly rule: Extract<RuleSpec, {
|
|
579
|
+
kind: K;
|
|
580
|
+
}>;
|
|
581
|
+
/**
|
|
582
|
+
* The context every query, player ref and `while` of the rule is read in. Its `controllerId` is the rule's "you"
|
|
583
|
+
* (`speakerId`), not the source card's controller: the clauses of one printed sentence ("*you* cannot play *your*
|
|
584
|
+
* hero-specific cards") agree on who "you" is, and a card no player controls but that speaks to one (an obligation,
|
|
585
|
+
* an attachment on a player card, an engaged minion) names that player instead of nobody (`constantYouOf`;
|
|
586
|
+
* docs/phase7-wave2.md §25.3, docs/you-reader-audit.md).
|
|
587
|
+
*/
|
|
588
|
+
readonly context: EffectContext;
|
|
589
|
+
/** Who "you" is for the rule: the card's speaker (`constantYouOf`), or a lasting effect's controller. */
|
|
590
|
+
readonly speakerId: PlayerId | null;
|
|
591
|
+
/** A `ruleGrant` lasting effect's duration; absent for a constant ability's rule and a scenario's. */
|
|
592
|
+
readonly lastingUntil?: LastingDuration;
|
|
593
|
+
/**
|
|
594
|
+
* The players who treat the rule's card as blank (`textBoxBlankedFor`, `EffectSpec blankTextBox.forPlayers`): the
|
|
595
|
+
* rule does not bind them. Only a constant ability's rule has it (a lasting rule outlives the card's text box, RRG
|
|
596
|
+
* 1.8 "Lasting Effects", p. 26); absent when nobody does. `rulePlayers` leaves them out; `ruleBindsPlayer` asks it.
|
|
597
|
+
*/
|
|
598
|
+
readonly blankedFor?: readonly PlayerId[];
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* Every rule of this kind in force right now: from constant abilities on cards in play, **and** from
|
|
602
|
+
* `ruleGrant` lasting effects (docs/phase7-wave2.md §22, "you cannot change form until your next turn ends").
|
|
603
|
+
*
|
|
604
|
+
* A lasting rule's source card is usually gone by the time it is read — both obligations that need this discard
|
|
605
|
+
* themselves as they resolve — so its `speakerId` is the creating ability's own controller rather than anything
|
|
606
|
+
* derived from the card's current position (RRG 1.8 "Lasting Effects", p. 26: a lasting effect keeps working
|
|
607
|
+
* "whether or not the card that created the lasting effect is in play").
|
|
608
|
+
*/
|
|
609
|
+
export declare function activeRules<K extends RuleSpec["kind"]>(state: GameState, deps: EngineDeps, kind: K,
|
|
610
|
+
/**
|
|
611
|
+
* Read before a rule's `while`: a rule it refuses is skipped without evaluating its condition. A stat reader passes
|
|
612
|
+
* "this rule is about the stat being read", so a `while` that reads another stat does not recurse into this one.
|
|
613
|
+
*/
|
|
614
|
+
only?: (rule: Extract<RuleSpec, {
|
|
615
|
+
kind: K;
|
|
616
|
+
}>) => boolean): readonly ActiveRule<K>[];
|
|
617
|
+
/**
|
|
618
|
+
* **The one place that decides who "you" is for a card in play, from the card's own state.** Every constant reader
|
|
619
|
+
* (rules, stat modifiers, keyword and trait grants, cost modifiers, text-box blanks, `countsAs`) and the action
|
|
620
|
+
* abilities of an uncontrolled card read it; docs/you-reader-audit.md lists them. In order:
|
|
621
|
+
*
|
|
622
|
+
* 1. the card's controller;
|
|
623
|
+
* 2. the player the rules name for an uncontrolled card (`uncontrolledYouOf`): the controller of the player card it is
|
|
624
|
+
* attached to (RRG 1.8 "Attachment", p. 8), or the player whose play area holds it when it is an obligation
|
|
625
|
+
* ("Obligation", p. 30) or an environment placed there;
|
|
626
|
+
* 3. the player whose play area it is otherwise in: an engaged minion's engaged player.
|
|
627
|
+
*
|
|
628
|
+
* Null for everything else (a card in the villain's area, an attachment on an enemy or a scheme). This is the reading
|
|
629
|
+
* with no other context to go on, which is all a constant ability has. Text about a context names it with its own ref
|
|
630
|
+
* and never comes here: the attacked player (`PlayerRef attackedPlayer`), an event's player (`eventPlayer`), a chosen
|
|
631
|
+
* target, the player resolving a When Revealed or Boost ability (the ability frame's controller). A triggered ability
|
|
632
|
+
* on an uncontrolled card stops at step 2 (`uncontrolledYouOf`) so that the event still decides for an enemy.
|
|
633
|
+
*/
|
|
634
|
+
export declare function speakerOf(state: GameState, sourceId: InstanceId | null): PlayerId | null;
|
|
635
|
+
/**
|
|
636
|
+
* `speakerOf` for a card read as one of `constantSources`: a card in the victory display speaks for its owner
|
|
637
|
+
* (`constantControllerOf`, docs/phase7-wave7.md §3.50), having neither a controller nor a place on the table.
|
|
638
|
+
*/
|
|
639
|
+
export declare function constantYouOf(state: GameState, sourceId: InstanceId): PlayerId | null;
|
|
640
|
+
/**
|
|
641
|
+
* Who a triggered ability's "you"/"your" is on an uncontrolled card whose "you" the rules name: an attachment on a
|
|
642
|
+
* player card ("it refers to the attached player card's controller", RRG 1.8 "Attachment", p. 8), or an obligation
|
|
643
|
+
* ("apply only to the player whose play area the obligation is in", RRG 1.8 "Obligation", p. 30). Null for every
|
|
644
|
+
* other uncontrolled card (an enemy, a scheme), whose "you" is still the player the event is about.
|
|
645
|
+
*
|
|
646
|
+
* Narrower than `speakerOf` on purpose: an engaged minion is in a player's area too, but "after you attack this
|
|
647
|
+
* minion" means whichever player attacks it.
|
|
648
|
+
*/
|
|
649
|
+
export declare function uncontrolledYouOf(state: GameState, id: InstanceId): PlayerId | null;
|
|
650
|
+
/**
|
|
651
|
+
* The binding slot that records the cards an ability discarded from `playerId`'s deck, by an effect or as a cost
|
|
652
|
+
* (`recordDeckDiscard`), on the frame that keeps a set of them. Read by `countedResourcesOf`.
|
|
653
|
+
*/
|
|
654
|
+
export declare const DECK_DISCARDS_PREFIX = "_deckDiscards:";
|
|
655
|
+
export declare const deckDiscardsSlot: (playerId: PlayerId) => string;
|
|
656
|
+
/**
|
|
657
|
+
* A card's printed resources as an ability counts them (`<bind>.<type>`, `ValueSpec totalPrintedResources`): the
|
|
658
|
+
* printed icons (`printed`), with each icon a `deckDiscardIconCount` rule names counted `times` times when this
|
|
659
|
+
* ability discarded the card from the deck of a player the rule binds ("count each printed [wild] icon twice",
|
|
660
|
+
* docs/phase7-wave7.md §3.56). The type of an icon is unchanged, and so is the card for every other reader.
|
|
661
|
+
*
|
|
662
|
+
* Two such rules on one icon do not multiply: the larger `times` counts (no card pair in the pool does this).
|
|
663
|
+
*/
|
|
664
|
+
export declare function countedResourcesOf(state: GameState, id: InstanceId, printed: ResourcePool, bindings: Bindings, deps: EngineDeps | undefined): ResourcePool;
|
|
665
|
+
/**
|
|
666
|
+
* A card's printed resources as they count now: its printed icons, unless a `printedResourceAs` rule turns every icon
|
|
667
|
+
* of a card in a named player's hand into one resource of a type ("Treat the printed resource of each card in your hand
|
|
668
|
+
* as if it were [energy]", Haywire; docs/phase7-wave5.md §3.20).
|
|
669
|
+
*/
|
|
670
|
+
export declare function printedResourcesOf(state: GameState, id: InstanceId, deps: EngineDeps | undefined): ResourcePool;
|
|
671
|
+
/**
|
|
672
|
+
* The players whose deck's top card is kept faceup right now (`RuleSpec topOfDeckFaceup`, docs/phase7-wave8.md §3.48),
|
|
673
|
+
* each once. Read from the rules in force, never from anything stored: a rule that is off (the other face, a blank
|
|
674
|
+
* text box, a false `while`, its card out of play) is simply not among `activeRules`.
|
|
675
|
+
*/
|
|
676
|
+
export declare function deckTopFaceupPlayers(state: GameState, deps: EngineDeps): readonly PlayerId[];
|
|
677
|
+
/**
|
|
678
|
+
* The floor a `consideredRemainingHp` rule puts on what readers see as this character's remaining hit points
|
|
679
|
+
* (docs/phase7-wave8.md §3.10): the highest `atLeast` among the rules in force that match it, undefined with none.
|
|
680
|
+
* "As if it has at least 1 hit point" while an ability resolves (`resolveSpecials.asIf`, §3.11) is such a rule, granted
|
|
681
|
+
* for as long as that ability's effects last, so it is read here with the rest.
|
|
682
|
+
*/
|
|
683
|
+
export declare function hitPointFloor(state: GameState, id: InstanceId, deps: EngineDeps): number | undefined;
|
|
684
|
+
/**
|
|
685
|
+
* A character's remaining hit points as every reader of the game state sees them: the dial (maximum hit points minus
|
|
686
|
+
* damage, never below 0), raised to any `consideredRemainingHp` floor in force (§3.10, §4.1 Q6 = A). Undefined for a
|
|
687
|
+
* card with no hit points. `remainingHitPoints` (`query.ts`) is the true dial.
|
|
688
|
+
*/
|
|
689
|
+
export declare function consideredRemainingHitPoints(state: GameState, id: InstanceId, deps: EngineDeps): number | undefined;
|
|
690
|
+
/**
|
|
691
|
+
* The card showing on top of `playerId`'s deck under a `topOfDeckFaceup` rule: the deck's first card while the rule
|
|
692
|
+
* holds for that player, null when it does not or the deck is empty. The single derivation `faceVisible`, the
|
|
693
|
+
* `topOfDeckFaceup` predicate's `matches` and the log (`announceDeckTops`) agree on.
|
|
694
|
+
*/
|
|
695
|
+
export declare function shownDeckTop(state: GameState, deps: EngineDeps, playerId: PlayerId): InstanceId | null;
|
|
696
|
+
/**
|
|
697
|
+
* Whether the top card of the encounter deck is kept faceup right now (`RuleSpec topOfDeckFaceup { deck: "encounter" }`,
|
|
698
|
+
* docs/phase7-wave9.md §3.42): one rule in force is enough, and a second adds nothing. Read from the rules in force,
|
|
699
|
+
* never from anything stored.
|
|
700
|
+
*/
|
|
701
|
+
export declare const encounterTopFaceup: (state: GameState, deps: EngineDeps) => boolean;
|
|
702
|
+
/**
|
|
703
|
+
* The card showing on top of the encounter deck under that rule: the first card of the active villain's encounter deck
|
|
704
|
+
* while the rule holds, null when it does not or the deck is empty. The single derivation `faceVisible`, the
|
|
705
|
+
* `topOfDeckFaceup` predicate and the log (`announceDeckTops`) agree on.
|
|
706
|
+
*/
|
|
707
|
+
export declare function shownEncounterTop(state: GameState, deps: EngineDeps): InstanceId | null;
|
|
708
|
+
/**
|
|
709
|
+
* The players a rule's `player` ref binds, with "you" read as the rule's speaker (`ActiveRule.context`), less any who
|
|
710
|
+
* treat the rule's card as blank (`ActiveRule.blankedFor`, a per-player blank).
|
|
711
|
+
*/
|
|
712
|
+
export declare const rulePlayers: (state: GameState, rule: {
|
|
713
|
+
readonly player: PlayerRef;
|
|
714
|
+
}, active: Pick<ActiveRule<RuleSpec["kind"]>, "context" | "blankedFor">) => readonly PlayerId[];
|
|
715
|
+
/** The minions in play engaged with `playerId` that have guard now (RRG 1.8 "Guard", p. 21). */
|
|
716
|
+
export declare const guardMinionsEngagedWith: (state: GameState, playerId: PlayerId, deps: EngineDeps) => readonly InstanceId[];
|
|
717
|
+
/**
|
|
718
|
+
* A `characterIgnores` rule exempts this character from guard, patrol or the crisis icon (docs/phase7-wave4.md §3.24),
|
|
719
|
+
* or its attack on `against` from that character's retaliate (docs/phase7-wave7.md §3.30).
|
|
720
|
+
*/
|
|
721
|
+
export declare function characterIgnores(state: GameState, deps: EngineDeps, id: InstanceId | null | undefined, what: "guard" | "patrol" | "crisis" | "retaliate",
|
|
722
|
+
/** A basic thwart (`characterIgnores.basicOnly`, docs/phase7-wave5.md §3.22). */
|
|
723
|
+
basic?: boolean,
|
|
724
|
+
/** The attacked character (`characterIgnores.against`); a rule with `against` holds only when this matches it. */
|
|
725
|
+
against?: InstanceId | null): boolean;
|
|
726
|
+
/**
|
|
727
|
+
* Whether a basic thwart by this character may target this scheme (`RuleSpec basicThwartTargets`, docs/phase7-wave5.md
|
|
728
|
+
* §3.22): every rule naming the character must list the scheme.
|
|
729
|
+
*/
|
|
730
|
+
export declare function basicThwartTargetAllowed(state: GameState, deps: EngineDeps, thwarterId: InstanceId, schemeId: InstanceId): boolean;
|
|
731
|
+
/**
|
|
732
|
+
* Whether players may attack this card "as if it were a minion" though it is no character (`RuleSpec
|
|
733
|
+
* attackableAsMinion`, docs/phase7-wave9.md §3.50). A card that is an enemy already is not asked.
|
|
734
|
+
*/
|
|
735
|
+
export declare function attackableAsMinion(state: GameState, id: InstanceId, deps?: EngineDeps): boolean;
|
|
736
|
+
/**
|
|
737
|
+
* Whether a player's attack on this card is an attack on something: an enemy, or a card players attack as if it were
|
|
738
|
+
* a minion (`attackableAsMinion`). What the attack machinery asks where it used to ask "is it an enemy".
|
|
739
|
+
*/
|
|
740
|
+
export declare const isAttackTarget: (state: GameState, id: InstanceId, deps?: EngineDeps) => boolean;
|
|
741
|
+
/**
|
|
742
|
+
* RRG "Guard": while a minion with guard is engaged with a player, that player
|
|
743
|
+
* cannot use cards they control to attack a villain without this keyword. It
|
|
744
|
+
* restricts the *controller*, so it blocks that player's allies too, and it
|
|
745
|
+
* only ever protects villains — other minions stay attackable. Ranged does not
|
|
746
|
+
* bypass guard (RRG "Ranged" only ignores retaliate). With several villains in
|
|
747
|
+
* play it protects every one of them, not only the active villain (RRG 1.8
|
|
748
|
+
* "Guard", p. 21: "The engaged player cannot attack any villain.").
|
|
749
|
+
*/
|
|
750
|
+
export declare function canAttack(state: GameState, attackerId: InstanceId, targetId: InstanceId, deps?: EngineDeps,
|
|
751
|
+
/** The attack is the attacker's basic attack, so a `cannotAttack` rule with `basicOnly` binds it (§3.72). */
|
|
752
|
+
basic?: boolean,
|
|
753
|
+
/** "This attack ignores guard" (`EffectSpec attack.ignores`): guard does not stop it; everything else still does. */
|
|
754
|
+
ignoreGuard?: boolean,
|
|
755
|
+
/**
|
|
756
|
+
* For an attack ability already initiated, the guard minions engaged with its player as it was (`EffectContext
|
|
757
|
+
* .attackGuardFrom`): only one of them still engaged and still with guard stops it; a minion that gains guard later
|
|
758
|
+
* does not. Owner decision 2026-11-15 (#525 item 6), narrowing wave 8 Q49: guard is checked when the attack is
|
|
759
|
+
* initiated, and for its later targets only against a guard minion already engaged then; ruling May 18, 2023 (5),
|
|
760
|
+
* Swift Retribution: "Guard prevents you from initiating attacks, but does not prevent you from dealing damage". A
|
|
761
|
+
* guard minion an earlier instruction defeated stops nothing (Dive Bomb FAQ). Absent: every guard minion engaged now
|
|
762
|
+
* counts.
|
|
763
|
+
*/
|
|
764
|
+
guardFrom?: readonly InstanceId[]): boolean;
|
|
765
|
+
/**
|
|
766
|
+
* A `cannotAttack` rule in force that forbids this character every attack, whatever the target: the printed "cannot
|
|
767
|
+
* attack" ("Vision cannot attack or defend", Intangible) or "you cannot make basic attacks" (`basicOnly`, asked only
|
|
768
|
+
* when `basic`). Every rule is asked, and a `basicOnly` one is reported first so its refusal names it. Null when none
|
|
769
|
+
* does; a rule scoped to some targets ("cannot attack minions", guard) is a matter of the target and is not reported.
|
|
770
|
+
*
|
|
771
|
+
* What a stunned character's attempt to attack is still refused by: the RRG waives only the target (RRG 1.8 "Stun,
|
|
772
|
+
* Stunned", p. 41), and "cannot" is absolute (RRG 1.8 "'Cannot'", p. 11; FFG ruling Jan 18, 2023, Vision in Intangible
|
|
773
|
+
* form: "No attack attempt can be made that removing Stunned would replace").
|
|
774
|
+
*/
|
|
775
|
+
export declare function attackerForbiddenEveryAttack(state: GameState, attackerId: InstanceId, deps?: EngineDeps, basic?: boolean): {
|
|
776
|
+
readonly byInstanceId: InstanceId | null;
|
|
777
|
+
readonly basicOnly: boolean;
|
|
778
|
+
} | null;
|
|
779
|
+
/**
|
|
780
|
+
* The first `cannotAttack` rule in force that forbids this attack, for a refusal that names its card: the card
|
|
781
|
+
* (`byInstanceId`, null for a rule with no card of its own, such as a scenario rule) and whether the rule forbids basic
|
|
782
|
+
* attacks only. Null when no such rule does: guard is not a `cannotAttack` rule and is not reported here. `basic` as
|
|
783
|
+
* `canAttack`'s.
|
|
784
|
+
*/
|
|
785
|
+
export declare function attackForbiddenBy(state: GameState, attackerId: InstanceId, targetId: InstanceId, deps?: EngineDeps, basic?: boolean): {
|
|
786
|
+
readonly byInstanceId: InstanceId | null;
|
|
787
|
+
readonly basicOnly: boolean;
|
|
788
|
+
} | null;
|
|
789
|
+
/** A minion's controller is null (it belongs to the encounter side) even while engaged. */
|
|
790
|
+
export declare function controllerOf(state: GameState, id: InstanceId): PlayerId | null;
|
|
791
|
+
/**
|
|
792
|
+
* The player an event's source card acts for: its controller, else the player the rules name for an uncontrolled card
|
|
793
|
+
* (`uncontrolledYouOf`: the holder of an obligation, RRG 1.8 "Obligation", p. 30; the controller of the player card an
|
|
794
|
+
* attachment is on, "Attachment", p. 8), so damage or a threat removal from such a card is that player's and a defeat
|
|
795
|
+
* it causes names them (`characterDefeated.defeatedByPlayerId`). Null for every other encounter card. An event no
|
|
796
|
+
* player makes (`noPlayer` on a `dealDamage` or `removeThreat` event; owner decision, docs/phase7-wave7.md §4.1 Q2)
|
|
797
|
+
* names nobody whoever the card speaks to.
|
|
798
|
+
*/
|
|
799
|
+
export declare function sourcePlayerOf(state: GameState, event: {
|
|
800
|
+
readonly sourceInstanceId: InstanceId | null;
|
|
801
|
+
readonly noPlayer?: true;
|
|
802
|
+
}): PlayerId | null;
|
|
803
|
+
/**
|
|
804
|
+
* The names a `CharacterNames` spec stands for (docs/phase7-wave3.md §3.34): written out, or read from the Team-Up
|
|
805
|
+
* keyword of the card(s) a ref names — wherever that card is, since a Team-Up event resolves out of play.
|
|
806
|
+
*/
|
|
807
|
+
export declare function characterNames(state: GameState, spec: CharacterNames, context: EffectContext): readonly string[];
|
|
808
|
+
/**
|
|
809
|
+
* The cards in play matching `query`. RRG 1.8 "In Play and Out of Play" (p. 23): "Card abilities only interact with,
|
|
810
|
+
* and can only target, cards that are in play (unless the ability text specifically refers to an out-of-play area)", so
|
|
811
|
+
* a query that asks for facedown cards (`facedown: true`: "each facedown card attached here") also reads the facedown
|
|
812
|
+
* attachments, which are out of play; no other query sees them.
|
|
813
|
+
*/
|
|
814
|
+
export declare const selectTargets: (state: GameState, query: TargetQuery, context: EffectContext) => readonly InstanceId[];
|
|
815
|
+
/**
|
|
816
|
+
* The players who may trigger an action, interrupt or response that names them (`triggerableBy`, docs/phase7-wave6.md
|
|
817
|
+
* §3.11), read with "this card" as the ability's card and "you" as its controller, or the player the rules name for an
|
|
818
|
+
* uncontrolled card (`uncontrolledYouOf`: an obligation's holder); null when the ability names nobody
|
|
819
|
+
* and today's rule (its controller, or the acting player on an uncontrolled card) applies. A forced ability is never
|
|
820
|
+
* read this way: nobody chooses to trigger it.
|
|
821
|
+
*/
|
|
822
|
+
export declare function triggeringPlayers(state: GameState, deps: EngineDeps, instanceId: InstanceId, trigger: AbilityTriggerSpec, event: TriggerEvent | null): readonly PlayerId[] | null;
|
|
823
|
+
export declare function resolvePlayers(state: GameState, ref: PlayerRef, context: EffectContext): readonly PlayerId[];
|
|
824
|
+
/**
|
|
825
|
+
* The cards a ref names. A card in a closed in-play scenario area is left out unless the ability refers to the area
|
|
826
|
+
* (`closedScenarioPlayArea`, docs/phase7-wave8.md §3.33): "attached ally" (`host`), a card named by title, the card an
|
|
827
|
+
* event is about. Not filtered here: `each` and `find`, whose query was matched card by card and may itself name the
|
|
828
|
+
* area; a `superlative`, whose pool was; and a `slot`, which holds what the ability already chose or bound.
|
|
829
|
+
*/
|
|
830
|
+
export declare function resolveRef(state: GameState, ref: TargetRef, context: EffectContext): readonly InstanceId[];
|
|
831
|
+
/**
|
|
832
|
+
* The threat a thwart removes (RRG 1.8 "Thwart", p. 44; "Basic Power", p. 10: a basic thwart "removes threat equal to
|
|
833
|
+
* the character's THW value"). A "(thwart)" ability's event carries its amount from the start; a basic thwart's
|
|
834
|
+
* carries none until it resolves, so before then (its interrupt window) this is the thwarter's current THW, or ATK
|
|
835
|
+
* for a thwart made with ATK — what `applyPlayerThwart` will remove. `undefined` (no removal) when the thwarter's
|
|
836
|
+
* stat is a printed '—'.
|
|
837
|
+
* Once the thwart has resolved its event's `amount` is the threat actually removed (the event frame's `responses`
|
|
838
|
+
* stage, `resolve/event.ts`).
|
|
839
|
+
*/
|
|
840
|
+
export declare function thwartAmount(state: GameState, deps: EngineDeps, event: Extract<TriggerEvent, {
|
|
841
|
+
kind: "thwart";
|
|
842
|
+
}>): number | undefined;
|
|
843
|
+
/** `deps` lets stat reads include constant and lasting modifiers ("damage equal to your hero's ATK" reads the modified ATK). */
|
|
844
|
+
export declare function resolveValue(state: GameState, value: ValueSpec, context: EffectContext, deps?: EngineDeps): number;
|
|
845
|
+
export declare function evaluate(state: GameState, predicate: Predicate, context: EffectContext): boolean;
|
|
846
|
+
/**
|
|
847
|
+
* Whether a rule of `kind` can be in force at all: a constant ability of the registry carries one, a `ruleGrant`
|
|
848
|
+
* lasting effect grants one, or the scenario imposes one. False lets a hot reader (every stat read, every resource
|
|
849
|
+
* generated) skip `activeRules`' scan of every card in play; a game whose cards never name the kind pays one set
|
|
850
|
+
* lookup and two short list walks.
|
|
851
|
+
*/
|
|
852
|
+
export declare function ruleKindMayApply(state: GameState, deps: EngineDeps, kind: RuleSpec["kind"]): boolean;
|
|
853
|
+
/**
|
|
854
|
+
* Every card a constant `blankTextBox` rule in play treats as blank right now. A rule never blanks its own source
|
|
855
|
+
* (that would erase the rule), and two rules blanking each other both apply — the scan reads printed refs, so the
|
|
856
|
+
* answer does not depend on the order cards are visited.
|
|
857
|
+
*/
|
|
858
|
+
export declare function blankedByConstantRules(state: GameState, deps: EngineDeps): ReadonlySet<InstanceId>;
|
|
859
|
+
interface CountsAs {
|
|
860
|
+
readonly categories: readonly TargetCategory[];
|
|
861
|
+
readonly traits: readonly Trait[];
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* The extra categories and traits constant `countsAs` rules in play give each card ("this card is considered a
|
|
865
|
+
* [Symbiote] environment", Festering Mass; docs/phase7-wave5.md §3.9), for query matching only. Each rule's `while` and
|
|
866
|
+
* `target` are read with `DEFAULT_DEPS` (printed characteristics), so matching cannot re-enter this function; cached
|
|
867
|
+
* per state like `blankedSets`.
|
|
868
|
+
*/
|
|
869
|
+
export declare function countsAsExtras(state: GameState, deps: EngineDeps): ReadonlyMap<InstanceId, CountsAs>;
|
|
870
|
+
/**
|
|
871
|
+
* "This card's printed text box cannot be treated as if it were blank." (SP//dr Suit 1B, SP//dr; docs/phase7-wave5.md
|
|
872
|
+
* §3.31): whether the card's current face prints a constant `textBoxCannotBeBlanked` rule. Read from the face's refs
|
|
873
|
+
* *before* any blank (`unblankedAbilityRefs`), because the rule protects the text box it is printed in; it never
|
|
874
|
+
* consults a blank, so every blank check below can ask it without recursion. Needs the registry: under `DEFAULT_DEPS`
|
|
875
|
+
* (no abilities) nothing is protected, which only a caller with no registry, and so no abilities to run, ever sees.
|
|
876
|
+
*/
|
|
877
|
+
export declare function textBoxCannotBeBlanked(state: GameState, id: InstanceId, deps: EngineDeps): boolean;
|
|
878
|
+
/**
|
|
879
|
+
* The cards in play an ability on `sourceId` refers to by the title `name`, in play order. RRG 1.8 "Referential
|
|
880
|
+
* Ability" (p. 36): "If an ability refers to a title shared by multiple cards in the game, that ability refers only to
|
|
881
|
+
* the card(s) that match the criteria highest in this list: 1. The card on which the referential ability is printed.
|
|
882
|
+
* 2. Cards associated with the same identity, including: the identity card, identity-specific cards, the identity's
|
|
883
|
+
* obligation cards, the identity's nemesis set, cards belonging to a side deck used by the identity. 3. Player cards
|
|
884
|
+
* (if the ability is on a player card) or encounter cards (if the ability is on an encounter card)."
|
|
885
|
+
*
|
|
886
|
+
* So an encounter card's "Black Widow activates against you" means the Black Widow minion and not a Black Widow ally
|
|
887
|
+
* or hero in play. Cards of the title that meet none of the three (an encounter card naming a title only a player
|
|
888
|
+
* card in play has) are all referred to: the list ranks cards that share a title and excludes none when nothing
|
|
889
|
+
* ranks. With no source card, every card of the title is returned.
|
|
890
|
+
*
|
|
891
|
+
* The current face only: a flipped Criminal Enterprise is no longer "Criminal Enterprise" (§3.4). Not modeled: "cards
|
|
892
|
+
* belonging to a side deck used by the identity", which card data does not link to an identity unless their set icon
|
|
893
|
+
* names it.
|
|
894
|
+
*/
|
|
895
|
+
export declare function referredToByName(state: GameState, name: string, sourceId: InstanceId | null): readonly InstanceId[];
|
|
896
|
+
/**
|
|
897
|
+
* Whether `sourceCardId` is of this card's own set for the Permanent keyword's exception (RRG 1.8 "Permanent", p. 32):
|
|
898
|
+
* the card itself, or a card sharing one of its sets (`permanentSetKeys`). The comparison `permanentProtectsFrom` makes,
|
|
899
|
+
* without its keyword check, for the defeat and leave-play protection (`effects.ts` `permanentStopsLeaving`,
|
|
900
|
+
* docs/phase7-wave5.md §4.1 Q46). A source missing from the card pool is of no set.
|
|
901
|
+
*/
|
|
902
|
+
export declare function ofPermanentCardsSet(state: GameState, id: InstanceId, sourceCardId: CardId): boolean;
|
|
903
|
+
/**
|
|
904
|
+
* Whether the Permanent keyword keeps a blank made by `sourceCardId` off this card (RRG 1.8 "Permanent", p. 32: "Effects
|
|
905
|
+
* on cards not from this card's set cannot [...] blank any part of its text box"; docs/phase7-wave5.md §4.1 Q31). The
|
|
906
|
+
* printed keyword is read from the card's showing face *before* any blank (`unblankedPrintedKeywordsOf`), since it
|
|
907
|
+
* protects the text box it is printed in. A keyword granted by another card's effect or rule protects too (§4.1 Q45,
|
|
908
|
+
* `keywords.ts` `hasGrantedPermanent`), read without this card's own text box and under a re-entrancy guard, so every
|
|
909
|
+
* blank check can ask this without recursion. A facedown card or one treated as another type shows no printed keyword
|
|
910
|
+
* and has no text to protect.
|
|
911
|
+
*
|
|
912
|
+
* A blank with no recorded source (made before sources were recorded) is not stopped, as before. A card is always of
|
|
913
|
+
* its own set, so a permanent card's own ability may blank it.
|
|
914
|
+
*/
|
|
915
|
+
export declare function permanentProtectsFrom(state: GameState, id: InstanceId, sourceCardId: CardId | undefined, deps?: EngineDeps): boolean;
|
|
916
|
+
/**
|
|
917
|
+
* A card's ability refs as live under the *lasting* blank only (`lastingBlankReaches`), not a constant blank rule: what
|
|
918
|
+
* a card's constant rules are read from while the constant blank rules are themselves being worked out (`blankedSets`)
|
|
919
|
+
* and while a granted Permanent keyword is being looked for (`keywords.ts` `hasGrantedPermanent`, §4.1 Q45). Fills no
|
|
920
|
+
* per-state cache.
|
|
921
|
+
*/
|
|
922
|
+
export declare function refsLiveUnderLastingBlank(state: GameState, id: InstanceId, deps: EngineDeps): readonly AbilityReference[];
|
|
923
|
+
/**
|
|
924
|
+
* The players who treat this card's printed text box as blank though the game does not (`EffectSpec blankTextBox
|
|
925
|
+
* .forPlayers`, Cemented's "each player who discarded a card this way may treat this card's printed text box as if it
|
|
926
|
+
* were blank"): each player a per-player blank on it names, unless the card cannot be blanked (§3.31 of wave 5) or its
|
|
927
|
+
* Permanent keyword stops that blank (§4.1 Q31), as for everyone's blank. Empty in every game with no such blank.
|
|
928
|
+
*/
|
|
929
|
+
export declare function textBoxBlankedFor(state: GameState, id: InstanceId, deps: EngineDeps): readonly PlayerId[];
|
|
930
|
+
/** Whether this player treats this card's printed text box as blank: everyone's blank, or one for them alone. */
|
|
931
|
+
export declare const textBoxBlankToPlayer: (state: GameState, id: InstanceId, playerId: PlayerId, deps: EngineDeps) => boolean;
|
|
932
|
+
/**
|
|
933
|
+
* Whether a rule binds this player, as far as a per-player blank goes (`ActiveRule.blankedFor`): false when the player
|
|
934
|
+
* treats the rule's card as blank. The readers of rules that bind players with no `player` scope ask it ("Players
|
|
935
|
+
* cannot make basic attacks", `cannotAttack` with no `player`; `cannotFlip`; `cannotThwart`); a scoped rule's players
|
|
936
|
+
* already leave them out (`rulePlayers`).
|
|
937
|
+
*/
|
|
938
|
+
export declare const ruleBindsPlayer: (active: Pick<ActiveRule<RuleSpec["kind"]>, "blankedFor">, playerId: PlayerId | null) => boolean;
|
|
939
|
+
/**
|
|
940
|
+
* Whether this card's printed text box is blank right now, from a lasting effect or a constant rule in play, unless it
|
|
941
|
+
* cannot be blanked (§3.31 of wave 5) or its Permanent keyword stops that blank (§4.1 Q31); the constant kind already
|
|
942
|
+
* leaves such a card out of `blankedSets`.
|
|
943
|
+
*/
|
|
944
|
+
export declare const textBoxBlankFor: (state: GameState, id: InstanceId, deps?: EngineDeps) => boolean;
|
|
945
|
+
/** Whether this card's printed keywords are blank: as `textBoxBlankFor`, less a rule "except for keywords" (§3.28). */
|
|
946
|
+
export declare const keywordsBlankFor: (state: GameState, id: InstanceId, deps?: EngineDeps) => boolean;
|
|
947
|
+
/**
|
|
948
|
+
* The ability slots that are live on a card right now (active identity face, current stage).
|
|
949
|
+
*
|
|
950
|
+
* `deps` is what makes a *constant* class-wide blank (Tech Theft) visible; without it only the lasting kind is seen,
|
|
951
|
+
* which is what every caller that has no registry to hand wants. Passing it costs one `WeakMap` lookup in a game
|
|
952
|
+
* whose card pool has no such rule.
|
|
953
|
+
*/
|
|
954
|
+
export declare function activeAbilityRefs(state: GameState, id: InstanceId, deps?: EngineDeps): readonly AbilityReference[];
|
|
955
|
+
/**
|
|
956
|
+
* How many of the card's live abilities are tagged `tag` (`AbilityTriggerSpec special.tag`; custom content's "speech
|
|
957
|
+
* bubbles"), read as `activeAbilityRefs` reads them: `TargetQuery hasTaggedAbility`, `ValueSpec taggedAbilities`.
|
|
958
|
+
*/
|
|
959
|
+
export declare function taggedAbilityCount(state: GameState, id: InstanceId, tag: string, deps: EngineDeps): number;
|
|
960
|
+
/** One ability a card gains from a rule in effect, and the card whose constant gives it (null: a scenario rule). */
|
|
961
|
+
export interface GrantedAbility {
|
|
962
|
+
readonly abilityId: AbilityId;
|
|
963
|
+
readonly grantedBy: InstanceId | null;
|
|
964
|
+
}
|
|
965
|
+
/**
|
|
966
|
+
* The abilities cards in play gain from `gainsAbility` rules in effect, by the card that gains them (`RuleSpec
|
|
967
|
+
* gainsAbility`; RRG 1.8 "'Gains'", p. 21), one entry per rule that reaches the card, in the order `activeRules` reads
|
|
968
|
+
* them. Rules come from constants of cards in play (and the victory display's marked ones), lasting rule grants and
|
|
969
|
+
* the scenario, each with its `while` and `to` read in full: granted traits, keywords and stats count.
|
|
970
|
+
*
|
|
971
|
+
* That read asks for the abilities of the cards in play, which asks for this. The loop is cut here: while the answer
|
|
972
|
+
* for a state is being worked out, a card's abilities are its printed ones. Nothing a rule's `while` or `to` reads is
|
|
973
|
+
* lost by that, because a gained ability is never a constant (such a rule gives nothing), and constants are all those
|
|
974
|
+
* reads consult. So a `gainsAbility` rule cannot depend on a gained ability, and the answer is found in one pass.
|
|
975
|
+
*
|
|
976
|
+
* Cached per state like `blankedSets`; a game whose registry has no such rule and that holds no such lasting or
|
|
977
|
+
* scenario rule pays one lookup.
|
|
978
|
+
*/
|
|
979
|
+
export declare function gainedAbilities(state: GameState, deps: EngineDeps): ReadonlyMap<InstanceId, readonly GrantedAbility[]>;
|
|
980
|
+
/**
|
|
981
|
+
* Whether a boost card has a "Boost" ability, printed or gained as a boost card (`gainedBoostAbilities`): what "cancel
|
|
982
|
+
* its 'Boost' ability" needs to find (Killer Instinct 63001a; Target Acquired 08024; Wraith 22012). The printed one is
|
|
983
|
+
* read from card data (`printsBoostAbility`: the boost-area star, RRG 1.8 "Boost, Boost Icon", p. 11), never from the
|
|
984
|
+
* ability registry, so a Boost not scripted yet still counts.
|
|
985
|
+
*/
|
|
986
|
+
export declare function hasBoostAbility(state: GameState, deps: EngineDeps, id: InstanceId): boolean;
|
|
987
|
+
/**
|
|
988
|
+
* The "Boost" abilities a boost card gains from `gainsAbility` rules in effect, read as it is turned faceup: "Each
|
|
989
|
+
* boost card from the Purple Man encounter set gains: '[star] Boost: …'" (60097–60099; docs/phase7-wave11-scenarios.md
|
|
990
|
+
* §S3.6). `gainedAbilities` reads only cards in play, and a boost card is not one; this is the same rules' read for a
|
|
991
|
+
* card in a boost area, by `to` (`TargetQuery.boostCard`). A rule with no `to` (this card gains) never reaches it.
|
|
992
|
+
*
|
|
993
|
+
* - Only a `boost` ability is gained here: "Only the ability text beneath the divider line is active on a card that is
|
|
994
|
+
* resolving as a boost card" (RRG 1.8 "Boost, Boost Icon", p. 11), so a granted response or action is not.
|
|
995
|
+
* - As `activeAbilityRefs` treats a gained ability: one of each, not one the card prints, not one an `ignoreAbilities`
|
|
996
|
+
* rule names, and not taken away by the boost card's own blank text box. That last is an engine interpretation, the
|
|
997
|
+
* one `RuleSpec gainsAbility` makes in play: RRG 1.8 "'Gains'" (p. 21) does not speak to blanking.
|
|
998
|
+
* - `asBoostCard`: read the card as if it were in a boost area (a facedown card's possible identities, for the defend
|
|
999
|
+
* preview), by ignoring the top-level `boostCard` clause of each `to`.
|
|
1000
|
+
*/
|
|
1001
|
+
export declare function gainedBoostAbilities(state: GameState, deps: EngineDeps, id: InstanceId, opts?: {
|
|
1002
|
+
readonly asBoostCard?: true;
|
|
1003
|
+
}): readonly GrantedAbility[];
|
|
1004
|
+
/**
|
|
1005
|
+
* The abilities `ignoreAbilities` rules in effect make absent, by the card in play that prints them (`RuleSpec
|
|
1006
|
+
* ignoreAbilities`; docs/phase7-wave8.md §3.21; RRG 1.8 "Ignore", p. 23). Rules come from constant abilities of cards
|
|
1007
|
+
* in play whose text box is not blank, from lasting rule grants and from the scenario. Each rule's `while` and `on` are
|
|
1008
|
+
* read with `DEFAULT_DEPS` (printed characteristics) and each source's abilities before any ignore is applied, so
|
|
1009
|
+
* matching cannot re-enter this function and two rules naming each other both apply. Cached per state like
|
|
1010
|
+
* `blankedSets`; a game whose registry has no such rule and that holds no such lasting or scenario rule pays one lookup.
|
|
1011
|
+
*/
|
|
1012
|
+
export declare function ignoredAbilities(state: GameState, deps: EngineDeps): ReadonlyMap<InstanceId, ReadonlySet<string>>;
|
|
1013
|
+
/** Whether `abilityId` on the card in play `id` is ignored right now (`ignoredAbilities`). */
|
|
1014
|
+
export declare const abilityIgnored: (state: GameState, deps: EngineDeps, id: InstanceId, abilityId: string) => boolean;
|
|
1015
|
+
/**
|
|
1016
|
+
* "You" for a constant read from one of `constantSources`: a card in play's controller, and for a card in the victory
|
|
1017
|
+
* display (`AbilityDefinition.activeIn: "victoryDisplay"`, docs/phase7-wave7.md §3.50) its owner, whoever defeated it
|
|
1018
|
+
* and whoever controlled it when it left play. A card there has no controller: RRG 1.8 "Ownership and Control" (p. 31)
|
|
1019
|
+
* gives a player control of "the cards in their own out-of-play areas", and the victory display is "shared by all
|
|
1020
|
+
* players" ("Victory Display", p. 46), so ownership is the one tie to a player the card keeps. Null for an encounter
|
|
1021
|
+
* card there. `CardInstance.controllerId` is not read for it: a defeat leaves the last controller recorded.
|
|
1022
|
+
*/
|
|
1023
|
+
export declare function constantControllerOf(state: GameState, sourceId: InstanceId): PlayerId | null;
|
|
1024
|
+
/**
|
|
1025
|
+
* The cards whose constant abilities are read: every card in play, then each card in the victory display that prints a
|
|
1026
|
+
* constant marked `activeIn: "victoryDisplay"` (docs/phase7-wave7.md §3.50), in the order they arrived there. A card an
|
|
1027
|
+
* eliminated player owns is left out: RRG 1.8 "Player Elimination" (p. 34) steps 4-5 put "each card owned by the
|
|
1028
|
+
* eliminated player" in their discard pile and remove it from the game. Nothing here depends on how the card arrived
|
|
1029
|
+
* (a defeat with Victory X, or an effect) or records it: the read is live, so the constant starts when the card is in
|
|
1030
|
+
* `GameState.victoryDisplay` and ends when it is not.
|
|
1031
|
+
*/
|
|
1032
|
+
export declare function constantSources(state: GameState, deps: EngineDeps): readonly InstanceId[];
|
|
1033
|
+
/**
|
|
1034
|
+
* The ability slots a constant scan reads from one of `constantSources`: a card in play's live abilities
|
|
1035
|
+
* (`activeAbilityRefs`), and for a card in the victory display only those marked for it, so its other text (a constant
|
|
1036
|
+
* meant for play, its When Defeated) does nothing there. No blank is applied to the latter: a blank is aimed at a card
|
|
1037
|
+
* in play, and a card that left play has "no memory of its previous state" (RRG 1.8 "Leaves Play", p. 27).
|
|
1038
|
+
*/
|
|
1039
|
+
export declare function constantAbilityRefs(state: GameState, sourceId: InstanceId, deps: EngineDeps): readonly AbilityReference[];
|
|
1040
|
+
/**
|
|
1041
|
+
* The ability slots of a card's live face with no text-box blank applied (`activeAbilityRefs` less the blank check).
|
|
1042
|
+
* A facedown card and a card treated as another type still have none: neither is a text box "treated as if it were
|
|
1043
|
+
* blank", so a `textBoxCannotBeBlanked` rule (§3.31 of wave 5) does not bring them back.
|
|
1044
|
+
*/
|
|
1045
|
+
export declare function unblankedAbilityRefs(state: GameState, id: InstanceId): readonly AbilityReference[];
|
|
1046
|
+
/**
|
|
1047
|
+
* "Connection to the Worldmind does not count toward your hand size." (`nova` 28007; docs/phase7-wave5.md §3.18): a
|
|
1048
|
+
* printed constant read from the card in hand (`notCountedTowardHandSize`).
|
|
1049
|
+
*/
|
|
1050
|
+
export declare function countsTowardHandSize(state: GameState, id: InstanceId, deps: EngineDeps): boolean;
|
|
1051
|
+
/**
|
|
1052
|
+
* Whether an effect that puts `id` into play (`EffectSpec putIntoPlay`) as `putter` would put it into play, read before
|
|
1053
|
+
* it resolves (`TargetQuery.canEnterPlay`): the checks `putIntoPlay` makes as it applies (`resolve/apply-effect.ts`), so
|
|
1054
|
+
* a choice of a card to put into play offers only cards the effect would not refuse (RRG 1.8 "Target", p. 43; owner
|
|
1055
|
+
* decision docs/phase7-wave9.md §4.1 Q37 = A). A card already in play is not entering and is read by the unique rule
|
|
1056
|
+
* alone. `putter` null (a ref naming nobody) checks the unique rule against every area and the `cannotEnterPlay` rules.
|
|
1057
|
+
*
|
|
1058
|
+
* - "[type] form only" (RRG 1.8 "Play, Put into Play", p. 32) is read under `putter`, as `admitFormOnly` reads it.
|
|
1059
|
+
* - The rest is read under each player the card could enter play under: `putter`, and for a card printed "Play under
|
|
1060
|
+
* any player's control" any other player still in the game when the effect does not state the controller
|
|
1061
|
+
* (`putIntoPlayControlIsChosen`; FFG ruling Nov 21, 2025, Build Support / Boot Camp). It can be put into play when
|
|
1062
|
+
* one of them allows it: the unique rule (RRG 1.8 "Unique Icon", pp. 45-46), no `RuleSpec cannotEnterPlay`, and
|
|
1063
|
+
* "Max N per player" (RRG 1.8 "Max, Maximum", p. 28).
|
|
1064
|
+
* - An upgrade needs a legal host under that player (`putIntoPlayHostCandidates`, which also reads "Max N per player"
|
|
1065
|
+
* on each host's controller): with none it "remains in its prior state or game area" (RRG 1.8 "Attach To", p. 8) and
|
|
1066
|
+
* the effect refuses it (`noLegalHost`). One that enters play unattached (`attachedOnlyWhileInPlay`) needs no host,
|
|
1067
|
+
* but is still refused when the maximum takes away every host it would have had (`admitUnderPlayerMax`).
|
|
1068
|
+
*/
|
|
1069
|
+
export declare function canBePutIntoPlay(state: GameState, deps: EngineDeps, id: InstanceId, putter: PlayerId | null, { controllerStated, bringer, }?: {
|
|
1070
|
+
/** The effect states the controller ("put it into play under your control", `putIntoPlay.controllerStated`). */
|
|
1071
|
+
readonly controllerStated?: boolean;
|
|
1072
|
+
/** The card whose ability puts it into play (`uniqueEntryBlocker`'s linked-card exemption). */
|
|
1073
|
+
readonly bringer?: InstanceId | null;
|
|
1074
|
+
}): boolean;
|
|
1075
|
+
/**
|
|
1076
|
+
* The per-player half of `canBePutIntoPlay`: whether `id`, entering play from out of play, could enter under `player`'s
|
|
1077
|
+
* control. The unique rule (RRG 1.8 "Unique Icon", pp. 45-46), no `RuleSpec cannotEnterPlay`, "Max N per player" (RRG
|
|
1078
|
+
* 1.8 "Max, Maximum", p. 28) and, for an upgrade, a legal host under that player (`putIntoPlayHostCandidates`). The
|
|
1079
|
+
* "[type] form only" check reads the player putting it in and is the caller's (`formOnlyFault`).
|
|
1080
|
+
*/
|
|
1081
|
+
export declare function canEnterPlayUnder(state: GameState, deps: EngineDeps, id: InstanceId, player: PlayerId, bringer: InstanceId | null): boolean;
|
|
1082
|
+
/**
|
|
1083
|
+
* "[This card] cannot be attached to cards unless it is in play" (`attachedOnlyWhileInPlay`; community pack `yondu-dh`,
|
|
1084
|
+
* Yaka Arrow): whether the card prints it, read from the card wherever it is. The restriction binds only while the card is
|
|
1085
|
+
* out of play: in play, effects attach and move it as any card (`canAttachTo`).
|
|
1086
|
+
*/
|
|
1087
|
+
export declare function attachedOnlyWhileInPlay(state: GameState, id: InstanceId, deps: EngineDeps): boolean;
|
|
1088
|
+
/**
|
|
1089
|
+
* The cards in a player's hand that count toward their hand size (RRG 1.8 "Hand Size", p. 21): the end-of-phase discard
|
|
1090
|
+
* and draw, the mulligan's draw back up, and "draw up to your hand size". Every other hand count (`handCountOf`) still
|
|
1091
|
+
* counts every card in hand. docs/phase7-wave5.md §3.18.
|
|
1092
|
+
*/
|
|
1093
|
+
export declare const handCountTowardHandSize: (state: GameState, playerId: PlayerId, deps: EngineDeps) => number;
|
|
1094
|
+
/** Ability slots printed on a card regardless of where the card is (for reveal/boost). */
|
|
1095
|
+
export declare function printedAbilityRefs(card: AnyCard): readonly AbilityReference[];
|
|
1096
|
+
/** The A-side abilities of the main scheme's current stage (1A setup / NA When Revealed). */
|
|
1097
|
+
export declare function mainSchemeASideRefs(state: GameState): readonly AbilityReference[];
|
|
1098
|
+
/**
|
|
1099
|
+
* RRG "Restricted": the limit is two per *player*, across every card they control. A player's restricted cards: every
|
|
1100
|
+
* card in play they control that weighs on the limit (`restrictedWeightOf` > 0), the keyword cards and a card that
|
|
1101
|
+
* "counts as N restricted cards" alike. What text naming "restricted cards" sees, and what is offered for the discard
|
|
1102
|
+
* when over the limit. The weighted card is one card here; what the limit is compared with is `restrictedLoadOf`.
|
|
1103
|
+
* Contributor's rules call 2026-10-16 (bluefireF5ran), reversing upstream Q52 = B.
|
|
1104
|
+
*/
|
|
1105
|
+
export declare const restrictedCardsOf: (state: GameState, playerId: PlayerId, deps?: EngineDeps) => readonly InstanceId[];
|
|
1106
|
+
/**
|
|
1107
|
+
* How much one card weighs on its controller's restricted limit (docs/phase7-wave7.md §3.82): the N of a printed
|
|
1108
|
+
* "Counts as N restricted cards." (`PlayerCard.restrictedWeight`), 1 for a card with the restricted keyword (RRG 1.8
|
|
1109
|
+
* "Restricted", p. 38), otherwise 0. The printed sentence is text-box text on the card's front: a facedown card, a
|
|
1110
|
+
* card showing its other face and a blank text box (RRG 1.8 "Blank", p. 10) do not have it.
|
|
1111
|
+
*/
|
|
1112
|
+
export declare function restrictedWeightOf(state: GameState, id: InstanceId, deps?: EngineDeps): number;
|
|
1113
|
+
/**
|
|
1114
|
+
* A player's restricted load, the number the restricted limit is compared with (docs/phase7-wave7.md §3.82): the sum
|
|
1115
|
+
* of `restrictedWeightOf` over the cards in play they control. The one count every restricted-limit check reads. A
|
|
1116
|
+
* facedown attachment is out of play (RRG 1.8 p. 23) and is not counted.
|
|
1117
|
+
*/
|
|
1118
|
+
export declare function restrictedLoadOf(state: GameState, playerId: PlayerId, deps?: EngineDeps): number;
|
|
1119
|
+
export {};
|