@champions-digital-game/mod-sdk 0.0.0-stage → 0.45.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-GDZAIM46.js +7 -0
- package/dist/chunks/chunk-JAFPA7PX.js +4 -0
- package/dist/chunks/chunk-MS5INQIY.js +22 -0
- package/dist/chunks/chunk-PAYEJUZX.js +1 -0
- package/dist/chunks/chunk-VSWWKMOU.js +8477 -0
- package/dist/chunks/chunk-W45IQDAE.js +1 -0
- package/dist/chunks/chunk-WX7AFXND.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 +454 -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,1239 @@
|
|
|
1
|
+
import { type AbilityId, type AnyCard } from "../../content/src/index.js";
|
|
2
|
+
import { type AbilityCost, type AbilityDefinition, type EngineDeps, type ResourceGeneration } from "./abilities.js";
|
|
3
|
+
import type { ChoiceOption } from "./choices.js";
|
|
4
|
+
import { type BasicPowerShare, type Command, type CostChoices, type CostPartPayers, type CostSelection, type Payment, type ResourceAbilityUse } from "./commands.js";
|
|
5
|
+
import { type Ctx } from "./ctx.js";
|
|
6
|
+
import { type EngineError, type EngineErrorCode } from "./errors.js";
|
|
7
|
+
import { type DiscardCombined, type InPlayCostMode, type InPlayCostPick } from "./abilities.js";
|
|
8
|
+
import type { BasicPowerName, BasicPowerTerms, EffectSpec, StatName } from "./spec.js";
|
|
9
|
+
import { type BasicPowerResume, type PlayedFrom, type TriggerEvent } from "./trigger-events.js";
|
|
10
|
+
import { type FrameId, type InstanceId, type PlayerId } from "./ids.js";
|
|
11
|
+
import { printedResources, type PaidTypesRead, type ResolvedRequirement, type ResourcePool, type ResourceType, type TypedResource } from "./resources.js";
|
|
12
|
+
import { type Bindings, type ReportTarget, type UndeclaredWilds, type Vars } from "./stack.js";
|
|
13
|
+
import type { GameState } from "./state.js";
|
|
14
|
+
export declare function changeForm(ctx: Ctx, command: Command & {
|
|
15
|
+
type: "changeForm";
|
|
16
|
+
}): EngineError | null;
|
|
17
|
+
export { printedResources };
|
|
18
|
+
/**
|
|
19
|
+
* The resource types a card may be paid with when its own text limits them ("You can only spend [physical] resources
|
|
20
|
+
* to pay for this card", Crushing Blow), or an empty list when it does not.
|
|
21
|
+
*/
|
|
22
|
+
export declare const paymentOnlyTypes: (state: GameState, deps: EngineDeps, id: InstanceId) => readonly TypedResource[];
|
|
23
|
+
/** A card in a player's discard pile that its own permission lets them play from there. */
|
|
24
|
+
export declare const playableFromDiscard: (state: GameState, deps: EngineDeps, playerId: PlayerId, id: InstanceId) => boolean;
|
|
25
|
+
/**
|
|
26
|
+
* A card attached to a card this player controls whose `playableAttachments` permits playing it "as if [it] were in your
|
|
27
|
+
* hand" (Hawkeye's Quiver; docs/phase7-wave2.md §3.10).
|
|
28
|
+
*/
|
|
29
|
+
export declare function playableFromAttachment(state: GameState, deps: EngineDeps, playerId: PlayerId, id: InstanceId): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Every attached card `playerId` may play "as if it were in your hand" (`playableFromAttachment`), wherever the host
|
|
32
|
+
* sits. The attachments of *every* card in play, not just `cardsInPlay` itself: that list goes one level deep (an
|
|
33
|
+
* identity and what is attached to it), and Hawkeye's Quiver is itself attached to Hawkeye, so an Arrow on it sat a
|
|
34
|
+
* level below and was never considered at all (2026-09-21 report). Read by both the action list (`legalActions`) and
|
|
35
|
+
* the timing windows (`inHandCandidates`), so an attached Interrupt/Response event is offered where one in hand is.
|
|
36
|
+
*/
|
|
37
|
+
export declare const attachmentsPlayableBy: (state: GameState, deps: EngineDeps, playerId: PlayerId) => readonly InstanceId[];
|
|
38
|
+
/**
|
|
39
|
+
* Why a card is never played, or null. RRG 1.8 "Dash (Value)" (p. 15): "If a card has a dash (–) as its cost value,
|
|
40
|
+
* that card cannot be played and can only enter play through other means." (docs/phase7-wave2.md §3.8.) A star cost
|
|
41
|
+
* (Photographic Reflexes, `fne` 60040a/b/c) likewise: RRG 1.8 "Star Icon" (p. 40) gives the icon no cost of its own
|
|
42
|
+
* ("In and of itself, the star icon has no effect; it is merely a reminder to check the card's text box whenever that
|
|
43
|
+
* field is used"), and the spec settles that a star-cost card is never played (docs/phase7-wave11.md §1.2). Engine
|
|
44
|
+
* inference (authority step 5): no source plays a star-cost card for its stored cost of 0, so every one is refused,
|
|
45
|
+
* whatever abilities it prints; its text may give another card a play route (§3.9).
|
|
46
|
+
*/
|
|
47
|
+
export declare function neverPlayedFault(card: AnyCard): string | null;
|
|
48
|
+
/** Where a card may be played from besides hand: its own discard permission, or an attachment permission on its host. */
|
|
49
|
+
export declare const playableOutsideHand: (state: GameState, deps: EngineDeps, playerId: PlayerId, id: InstanceId) => boolean;
|
|
50
|
+
/**
|
|
51
|
+
* A permission to play one card "as if it was in your hand" in force for a player: `playableTopOfDeck` over the top
|
|
52
|
+
* card of their deck (docs/phase7-wave8.md §3.49), or `playableAsIfInHand` over that card or a tucked one
|
|
53
|
+
* (docs/phase7-wave11.md §3.8). The card and ability it is printed on, what it takes off the cost, and the card it
|
|
54
|
+
* covers.
|
|
55
|
+
*/
|
|
56
|
+
export interface AsIfInHandPermission {
|
|
57
|
+
/** The card the permission covers right now: the top card of the deck, or a card tucked under `hostInstanceId`. */
|
|
58
|
+
readonly instanceId: InstanceId;
|
|
59
|
+
readonly sourceInstanceId: InstanceId;
|
|
60
|
+
readonly abilityId: AbilityId;
|
|
61
|
+
/** "…, reducing its resource cost by N", as a positive number; 0 when the permission prints none. */
|
|
62
|
+
readonly costReduction: number;
|
|
63
|
+
/** `costReduction` also reaches the play's ability cost (`PlayableAsIfInHandSpec.reducesAbilityCost`). */
|
|
64
|
+
readonly reducesAbilityCost?: true;
|
|
65
|
+
/** The ability's limit has been reached for its period ("once per phase"), so the card cannot be played this way. */
|
|
66
|
+
readonly limitUsed: boolean;
|
|
67
|
+
/** Where the card is: the top of the player's deck, or tucked under `hostInstanceId`. */
|
|
68
|
+
readonly from: "deckTop" | "tucked";
|
|
69
|
+
/** Present only for `from: "tucked"`: the card the covered card is tucked under. */
|
|
70
|
+
readonly hostInstanceId?: InstanceId;
|
|
71
|
+
/**
|
|
72
|
+
* The permission is printed on a card in its player's hand (`activeIn: "hand"`, docs/phase7-wave11.md §3.9), which
|
|
73
|
+
* is discarded as an additional cost of the play (`PlayableAsIfInHandSpec.discardSelfFromHand`): that card is no
|
|
74
|
+
* resource toward the play, and the log's `cardPlayed.via` names it.
|
|
75
|
+
*/
|
|
76
|
+
readonly discardsSource?: true;
|
|
77
|
+
}
|
|
78
|
+
/** The `playableTopOfDeck` case of `AsIfInHandPermission` (docs/phase7-wave8.md §3.49), by its first name. */
|
|
79
|
+
export type DeckTopPermission = AsIfInHandPermission;
|
|
80
|
+
/**
|
|
81
|
+
* Every card `playerId` may play "as if it was in your hand" from outside it right now, one permission per card: the
|
|
82
|
+
* top card of their deck (`playableTopOfDeck`, `playableAsIfInHand "deckTop"`) first, then each covered tucked card
|
|
83
|
+
* (`playableAsIfInHand { tuckedUnder }`). Derived each time it is asked, like the faceup rule (`shownDeckTop`): with
|
|
84
|
+
* no such constant on an active face in play (the other form, a blank text box) there is none; only a limit's count is
|
|
85
|
+
* state (`abilityUses`). With several over one card, the first whose limit is not used. `limitUsed` says the
|
|
86
|
+
* permission stands but cannot be used again this period: the card is then not playable this way, and `legalActions`
|
|
87
|
+
* and `choiceExclusions` say why.
|
|
88
|
+
*/
|
|
89
|
+
export declare function asIfInHandPermissions(state: GameState, deps: EngineDeps, playerId: PlayerId): readonly AsIfInHandPermission[];
|
|
90
|
+
/**
|
|
91
|
+
* The permission over the top card of `playerId`'s deck right now, or null: none is in force, or the deck is empty
|
|
92
|
+
* (`asIfInHandPermissions`' `"deckTop"` entry). Not tied to `RuleSpec topOfDeckFaceup`: see
|
|
93
|
+
* `AbilityTriggerSpec.playableTopOfDeck`.
|
|
94
|
+
*/
|
|
95
|
+
export declare const deckTopPermission: (state: GameState, deps: EngineDeps, playerId: PlayerId) => DeckTopPermission | null;
|
|
96
|
+
/**
|
|
97
|
+
* The permission under which `playerId` may play `id` "as if it was in your hand" from outside it now (in force with
|
|
98
|
+
* its limit unused, over `id`), or null. Every route that plays a card from the hand asks this of a card that is not
|
|
99
|
+
* in the hand: the play command, a timing window's in-hand candidates and `EffectSpec playFromHand` from the hand. A
|
|
100
|
+
* play by an effect from the deck it searches (`from: "deck"`) or from a tuck it names (`from: { tuckedUnder }`) does
|
|
101
|
+
* not ask, so the card it plays is neither reduced nor counted against the limit.
|
|
102
|
+
*/
|
|
103
|
+
export declare function asIfInHandPlayOf(state: GameState, deps: EngineDeps, playerId: PlayerId, id: InstanceId): AsIfInHandPermission | null;
|
|
104
|
+
/** `asIfInHandPlayOf` for the top card of the deck only (docs/phase7-wave8.md §3.49). */
|
|
105
|
+
export declare function deckTopPlayOf(state: GameState, deps: EngineDeps, playerId: PlayerId, id: InstanceId): DeckTopPermission | null;
|
|
106
|
+
/**
|
|
107
|
+
* The hand card a play of `playedId` would discard as its additional cost (`AsIfInHandPermission.discardsSource`,
|
|
108
|
+
* docs/phase7-wave11.md §3.9), or null. It cannot also be spent as a resource toward that play (engine inference: the
|
|
109
|
+
* card leaves the hand to pay one cost, so it is not there to generate resources for another; RRG 1.8 "Cost", p. 13,
|
|
110
|
+
* pays all of a play's costs "simultaneously"), so payment options leave it out and a payment naming it is refused.
|
|
111
|
+
*/
|
|
112
|
+
export declare function asIfInHandSpentSource(state: GameState, deps: EngineDeps, playerId: PlayerId, playedId: InstanceId | null): InstanceId | null;
|
|
113
|
+
/**
|
|
114
|
+
* The play frame's record of the hand card whose permission played the card (`PLAYED_VIA_SLOT`, read by `Predicate
|
|
115
|
+
* playedVia` while it resolves and carried by the announced `cardPlayed` as `via`; docs/phase7-wave11.md §3.9). Empty
|
|
116
|
+
* for every other play. Read from the permission the caller took before the card moved.
|
|
117
|
+
*/
|
|
118
|
+
export declare const asIfInHandViaBindings: (asIfInHand: AsIfInHandPermission | null) => Bindings;
|
|
119
|
+
/** The cards outside `playerId`'s hand they may play as if from it now (`asIfInHandPlayOf`), as a list. */
|
|
120
|
+
export declare const asIfInHandPlayableBy: (state: GameState, deps: EngineDeps, playerId: PlayerId) => readonly InstanceId[];
|
|
121
|
+
/** What the permission takes off the cost of playing `id` as if from hand; 0 for any card it does not cover. */
|
|
122
|
+
export declare const asIfInHandCostReduction: (state: GameState, deps: EngineDeps, playerId: PlayerId, id: InstanceId) => number;
|
|
123
|
+
/**
|
|
124
|
+
* Whether a card counts as "in your hand" for being played: in the hand, or covered by an "as if it was in your hand"
|
|
125
|
+
* permission (`asIfInHandPlayOf`). Only for playing (RRG 1.8 FAQ "Magik (#30A)", p. 64, fourth entry).
|
|
126
|
+
*/
|
|
127
|
+
export declare const inHandForPlaying: (state: GameState, deps: EngineDeps, playerId: PlayerId, id: InstanceId) => boolean;
|
|
128
|
+
/**
|
|
129
|
+
* An ability that works from the hand (`activeIn: "hand"`) and plays its own card from there ("Interrupt: When an
|
|
130
|
+
* enemy attacks you, play Colossus from your hand …"): using it is an opportunity to play that card from the hand, so
|
|
131
|
+
* it is heard from the top of the deck under `playableTopOfDeck` too (docs/phase7-wave8.md §3.49). Any other in-hand
|
|
132
|
+
* ability is not a play of its card and stays off there.
|
|
133
|
+
*/
|
|
134
|
+
export declare const playsOwnCardFromHand: (definition: AbilityDefinition) => boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Why an in-hand ability that plays its own card (`playsOwnCardFromHand`) could not play it right now, or null: the
|
|
137
|
+
* card's play restrictions and, when its cost is paid, whether everything the player could spend covers it, exactly as
|
|
138
|
+
* the effect itself judges the card when it resolves (`playWithPaymentFault` / `playIgnoringCostFault`). RRG 1.8
|
|
139
|
+
* "Initiating Abilities" (p. 24, step 2): an ability whose cost cannot be paid is not initiated, and the card's
|
|
140
|
+
* resource cost is the cost of this play ("play Colossus from your hand (paying his resource cost)"), so a timing
|
|
141
|
+
* window does not offer the ability while this is non-null. An optional play ("you may play …") is never a fault.
|
|
142
|
+
*/
|
|
143
|
+
export declare function ownCardPlayFault(state: GameState, deps: EngineDeps, playerId: PlayerId, id: InstanceId, definition: AbilityDefinition, event: TriggerEvent | null): string | null;
|
|
144
|
+
/**
|
|
145
|
+
* The printed play restrictions the engine enforces beyond form, control and per-player/per-host maximums
|
|
146
|
+
* (docs/phase7-wave1.md §1.8, §3.10): "Max N per round", "Play only if your identity has the [trait] trait", "Play only if
|
|
147
|
+
* you control a [trait] character". Traits count whether printed or gained (RRG 1.8 "Gains"). Also the card's own
|
|
148
|
+
* scripted `playOnlyIf` conditions (docs/phase7-wave3.md §3.42), read from `instanceId` wherever it is.
|
|
149
|
+
*/
|
|
150
|
+
export declare function playRestrictionFault(state: GameState, deps: EngineDeps, playerId: PlayerId, card: AnyCard, instanceId: InstanceId): PriceFault | null;
|
|
151
|
+
/**
|
|
152
|
+
* One card's text changing what another card costs, kept separate from the total so a client can *name* the card
|
|
153
|
+
* doing it. A price that silently differs from the one printed on the card is a price the player cannot check:
|
|
154
|
+
* "Mockingbird costs 2" is only trustworthy next to "because Steve Rogers is out".
|
|
155
|
+
*/
|
|
156
|
+
export interface PlayCostContribution {
|
|
157
|
+
/** The card whose text moves the price: an in-play source, or the priced card itself for a hand-active constant. */
|
|
158
|
+
readonly sourceInstanceId: InstanceId;
|
|
159
|
+
/** Signed, and never 0 — a modifier that works out to nothing is not a contribution. */
|
|
160
|
+
readonly delta: number;
|
|
161
|
+
}
|
|
162
|
+
/** Every `CostModifierSpec` that applies to playing this card now, one entry per source (see `CostModifierSpec`). */
|
|
163
|
+
export declare function playCostContributions(state: GameState, deps: EngineDeps, playerId: PlayerId, cardInstanceId: InstanceId, attachTo: InstanceId | null): readonly PlayCostContribution[];
|
|
164
|
+
/**
|
|
165
|
+
* A card's resource cost for this play: `printed`, then every `CostModifierSpec` delta, then the lasting "next card"
|
|
166
|
+
* changes waiting on it (`costReductionFor`) and `extraReduction` (what the play itself takes off: its destination, the
|
|
167
|
+
* top-of-deck permission, the playing effect), never below 0 (RRG 1.8 "Modifiers", p. 29: "if a value is below zero, it
|
|
168
|
+
* is treated as zero").
|
|
169
|
+
*
|
|
170
|
+
* With a "to 0" waiting on it (`costSetToZeroFor`; docs/phase7-wave10-hero-packs.md H3.10) the cost is 0 after every
|
|
171
|
+
* reduction, and only what other cards add is paid: the positive deltas and the lasting increases. `EffectSpec
|
|
172
|
+
* reduceNextCardCost.toZero` records the open reading of RRG 1.8 "Modifiers" under which those would be 0 too.
|
|
173
|
+
*/
|
|
174
|
+
export declare function priceAfterReductions(state: GameState, deps: EngineDeps, playerId: PlayerId, cardInstanceId: InstanceId, printed: number, deltas: readonly number[], extraReduction?: number): number;
|
|
175
|
+
/**
|
|
176
|
+
* A Requirement the card's current cost has no room for: its required resources outnumber what the card costs now, so
|
|
177
|
+
* they cannot all be "spent while paying for that card's cost" (RRG 1.8 "Requirement (Resources)", p. 37). Resources
|
|
178
|
+
* paid beyond a cost "were not paid for that cost" (RRG 1.8 "Cost", p. 13), so overpaying cannot meet it. Engine reading,
|
|
179
|
+
* docs/phase7-wave2.md §4.12: the RRG settles only the extreme case ("cannot be played 'ignoring its resource cost'").
|
|
180
|
+
*/
|
|
181
|
+
export declare function requirementUnmeetable(state: GameState, playerId: PlayerId, cardInstanceId: InstanceId, deps: EngineDeps, attachTo: InstanceId | null, x?: number, extraReduction?: number): boolean;
|
|
182
|
+
/** The signed change to a card's cost from every `CostModifierSpec` that applies to playing it now (see there). */
|
|
183
|
+
export declare function playCostModifier(state: GameState, deps: EngineDeps, playerId: PlayerId, cardInstanceId: InstanceId, attachTo: InstanceId | null): number;
|
|
184
|
+
/** The additional cost on this character's own basic power, if it has one (`basicPowerCosts`). */
|
|
185
|
+
export declare function basicPowerCost(state: GameState, deps: EngineDeps, characterId: InstanceId, power: "attack" | "thwart"): AbilityCost | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* The lasting grants of "treat the next card you spend as if it has double the resources" (`RuleSpec
|
|
188
|
+
* doubleNextCardSpent`; community pack `yondu-dh`, Jackpot!) waiting for `playerId`'s next card, oldest first. The
|
|
189
|
+
* grant's "you" is the controller of the ability that made it (`LastingScope.controllerId`).
|
|
190
|
+
*/
|
|
191
|
+
export declare function doubleNextSpentGrants(state: GameState, playerId: PlayerId): readonly string[];
|
|
192
|
+
/**
|
|
193
|
+
* Which card of `payment` a waiting `doubleNextCardSpent` grant doubles: "the next card you spend" is the first card
|
|
194
|
+
* from hand (or spent as if from hand) that the grant's player spends, in payment order, and the factor is 2 for each
|
|
195
|
+
* grant waiting for that player (they all name that same next card; engine reading, no ruling). Cards of one payment
|
|
196
|
+
* are spent together (RRG 1.8 "Cost", p. 13), so the grant's own card never sees it: the grant is made by a response
|
|
197
|
+
* after the payment it was spent in. Null when no grant waits for any spender of the payment.
|
|
198
|
+
*
|
|
199
|
+
* Several spenders (another player's cards paying an alliance cost, a card tucked under another player's card): only
|
|
200
|
+
* the first spender in payment order with a waiting grant has a card doubled, and only their grants are used up. A
|
|
201
|
+
* second spender's own grant waits for a later payment, though their card in this one was, strictly, the next they
|
|
202
|
+
* spent (engine reading, no ruling; no printed card yet gives one player's grant while another pays). The pay step
|
|
203
|
+
* (`paymentFor`'s `doubledPool`, `doubledPaymentSource`) reads the same function, so it shows what the payment does.
|
|
204
|
+
*/
|
|
205
|
+
export declare function doubledSpentCard(state: GameState, deps: EngineDeps, playerId: PlayerId, payment: readonly Payment[]): {
|
|
206
|
+
readonly instanceId: InstanceId;
|
|
207
|
+
readonly spenderId: PlayerId;
|
|
208
|
+
readonly grants: readonly string[];
|
|
209
|
+
} | null;
|
|
210
|
+
/**
|
|
211
|
+
* What a waiting `doubleNextCardSpent` grant multiplies `id`'s resources by when it is the card doubled: 2 for each
|
|
212
|
+
* grant waiting for the player who would spend it (its hand's player, or the player a tucked card is spent for). 1 when
|
|
213
|
+
* none waits.
|
|
214
|
+
*/
|
|
215
|
+
export declare function spentCardDoublingFactor(state: GameState, deps: EngineDeps, playerId: PlayerId, id: InstanceId): number;
|
|
216
|
+
/** A hand card's pool with every waiting `doubleNextCardSpent` grant applied, when it is the card they double. */
|
|
217
|
+
export declare const withSpentDoubling: (pool: ResourcePool, id: InstanceId, doubled: {
|
|
218
|
+
readonly instanceId: InstanceId;
|
|
219
|
+
readonly grants: readonly string[];
|
|
220
|
+
} | null) => ResourcePool;
|
|
221
|
+
/**
|
|
222
|
+
* A hand card's resources, including "double … while paying for an [aspect] card" (The Power of X, read from this
|
|
223
|
+
* card) and "double … generated while paying for this card" (read from the card paid for, `paidForMultiplied`).
|
|
224
|
+
*/
|
|
225
|
+
export declare function handCardResources(state: GameState, deps: EngineDeps, cardInstanceId: InstanceId, playerId: PlayerId, payingFor: InstanceId | null): ResourcePool;
|
|
226
|
+
/**
|
|
227
|
+
* What one source's resources count as toward the card being paid for, once that card's own "Double the number of
|
|
228
|
+
* [wild] resources generated while paying for this card" (`resourceMultiplier.forThisCard`, Lightspeed Flight `nova`
|
|
229
|
+
* 28004) applies. Every source of one payment goes through it (a hand card, a resource ability), each on its own pool,
|
|
230
|
+
* so each source's generated resources (the `resourcesGenerated` log, the payment strip's per-source pools) already
|
|
231
|
+
* count the doubling. Read from the card's printed text wherever it is, like `paymentOnly`: an event is in hand while it
|
|
232
|
+
* is paid for.
|
|
233
|
+
*/
|
|
234
|
+
export declare function paidForMultiplied(state: GameState, deps: EngineDeps, payingFor: InstanceId | null, pool: ResourcePool,
|
|
235
|
+
/** The player generating the resources: "you" for a factor that is a value. */
|
|
236
|
+
playerId: PlayerId): ResourcePool;
|
|
237
|
+
/**
|
|
238
|
+
* What a resource ability generates. `topCardOfDiscard` depends on the discard
|
|
239
|
+
* pile as it stands when the ability is paid, so earlier cards in the same
|
|
240
|
+
* payment change it; callers asking before a payment is built (the payment
|
|
241
|
+
* query) can only be told what the current top card is worth.
|
|
242
|
+
*/
|
|
243
|
+
/**
|
|
244
|
+
* The slot naming the card a payment is for, for a resource ability's effects (`announceResourcesSpent`; docs/phase7-
|
|
245
|
+
* wave4.md §3.30) and for what it generates (`generatedResources`; box-heroes B7.2).
|
|
246
|
+
*/
|
|
247
|
+
export declare const PAID_FOR_SLOT = "paidFor";
|
|
248
|
+
export declare function generatedResources(state: GameState, generation: ResourceGeneration | undefined, discardTop: InstanceId | null,
|
|
249
|
+
/**
|
|
250
|
+
* The card generating and the player using it, for a generation that reads the table (§3.38 of wave 4), and the
|
|
251
|
+
* cards its own cost picked (`bindings`, by slot): "Exhaust an [Interface] upgrade you control → generate that
|
|
252
|
+
* upgrade's resources" reads the upgrade from the cost's slot (`resourceAbilityGenerates`).
|
|
253
|
+
*/
|
|
254
|
+
from?: {
|
|
255
|
+
readonly deps: EngineDeps;
|
|
256
|
+
readonly sourceId: InstanceId;
|
|
257
|
+
readonly playerId: PlayerId;
|
|
258
|
+
readonly bindings?: Bindings;
|
|
259
|
+
/**
|
|
260
|
+
* What the ability's own cost will have paid, as the text after the arrow reads it: `cost.removeThreat` for "a
|
|
261
|
+
* resource for each threat you removed this way" (`resourceCostVars`; docs/phase7-wave9.md §3.7 (b)).
|
|
262
|
+
*/
|
|
263
|
+
readonly vars?: Vars;
|
|
264
|
+
/**
|
|
265
|
+
* The card the resources are generated to pay for, bound to slot `paidFor` (`PAID_FOR_SLOT`) for a generation
|
|
266
|
+
* that reads it: "generate a [wild] resource ([wild][wild] resources instead if paying for a Hulkling card)"
|
|
267
|
+
* (Alien Physiology, `cw` 56036; docs/phase7-wave10-box-heroes.md B7.2). It is the card `generatesFor` is read
|
|
268
|
+
* against: the card being played, or the card whose ability's cost is being paid (FAQ "Finesse (#33)", RRG 1.8
|
|
269
|
+
* p. 60). Null or absent when the payment is for no card (a basic power's or a form change's additional cost):
|
|
270
|
+
* the slot is then unbound and names nothing.
|
|
271
|
+
*/
|
|
272
|
+
readonly payingFor?: InstanceId | null;
|
|
273
|
+
}): ResourcePool;
|
|
274
|
+
interface PriceFault {
|
|
275
|
+
readonly code: EngineErrorCode;
|
|
276
|
+
readonly message: string;
|
|
277
|
+
}
|
|
278
|
+
declare const isFault: (value: object) => value is PriceFault;
|
|
279
|
+
/**
|
|
280
|
+
* RRG 1.8 "Alliance" (p. 6): "When a player declares their intention to play a card with the alliance keyword, any
|
|
281
|
+
* player(s) may help pay the costs for that card", equivalent to "While paying costs for this card, any player may
|
|
282
|
+
* contribute to paying those costs." Read from the card whose costs are being paid (docs/phase7-wave4.md §3.17), so a
|
|
283
|
+
* gained alliance counts as a printed one. Only the paying player resolves the card; the contributors only pay.
|
|
284
|
+
*
|
|
285
|
+
* The same for a card in play a `RuleSpec costsPayableByAnyPlayer` names ("While paying costs on attached card, any
|
|
286
|
+
* player may help pay those costs"; docs/phase7-wave10-hero-packs.md H3.19), whose abilities' costs are the ones paid.
|
|
287
|
+
*/
|
|
288
|
+
export declare function paidAsGroup(state: GameState, deps: EngineDeps, ...cards: readonly (InstanceId | null)[]): boolean;
|
|
289
|
+
/**
|
|
290
|
+
* Whether another player may pay a whole part of the costs printed on `sourceId` in the user's place
|
|
291
|
+
* (`CostSelection.paidBy`, the `DelegableCostPart` list). Two rules open it:
|
|
292
|
+
*
|
|
293
|
+
* - `RuleSpec costsPayableByAnyPlayer` naming the card, in play ("While paying costs on attached card, any player may
|
|
294
|
+
* help pay those costs"; docs/phase7-wave10-hero-packs.md H3.19, owner answer 21B).
|
|
295
|
+
* - The alliance keyword on a card being played (RRG 1.8 "Alliance", p. 6: "When a player declares their intention to
|
|
296
|
+
* play a card with the alliance keyword, any player(s) may help pay the costs for that card"; the owner's answer
|
|
297
|
+
* 48B, 2026-10-13, docs/phase7-wave10.md §4.0: the costs, not only the resource cost). The keyword speaks of playing
|
|
298
|
+
* the card, so it is read while the card is out of play: its resource cost, its additional costs to play and, for
|
|
299
|
+
* an event, the cost of the ability the play triggers. The cost of an ability used from an alliance card already in
|
|
300
|
+
* play is not opened here (engine reading: no card in the pool prints one).
|
|
301
|
+
*
|
|
302
|
+
* What may be handed over is the same under both, and the wording of each cost still decides: a part that names the
|
|
303
|
+
* user's own card or identity stays with the user (`OWN_CARD_COST_PARTS`), and a part is paid whole by one player (the
|
|
304
|
+
* owner's answer 47A).
|
|
305
|
+
*/
|
|
306
|
+
export declare function costPartsPayableByAnyPlayer(state: GameState, deps: EngineDeps, sourceId: InstanceId): boolean;
|
|
307
|
+
/**
|
|
308
|
+
* The resource abilities on a player's cards that they could use right now, except that they generate only for
|
|
309
|
+
* another kind of card than `payingFor` ("generate a [wild] resource for an aspect card", Finesse 04033,
|
|
310
|
+
* `generatesFor`). `paymentOptions` leaves these out; the pay step lists them as unusable, with the reason (issue
|
|
311
|
+
* #292). An ability whose cost picks cards in play is not listed.
|
|
312
|
+
*/
|
|
313
|
+
export declare function resourcesNotFor(state: GameState, deps: EngineDeps, playerId: PlayerId, payingFor: InstanceId): readonly {
|
|
314
|
+
readonly instanceId: InstanceId;
|
|
315
|
+
readonly abilityId: AbilityId;
|
|
316
|
+
}[];
|
|
317
|
+
/**
|
|
318
|
+
* What one use of a resource ability generates, read with its own cost's picks bound by slot. The picks are read as
|
|
319
|
+
* the cost has them before it is paid, which is what paying leaves them as (an exhausted upgrade still prints the same
|
|
320
|
+
* resources), so pricing a payment and paying it agree.
|
|
321
|
+
*/
|
|
322
|
+
export declare function resourceAbilityGenerates(state: GameState, deps: EngineDeps, use: ResourceAbilityUse, spender: PlayerId, discardTop: InstanceId | null,
|
|
323
|
+
/** The card the payment is for (`generatedResources`' `payingFor`): what the generation reads as slot `paidFor`. */
|
|
324
|
+
payingFor: InstanceId | null): ResourcePool;
|
|
325
|
+
/**
|
|
326
|
+
* The option id of one use of a resource ability: "ability:<id>:<abilityId>", then ":<n>" for the n-th use of a
|
|
327
|
+
* `repeatable` one (docs/phase7-wave5.md §3.25), then "@" and, separated by ";", "<slot>=<id>,<id>" for the cards its
|
|
328
|
+
* cost picks, "#removeThreat=<n>" for the threat a chosen-amount threat cost removes (`CostSelection.removeThreat`;
|
|
329
|
+
* docs/phase7-wave9.md §3.7 (b)) and "#damageSelf=<n>" for the damage a chosen-amount damage cost takes
|
|
330
|
+
* (`CostSelection.damageSelf`; docs/phase7-wave10-hero-packs.md H3.14). Parsed back by `paymentsFromOptionIds`.
|
|
331
|
+
*/
|
|
332
|
+
export declare function resourceAbilityOptionId(use: ResourceAbilityUse, n?: number): string;
|
|
333
|
+
/**
|
|
334
|
+
* The option id of a hand card's spending: "hand:<id>", and for a spending that uses the card's own "When you spend
|
|
335
|
+
* this card" ability (`Payment.whenSpent`) "hand:<id>:<abilityId>" with the same "@<slot>=<id>,<id>" suffix for the
|
|
336
|
+
* cards its cost picks, and "#damageSelf=<n>" for the damage it takes, as `resourceAbilityOptionId`. Parsed back by
|
|
337
|
+
* `paymentsFromOptionIds`.
|
|
338
|
+
*/
|
|
339
|
+
export declare function spentCardOptionId(entry: Extract<Payment, {
|
|
340
|
+
fromHand: InstanceId;
|
|
341
|
+
}>): string;
|
|
342
|
+
/** The hand card a payment option spends ("hand:<id>…", plain or with its own ability), or null for any other. */
|
|
343
|
+
export declare function handCardOfOptionId(optionId: string): InstanceId | null;
|
|
344
|
+
/**
|
|
345
|
+
* A payment source that is another amount of a use already listed: a resource ability's use naming how much threat
|
|
346
|
+
* its cost removes (`paymentOptions` lists the most as the plain option). A list of everything a player could spend at
|
|
347
|
+
* once (`legal.ts spendOrder`, the upper bound of `costPayable`) leaves these out, since one use pays one amount.
|
|
348
|
+
*/
|
|
349
|
+
export declare const isAlternativeAmount: (payment: Payment) => boolean;
|
|
350
|
+
/**
|
|
351
|
+
* How much a hand card's "When you spend this card" use asks of the player beyond the card: the cards its cost picks
|
|
352
|
+
* and the damage its cost takes (`Payment.whenSpent`). A caller wanting the cheapest use that pays tries the smallest
|
|
353
|
+
* first (`mostFromEachHandCard`'s `atMostPicks`, `legal.ts walletsWithWhenSpent`).
|
|
354
|
+
*/
|
|
355
|
+
export declare const whenSpentCostSize: (payment: Payment) => number;
|
|
356
|
+
/**
|
|
357
|
+
* A payment source that is another way to spend a hand card already listed: the card with its own "When you spend this
|
|
358
|
+
* card" ability (`Payment.whenSpent`; `paymentOptions` lists the plain spending first). One card is spent once, so a
|
|
359
|
+
* list of everything a player could spend at once holds one entry per card: the plain one (leave these out), or the
|
|
360
|
+
* one that generates the most (`mostFromEachHandCard`).
|
|
361
|
+
*/
|
|
362
|
+
export declare const isWhenSpentUse: (payment: Payment) => boolean;
|
|
363
|
+
/**
|
|
364
|
+
* `payments` with each hand card spent once, the way that generates the most: its plain spending, or one use of its
|
|
365
|
+
* "When you spend this card" ability. Cards are taken in the order listed, and a use whose cost picks a card an
|
|
366
|
+
* earlier one already picked is passed over (one card pays one cost, RRG 1.8 "Cost", p. 13), so the result can be
|
|
367
|
+
* priced whole as far as these entries go. Entries that are not hand cards are returned as they are, in place.
|
|
368
|
+
* `atMostPicks`: only the uses whose cost picks that many cards or fewer, a point of damage a chosen damage cost takes
|
|
369
|
+
* counting as a card (`whenSpentCostSize`), for a caller that wants the cheapest use that pays (`legal.ts
|
|
370
|
+
* walletsWithWhenSpent`).
|
|
371
|
+
*/
|
|
372
|
+
export declare function mostFromEachHandCard(ctx: Ctx, playerId: PlayerId, payments: readonly Payment[], excludeInstanceId: InstanceId | null, payingFor: InstanceId | null, atMostPicks?: number): readonly Payment[];
|
|
373
|
+
/**
|
|
374
|
+
* RRG "Cost": resources come from cards discarded from hand and from "Resource"
|
|
375
|
+
* abilities. Overpaying is legal; the excess is simply lost. Every resource in
|
|
376
|
+
* one payment is generated simultaneously, so "the top card of your discard
|
|
377
|
+
* pile" is the pile as it stood before the payment — never a card this same
|
|
378
|
+
* payment is spending (FAQ "Pepper Potts (#33)", RRG 1.8 p. 58).
|
|
379
|
+
*/
|
|
380
|
+
/**
|
|
381
|
+
* "This card can be spent for any player" (`spendableForAnyPlayer`, docs/phase7-wave5.md §3.17), read in its owner's
|
|
382
|
+
* hand toward `forPlayerId`'s payment: its `while` with "you" the owner, its `forPlayer` ("another player whose identity
|
|
383
|
+
* has the Defender trait", The Defenders 64033) with "you" the player it is spent for.
|
|
384
|
+
*/
|
|
385
|
+
export declare function spendableForAnyPlayer(state: GameState, deps: EngineDeps, id: InstanceId, ownerId: PlayerId, forPlayerId: PlayerId): boolean;
|
|
386
|
+
/**
|
|
387
|
+
* The part of a payment's pool that can only be overpaid: what its `overpayOnly` resource abilities generate, counted
|
|
388
|
+
* as `priceOf` counts them. RRG 1.8 "Cost" (p. 13): overpaid resources "were not paid for that cost", so this part is
|
|
389
|
+
* left out of whatever judges the cost paid (`payingPool`) and is added to the `overpaid.*` vars (`pricePlay`).
|
|
390
|
+
*/
|
|
391
|
+
export declare function overpayOnlyPool(ctx: Ctx, playerId: PlayerId, payment: readonly Payment[], payingFor: InstanceId | null): ResourcePool;
|
|
392
|
+
/**
|
|
393
|
+
* Everything a payment generates, or why it is not a payment. The pool includes what its `overpayOnly` resource
|
|
394
|
+
* abilities generate, which may not go toward the cost: a caller that judges a cost paid subtracts `overpayOnlyPool`
|
|
395
|
+
* (`pricePlay`), or asks `priceOrNull`, which already has.
|
|
396
|
+
*/
|
|
397
|
+
export declare function priceOf(ctx: Ctx, playerId: PlayerId, payment: readonly Payment[], excludeInstanceId: InstanceId | null, payingFor: InstanceId | null): ResourcePool | PriceFault;
|
|
398
|
+
/**
|
|
399
|
+
* What these payment options (`paymentOptions`' ids) are worth together toward the card `payingFor`, or null if they
|
|
400
|
+
* are not a legal payment: the words on a payment sheet, read here rather than counted again in the client.
|
|
401
|
+
*/
|
|
402
|
+
export declare function paymentOptionsPool(state: GameState, deps: EngineDeps, playerId: PlayerId, optionIds: readonly string[], payingFor: InstanceId | null): ResourcePool | null;
|
|
403
|
+
/**
|
|
404
|
+
* The resource pool a payment is worth toward a cost, or null if it is not a legal payment at all. Every caller asks
|
|
405
|
+
* whether a payment can cover something, so what can only be overpaid (`overpayOnlyPool`) is left out: it covers
|
|
406
|
+
* nothing (RRG 1.8 "Cost", p. 13).
|
|
407
|
+
*/
|
|
408
|
+
export declare function priceOrNull(ctx: Ctx, playerId: PlayerId, payment: readonly Payment[], excludeInstanceId: InstanceId | null, payingFor?: InstanceId | null): ResourcePool | null;
|
|
409
|
+
/** Every resource a player could spend right now, as fully described choice options. */
|
|
410
|
+
export declare function paymentOptions(ctx: Ctx, playerId: PlayerId, excludeInstanceId: InstanceId | null,
|
|
411
|
+
/**
|
|
412
|
+
* The card this payment is for, when that is not the excluded card — what a "generate a resource for an Arrow
|
|
413
|
+
* event" ability (Expert Marksman, `generatesFor`) is checked against. Defaults to `excludeInstanceId`, which is
|
|
414
|
+
* the same card whenever a card is being played; with neither, such an ability is left out, because a resource
|
|
415
|
+
* that only pays for one kind of card pays for nothing in particular.
|
|
416
|
+
*/
|
|
417
|
+
payingFor?: InstanceId | null): readonly ChoiceOption[];
|
|
418
|
+
/**
|
|
419
|
+
* Option ids name payment entries: "hand:<id>", "hand:<id>:<abilityId>" for a card spent with its own "When you spend
|
|
420
|
+
* this card" ability (`spentCardOptionId`), "ability:<id>:<abilityId>", "ability:<id>:<abilityId>:<n>" for the
|
|
421
|
+
* n-th use of a `repeatable` resource ability (docs/phase7-wave5.md §3.25), which is the same entry again, and a
|
|
422
|
+
* "@<slot>=<id>,<id>;…" suffix for the cards a resource ability's own cost picks (`resourceAbilityOptionId`).
|
|
423
|
+
*/
|
|
424
|
+
export declare function paymentsFromOptionIds(optionIds: readonly string[]): readonly Payment[];
|
|
425
|
+
/** A resource ability a payment used, and who used it: its own effects resolve with the payment (§3.30 of wave 4). */
|
|
426
|
+
export interface UsedResourceAbility {
|
|
427
|
+
readonly instanceId: InstanceId;
|
|
428
|
+
readonly abilityId: AbilityId;
|
|
429
|
+
readonly spender: PlayerId;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* The threat cost of a resource ability a payment used (`AbilityCost.removeThreat`; docs/phase7-wave9.md §3.7 (b)):
|
|
433
|
+
* `amount` threat to come off `fromId`, the amount the payment was priced with (`resourceCostVars`).
|
|
434
|
+
*/
|
|
435
|
+
export interface ResourceThreatCost {
|
|
436
|
+
readonly instanceId: InstanceId;
|
|
437
|
+
readonly spender: PlayerId;
|
|
438
|
+
readonly fromId: InstanceId;
|
|
439
|
+
readonly amount: number;
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* The damage cost of a resource ability a payment used (`AbilityCost.damageSelf`; docs/phase7-wave10-hero-packs.md
|
|
443
|
+
* H3.14): `amount` damage `spender`'s identity takes from `instanceId`, the amount the payment was priced with
|
|
444
|
+
* (`resourceCostVars`).
|
|
445
|
+
*/
|
|
446
|
+
export interface ResourceDamageCost {
|
|
447
|
+
readonly instanceId: InstanceId;
|
|
448
|
+
readonly spender: PlayerId;
|
|
449
|
+
readonly amount: number;
|
|
450
|
+
}
|
|
451
|
+
/** Resources one player generated in a payment (docs/phase7-wave5.md §3.25). */
|
|
452
|
+
export interface GeneratedByPlayer {
|
|
453
|
+
readonly playerId: PlayerId;
|
|
454
|
+
readonly amount: number;
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* What a payment spent: hand cards discarded (in payment order) and resource abilities used, and how many resources
|
|
458
|
+
* each player generated doing it (in the order the players first appear in the payment). A `spentAsIfResource` use
|
|
459
|
+
* generates nothing (docs/phase7-wave5.md §4.1 Q5): a payment of only those has no `generated` entry.
|
|
460
|
+
*/
|
|
461
|
+
export interface SpentPayment {
|
|
462
|
+
readonly cards: readonly InstanceId[];
|
|
463
|
+
readonly resourceAbilities: readonly UsedResourceAbility[];
|
|
464
|
+
readonly generated: readonly GeneratedByPlayer[];
|
|
465
|
+
/**
|
|
466
|
+
* Who spent each card that its owner did not spend from their own hand, by instance id: a tucked card spent "as if
|
|
467
|
+
* it were in [the spender's] hand" (`RuleSpec spendableFromTucked`, docs/phase7-wave9.md §3.46 (c)). Absent for
|
|
468
|
+
* every other payment; a card not named here was spent by its owner (`cardsSpentEvents`).
|
|
469
|
+
*/
|
|
470
|
+
readonly cardSpenders?: Readonly<Record<string, PlayerId>>;
|
|
471
|
+
/**
|
|
472
|
+
* The `countersRemoved` (`paidAsCost`) a resource ability's counter cost made (Psionic Bond, wave 6 §3.85), held for
|
|
473
|
+
* `announceResourcesSpent` so they sit above the card or ability paid for, not below it.
|
|
474
|
+
*/
|
|
475
|
+
readonly countersRemoved?: readonly TriggerEvent[];
|
|
476
|
+
/**
|
|
477
|
+
* The threat costs of the resource abilities used ("remove up to 2 threat from … → generate a resource for each
|
|
478
|
+
* threat you removed this way"; docs/phase7-wave9.md §3.7 (b)), held for `announceResourcesSpent` like
|
|
479
|
+
* `countersRemoved`: the removal is an ordinary `removeThreat` event, which has to sit above the card or ability
|
|
480
|
+
* paid for so that it resolves first (RRG 1.8 "Initiating Abilities", p. 24, step 5 before step 6).
|
|
481
|
+
*/
|
|
482
|
+
readonly threatCosts?: readonly ResourceThreatCost[];
|
|
483
|
+
/**
|
|
484
|
+
* The damage costs of the resource abilities used ("When you spend this card, take up to 3 damage → this card
|
|
485
|
+
* generates 1 additional [energy] resource for each damage taken this way"; docs/phase7-wave10-hero-packs.md H3.14),
|
|
486
|
+
* held for `announceResourcesSpent` like `threatCosts`: the damage is an ordinary deal, which has to sit above the
|
|
487
|
+
* card or ability paid for so that it is taken first (RRG 1.8 "Initiating Abilities", p. 24, step 5 before step 6).
|
|
488
|
+
*/
|
|
489
|
+
readonly damageCosts?: readonly ResourceDamageCost[];
|
|
490
|
+
}
|
|
491
|
+
export declare const NOTHING_SPENT: SpentPayment;
|
|
492
|
+
/** Two payments' spending together (a basic power's extra cost). */
|
|
493
|
+
export declare const joinSpent: (a: SpentPayment, b: SpentPayment) => SpentPayment;
|
|
494
|
+
/**
|
|
495
|
+
* Spends a priced payment. Returns the cards it discarded from hand, in payment order — the cards that were *spent* —
|
|
496
|
+
* and the resource abilities it used, which the caller announces with `announceResourcesSpent` once the thing being
|
|
497
|
+
* paid for is on the stack.
|
|
498
|
+
*/
|
|
499
|
+
export declare function payPayment(ctx: Ctx, playerId: PlayerId, payment: readonly Payment[],
|
|
500
|
+
/** The card being paid for, so a hand card counts as `priceOf` counted it ("double … while paying for X"). */
|
|
501
|
+
payingFor?: InstanceId | null): SpentPayment;
|
|
502
|
+
/**
|
|
503
|
+
* "After you spend this card" / "When you spend this card" (docs/phase7-wave2.md §12): announces the cards one payment
|
|
504
|
+
* spent (`resourcesSpent`). Call it **after** pushing the card or ability the payment was for, so the event sits above
|
|
505
|
+
* it on the stack and its windows resolve first — between paying the costs and the card commencing being played (RRG
|
|
506
|
+
* 1.8 "Initiating Abilities", p. 24, steps 5–6; "Cost Arrow Icon", p. 14; ruling, Feb 28, 2026 (1)).
|
|
507
|
+
*
|
|
508
|
+
* The payment is one occurrence: its `resourcesSpent` events (the paying player's first) and its `resourcesGenerated`
|
|
509
|
+
* events (docs/phase7-wave5.md §3.25) share one response window (§4.1 Q25; RRG 1.8 "Triggering Condition", p. 45), so
|
|
510
|
+
* forced responses to any of them resolve before optional ones to any (RRG 1.8 "Simultaneous Timing Priority", p. 5).
|
|
511
|
+
* Each `resourcesSpent` keeps its own interrupt window.
|
|
512
|
+
*
|
|
513
|
+
* Pushed only when an ability could react, so a payment nothing cares about leaves the stack and the log as they were.
|
|
514
|
+
*/
|
|
515
|
+
export declare function announceResourcesSpent(ctx: Ctx, playerId: PlayerId, paid: SpentPayment, payingForInstanceId: InstanceId | null, purpose: "playCard" | "ability" | "effect"): void;
|
|
516
|
+
/**
|
|
517
|
+
* Cards a payment already uses: hand cards it discards, cards whose resource ability it uses, and the cards those
|
|
518
|
+
* abilities' own costs name as picks. A hand card can't also be picked for a "discard N cards" cost, and an in-play card
|
|
519
|
+
* can't also pay an `InPlayCostPick` (RRG 1.8 "Cost", p. 13).
|
|
520
|
+
*/
|
|
521
|
+
export declare const handCardsIn: (payment: readonly Payment[]) => ReadonlySet<InstanceId>;
|
|
522
|
+
/** A cost, checked and resolved into what paying it will bind — nothing is paid yet. */
|
|
523
|
+
export interface CostPlan {
|
|
524
|
+
/** Resources the payment must cover for this cost (card cost excluded). */
|
|
525
|
+
readonly requirement: ResolvedRequirement;
|
|
526
|
+
readonly bindings: Bindings;
|
|
527
|
+
readonly vars: Vars;
|
|
528
|
+
/** The card resources are being spent on, for "while paying for an [aspect] card". */
|
|
529
|
+
readonly payingFor: InstanceId | null;
|
|
530
|
+
/**
|
|
531
|
+
* The cost actually being paid, once the player's decisions are applied (`selectCost`): an either/or cost reduced to
|
|
532
|
+
* its chosen branch, an "up to N" counter cost to its chosen count. `payCost` and the resource vars read this, so a
|
|
533
|
+
* plan is paid exactly as it was checked. Absent: the cost as written.
|
|
534
|
+
*/
|
|
535
|
+
readonly cost?: AbilityCost;
|
|
536
|
+
/**
|
|
537
|
+
* The parts another player pays in the user's place (`CostSelection.paidBy`, checked by `costPartPayers`): only
|
|
538
|
+
* parts the cost holds, each with a player other than the user. Absent: the user pays every part.
|
|
539
|
+
*/
|
|
540
|
+
readonly paidBy?: CostPartPayers;
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* The cost `playerId` would pay for `sourceId`'s ability right now, once the board has picked any `conditional`
|
|
544
|
+
* branch (§3.49). What `legalActions` and a client read to know which picks the cost asks for ("choose and discard 1
|
|
545
|
+
* card from your hand" or not). Player decisions (`either`, "up to N") are left as written.
|
|
546
|
+
*/
|
|
547
|
+
export declare function costAsDetermined(state: GameState, deps: EngineDeps, sourceId: InstanceId, playerId: PlayerId, cost: AbilityCost | undefined): AbilityCost | undefined;
|
|
548
|
+
/**
|
|
549
|
+
* Applies the decisions a cost leaves to the player (docs/phase7-wave3.md §3.32, §3.36), giving the concrete cost to
|
|
550
|
+
* check and pay:
|
|
551
|
+
*
|
|
552
|
+
* - `either`: exactly one branch is paid, with the rest of the cost. `selection.branch` names it; with none, the first
|
|
553
|
+
* branch whose non-resource components can be paid now is taken (the only branch a timing window can take: it asks
|
|
554
|
+
* for no branch). A branch index out of range is refused. RRG 1.8 "Choose (Option)" (p. 12): a player "cannot
|
|
555
|
+
* choose an option that cannot be at least partially resolved", including one with "a cost the player cannot pay".
|
|
556
|
+
* - `spendCounters.all`: every counter of the type the holder has, at least one; no choice.
|
|
557
|
+
* - `spendCounters.upTo`: `selection.counters` counters, from 1 (RRG 1.8 "Cost", p. 14: "up to" some number "requires
|
|
558
|
+
* a minimum of one") to the printed maximum and what the card holds; with none, as many as it can. A timing window
|
|
559
|
+
* asks for it first (`chooseCostCounters`, docs/phase7-wave6.md §3.53) and passes the answer here.
|
|
560
|
+
*
|
|
561
|
+
* Before either of those, a `conditional` component becomes the branch the board picks (`costAsDetermined`, §3.49).
|
|
562
|
+
*
|
|
563
|
+
* `vars` records the decisions for the log and the effects: `cost.condition`, `cost.branch`, and the counter cost's
|
|
564
|
+
* own `bind`.
|
|
565
|
+
*/
|
|
566
|
+
export declare function selectCost(state: GameState, deps: EngineDeps, sourceId: InstanceId, playerId: PlayerId, written: AbilityCost, selection: CostSelection, choices?: CostChoices, reserved?: ReadonlySet<InstanceId>,
|
|
567
|
+
/** The event a triggered ability answers, as `planCost` takes it; a branch's computed X is read against it. */
|
|
568
|
+
event?: TriggerEvent | null): {
|
|
569
|
+
readonly cost: AbilityCost;
|
|
570
|
+
readonly vars: Record<string, number>;
|
|
571
|
+
} | PriceFault;
|
|
572
|
+
/**
|
|
573
|
+
* The count an "up to N" counter cost (`spendCounters.upTo`) leaves to the player right now: its counter type and the
|
|
574
|
+
* most that can be removed (the printed N or what the card holds, whichever is lower), on the cost the board picks
|
|
575
|
+
* (`conditional`) and, for an either/or cost, the branch the default selection takes (the first payable one, the
|
|
576
|
+
* only branch a timing window can pick). Null when the cost has no such component or cannot be paid. A timing window
|
|
577
|
+
* asks for the count from 1 to `max` (docs/phase7-wave6.md §3.53; RRG 1.8 "Cost", p. 14: "up to" needs at least one).
|
|
578
|
+
*/
|
|
579
|
+
export declare function upToCounterChoice(state: GameState, deps: EngineDeps, sourceId: InstanceId, playerId: PlayerId, written: AbilityCost | undefined, choices?: CostChoices): {
|
|
580
|
+
readonly counterType: string;
|
|
581
|
+
readonly max: number;
|
|
582
|
+
} | null;
|
|
583
|
+
/**
|
|
584
|
+
* The resources an ability's cost asks for: its fixed `resources` plus "spend X resources of any type, where X is …"
|
|
585
|
+
* (`resourcesEqualTo`), X read now, as the cost is determined. `computed` is that X when the cost has one. `planCost`
|
|
586
|
+
* and a window's estimate of an in-hand event's cost (`windowEventCost`) both read it.
|
|
587
|
+
*
|
|
588
|
+
* `event` is the event a triggered ability answers (an interrupt or response, forced or not, in play or played from
|
|
589
|
+
* hand), so "spend 1 resource for each damage dealt by that attack →" reads that attack's result; null for an action,
|
|
590
|
+
* which answers nothing. RRG 1.8 "Initiating Abilities" (p. 24): the cost is determined (step 3) once the ability's
|
|
591
|
+
* triggering condition has been met, so the event is there to read.
|
|
592
|
+
*/
|
|
593
|
+
export declare function costResourceRequirement(state: GameState, deps: EngineDeps, sourceId: InstanceId, playerId: PlayerId, cost: AbilityCost | undefined, event?: TriggerEvent | null): {
|
|
594
|
+
readonly requirement: ResolvedRequirement;
|
|
595
|
+
readonly computed?: number;
|
|
596
|
+
};
|
|
597
|
+
export declare function planCost(state: GameState, deps: EngineDeps, sourceId: InstanceId, playerId: PlayerId, cost: AbilityCost | undefined, choices: CostChoices, reserved: ReadonlySet<InstanceId>, selection?: CostSelection,
|
|
598
|
+
/** The event a triggered ability answers, for a computed X that reads it (`costResourceRequirement`). */
|
|
599
|
+
event?: TriggerEvent | null): CostPlan | PriceFault;
|
|
600
|
+
/**
|
|
601
|
+
* The card a counter cost (`AbilityCost.spendCounters`) removes its counters from: the ability's own card (no
|
|
602
|
+
* `target`, or `"self"`), the paying player's identity (`"identity"`), or the one card in play a `TargetRef` names,
|
|
603
|
+
* read with the payer as `you` and the ability's card as `self` ("Remove 1 power counter from Phoenix Force →",
|
|
604
|
+
* docs/phase7-wave6.md §3.85). A ref naming no card in play, or several, is a fault: the cost cannot be paid in full
|
|
605
|
+
* (RRG 1.8 "Cost", p. 13), and which of several cards to pay from is not a choice the cost offers.
|
|
606
|
+
*/
|
|
607
|
+
export declare function counterCostHolder(state: GameState, deps: EngineDeps, sourceId: InstanceId, playerId: PlayerId, target: NonNullable<AbilityCost["spendCounters"]>["target"]): InstanceId | PriceFault;
|
|
608
|
+
/**
|
|
609
|
+
* The cards in play that could pay an `InPlayCostPick`, in play-area order: controlled by the paying player, matching
|
|
610
|
+
* the query, and still able to pay (ready to exhaust, or able to leave play to return).
|
|
611
|
+
*/
|
|
612
|
+
export declare function inPlayCostCandidates(state: GameState, deps: EngineDeps, sourceId: InstanceId, playerId: PlayerId, mode: InPlayCostMode, pick: InPlayCostPick): readonly InstanceId[];
|
|
613
|
+
/**
|
|
614
|
+
* Default picks for costs paid with cards in play (`InPlayCostPick`), so an ability whose choice isn't forced can still
|
|
615
|
+
* be judged payable: the first `min` candidates of each pick in play-area order, the smallest payment, with a card
|
|
616
|
+
* taken by an earlier pick kept out of later ones ("an [Avenger] character and a [Guardian] character" needs two). A
|
|
617
|
+
* pick with too few candidates is left out, so `planCost` reports why the cost can't be paid. The player's own picks
|
|
618
|
+
* replace these (`legalActions`' example commands; a window's trigger candidates).
|
|
619
|
+
*/
|
|
620
|
+
export declare function defaultInPlayPicks(state: GameState, deps: EngineDeps, sourceId: InstanceId, playerId: PlayerId, cost: AbilityCost | undefined): CostChoices;
|
|
621
|
+
/**
|
|
622
|
+
* The `paid.*` and `overpaid.*` vars of a payment. "Spend X [type] resources": binds X from the pool beyond the cost's
|
|
623
|
+
* fixed requirement. A chosen-size cost (`ResourcesChoice`) is checked and recorded here (`chosenResourceCount`), with
|
|
624
|
+
* `chosenResources` the size the command named, if it named one.
|
|
625
|
+
*/
|
|
626
|
+
export declare function resourceVars(pool: ResourcePool, cost: AbilityCost | undefined, requirement: ResolvedRequirement, chosenResources?: number): Vars | PriceFault;
|
|
627
|
+
/**
|
|
628
|
+
* Pays the non-resource components of a planned cost. Damage taken as a cost
|
|
629
|
+
* is pushed as damage events, so callers push the ability's own frame first:
|
|
630
|
+
* the cost damage then resolves before the ability's effects.
|
|
631
|
+
*/
|
|
632
|
+
export declare function payCost(ctx: Ctx, sourceId: InstanceId, playerId: PlayerId, written: AbilityCost | undefined, plan: CostPlan,
|
|
633
|
+
/**
|
|
634
|
+
* Where a counter cost's `countersRemoved` (or `countersPlaced`, §3.53) announcement goes instead of the stack: a
|
|
635
|
+
* resource ability paid before the frame it pays for is pushed (`payPayment`), announced later by
|
|
636
|
+
* `announceResourcesSpent`.
|
|
637
|
+
*/
|
|
638
|
+
collectCounterEvents?: TriggerEvent[],
|
|
639
|
+
/**
|
|
640
|
+
* Where a `removeThreat` cost's steps go instead of the stack, for the same reason: a resource ability's threat
|
|
641
|
+
* cost (`SpentPayment.threatCosts`), pushed by `announceResourcesSpent` above the card or ability paid for.
|
|
642
|
+
*/
|
|
643
|
+
collectThreatCosts?: ResourceThreatCost[],
|
|
644
|
+
/**
|
|
645
|
+
* Where a `damageSelf` cost goes instead of the stack, for the same reason: a resource ability's damage cost
|
|
646
|
+
* (`SpentPayment.damageCosts`), pushed by `announceResourcesSpent` above the card or ability paid for. A chosen
|
|
647
|
+
* amount is the plan's one number (`resourceCostPlan`).
|
|
648
|
+
*/
|
|
649
|
+
collectDamageCosts?: ResourceDamageCost[]): void;
|
|
650
|
+
/** The action ability an event resolves when played from hand, if it has one. */
|
|
651
|
+
/**
|
|
652
|
+
* Whether an action's pre-cost condition is false right now, so the action cannot be initiated at all (docs/phase7-
|
|
653
|
+
* wave2.md §16): "Hero Action: If you are in Tiny hero form, exhaust Army of Ants → …" (`trigger.while`).
|
|
654
|
+
*
|
|
655
|
+
* RRG 1.8 "Play Restrictions and Permissions" (p. 33): cards contain "specific conditions that must be true in order to
|
|
656
|
+
* use them", and "In order to use an ability or play a card, all of its play restrictions must be observed". "Initiating
|
|
657
|
+
* Abilities" (p. 24) checks them at step 2, before the cost is determined (step 3) or paid (step 5), so a false
|
|
658
|
+
* condition refuses the action with nothing spent. One check for every way an action is initiated: `useAbility` on a
|
|
659
|
+
* card in play, and every path that plays an event whose ability is the action (`playCard`, `playFromHand` paying or
|
|
660
|
+
* ignoring the cost). "You" is the player initiating it; "this card" is the card the action is on (for an event, the
|
|
661
|
+
* card in hand).
|
|
662
|
+
*/
|
|
663
|
+
export declare function actionConditionUnmet(state: GameState, deps: EngineDeps, definition: AbilityDefinition | undefined, sourceId: InstanceId, playerId: PlayerId): boolean;
|
|
664
|
+
/** One of an event's printed Action abilities: playing the event triggers exactly one of them. */
|
|
665
|
+
export interface EventAction {
|
|
666
|
+
readonly abilityId: AbilityId;
|
|
667
|
+
readonly definition: AbilityDefinition;
|
|
668
|
+
}
|
|
669
|
+
/** Every Action ability printed on an event, in printed order; empty for any other card. */
|
|
670
|
+
export declare function eventActions(ctx: Ctx, card: AnyCard): readonly EventAction[];
|
|
671
|
+
/** Whether playing this card is an Action (an event with at least one Action ability). */
|
|
672
|
+
export declare const isActionEvent: (ctx: Ctx, card: AnyCard) => boolean;
|
|
673
|
+
/**
|
|
674
|
+
* The Action abilities of an event that `playerId` could trigger by playing it now, costs aside (`eventActionFault`).
|
|
675
|
+
*
|
|
676
|
+
* RRG 1.8 "Event" (p. 18): "If an event has more than one triggered ability on it, the player playing it chooses one
|
|
677
|
+
* of those abilities to trigger when playing that event." So an event is playable when at least one of its abilities
|
|
678
|
+
* is, and only the chosen one is paid for and resolves. With one usable ability there is nothing to choose.
|
|
679
|
+
*/
|
|
680
|
+
export declare function usableEventActions(ctx: Ctx, card: AnyCard, id: InstanceId, playerId: PlayerId): readonly EventAction[];
|
|
681
|
+
/**
|
|
682
|
+
* The Action ability whose reason explains why an event none of whose abilities can be triggered cannot be played:
|
|
683
|
+
* the first one in the identity's current form (`reportedFault`), else the first printed.
|
|
684
|
+
*/
|
|
685
|
+
export declare function eventActionToExplain(ctx: Ctx, card: AnyCard, id: InstanceId, playerId: PlayerId): EventAction | undefined;
|
|
686
|
+
/**
|
|
687
|
+
* The Action ability a play of this event triggers (RRG 1.8 "Event", p. 18): the one the player named, else the only
|
|
688
|
+
* one usable now. Undefined for a card with no Action ability. A fault when the named one, or every one, cannot be
|
|
689
|
+
* triggered, and when several could be and none is named: the choice is the player's and is never made for them.
|
|
690
|
+
*
|
|
691
|
+
* The choice is made here, before the cost is determined: RRG 1.8 "Initiating Abilities" (p. 24) checks the play
|
|
692
|
+
* restrictions of what is being initiated at step 2 and determines its cost at step 3, and each ability has its own
|
|
693
|
+
* restrictions and its own cost, so which ability is being triggered is part of declaring the play.
|
|
694
|
+
*/
|
|
695
|
+
export declare function eventActionToPlay(ctx: Ctx, card: AnyCard, id: InstanceId, playerId: PlayerId, named?: AbilityId): EventAction | PriceFault | undefined;
|
|
696
|
+
/**
|
|
697
|
+
* The event action a listing or a payment query is about (`legalActions`, `paymentFor`): the named one, else the first
|
|
698
|
+
* usable one, else the first printed. `named` says whether the command must carry its id, which is whenever the event
|
|
699
|
+
* prints more than one Action ability, so a single-ability event's command stays as it always was.
|
|
700
|
+
*/
|
|
701
|
+
export declare function eventActionForQuery(ctx: Ctx, card: AnyCard, id: InstanceId, playerId: PlayerId, abilityId?: AbilityId): {
|
|
702
|
+
readonly action: EventAction | undefined;
|
|
703
|
+
readonly named: boolean;
|
|
704
|
+
};
|
|
705
|
+
/**
|
|
706
|
+
* A card's "As an additional cost to play this [card], …" (`additionalCostToPlay` on a printed constant; box-heroes
|
|
707
|
+
* B3.1): the cost, the slot of it the played upgrade attaches to, and the effects that resolve as the card enters
|
|
708
|
+
* play. Read from the card's printed text wherever it is played from, like `paymentOnly`. Null for every other card.
|
|
709
|
+
*
|
|
710
|
+
* The cost is the one written: a `conditional` component ("if you do not have the Eternal trait, confuse your
|
|
711
|
+
* identity") is still undecided here, since it depends on who plays the card. `playCostWith` decides it.
|
|
712
|
+
*/
|
|
713
|
+
export declare function additionalPlayCostOf(state: GameState, deps: EngineDeps, id: InstanceId): {
|
|
714
|
+
readonly abilityId: AbilityId;
|
|
715
|
+
readonly cost: AbilityCost;
|
|
716
|
+
readonly attachToSlot?: string;
|
|
717
|
+
readonly effects: readonly EffectSpec[];
|
|
718
|
+
} | null;
|
|
719
|
+
/**
|
|
720
|
+
* The non-resource cost of `playerId` playing a card: its additional cost to play (`additionalPlayCostOf`) with the
|
|
721
|
+
* cost of the Action ability the play triggers, when it is an event with one. RRG 1.8 "Cost" (p. 14): an additional
|
|
722
|
+
* cost is paid "simultaneously with the cost that is being added to", so both are planned and paid as one cost. A
|
|
723
|
+
* component both name is the Action's. For every card with no additional cost this is `abilityCost` itself.
|
|
724
|
+
*
|
|
725
|
+
* A `conditional` component of the additional cost ("As an additional cost to play this card, if you do not have the
|
|
726
|
+
* Eternal trait, confuse your identity", `hercules` 59025) is decided here, before the two costs are merged: the board
|
|
727
|
+
* picks its branch with `playerId` as "you" and the card being played as `self` (`costAsDetermined`; RRG 1.8
|
|
728
|
+
* "Initiating Abilities", p. 24, step 3, the cost is determined before it is paid), so the Action's own `conditional`,
|
|
729
|
+
* if it has one, is still the only one left for the plan to decide. Every reader of a play's cost comes through here
|
|
730
|
+
* (the play command, `legalActions`, the payment preview, a play an effect makes), each reading the same board, so the
|
|
731
|
+
* play is priced, offered and paid on the same branch. Only the picked branch is ever checked (`AbilityCost.
|
|
732
|
+
* conditional`, "No fallback"): one that cannot be paid means the card cannot be played (p. 14, above), with that
|
|
733
|
+
* component's own reason. The pick is not recorded as `cost.condition`, which stays the Action's.
|
|
734
|
+
*/
|
|
735
|
+
export declare function playCostWith(state: GameState, deps: EngineDeps, id: InstanceId, playerId: PlayerId, abilityCost: AbilityCost | undefined): AbilityCost | undefined;
|
|
736
|
+
/**
|
|
737
|
+
* The card a played upgrade attaches to when its additional cost to play names it (`additionalCostToPlay.attachToSlot`;
|
|
738
|
+
* "Attach Hunted to that minion"): the card the planned cost bound to that slot. `undefined` for every other card,
|
|
739
|
+
* whose host is the play's own.
|
|
740
|
+
*/
|
|
741
|
+
export declare function playHostFromCost(state: GameState, deps: EngineDeps, id: InstanceId, bindings: Bindings): InstanceId | null | undefined;
|
|
742
|
+
/**
|
|
743
|
+
* What playing a card demands: its printed cost less any "reduce the cost of
|
|
744
|
+
* the next card" effect, plus its own ability's cost.
|
|
745
|
+
*/
|
|
746
|
+
export declare function playRequirement(state: GameState, playerId: PlayerId, cardInstanceId: InstanceId, abilityRequirement: ResolvedRequirement, deps?: EngineDeps, attachTo?: InstanceId | null, x?: number,
|
|
747
|
+
/** "…, reducing its resource cost by 1" (Team-Building Exercise; docs/phase7-wave2.md §9). */
|
|
748
|
+
extraReduction?: number): ResolvedRequirement;
|
|
749
|
+
/**
|
|
750
|
+
* What a card in hand costs *right now*, beside what is printed on it, and which cards moved the price.
|
|
751
|
+
*
|
|
752
|
+
* `playRequirement` already computes this, but folds it into a `ResourceRequirement` alongside the card's own
|
|
753
|
+
* ability cost ("Spend 1 [energy] →"), which is a different question from "does this card cost what it says".
|
|
754
|
+
* A client showing a card face has to answer that second question on its own: the scan prints 3, the engine
|
|
755
|
+
* charges 2, and nothing on the table explains the gap unless the price carries its reasons with it.
|
|
756
|
+
*
|
|
757
|
+
* Read-only. `contributions` lists constant `costModifier`s by source card; `reduction` is the "reduce the cost
|
|
758
|
+
* of the next card you play" total waiting on this card (`costReductionFor`), which carries no source card of
|
|
759
|
+
* its own. Both are already applied to `current`.
|
|
760
|
+
*/
|
|
761
|
+
export interface PlayCost {
|
|
762
|
+
readonly printed: number;
|
|
763
|
+
/** Never below 0, and floored the same way `playRequirement` floors it: after modifiers, then after reductions. */
|
|
764
|
+
readonly current: number;
|
|
765
|
+
readonly contributions: readonly PlayCostContribution[];
|
|
766
|
+
/** The pending "next card" reduction this card consumes, as a positive number. */
|
|
767
|
+
readonly reduction: number;
|
|
768
|
+
}
|
|
769
|
+
/** Prices playing `cardInstanceId` as it stands. Null for a card with no printed cost (a resource card). */
|
|
770
|
+
export declare function playCostOf(state: GameState, playerId: PlayerId, cardInstanceId: InstanceId, deps?: EngineDeps, attachTo?: InstanceId | null,
|
|
771
|
+
/**
|
|
772
|
+
* The in-play scenario area the play would go to (`LegalAction.destinations`): the price there, with any reduction
|
|
773
|
+
* that reads the destination ("the next ally played to the mission", docs/phase7-wave8.md §3.35). Null or absent:
|
|
774
|
+
* the play to the player's own area.
|
|
775
|
+
*/
|
|
776
|
+
into?: string | null): PlayCost | null;
|
|
777
|
+
export interface PricedPlay {
|
|
778
|
+
readonly pool: ResourcePool;
|
|
779
|
+
readonly plan: CostPlan;
|
|
780
|
+
readonly vars: Vars;
|
|
781
|
+
/** Present only when the payment is read for resource types (`settlePaidTypes`; docs/phase7-wave8.md §3.62). */
|
|
782
|
+
readonly types?: PaidTypesSettled;
|
|
783
|
+
/** The cards that paid (`cardsThatPaid`; docs/phase7-wave9.md §3.46 (b)); absent when no card did. */
|
|
784
|
+
readonly paidCards?: readonly InstanceId[];
|
|
785
|
+
/** The cards in play whose resource ability paid (`cardsInPlayThatPaid`, `PAID_IN_PLAY_CARDS_SLOT`); absent if none. */
|
|
786
|
+
readonly paidInPlayCards?: readonly InstanceId[];
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* How a payment that is read for resource types stands once priced (docs/phase7-wave8.md §3.62). `paidCount`: the
|
|
790
|
+
* resources the cost took. Then either the wilds are declared (`declared`, with the paid resources by type in
|
|
791
|
+
* `paidAs`, already in the play's vars as `paid.as.<type>`), or they are the player's to declare (`undeclared`), which
|
|
792
|
+
* the play frame asks before the card does anything.
|
|
793
|
+
*/
|
|
794
|
+
export interface PaidTypesSettled {
|
|
795
|
+
readonly paidCount: number;
|
|
796
|
+
readonly declared?: {
|
|
797
|
+
readonly types: readonly ResourceType[];
|
|
798
|
+
/** The player was not asked: every legal declaration read the same (`wildTypesDeclared.skipped`). */
|
|
799
|
+
readonly skipped: boolean;
|
|
800
|
+
readonly paidAs: ResourcePool;
|
|
801
|
+
};
|
|
802
|
+
readonly undeclared?: UndeclaredWilds;
|
|
803
|
+
}
|
|
804
|
+
/** What a play command or a play inside a window or an effect says about the types of its payment (`pricePlay`). */
|
|
805
|
+
export interface PaidTypesInput {
|
|
806
|
+
/** The ability of the card the play triggers, whose `readsPaidTypes` is read; absent, every ability printed on it. */
|
|
807
|
+
readonly abilityId?: AbilityId | null;
|
|
808
|
+
/** The player's declaration of the payment's wilds, when the command carries it (`playCard.wildAs`). */
|
|
809
|
+
readonly wildAs?: readonly ResourceType[] | undefined;
|
|
810
|
+
}
|
|
811
|
+
/**
|
|
812
|
+
* Everything that reads the resource types of `playerId`'s payment for `cardInstanceId` (docs/phase7-wave8.md §3.62):
|
|
813
|
+
* the ability the play triggers when it is marked `readsPaidTypes` (every printed ability of a card that names none),
|
|
814
|
+
* and each `readsPaymentTypesOf` rule in force whose speaker is the paying player and whose `cards` match the card
|
|
815
|
+
* ("After you play a THWART event …", Jubilee's Coat). Empty for every other payment, which then asks nothing and
|
|
816
|
+
* records no types.
|
|
817
|
+
*/
|
|
818
|
+
export declare function paidTypeReads(state: GameState, deps: EngineDeps, playerId: PlayerId, cardInstanceId: InstanceId, abilityId?: AbilityId | null | undefined): readonly PaidTypesRead[];
|
|
819
|
+
/**
|
|
820
|
+
* Settles the declared types of an ability's own payment (docs/phase7-wave8.md §3.62): a `useAbility` command, or an
|
|
821
|
+
* interrupt or response paid for inside a window. The reader is the ability itself when it is marked `readsPaidTypes`
|
|
822
|
+
* ("spend up to 3 resources → if you spent at least 1 [energy] …"). A `readsPaymentTypesOf` rule is about a card
|
|
823
|
+
* being played, so it reads no ability's payment. An unmarked ability records nothing and asks nothing, which is every
|
|
824
|
+
* ability payment that existed before this section; `wildAs` must still be legal when given (`settlePaidTypes`).
|
|
825
|
+
*/
|
|
826
|
+
export declare function settleAbilityPaidTypes(ctx: Ctx, definition: AbilityDefinition, payingFor: InstanceId, pool: ResourcePool, vars: Vars, requirement: ResolvedRequirement, cost: AbilityCost | undefined, wildAs?: readonly ResourceType[]): {
|
|
827
|
+
readonly vars: Vars;
|
|
828
|
+
readonly types?: PaidTypesSettled;
|
|
829
|
+
} | PriceFault;
|
|
830
|
+
/**
|
|
831
|
+
* Logs the wilds of an ability's payment as declared on the command, or left as they are because no declaration could
|
|
832
|
+
* change a reading (`commitPlay` does the same for a play). A payment with no wild declares nothing; one the player is
|
|
833
|
+
* asked about is logged when they answer (`resolve/declare-wilds.ts`).
|
|
834
|
+
*/
|
|
835
|
+
export declare function logAbilityWildTypes(ctx: Ctx, playerId: PlayerId, instanceId: InstanceId, abilityId: AbilityId, types: PaidTypesSettled | undefined): void;
|
|
836
|
+
/**
|
|
837
|
+
* What a play frame is pushed with for a priced play: its cost's bindings and vars, the cards that paid for it as slot
|
|
838
|
+
* `paid.cards` (`PAID_CARDS_SLOT`; docs/phase7-wave9.md §3.46 (b)), and any wilds still to declare.
|
|
839
|
+
*/
|
|
840
|
+
export declare const playFrameCost: (priced: PricedPlay, bindings?: Bindings) => {
|
|
841
|
+
bindings: {
|
|
842
|
+
"paid.cards"?: readonly InstanceId[];
|
|
843
|
+
"paid.inPlayCards"?: readonly InstanceId[];
|
|
844
|
+
};
|
|
845
|
+
vars: Readonly<Record<string, number>>;
|
|
846
|
+
undeclaredWilds?: UndeclaredWilds;
|
|
847
|
+
};
|
|
848
|
+
/**
|
|
849
|
+
* The least X a player may name when playing this card (`AbilityDefinition.minX`), for a card with a printed X cost
|
|
850
|
+
* (`specialCost: "X"`); 0 for every other card. Read from `abilityId`, the ability the play triggers, when it is
|
|
851
|
+
* known; otherwise from every ability printed on the card, the largest. A client's X picker starts here.
|
|
852
|
+
*/
|
|
853
|
+
export declare function minimumChosenX(state: GameState, deps: EngineDeps, cardInstanceId: InstanceId, abilityId?: AbilityId | null): number;
|
|
854
|
+
/**
|
|
855
|
+
* Prices playing a card: its printed cost (less any "reduce the cost of the
|
|
856
|
+
* next card" effects) plus its ability's cost, paid from `payment`.
|
|
857
|
+
*/
|
|
858
|
+
export declare function pricePlay(ctx: Ctx, playerId: PlayerId, cardInstanceId: InstanceId, cost: AbilityCost | undefined, payment: readonly Payment[], choices: CostChoices, attachTo?: InstanceId | null, x?: number,
|
|
859
|
+
/** "…, reducing its resource cost by 1" (docs/phase7-wave2.md §9): a reduction the playing effect carries. */
|
|
860
|
+
extraReduction?: number,
|
|
861
|
+
/** The event's action cost decisions (`CostSelection`; docs/phase7-wave3.md §3.32, §3.36). */
|
|
862
|
+
selection?: CostSelection,
|
|
863
|
+
/** The event an interrupt or response played inside a timing window answers (`planCost`). */
|
|
864
|
+
event?: TriggerEvent | null,
|
|
865
|
+
/** The ability the play triggers and the declared types of its wilds (`settlePaidTypes`; docs/phase7-wave8.md §3.62). */
|
|
866
|
+
paidTypes?: PaidTypesInput): PricedPlay | PriceFault;
|
|
867
|
+
/**
|
|
868
|
+
* Pays for a priced play and records it; the caller pushes the play frame, then passes the returned spent cards to
|
|
869
|
+
* `announceResourcesSpent`.
|
|
870
|
+
*/
|
|
871
|
+
export declare function commitPlay(ctx: Ctx, playerId: PlayerId, cardInstanceId: InstanceId, payment: readonly Payment[], priced: PricedPlay,
|
|
872
|
+
/**
|
|
873
|
+
* The card is played as if from hand from outside it under this permission (`asIfInHandPlayOf`, read by the caller
|
|
874
|
+
* before anything moved): from the top of the deck (docs/phase7-wave8.md §3.49) or a tuck (docs/phase7-wave11.md
|
|
875
|
+
* §3.8). Null for every other play, a searched deck's card and an effect's play from a tuck it names included.
|
|
876
|
+
*/
|
|
877
|
+
asIfInHand?: AsIfInHandPermission | null,
|
|
878
|
+
/** Where an effect plays the card from (`EffectSpec playFromHand.from`); `"hand"` for a play from the hand. */
|
|
879
|
+
from?: PlayFromZone): SpentPayment;
|
|
880
|
+
/**
|
|
881
|
+
* Why a `playCostReduction` ability cannot reduce this play, or null (docs/phase7-wave3.md §3.20): it must be an active
|
|
882
|
+
* ability of that kind on a card the player controls, in the right form, under its limit, matching the card, and — with
|
|
883
|
+
* `fromHand` — the card must be played from hand. Its own cost must be payable.
|
|
884
|
+
*/
|
|
885
|
+
export declare function playCostReductionFault(state: GameState, deps: EngineDeps, instanceId: InstanceId, abilityId: string, playerId: PlayerId, cardInstanceId: InstanceId): PriceFault | null;
|
|
886
|
+
export declare function playCard(ctx: Ctx, command: Command & {
|
|
887
|
+
type: "playCard";
|
|
888
|
+
}): EngineError | null;
|
|
889
|
+
/**
|
|
890
|
+
* When an effect may play an Action event: `"turn"`, the Action's own timing (`actionTimingFault`), or `"any"`, for an
|
|
891
|
+
* effect whose text instructs the play of an event with an Action ability (`EffectSpec playFromHand.
|
|
892
|
+
* ignoreActionTiming`). Nothing else about the play changes with it.
|
|
893
|
+
*/
|
|
894
|
+
export type ActionTiming = "turn" | "any";
|
|
895
|
+
/**
|
|
896
|
+
* Where an effect plays a card from "as if it were in your hand" (`EffectSpec playFromHand.from`). `tuckedUnder` holds
|
|
897
|
+
* the resolved hosts: any card tucked under one of them (Med Lab 38028; docs/phase7-wave6.md §3.57), whoever owns it.
|
|
898
|
+
*/
|
|
899
|
+
export type PlayFromZone = "hand" | "setAside" | "deck" | DeckAsIfInHandPlayFrom | {
|
|
900
|
+
readonly tuckedUnder: readonly InstanceId[];
|
|
901
|
+
} | SeparateDeckPlayFrom;
|
|
902
|
+
/**
|
|
903
|
+
* `"deck"` "as if it were in your hand" (Calling in Favors 61008; hero-pack spec H3.16, owner answer Q102 = A): the same
|
|
904
|
+
* search of the player's own deck, logged `cardPlayed` `from: "deck", countsAsFrom: "hand"`.
|
|
905
|
+
*/
|
|
906
|
+
export interface DeckAsIfInHandPlayFrom {
|
|
907
|
+
readonly deck: "search";
|
|
908
|
+
readonly asIfInHand: true;
|
|
909
|
+
}
|
|
910
|
+
/** Whether an effect's play searches its player's own deck (`"deck"`, either way it is logged). */
|
|
911
|
+
export declare const searchesOwnDeck: (from: PlayFromZone) => boolean;
|
|
912
|
+
/**
|
|
913
|
+
* Where a played card was played from, and whether the game counts it as played from the hand: logged on `cardPlayed`
|
|
914
|
+
* and carried by the `cardPlayed` / `cardBeingPlayed` trigger events, so "after you play [this card] from your hand"
|
|
915
|
+
* (`EventPattern.playedFromHand`) hears only a play from the hand or one counted as one.
|
|
916
|
+
*
|
|
917
|
+
* RRG 1.8 FAQ "Magik (#30A)" (p. 64): a card played from outside the hand "as if it was in [her] hand" "is considered
|
|
918
|
+
* to have been played from her hand"; one an effect simply plays from the deck (Fetch Quest, Shuri's Inventor) is not.
|
|
919
|
+
* Every effect play from the set-aside area (Valkyrie's Death Perception, 25001a) or from a tuck it names (Med Lab
|
|
920
|
+
* 38028, Avengers Compound 58034) is printed "as if it were in your hand", so those count; a separate deck's or a
|
|
921
|
+
* searched deck's counts only when the effect says so (`asIfInHand`).
|
|
922
|
+
*/
|
|
923
|
+
export interface PlayOrigin {
|
|
924
|
+
readonly from: PlayedFrom;
|
|
925
|
+
readonly countsAsFrom?: "hand";
|
|
926
|
+
}
|
|
927
|
+
/** The origin of a play (`PlayOrigin`): under an as-if-in-hand permission, or by an effect from `from`. */
|
|
928
|
+
export declare function playOriginOf(asIfInHand: AsIfInHandPermission | null, from?: PlayFromZone): PlayOrigin;
|
|
929
|
+
/**
|
|
930
|
+
* A play from the player's own separate deck `separateDeck` (docs/phase7-wave11.md §3.2): its top card only, or any card
|
|
931
|
+
* of it (a search, shuffled afterwards unless the deck is in fixed order, §3.1).
|
|
932
|
+
*/
|
|
933
|
+
export interface SeparateDeckPlayFrom {
|
|
934
|
+
readonly separateDeck: string;
|
|
935
|
+
readonly position: "top" | "any";
|
|
936
|
+
/**
|
|
937
|
+
* "As if it were in your hand": counted as played from the hand (`PlayOrigin`, `cardPlayed.countsAsFrom: "hand"`), so
|
|
938
|
+
* a "from your hand" response answers it. A "from hand" cost reduction cannot reach an effect's play today, so
|
|
939
|
+
* whether it should is unreachable, not ruled.
|
|
940
|
+
*/
|
|
941
|
+
readonly asIfInHand?: true;
|
|
942
|
+
}
|
|
943
|
+
/** Whether `from` is a separate deck's (`SeparateDeckPlayFrom`). */
|
|
944
|
+
export declare const isSeparateDeckPlayFrom: (from: PlayFromZone) => from is SeparateDeckPlayFrom;
|
|
945
|
+
/**
|
|
946
|
+
* The cards an effect could play from `from` for this player, in zone order (before any play check). With `deps`, the
|
|
947
|
+
* hand is followed by the cards the player may play "as if it was in your hand" from outside it, the top card of the
|
|
948
|
+
* deck and covered tucked cards (`asIfInHandPlayableBy`, docs/phase7-wave8.md §3.49, docs/phase7-wave11.md §3.8; RRG
|
|
949
|
+
* 1.8 FAQ "Magik (#30A)", p. 64, second entry). Only for `from: "hand"`: a searched deck, the set-aside area and a
|
|
950
|
+
* tuck an effect names are not the hand.
|
|
951
|
+
*/
|
|
952
|
+
export declare function cardsInPlayFromZone(state: GameState, playerId: PlayerId, from: PlayFromZone, deps?: EngineDeps): readonly InstanceId[];
|
|
953
|
+
/** The permission an effect's play of `id` from `from` uses: only a play "from your hand" reaches outside it. */
|
|
954
|
+
export declare const asIfInHandPlayFrom: (state: GameState, deps: EngineDeps, playerId: PlayerId, id: InstanceId, from: PlayFromZone) => DeckTopPermission | null;
|
|
955
|
+
/**
|
|
956
|
+
* Whether an action ability cannot be initiated because it only plays a tucked card and none could be played now:
|
|
957
|
+
* "play the ally here as if it was in your hand" (Med Lab 38028; docs/phase7-wave6.md §3.57). The tucked card is the
|
|
958
|
+
* card the ability names, so RRG 1.8 "Initiating Abilities" (p. 24) steps 2–3 ("can the card be played … the player's
|
|
959
|
+
* ability to pay") are checked for it before the ability's own cost is paid, the way "Target" (p. 42) blocks an
|
|
960
|
+
* ability with no valid target. An optional play ("you may"), or an ability with any other effect, is left alone.
|
|
961
|
+
*
|
|
962
|
+
* The same holds for a play of a separate deck's top card ("Play the top card of the Sense deck as if it were in your
|
|
963
|
+
* hand (paying its cost)", Daredevil 60001a; docs/phase7-wave11.md §3.2): that card is named. A play of any card of the
|
|
964
|
+
* deck is a search, and needs only a searchable deck to initiate (RRG 1.8 "Target", p. 43), so it is left alone.
|
|
965
|
+
*/
|
|
966
|
+
export declare function tuckedPlayUnavailable(ctx: Ctx, definition: AbilityDefinition, sourceId: InstanceId, playerId: PlayerId): boolean;
|
|
967
|
+
/**
|
|
968
|
+
* Why a card in hand cannot be played by an effect "ignoring its resource cost" (Chaos Magic: "Play a card from your hand,
|
|
969
|
+
* ignoring its resource cost."; docs/phase7-wave2.md §3.8), or null. The play restrictions still apply; a Requirement
|
|
970
|
+
* card cannot be (RRG 1.8 "Requirement (Resources)", p. 37: "cannot be played 'ignoring its resource cost' because the
|
|
971
|
+
* required resources cannot be paid for it"), nor a dash cost (RRG 1.8 "Dash (Value)", p. 15). Kept conservative: an
|
|
972
|
+
* event is playable only through an action ability with no cost of its own. An upgrade goes onto its own identity, or
|
|
973
|
+
* onto a legal host when it names one (docs/phase7-wave11.md §3.2).
|
|
974
|
+
*/
|
|
975
|
+
export declare function playIgnoringCostFault(ctx: Ctx, playerId: PlayerId, id: InstanceId, from?: PlayFromZone,
|
|
976
|
+
/** The event's Action ability to judge; absent, the play is legal when any of them is (`eventActionsForEffectPlay`). */
|
|
977
|
+
abilityId?: AbilityId, timing?: ActionTiming): string | null;
|
|
978
|
+
/**
|
|
979
|
+
* The Action abilities of an event an effect could trigger by playing it now, in printed order: more than one is the
|
|
980
|
+
* player's choice, asked by the effect before any payment (`executePlayFromHand`). Empty for any other card.
|
|
981
|
+
*/
|
|
982
|
+
export declare function eventActionsForEffectPlay(ctx: Ctx, playerId: PlayerId, id: InstanceId,
|
|
983
|
+
/** The effect's cost reduction when it pays for the card; null when it ignores the cost. */
|
|
984
|
+
paying: number | null, from?: PlayFromZone, timing?: ActionTiming): readonly AbilityId[];
|
|
985
|
+
/**
|
|
986
|
+
* Why a card in hand cannot be played by an effect that **pays** for it, at a reduced cost ("play a card from your hand
|
|
987
|
+
* that shares a trait with your hero, reducing its resource cost by 1", Team-Building Exercise; docs/phase7-wave2.md
|
|
988
|
+
* §9), or null.
|
|
989
|
+
*
|
|
990
|
+
* Unlike the ignore-cost path, a Requirement card **is** legal: its required resources are genuinely spent here.
|
|
991
|
+
* Affordability is part of the check because RRG 1.8 "Initiating Abilities" (p. 24) step 3 makes "the player's ability
|
|
992
|
+
* to pay" a condition of playing at all, and step 5 aborts a play whose costs cannot be paid — so a card the player
|
|
993
|
+
* cannot pay for is not something this effect may choose. The test is whether the *largest* payment the player could
|
|
994
|
+
* make covers the cost; a player who then selects less simply does not play the card.
|
|
995
|
+
*/
|
|
996
|
+
export declare function playWithPaymentFault(ctx: Ctx, playerId: PlayerId, id: InstanceId, extraReduction: number, from?: PlayFromZone,
|
|
997
|
+
/** The event's Action ability to judge; absent, the play is legal when any of them is (`eventActionsForEffectPlay`). */
|
|
998
|
+
abilityId?: AbilityId, timing?: ActionTiming): string | null;
|
|
999
|
+
/**
|
|
1000
|
+
* Where an upgrade played by an effect attaches: its own identity when it names no host, else the single legal host.
|
|
1001
|
+
* `undefined` means there is none and the card cannot be played; `null` means "not an upgrade", i.e. no host needed.
|
|
1002
|
+
*
|
|
1003
|
+
* Several legal hosts is a player choice the effect asks for separately (`executePlayFromHand`); this is the
|
|
1004
|
+
* no-question-to-ask case, and the shape the caller uses once that choice is answered.
|
|
1005
|
+
*/
|
|
1006
|
+
export declare function hostForEffectPlay(ctx: Ctx, playerId: PlayerId, id: InstanceId): InstanceId | null | undefined;
|
|
1007
|
+
/** Every legal host for an upgrade an effect is about to play; empty for a card that needs none. */
|
|
1008
|
+
export declare function hostChoicesForEffectPlay(ctx: Ctx, playerId: PlayerId, id: InstanceId): readonly InstanceId[];
|
|
1009
|
+
/**
|
|
1010
|
+
* What an effect-played card demands right now, at the effect's reduced cost: its own cost plus its ability's, with
|
|
1011
|
+
* the reduction applied. Null when its ability cost cannot be settled without a further choice.
|
|
1012
|
+
*/
|
|
1013
|
+
export declare function playFromEffectRequirement(ctx: Ctx, playerId: PlayerId, id: InstanceId, attachTo: InstanceId | null, extraReduction: number, abilityId?: AbilityId,
|
|
1014
|
+
/** Where the effect plays from: from the hand, a deck top or tucked card adds its permission's reduction (Q27 A). */
|
|
1015
|
+
from?: PlayFromZone): ResolvedRequirement | null;
|
|
1016
|
+
/**
|
|
1017
|
+
* Plays a card from hand for a payment the effect's own reduction has already been applied to (Team-Building
|
|
1018
|
+
* Exercise). Returns the play's frame, or null, having spent nothing, when the payment does not cover the reduced cost.
|
|
1019
|
+
* `extraBindings` are added to the play's frame (`playFromHand.via`).
|
|
1020
|
+
*/
|
|
1021
|
+
export declare function playWithPayment(ctx: Ctx, playerId: PlayerId, id: InstanceId, payment: readonly Payment[], attachTo: InstanceId | null, extraReduction: number, extraBindings?: Bindings,
|
|
1022
|
+
/** The event's Action ability the player chose; absent, the only usable one. */
|
|
1023
|
+
abilityId?: AbilityId,
|
|
1024
|
+
/** Where the effect plays from (`asIfInHandPlayFrom`): the hand reaches a deck top or tuck under its permission. */
|
|
1025
|
+
from?: PlayFromZone,
|
|
1026
|
+
/**
|
|
1027
|
+
* The declared types of the payment's wilds, when the caller has them (`playCard.wildAs`; docs/phase7-wave8.md
|
|
1028
|
+
* §3.62). Absent, the play's own frame asks its player when a card reads them and the declaration can matter.
|
|
1029
|
+
*/
|
|
1030
|
+
wildAs?: readonly ResourceType[],
|
|
1031
|
+
/**
|
|
1032
|
+
* The in-play scenario area the card is played into (`RuleSpec playDestination`, docs/phase7-wave8.md §3.34), which
|
|
1033
|
+
* the effect's player chose; null for their own play area. A reduction that reads the destination is part of the
|
|
1034
|
+
* price and is used up, as for a `playCard` command with `into`.
|
|
1035
|
+
*/
|
|
1036
|
+
into?: string | null): FrameId | null;
|
|
1037
|
+
/**
|
|
1038
|
+
* Plays a card from hand ignoring its resource cost. RRG 1.8 "Ignore" (p. 23): "no resources are paid for that card. For
|
|
1039
|
+
* the purpose of card effects, that card is considered to have been played with zero resources paid for its cost." So
|
|
1040
|
+
* `paid.*` are all 0. It counts as played (max per round/phase, "the first ally played each round").
|
|
1041
|
+
*/
|
|
1042
|
+
export declare function playIgnoringCost(ctx: Ctx, playerId: PlayerId, id: InstanceId, from?: PlayFromZone, extraBindings?: Bindings,
|
|
1043
|
+
/** The event's Action ability the player chose; absent, the only one this effect could play. */
|
|
1044
|
+
abilityId?: AbilityId, timing?: ActionTiming,
|
|
1045
|
+
/** The in-play scenario area the card is played into, as for `playWithPayment`; null for the player's own area. */
|
|
1046
|
+
into?: string | null,
|
|
1047
|
+
/**
|
|
1048
|
+
* The host the player chose for an upgrade that names one (`executePlayFromHand`); absent, its only legal host. One
|
|
1049
|
+
* that is not a legal host plays nothing, and so does none when it has several.
|
|
1050
|
+
*/
|
|
1051
|
+
host?: InstanceId): FrameId | null;
|
|
1052
|
+
/**
|
|
1053
|
+
* RRG "Action": triggered on a card you control or an encounter card, during your own turn or another player's
|
|
1054
|
+
* (`requireActionTiming`). This command triggers Action abilities and nothing else.
|
|
1055
|
+
*/
|
|
1056
|
+
/**
|
|
1057
|
+
* A "Forced Action" its player answered the phase end's prompt for (`flow.ts` `requestLateForcedAction`,
|
|
1058
|
+
* docs/phase7-wave9.md §3.53): triggered as `useAbility` triggers it, the turns being over.
|
|
1059
|
+
*/
|
|
1060
|
+
export declare const useLateForcedAction: (ctx: Ctx, command: Command & {
|
|
1061
|
+
type: "useAbility";
|
|
1062
|
+
}) => EngineError | null;
|
|
1063
|
+
export declare function useAbility(ctx: Ctx, command: Command & {
|
|
1064
|
+
type: "useAbility";
|
|
1065
|
+
}, timed?: boolean): EngineError | null;
|
|
1066
|
+
/**
|
|
1067
|
+
* RRG "Consequential Damage": tier 5 of the timing chart, after the attack fully resolves.
|
|
1068
|
+
*
|
|
1069
|
+
* Returns where the basic power's own attack/thwart event(s) report their results (docs/phase7-wave3.md §3.44): into
|
|
1070
|
+
* this damage event, prefixed `attack.`/`thwart.`, so "After Martyr takes consequential damage from performing an
|
|
1071
|
+
* attack, if that attack defeated an enemy" (Martyr, `drax` 19012) reads `attack.defeated` in the damage's own response
|
|
1072
|
+
* window. The damage is pushed first, beneath the power's `basicPowerUsed` announcement and its attack/thwart event(s),
|
|
1073
|
+
* and so resolves after them (LIFO): after the "after [this ally] uses a basic power" responses too (RRG 1.8
|
|
1074
|
+
* "Consequential Damage", p. 13; "Ability" timing priority, p. 5). The power's frame reports into it as it finishes,
|
|
1075
|
+
* before the damage applies. Null when the ally takes none.
|
|
1076
|
+
*
|
|
1077
|
+
* `column`: the stat the damage is printed under, when it is not the power's own (a thwart made with ATK).
|
|
1078
|
+
*/
|
|
1079
|
+
export declare function pushConsequentialDamage(ctx: Ctx, characterId: InstanceId, kind: "attack" | "thwart", column?: "attack" | "thwart"): ReportTarget | null;
|
|
1080
|
+
/**
|
|
1081
|
+
* "Havok takes +1 consequential damage for this attack" (Havok, `storm` 36014) when his consequential damage is 0: the
|
|
1082
|
+
* one-shot `modifyConsequentialDamage` has no pending damage event to change, because `pushConsequentialDamage` pushes
|
|
1083
|
+
* none at 0. This creates it, as if it had been pushed with the power: beneath the character's attack or thwart
|
|
1084
|
+
* event(s) still in progress and, when that power's `basicPowerUsed` announcement is on the stack beneath them,
|
|
1085
|
+
* beneath that too, so it resolves after them and after the "after [this] uses a basic power" responses (RRG 1.8
|
|
1086
|
+
* "Consequential Damage", p. 13; "Ability" timing priority, p. 5), and those events report their results into it
|
|
1087
|
+
* (`attack.`/`thwart.`, as `pushConsequentialDamage` wires them). Its amount is the character's consequential value
|
|
1088
|
+
* (standing modifiers included) plus `delta`.
|
|
1089
|
+
*
|
|
1090
|
+
* Returns the amount created, or null when nothing was (no attack or thwart of this character in progress, a
|
|
1091
|
+
* character that takes no consequential damage, or a total of 0 or less). docs/phase7-wave6.md §3.31.
|
|
1092
|
+
*/
|
|
1093
|
+
export declare function insertConsequentialDamage(ctx: Ctx, characterId: InstanceId, delta: number): {
|
|
1094
|
+
readonly from: number;
|
|
1095
|
+
readonly to: number;
|
|
1096
|
+
} | null;
|
|
1097
|
+
/**
|
|
1098
|
+
* How a basic attack or thwart comes to be made. Absent, it is the player's own command on their turn.
|
|
1099
|
+
*
|
|
1100
|
+
* `instructed` (docs/phase7-wave8.md §3.64, `EffectSpec basicPowerBy`): a card's effect has the player make it ("that
|
|
1101
|
+
* player makes a basic attack or thwart with a character they control", Cell Phone 47019). It is the ordinary basic
|
|
1102
|
+
* power in every respect but whose turn it is: the effect resolves in any action window, so the player's own turn is
|
|
1103
|
+
* not asked for (RRG 1.8 "Action", p. 6). Everything else is checked and paid as usual.
|
|
1104
|
+
*
|
|
1105
|
+
* `assumeCostPaid`: the power's own additional cost (`basicPowerCosts`) is taken as paid. Only for asking whether a
|
|
1106
|
+
* power could be made, on a scratch context; the caller checks the cost's affordability itself.
|
|
1107
|
+
*
|
|
1108
|
+
* The `BasicPowerTerms` of an instructed power (docs/phase7-wave11-hero-packs.md §H3.14): `withoutExhausting` skips the
|
|
1109
|
+
* exhausted check and the exhausting, and `ignores` waives patrol and the crisis icon for this thwart, at its
|
|
1110
|
+
* declaration here and on its thwart event (`ignorePatrol`, `ignoreCrisis`), where the removal checks them again.
|
|
1111
|
+
* `character` is for choosing the character (`basicPowerUses`); the command names it already.
|
|
1112
|
+
*/
|
|
1113
|
+
export interface BasicPowerBy extends BasicPowerTerms {
|
|
1114
|
+
readonly instructed?: boolean;
|
|
1115
|
+
readonly assumeCostPaid?: boolean;
|
|
1116
|
+
}
|
|
1117
|
+
export declare const basicAttack: (ctx: Ctx, command: {
|
|
1118
|
+
readonly type: "basicAttack";
|
|
1119
|
+
readonly playerId: PlayerId;
|
|
1120
|
+
readonly attackerInstanceId: InstanceId;
|
|
1121
|
+
readonly targetInstanceId: InstanceId;
|
|
1122
|
+
readonly payment?: readonly Payment[];
|
|
1123
|
+
readonly costChoices?: CostChoices;
|
|
1124
|
+
readonly divide?: readonly BasicPowerShare[];
|
|
1125
|
+
} & {
|
|
1126
|
+
type: "basicAttack";
|
|
1127
|
+
}, by?: BasicPowerBy) => EngineError | null;
|
|
1128
|
+
export declare const basicThwart: (ctx: Ctx, command: {
|
|
1129
|
+
readonly type: "basicThwart";
|
|
1130
|
+
readonly playerId: PlayerId;
|
|
1131
|
+
readonly thwarterInstanceId: InstanceId;
|
|
1132
|
+
readonly schemeInstanceId: InstanceId;
|
|
1133
|
+
readonly payment?: readonly Payment[];
|
|
1134
|
+
readonly costChoices?: CostChoices;
|
|
1135
|
+
readonly divide?: readonly BasicPowerShare[];
|
|
1136
|
+
readonly useAtk?: boolean;
|
|
1137
|
+
} & {
|
|
1138
|
+
type: "basicThwart";
|
|
1139
|
+
}, by?: BasicPowerBy) => EngineError | null;
|
|
1140
|
+
/**
|
|
1141
|
+
* A basic thwart whose additional thwart cost was just paid (docs/phase7-wave5.md §4.1 Q27, `thwart-cost.ts`
|
|
1142
|
+
* `executeSettleBasicThwartCost`): checked again against the game as it now is, then its own costs are paid and it is
|
|
1143
|
+
* initiated as usual, its thwart events marked as paid for.
|
|
1144
|
+
*/
|
|
1145
|
+
export declare const commitPrepaidBasicThwart: (ctx: Ctx, command: {
|
|
1146
|
+
readonly type: "basicThwart";
|
|
1147
|
+
readonly playerId: PlayerId;
|
|
1148
|
+
readonly thwarterInstanceId: InstanceId;
|
|
1149
|
+
readonly schemeInstanceId: InstanceId;
|
|
1150
|
+
readonly payment?: readonly Payment[];
|
|
1151
|
+
readonly costChoices?: CostChoices;
|
|
1152
|
+
readonly divide?: readonly BasicPowerShare[];
|
|
1153
|
+
readonly useAtk?: boolean;
|
|
1154
|
+
} & {
|
|
1155
|
+
type: "basicThwart";
|
|
1156
|
+
}, by?: BasicPowerBy) => EngineError | null;
|
|
1157
|
+
/** The apply step of a basic power's `characterWouldAct` event: nothing replaced the power, so it is made now. */
|
|
1158
|
+
export declare function resumeBasicPower(ctx: Ctx, basic: BasicPowerResume): void;
|
|
1159
|
+
/**
|
|
1160
|
+
* What `characterId` has to divide when it divides its basic `power` among `targets`: its `stat` as it reads during
|
|
1161
|
+
* that use, which is what the shares of the division must total (`dividedShares`). Read on a scratch copy of the game,
|
|
1162
|
+
* so nothing here changes it.
|
|
1163
|
+
*
|
|
1164
|
+
* - **A bonus waiting on this power counts** ("for its next basic thwart or attack", "+1 THW and +1 ATK for this
|
|
1165
|
+
* use"; `LastingDuration nextBasicPower`): the power's own event frames start it (`startNextBasicPowerEffects`),
|
|
1166
|
+
* which is after a division's fixed shares are set, so it is read as started here.
|
|
1167
|
+
* - **A thwart's stat is read while that thwart is being made**: "+1 THW while making a basic thwart against this
|
|
1168
|
+
* scheme" counts when the scheme is one of the division's (card text; RRG 1.8 "Modifiers", p. 29: a value is
|
|
1169
|
+
* recalculated with every active modifier; "Assault", p. 8, and docs/phase7-wave7.md §4.1 Q3: a divided basic
|
|
1170
|
+
* thwart is one basic thwart). The scratch copy has the thwart on its stack, as the undivided thwart has when it
|
|
1171
|
+
* reads its own THW.
|
|
1172
|
+
* - **An attack's stat is read while that attack is being made**, for the same reason: "+1 ATK while making a basic
|
|
1173
|
+
* attack" counts toward what is divided, as it counts for the undivided attack, which reads its ATK with its own
|
|
1174
|
+
* event on the stack (RRG 1.8 FAQ "Wasp (#1C)", p. 61: the divided attack is her basic attack). The scratch copy has
|
|
1175
|
+
* the attack on the division's first target on its stack, the first attack the command pushes. A bonus that reads
|
|
1176
|
+
* which enemy is attacked (`attackInProgress.target`) is therefore read against that first target alone; no
|
|
1177
|
+
* official source says how such a bonus divides, and an attack event names one target where a thwart's names every
|
|
1178
|
+
* scheme (`dividedAmong`).
|
|
1179
|
+
*/
|
|
1180
|
+
export declare function dividedBasicPowerValue(state: GameState, deps: EngineDeps, playerId: PlayerId, characterId: InstanceId, power: "attack" | "thwart", stat: "atk" | "thw", targets: readonly InstanceId[]): number;
|
|
1181
|
+
/**
|
|
1182
|
+
* What the shares of a divided basic `power` must total when `characterId` divides it among `targets`, in order: the
|
|
1183
|
+
* attacker's ATK, or the thwarter's THW, its ATK when any of the schemes has assault, as the command reads them
|
|
1184
|
+
* (`basicAttackPaying`, `basicThwartWith`). For a client's divide picker; the command still checks the division.
|
|
1185
|
+
*/
|
|
1186
|
+
export declare function basicPowerDivisionTotal(state: GameState, deps: EngineDeps, playerId: PlayerId, characterId: InstanceId, power: "attack" | "thwart", targets: readonly InstanceId[]): number;
|
|
1187
|
+
export declare function basicRecover(ctx: Ctx, command: Command & {
|
|
1188
|
+
type: "basicRecover";
|
|
1189
|
+
}): EngineError | null;
|
|
1190
|
+
/**
|
|
1191
|
+
* "After you use a basic power" (docs/phase7-wave2.md §3.11): announced beneath the power's own events, so its responses
|
|
1192
|
+
* come after the power has resolved, and only when an ability could react. A stunned attack or a confused thwart never
|
|
1193
|
+
* reaches here (FAQ "Quicksilver (#1A)", RRG 1.8 p. 61).
|
|
1194
|
+
*/
|
|
1195
|
+
export declare function announceBasicPower(ctx: Ctx, characterId: InstanceId, power: BasicPowerName, playerId: PlayerId, stat?: StatName): void;
|
|
1196
|
+
/**
|
|
1197
|
+
* "When you use one of your hero's basic powers" (docs/phase7-wave2.md §17.4), announced before the power's value is
|
|
1198
|
+
* read. Like its "used" twin it goes on the stack only when an ability could react, and a stunned attack or confused
|
|
1199
|
+
* thwart never reaches either of them (the cancel returns before both), so a power that is cancelled is not "used" for
|
|
1200
|
+
* any timing. A basic attack, thwart or recovery holds it on its own event frame (`deferUsingAfterWould`,
|
|
1201
|
+
* `Frame<"event">.usingAfterWould`) until that event's "would" interrupts have resolved: it is pushed as the event's
|
|
1202
|
+
* interrupt window passes its "would" tier, so a "would" cancel leaves the power never announced and Villainous gives
|
|
1203
|
+
* no card (RRG 1.8 "'Would'", p. 48). A basic defense's is pushed on top at once.
|
|
1204
|
+
*/
|
|
1205
|
+
export declare function announceBasicPowerUsing(ctx: Ctx, characterId: InstanceId, power: BasicPowerName, playerId: PlayerId, stat?: StatName): void;
|
|
1206
|
+
/**
|
|
1207
|
+
* A substitution made while a basic power is being used ("uses their THW instead of their ATK", "use its ATK instead
|
|
1208
|
+
* of its DEF") rewrites the stat on that use's announcements still on the stack, so whatever answers them later reads
|
|
1209
|
+
* the stat actually powering the use (docs/phase7-wave8.md §4.1 Q54). The nearest announcement of each kind is this
|
|
1210
|
+
* use's (the top of the stack first; `characterId` null is whoever is using `power`): a basic power made inside another's window has resolved or sits above it.
|
|
1211
|
+
*/
|
|
1212
|
+
export declare function setBasicPowerStat(ctx: Ctx, characterId: InstanceId | null, power: BasicPowerName, stat: StatName): void;
|
|
1213
|
+
export declare function endTurn(ctx: Ctx, command: Command & {
|
|
1214
|
+
type: "endTurn";
|
|
1215
|
+
}): EngineError | null;
|
|
1216
|
+
export { isFault as isPriceFault };
|
|
1217
|
+
export type { PriceFault };
|
|
1218
|
+
/**
|
|
1219
|
+
* The sum a `discardFromHand` cost's `combined` threshold measures over these cards (`DiscardCombined`): each card's
|
|
1220
|
+
* printed resource cost, read off its card data wherever it is. An X cost is stored as 0 and a card with no printed
|
|
1221
|
+
* cost (a resource) adds 0.
|
|
1222
|
+
*/
|
|
1223
|
+
export declare function discardCombinedTotal(state: GameState, ids: readonly InstanceId[], combined: DiscardCombined): number;
|
|
1224
|
+
/**
|
|
1225
|
+
* The cards a "discard N cards from your hand →" cost (`AbilityCost.discardFromHand`) could be paid with, in hand
|
|
1226
|
+
* order: every card `planCost` would accept as a pick. The paying player's hand, or every hand for an alliance card
|
|
1227
|
+
* (`paidAsGroup`); never the source card itself, a card the cost's `filter` leaves out, or one that "cannot be chosen
|
|
1228
|
+
* to be discarded".
|
|
1229
|
+
*/
|
|
1230
|
+
export declare function handDiscardCandidates(state: GameState, deps: EngineDeps, sourceId: InstanceId, playerId: PlayerId, written: AbilityCost | undefined): readonly InstanceId[];
|
|
1231
|
+
/**
|
|
1232
|
+
* Default picks for a hand-discard cost, so an interrupt or response with one can be judged payable in a timing window
|
|
1233
|
+
* (`costPayable`), as `defaultInPlayPicks` does for cards in play: the first `min` candidates, or for a `combined`
|
|
1234
|
+
* threshold the largest shares until it is reached. Undefined when the cost has no such component. With too few
|
|
1235
|
+
* candidates the picks fall short and `planCost` reports why the cost can't be paid.
|
|
1236
|
+
*/
|
|
1237
|
+
export declare function defaultHandDiscardPicks(state: GameState, deps: EngineDeps, sourceId: InstanceId, playerId: PlayerId, written: AbilityCost | undefined): readonly InstanceId[] | undefined;
|
|
1238
|
+
/** One card's share of `discardCombinedTotal`. */
|
|
1239
|
+
export declare function discardCombinedValue(state: GameState, id: InstanceId, combined: DiscardCombined): number;
|