@champions-digital-game/mod-sdk 0.0.0-stage → 0.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1443) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +71 -2
  3. package/dist/build.js +1 -0
  4. package/dist/chunks/chunk-6WFYI6O7.js +22 -0
  5. package/dist/chunks/chunk-C2OAZ3V7.js +1 -0
  6. package/dist/chunks/chunk-EQL5OYKH.js +8477 -0
  7. package/dist/chunks/chunk-Q57JMRMI.js +4 -0
  8. package/dist/chunks/chunk-QM4LCKP5.js +7 -0
  9. package/dist/chunks/chunk-SSVC7TJ6.js +1 -0
  10. package/dist/chunks/chunk-V5MJXIOQ.js +1 -0
  11. package/dist/import.js +1 -0
  12. package/dist/index.js +1 -0
  13. package/dist/mc-pack.js +26 -0
  14. package/dist/testing.js +1 -0
  15. package/package.json +59 -4
  16. package/types/cards/src/ability-refs.d.ts +19 -0
  17. package/types/cards/src/builtin-packs/define.d.ts +60 -0
  18. package/types/cards/src/builtin-packs/index.d.ts +14 -0
  19. package/types/cards/src/builtin-packs/reprints.d.ts +33 -0
  20. package/types/cards/src/campaigns/aoa.d.ts +90 -0
  21. package/types/cards/src/campaigns/aos.d.ts +17 -0
  22. package/types/cards/src/campaigns/composed-sets.d.ts +24 -0
  23. package/types/cards/src/campaigns/expert-helpers.d.ts +94 -0
  24. package/types/cards/src/campaigns/fne.d.ts +49 -0
  25. package/types/cards/src/campaigns/gmw-balanced.d.ts +89 -0
  26. package/types/cards/src/campaigns/gmw.d.ts +57 -0
  27. package/types/cards/src/campaigns/index.d.ts +28 -0
  28. package/types/cards/src/campaigns/modular-picks.d.ts +10 -0
  29. package/types/cards/src/campaigns/mojo.d.ts +58 -0
  30. package/types/cards/src/campaigns/mts.d.ts +65 -0
  31. package/types/cards/src/campaigns/mut_gen.d.ts +51 -0
  32. package/types/cards/src/campaigns/next_evol.d.ts +57 -0
  33. package/types/cards/src/campaigns/shadowland.d.ts +8 -0
  34. package/types/cards/src/campaigns/sm.d.ts +68 -0
  35. package/types/cards/src/campaigns/structure.d.ts +36 -0
  36. package/types/cards/src/campaigns/trors.d.ts +46 -0
  37. package/types/cards/src/core/aspects/aggression.d.ts +15 -0
  38. package/types/cards/src/core/aspects/basic.d.ts +11 -0
  39. package/types/cards/src/core/aspects/justice.d.ts +11 -0
  40. package/types/cards/src/core/aspects/leadership.d.ts +13 -0
  41. package/types/cards/src/core/aspects/protection.d.ts +10 -0
  42. package/types/cards/src/core/heroes/black-panther.d.ts +26 -0
  43. package/types/cards/src/core/heroes/captain-marvel.d.ts +26 -0
  44. package/types/cards/src/core/heroes/iron-man.d.ts +27 -0
  45. package/types/cards/src/core/heroes/she-hulk.d.ts +28 -0
  46. package/types/cards/src/core/heroes/spider-man.d.ts +25 -0
  47. package/types/cards/src/core/index.d.ts +8 -0
  48. package/types/cards/src/core/modular/bomb-scare.d.ts +7 -0
  49. package/types/cards/src/core/modular/hydra-and-doomsday.d.ts +12 -0
  50. package/types/cards/src/core/modular/standard.d.ts +16 -0
  51. package/types/cards/src/core/names.d.ts +6 -0
  52. package/types/cards/src/core/obligations.d.ts +24 -0
  53. package/types/cards/src/core/pack.d.ts +3 -0
  54. package/types/cards/src/core/scenarios/klaw.d.ts +37 -0
  55. package/types/cards/src/core/scenarios/rhino.d.ts +15 -0
  56. package/types/cards/src/core/scenarios/ultron.d.ts +44 -0
  57. package/types/cards/src/core/setup.d.ts +120 -0
  58. package/types/cards/src/dsl/abilities.d.ts +4989 -0
  59. package/types/cards/src/dsl/effects.d.ts +2579 -0
  60. package/types/cards/src/dsl/engine-only-features.d.ts +14 -0
  61. package/types/cards/src/dsl/extra-encounter-deck.d.ts +29 -0
  62. package/types/cards/src/dsl/index.d.ts +11 -0
  63. package/types/cards/src/dsl/validate.d.ts +44 -0
  64. package/types/cards/src/dsl/values.d.ts +1479 -0
  65. package/types/cards/src/index.d.ts +48 -0
  66. package/types/cards/src/main-scheme-stages.d.ts +81 -0
  67. package/types/cards/src/modular-pool.d.ts +108 -0
  68. package/types/cards/src/playable/community-decks.d.ts +66 -0
  69. package/types/cards/src/playable/custom.d.ts +56 -0
  70. package/types/cards/src/playable/index.d.ts +28 -0
  71. package/types/cards/src/playable/random-civil-war.d.ts +38 -0
  72. package/types/cards/src/playable/scenario-options.d.ts +260 -0
  73. package/types/cards/src/playable/unscripted.d.ts +27 -0
  74. package/types/cards/src/testing/driver.d.ts +23 -0
  75. package/types/cards/src/testing/index.d.ts +6 -0
  76. package/types/cards/src/wave1/bkw/kit.d.ts +23 -0
  77. package/types/cards/src/wave1/bkw/local.d.ts +64 -0
  78. package/types/cards/src/wave1/bkw/nemesis.d.ts +15 -0
  79. package/types/cards/src/wave1/bkw/obligation.d.ts +5 -0
  80. package/types/cards/src/wave1/bkw/pack-cards.d.ts +23 -0
  81. package/types/cards/src/wave1/bkw/pack.d.ts +11 -0
  82. package/types/cards/src/wave1/cap/kit.d.ts +29 -0
  83. package/types/cards/src/wave1/cap/nemesis.d.ts +10 -0
  84. package/types/cards/src/wave1/cap/obligation.d.ts +8 -0
  85. package/types/cards/src/wave1/cap/pack-cards.d.ts +11 -0
  86. package/types/cards/src/wave1/cap/pack.d.ts +5 -0
  87. package/types/cards/src/wave1/drs/kit.d.ts +70 -0
  88. package/types/cards/src/wave1/drs/local.d.ts +58 -0
  89. package/types/cards/src/wave1/drs/nemesis.d.ts +12 -0
  90. package/types/cards/src/wave1/drs/obligation.d.ts +19 -0
  91. package/types/cards/src/wave1/drs/pack-cards.d.ts +42 -0
  92. package/types/cards/src/wave1/drs/pack.d.ts +14 -0
  93. package/types/cards/src/wave1/gob/a-mess-of-things.d.ts +12 -0
  94. package/types/cards/src/wave1/gob/goblin-gimmicks.d.ts +18 -0
  95. package/types/cards/src/wave1/gob/local.d.ts +113 -0
  96. package/types/cards/src/wave1/gob/mutagen-formula.d.ts +41 -0
  97. package/types/cards/src/wave1/gob/pack.d.ts +9 -0
  98. package/types/cards/src/wave1/gob/power-drain.d.ts +31 -0
  99. package/types/cards/src/wave1/gob/risky-business.d.ts +39 -0
  100. package/types/cards/src/wave1/gob/running-interference.d.ts +16 -0
  101. package/types/cards/src/wave1/hlk/kit.d.ts +33 -0
  102. package/types/cards/src/wave1/hlk/local.d.ts +47 -0
  103. package/types/cards/src/wave1/hlk/nemesis.d.ts +11 -0
  104. package/types/cards/src/wave1/hlk/obligation.d.ts +10 -0
  105. package/types/cards/src/wave1/hlk/pack-cards.d.ts +22 -0
  106. package/types/cards/src/wave1/hlk/pack.d.ts +12 -0
  107. package/types/cards/src/wave1/index.d.ts +35 -0
  108. package/types/cards/src/wave1/msm/kit.d.ts +34 -0
  109. package/types/cards/src/wave1/msm/nemesis.d.ts +11 -0
  110. package/types/cards/src/wave1/msm/obligation.d.ts +8 -0
  111. package/types/cards/src/wave1/msm/pack-cards.d.ts +22 -0
  112. package/types/cards/src/wave1/msm/pack.d.ts +5 -0
  113. package/types/cards/src/wave1/names.d.ts +9 -0
  114. package/types/cards/src/wave1/reprints.d.ts +34 -0
  115. package/types/cards/src/wave1/setup.d.ts +57 -0
  116. package/types/cards/src/wave1/thor/kit.d.ts +19 -0
  117. package/types/cards/src/wave1/thor/local.d.ts +31 -0
  118. package/types/cards/src/wave1/thor/nemesis.d.ts +10 -0
  119. package/types/cards/src/wave1/thor/obligation.d.ts +14 -0
  120. package/types/cards/src/wave1/thor/pack-cards.d.ts +22 -0
  121. package/types/cards/src/wave1/thor/pack.d.ts +12 -0
  122. package/types/cards/src/wave1/twc/breakout.d.ts +12 -0
  123. package/types/cards/src/wave1/twc/bulldozer.d.ts +32 -0
  124. package/types/cards/src/wave1/twc/local.d.ts +81 -0
  125. package/types/cards/src/wave1/twc/pack.d.ts +8 -0
  126. package/types/cards/src/wave1/twc/piledriver.d.ts +26 -0
  127. package/types/cards/src/wave1/twc/thunderball.d.ts +41 -0
  128. package/types/cards/src/wave1/twc/wrecker.d.ts +35 -0
  129. package/types/cards/src/wave10/card-groups.d.ts +16 -0
  130. package/types/cards/src/wave10/cards.d.ts +8 -0
  131. package/types/cards/src/wave10/cw/aspect-basic/aggression.d.ts +42 -0
  132. package/types/cards/src/wave10/cw/aspect-basic/basic.d.ts +30 -0
  133. package/types/cards/src/wave10/cw/aspect-basic/protection.d.ts +42 -0
  134. package/types/cards/src/wave10/cw/competitive/leader-cards.d.ts +49 -0
  135. package/types/cards/src/wave10/cw/competitive/standard-pvp.d.ts +27 -0
  136. package/types/cards/src/wave10/cw/hulkling/events.d.ts +33 -0
  137. package/types/cards/src/wave10/cw/hulkling/identity.d.ts +29 -0
  138. package/types/cards/src/wave10/cw/hulkling/obligation-nemesis.d.ts +48 -0
  139. package/types/cards/src/wave10/cw/hulkling/support-upgrades-allies.d.ts +37 -0
  140. package/types/cards/src/wave10/cw/leaders/captain-america.d.ts +37 -0
  141. package/types/cards/src/wave10/cw/leaders/captain-marvel.d.ts +35 -0
  142. package/types/cards/src/wave10/cw/leaders/iron-man.d.ts +39 -0
  143. package/types/cards/src/wave10/cw/leaders/spider-woman.d.ts +39 -0
  144. package/types/cards/src/wave10/cw/main-schemes/registration.d.ts +26 -0
  145. package/types/cards/src/wave10/cw/main-schemes/resistance.d.ts +26 -0
  146. package/types/cards/src/wave10/cw/modular/atlanteans.d.ts +22 -0
  147. package/types/cards/src/wave10/cw/modular/cape-killer.d.ts +49 -0
  148. package/types/cards/src/wave10/cw/modular/cloak-and-dagger.d.ts +34 -0
  149. package/types/cards/src/wave10/cw/modular/dangerous-recruits.d.ts +33 -0
  150. package/types/cards/src/wave10/cw/modular/defenders.d.ts +31 -0
  151. package/types/cards/src/wave10/cw/modular/hells-kitchen.d.ts +34 -0
  152. package/types/cards/src/wave10/cw/modular/heroes-for-hire.d.ts +36 -0
  153. package/types/cards/src/wave10/cw/modular/maria-hill.d.ts +35 -0
  154. package/types/cards/src/wave10/cw/modular/martial-law.d.ts +23 -0
  155. package/types/cards/src/wave10/cw/modular/mighty-avengers.d.ts +33 -0
  156. package/types/cards/src/wave10/cw/modular/namor.d.ts +30 -0
  157. package/types/cards/src/wave10/cw/modular/new-avengers.d.ts +43 -0
  158. package/types/cards/src/wave10/cw/modular/paladin.d.ts +25 -0
  159. package/types/cards/src/wave10/cw/modular/secret-avengers.d.ts +34 -0
  160. package/types/cards/src/wave10/cw/modular/spider-man.d.ts +36 -0
  161. package/types/cards/src/wave10/cw/modular/the-initiative.d.ts +35 -0
  162. package/types/cards/src/wave10/cw/pack.d.ts +10 -0
  163. package/types/cards/src/wave10/cw/tigra/events.d.ts +25 -0
  164. package/types/cards/src/wave10/cw/tigra/identity.d.ts +27 -0
  165. package/types/cards/src/wave10/cw/tigra/obligation-nemesis.d.ts +36 -0
  166. package/types/cards/src/wave10/cw/tigra/support-upgrades-allies.d.ts +48 -0
  167. package/types/cards/src/wave10/hercules/all-versus-all.d.ts +35 -0
  168. package/types/cards/src/wave10/hercules/basic.d.ts +4 -0
  169. package/types/cards/src/wave10/hercules/hercules/events.d.ts +30 -0
  170. package/types/cards/src/wave10/hercules/hercules/gift-labor.d.ts +54 -0
  171. package/types/cards/src/wave10/hercules/hercules/identity.d.ts +39 -0
  172. package/types/cards/src/wave10/hercules/hercules/obligation-nemesis.d.ts +43 -0
  173. package/types/cards/src/wave10/hercules/hercules/support-upgrades-allies.d.ts +55 -0
  174. package/types/cards/src/wave10/hercules/leadership.d.ts +42 -0
  175. package/types/cards/src/wave10/hercules/pack.d.ts +8 -0
  176. package/types/cards/src/wave10/index.d.ts +35 -0
  177. package/types/cards/src/wave10/modules.d.ts +20 -0
  178. package/types/cards/src/wave10/setup.d.ts +67 -0
  179. package/types/cards/src/wave10/synthezoid/competitive/leader-cards.d.ts +22 -0
  180. package/types/cards/src/wave10/synthezoid/competitive/standard-pvp.d.ts +27 -0
  181. package/types/cards/src/wave10/synthezoid/leaders/she-hulk.d.ts +28 -0
  182. package/types/cards/src/wave10/synthezoid/leaders/vision.d.ts +39 -0
  183. package/types/cards/src/wave10/synthezoid/main-schemes/registration.d.ts +19 -0
  184. package/types/cards/src/wave10/synthezoid/main-schemes/resistance.d.ts +19 -0
  185. package/types/cards/src/wave10/synthezoid/modular/deadly-duo.d.ts +33 -0
  186. package/types/cards/src/wave10/synthezoid/modular/moon-knight.d.ts +36 -0
  187. package/types/cards/src/wave10/synthezoid/modular/royal-guard.d.ts +31 -0
  188. package/types/cards/src/wave10/synthezoid/modular/scarlet-twins.d.ts +31 -0
  189. package/types/cards/src/wave10/synthezoid/modular/shield-ops.d.ts +27 -0
  190. package/types/cards/src/wave10/synthezoid/modular/taskmaster.d.ts +36 -0
  191. package/types/cards/src/wave10/synthezoid/modular/thunderbolts.d.ts +31 -0
  192. package/types/cards/src/wave10/synthezoid/modular/young-avengers.d.ts +29 -0
  193. package/types/cards/src/wave10/synthezoid/pack.d.ts +9 -0
  194. package/types/cards/src/wave10/wonder_man/basic.d.ts +4 -0
  195. package/types/cards/src/wave10/wonder_man/justice.d.ts +58 -0
  196. package/types/cards/src/wave10/wonder_man/other-aspects.d.ts +74 -0
  197. package/types/cards/src/wave10/wonder_man/pack.d.ts +8 -0
  198. package/types/cards/src/wave10/wonder_man/wonder-man/events.d.ts +42 -0
  199. package/types/cards/src/wave10/wonder_man/wonder-man/identity.d.ts +45 -0
  200. package/types/cards/src/wave10/wonder_man/wonder-man/obligation-nemesis.d.ts +37 -0
  201. package/types/cards/src/wave10/wonder_man/wonder-man/support-upgrades-allies.d.ts +49 -0
  202. package/types/cards/src/wave11/card-groups.d.ts +15 -0
  203. package/types/cards/src/wave11/cards.d.ts +8 -0
  204. package/types/cards/src/wave11/elektra/aggression.d.ts +29 -0
  205. package/types/cards/src/wave11/elektra/basic.d.ts +23 -0
  206. package/types/cards/src/wave11/elektra/elektra/events.d.ts +26 -0
  207. package/types/cards/src/wave11/elektra/elektra/identity.d.ts +26 -0
  208. package/types/cards/src/wave11/elektra/elektra/ninja-deck.d.ts +4 -0
  209. package/types/cards/src/wave11/elektra/elektra/obligation-nemesis.d.ts +28 -0
  210. package/types/cards/src/wave11/elektra/elektra/support-upgrades-allies.d.ts +51 -0
  211. package/types/cards/src/wave11/elektra/justice.d.ts +4 -0
  212. package/types/cards/src/wave11/elektra/leadership.d.ts +13 -0
  213. package/types/cards/src/wave11/elektra/pack.d.ts +12 -0
  214. package/types/cards/src/wave11/elektra/protection.d.ts +22 -0
  215. package/types/cards/src/wave11/fne/aspect-basic/basic.d.ts +27 -0
  216. package/types/cards/src/wave11/fne/aspect-basic/justice.d.ts +55 -0
  217. package/types/cards/src/wave11/fne/aspect-basic/protection.d.ts +41 -0
  218. package/types/cards/src/wave11/fne/campaign/environments.d.ts +43 -0
  219. package/types/cards/src/wave11/fne/campaign/typhoid-mary-ally.d.ts +22 -0
  220. package/types/cards/src/wave11/fne/daredevil/events.d.ts +32 -0
  221. package/types/cards/src/wave11/fne/daredevil/identity.d.ts +27 -0
  222. package/types/cards/src/wave11/fne/daredevil/obligation-nemesis.d.ts +32 -0
  223. package/types/cards/src/wave11/fne/daredevil/sense-deck.d.ts +4 -0
  224. package/types/cards/src/wave11/fne/daredevil/support-upgrades-allies.d.ts +45 -0
  225. package/types/cards/src/wave11/fne/echo/events.d.ts +29 -0
  226. package/types/cards/src/wave11/fne/echo/identity.d.ts +28 -0
  227. package/types/cards/src/wave11/fne/echo/obligation-nemesis.d.ts +25 -0
  228. package/types/cards/src/wave11/fne/echo/support-upgrades-allies.d.ts +44 -0
  229. package/types/cards/src/wave11/fne/modular/cops.d.ts +26 -0
  230. package/types/cards/src/wave11/fne/modular/disasters.d.ts +22 -0
  231. package/types/cards/src/wave11/fne/modular/drive.d.ts +25 -0
  232. package/types/cards/src/wave11/fne/modular/the-owl.d.ts +29 -0
  233. package/types/cards/src/wave11/fne/modular/tombstone.d.ts +28 -0
  234. package/types/cards/src/wave11/fne/modular/tracksuit-mafia.d.ts +27 -0
  235. package/types/cards/src/wave11/fne/pack.d.ts +9 -0
  236. package/types/cards/src/wave11/fne/scenarios/art-museum-heist.d.ts +35 -0
  237. package/types/cards/src/wave11/fne/scenarios/kingpin.d.ts +68 -0
  238. package/types/cards/src/wave11/fne/scenarios/protection-racket.d.ts +47 -0
  239. package/types/cards/src/wave11/fne/scenarios/stop-the-presses.d.ts +46 -0
  240. package/types/cards/src/wave11/fne/scenarios/the-getaway.d.ts +39 -0
  241. package/types/cards/src/wave11/fne/scenarios/the-raft-breakout.d.ts +46 -0
  242. package/types/cards/src/wave11/fne/villains/bullseye.d.ts +19 -0
  243. package/types/cards/src/wave11/fne/villains/electro.d.ts +38 -0
  244. package/types/cards/src/wave11/fne/villains/hammerhead.d.ts +39 -0
  245. package/types/cards/src/wave11/fne/villains/purple-man.d.ts +32 -0
  246. package/types/cards/src/wave11/fne/villains/typhoid-mary.d.ts +32 -0
  247. package/types/cards/src/wave11/index.d.ts +32 -0
  248. package/types/cards/src/wave11/iron_fist/aggression.d.ts +14 -0
  249. package/types/cards/src/wave11/iron_fist/basic.d.ts +39 -0
  250. package/types/cards/src/wave11/iron_fist/iron-fist/chi.d.ts +12 -0
  251. package/types/cards/src/wave11/iron_fist/iron-fist/events.d.ts +29 -0
  252. package/types/cards/src/wave11/iron_fist/iron-fist/identity.d.ts +28 -0
  253. package/types/cards/src/wave11/iron_fist/iron-fist/obligation-nemesis.d.ts +38 -0
  254. package/types/cards/src/wave11/iron_fist/iron-fist/support-upgrades-allies.d.ts +26 -0
  255. package/types/cards/src/wave11/iron_fist/leadership.d.ts +26 -0
  256. package/types/cards/src/wave11/iron_fist/pack.d.ts +12 -0
  257. package/types/cards/src/wave11/iron_fist/protection.d.ts +53 -0
  258. package/types/cards/src/wave11/jj/basic.d.ts +35 -0
  259. package/types/cards/src/wave11/jj/jessica-jones/events.d.ts +22 -0
  260. package/types/cards/src/wave11/jj/jessica-jones/identity.d.ts +36 -0
  261. package/types/cards/src/wave11/jj/jessica-jones/obligation-nemesis.d.ts +4 -0
  262. package/types/cards/src/wave11/jj/jessica-jones/support-upgrades-allies.d.ts +29 -0
  263. package/types/cards/src/wave11/jj/justice.d.ts +35 -0
  264. package/types/cards/src/wave11/jj/other-aspects.d.ts +27 -0
  265. package/types/cards/src/wave11/jj/pack.d.ts +8 -0
  266. package/types/cards/src/wave11/luke_cage/leadership.d.ts +32 -0
  267. package/types/cards/src/wave11/luke_cage/luke-cage/events.d.ts +27 -0
  268. package/types/cards/src/wave11/luke_cage/luke-cage/identity.d.ts +23 -0
  269. package/types/cards/src/wave11/luke_cage/luke-cage/obligation-nemesis.d.ts +42 -0
  270. package/types/cards/src/wave11/luke_cage/luke-cage/support-upgrades-allies.d.ts +29 -0
  271. package/types/cards/src/wave11/luke_cage/other-aspects-basic.d.ts +41 -0
  272. package/types/cards/src/wave11/luke_cage/pack.d.ts +8 -0
  273. package/types/cards/src/wave11/modules.d.ts +22 -0
  274. package/types/cards/src/wave11/setup.d.ts +89 -0
  275. package/types/cards/src/wave11/shadowland/black-flower.d.ts +4 -0
  276. package/types/cards/src/wave11/shadowland/creeping-corruption.d.ts +48 -0
  277. package/types/cards/src/wave11/shadowland/dark-protege.d.ts +4 -0
  278. package/types/cards/src/wave11/shadowland/deadly-contraptions.d.ts +37 -0
  279. package/types/cards/src/wave11/shadowland/heart-of-shadow.d.ts +4 -0
  280. package/types/cards/src/wave11/shadowland/ninja-swarm.d.ts +35 -0
  281. package/types/cards/src/wave11/shadowland/pack.d.ts +9 -0
  282. package/types/cards/src/wave11/shadowland/shadow-labyrinth.d.ts +56 -0
  283. package/types/cards/src/wave11/shadowland/shadows-in-the-night.d.ts +14 -0
  284. package/types/cards/src/wave2/ant/kit.d.ts +28 -0
  285. package/types/cards/src/wave2/ant/obligation-nemesis.d.ts +38 -0
  286. package/types/cards/src/wave2/ant/pack-cards.d.ts +42 -0
  287. package/types/cards/src/wave2/ant/pack.d.ts +11 -0
  288. package/types/cards/src/wave2/index.d.ts +33 -0
  289. package/types/cards/src/wave2/names.d.ts +9 -0
  290. package/types/cards/src/wave2/qsv/kit.d.ts +57 -0
  291. package/types/cards/src/wave2/qsv/obligation-nemesis.d.ts +21 -0
  292. package/types/cards/src/wave2/qsv/pack-cards.d.ts +40 -0
  293. package/types/cards/src/wave2/qsv/pack.d.ts +10 -0
  294. package/types/cards/src/wave2/reprints.d.ts +41 -0
  295. package/types/cards/src/wave2/scw/kit.d.ts +74 -0
  296. package/types/cards/src/wave2/scw/obligation-nemesis.d.ts +56 -0
  297. package/types/cards/src/wave2/scw/pack-cards.d.ts +48 -0
  298. package/types/cards/src/wave2/scw/pack.d.ts +10 -0
  299. package/types/cards/src/wave2/setup.d.ts +34 -0
  300. package/types/cards/src/wave2/toafk/kang-encounter-set.d.ts +114 -0
  301. package/types/cards/src/wave2/toafk/kang.d.ts +109 -0
  302. package/types/cards/src/wave2/toafk/pack.d.ts +11 -0
  303. package/types/cards/src/wave2/trors/absorbing-man.d.ts +66 -0
  304. package/types/cards/src/wave2/trors/campaign-cards.d.ts +34 -0
  305. package/types/cards/src/wave2/trors/crossbones.d.ts +63 -0
  306. package/types/cards/src/wave2/trors/hawkeye-kit.d.ts +34 -0
  307. package/types/cards/src/wave2/trors/hawkeye-obligation-nemesis.d.ts +36 -0
  308. package/types/cards/src/wave2/trors/pack.d.ts +11 -0
  309. package/types/cards/src/wave2/trors/red-skull.d.ts +79 -0
  310. package/types/cards/src/wave2/trors/spider-woman-kit.d.ts +29 -0
  311. package/types/cards/src/wave2/trors/spider-woman-obligation-nemesis.d.ts +12 -0
  312. package/types/cards/src/wave2/trors/taskmaster.d.ts +44 -0
  313. package/types/cards/src/wave2/trors/zola.d.ts +38 -0
  314. package/types/cards/src/wave2/wsp/kit.d.ts +52 -0
  315. package/types/cards/src/wave2/wsp/obligation-nemesis.d.ts +12 -0
  316. package/types/cards/src/wave2/wsp/pack-cards.d.ts +29 -0
  317. package/types/cards/src/wave2/wsp/pack.d.ts +11 -0
  318. package/types/cards/src/wave3/cards.d.ts +14 -0
  319. package/types/cards/src/wave3/drax/drax-kit.d.ts +42 -0
  320. package/types/cards/src/wave3/drax/drax-obligation-nemesis.d.ts +15 -0
  321. package/types/cards/src/wave3/drax/drax-pack-cards.d.ts +22 -0
  322. package/types/cards/src/wave3/drax/pack.d.ts +7 -0
  323. package/types/cards/src/wave3/gam/gamora-kit.d.ts +44 -0
  324. package/types/cards/src/wave3/gam/gamora-obligation-nemesis.d.ts +14 -0
  325. package/types/cards/src/wave3/gam/pack.d.ts +7 -0
  326. package/types/cards/src/wave3/gmw/badoon-headhunter.d.ts +19 -0
  327. package/types/cards/src/wave3/gmw/badoon.d.ts +31 -0
  328. package/types/cards/src/wave3/gmw/campaign-challenge.d.ts +27 -0
  329. package/types/cards/src/wave3/gmw/escape-the-museum.d.ts +23 -0
  330. package/types/cards/src/wave3/gmw/galactic-artifacts.d.ts +40 -0
  331. package/types/cards/src/wave3/gmw/groot-kit.d.ts +38 -0
  332. package/types/cards/src/wave3/gmw/groot-obligation-nemesis.d.ts +10 -0
  333. package/types/cards/src/wave3/gmw/market.d.ts +61 -0
  334. package/types/cards/src/wave3/gmw/museum.d.ts +23 -0
  335. package/types/cards/src/wave3/gmw/nebula.d.ts +42 -0
  336. package/types/cards/src/wave3/gmw/pack.d.ts +7 -0
  337. package/types/cards/src/wave3/gmw/rocket-kit.d.ts +39 -0
  338. package/types/cards/src/wave3/gmw/rocket-obligation-nemesis.d.ts +5 -0
  339. package/types/cards/src/wave3/gmw/ronan.d.ts +31 -0
  340. package/types/cards/src/wave3/gmw/ruthless.d.ts +22 -0
  341. package/types/cards/src/wave3/gmw/ship-command.d.ts +21 -0
  342. package/types/cards/src/wave3/index.d.ts +29 -0
  343. package/types/cards/src/wave3/names.d.ts +9 -0
  344. package/types/cards/src/wave3/reprints.d.ts +52 -0
  345. package/types/cards/src/wave3/ron/kree-fanatic.d.ts +31 -0
  346. package/types/cards/src/wave3/ron/pack.d.ts +7 -0
  347. package/types/cards/src/wave3/setup.d.ts +19 -0
  348. package/types/cards/src/wave3/stld/pack.d.ts +7 -0
  349. package/types/cards/src/wave3/stld/star-lord-kit.d.ts +71 -0
  350. package/types/cards/src/wave3/stld/star-lord-obligation-nemesis.d.ts +10 -0
  351. package/types/cards/src/wave3/vnm/pack.d.ts +8 -0
  352. package/types/cards/src/wave3/vnm/venom-kit.d.ts +65 -0
  353. package/types/cards/src/wave3/vnm/venom-obligation-nemesis.d.ts +41 -0
  354. package/types/cards/src/wave4/cards.d.ts +22 -0
  355. package/types/cards/src/wave4/hood/beasty-boys.d.ts +17 -0
  356. package/types/cards/src/wave4/hood/brothers-grimm.d.ts +8 -0
  357. package/types/cards/src/wave4/hood/crossfire-crew.d.ts +11 -0
  358. package/types/cards/src/wave4/hood/hood.d.ts +26 -0
  359. package/types/cards/src/wave4/hood/mister-hyde.d.ts +8 -0
  360. package/types/cards/src/wave4/hood/pack.d.ts +9 -0
  361. package/types/cards/src/wave4/hood/ransacked-armory.d.ts +11 -0
  362. package/types/cards/src/wave4/hood/sinister-syndicate.d.ts +15 -0
  363. package/types/cards/src/wave4/hood/standard-expert-ii.d.ts +18 -0
  364. package/types/cards/src/wave4/hood/state-of-emergency.d.ts +20 -0
  365. package/types/cards/src/wave4/hood/streets-of-mayhem.d.ts +11 -0
  366. package/types/cards/src/wave4/hood/wrecking-crew.d.ts +9 -0
  367. package/types/cards/src/wave4/index.d.ts +21 -0
  368. package/types/cards/src/wave4/mts/adam-warlock-kit.d.ts +28 -0
  369. package/types/cards/src/wave4/mts/adam-warlock-obligation-nemesis.d.ts +13 -0
  370. package/types/cards/src/wave4/mts/adam-warlock-pack-cards.d.ts +40 -0
  371. package/types/cards/src/wave4/mts/children-of-thanos.d.ts +16 -0
  372. package/types/cards/src/wave4/mts/ebony-maw.d.ts +38 -0
  373. package/types/cards/src/wave4/mts/enchantress.d.ts +7 -0
  374. package/types/cards/src/wave4/mts/frost-giants.d.ts +14 -0
  375. package/types/cards/src/wave4/mts/hela.d.ts +40 -0
  376. package/types/cards/src/wave4/mts/infinity-gauntlet.d.ts +9 -0
  377. package/types/cards/src/wave4/mts/legions-of-hel.d.ts +7 -0
  378. package/types/cards/src/wave4/mts/loki.d.ts +29 -0
  379. package/types/cards/src/wave4/mts/mts-campaign-cards.d.ts +30 -0
  380. package/types/cards/src/wave4/mts/pack.d.ts +12 -0
  381. package/types/cards/src/wave4/mts/spectrum-kit.d.ts +27 -0
  382. package/types/cards/src/wave4/mts/spectrum-obligation-nemesis.d.ts +15 -0
  383. package/types/cards/src/wave4/mts/spectrum-pack-cards.d.ts +25 -0
  384. package/types/cards/src/wave4/mts/thanos.d.ts +25 -0
  385. package/types/cards/src/wave4/mts/tower-defense.d.ts +75 -0
  386. package/types/cards/src/wave4/names.d.ts +9 -0
  387. package/types/cards/src/wave4/nebu/nebula-kit.d.ts +42 -0
  388. package/types/cards/src/wave4/nebu/nebula-obligation-nemesis.d.ts +13 -0
  389. package/types/cards/src/wave4/nebu/nebula-pack-cards.d.ts +31 -0
  390. package/types/cards/src/wave4/nebu/pack.d.ts +7 -0
  391. package/types/cards/src/wave4/reprints.d.ts +17 -0
  392. package/types/cards/src/wave4/setup.d.ts +27 -0
  393. package/types/cards/src/wave4/valk/pack.d.ts +7 -0
  394. package/types/cards/src/wave4/valk/valkyrie-kit.d.ts +23 -0
  395. package/types/cards/src/wave4/valk/valkyrie-obligation-nemesis.d.ts +16 -0
  396. package/types/cards/src/wave4/valk/valkyrie-pack-cards.d.ts +24 -0
  397. package/types/cards/src/wave4/vision/pack.d.ts +8 -0
  398. package/types/cards/src/wave4/vision/vision-kit.d.ts +47 -0
  399. package/types/cards/src/wave4/vision/vision-obligation-nemesis.d.ts +18 -0
  400. package/types/cards/src/wave4/vision/vision-pack-cards.d.ts +26 -0
  401. package/types/cards/src/wave4/warm/pack.d.ts +7 -0
  402. package/types/cards/src/wave4/warm/war-machine-kit.d.ts +31 -0
  403. package/types/cards/src/wave4/warm/war-machine-obligation-nemesis.d.ts +11 -0
  404. package/types/cards/src/wave4/warm/war-machine-pack-cards.d.ts +29 -0
  405. package/types/cards/src/wave5/cards.d.ts +17 -0
  406. package/types/cards/src/wave5/index.d.ts +18 -0
  407. package/types/cards/src/wave5/ironheart/allies.d.ts +77 -0
  408. package/types/cards/src/wave5/ironheart/events.d.ts +11 -0
  409. package/types/cards/src/wave5/ironheart/identity.d.ts +9 -0
  410. package/types/cards/src/wave5/ironheart/obligation-nemesis.d.ts +10 -0
  411. package/types/cards/src/wave5/ironheart/pack.d.ts +11 -0
  412. package/types/cards/src/wave5/ironheart/support-upgrades.d.ts +67 -0
  413. package/types/cards/src/wave5/ironheart/zzzax.d.ts +13 -0
  414. package/types/cards/src/wave5/nova/armadillo.d.ts +17 -0
  415. package/types/cards/src/wave5/nova/events.d.ts +91 -0
  416. package/types/cards/src/wave5/nova/identity.d.ts +4 -0
  417. package/types/cards/src/wave5/nova/obligation-nemesis.d.ts +103 -0
  418. package/types/cards/src/wave5/nova/pack.d.ts +10 -0
  419. package/types/cards/src/wave5/nova/support-upgrades-allies.d.ts +136 -0
  420. package/types/cards/src/wave5/setup.d.ts +35 -0
  421. package/types/cards/src/wave5/silk/quick-quip.d.ts +14 -0
  422. package/types/cards/src/wave5/sm/basic-cards.d.ts +4 -0
  423. package/types/cards/src/wave5/sm/campaign/encounter.d.ts +14 -0
  424. package/types/cards/src/wave5/sm/campaign/shield-tech.d.ts +108 -0
  425. package/types/cards/src/wave5/sm/ghost-spider/events-a.d.ts +54 -0
  426. package/types/cards/src/wave5/sm/ghost-spider/events-b.d.ts +8 -0
  427. package/types/cards/src/wave5/sm/ghost-spider/identity.d.ts +7 -0
  428. package/types/cards/src/wave5/sm/ghost-spider/index.d.ts +20 -0
  429. package/types/cards/src/wave5/sm/ghost-spider/obligation-nemesis.d.ts +59 -0
  430. package/types/cards/src/wave5/sm/ghost-spider/support-upgrades-allies.d.ts +75 -0
  431. package/types/cards/src/wave5/sm/modulars/down-to-earth.d.ts +35 -0
  432. package/types/cards/src/wave5/sm/modulars/goblin-gear.d.ts +18 -0
  433. package/types/cards/src/wave5/sm/modulars/index.d.ts +7 -0
  434. package/types/cards/src/wave5/sm/modulars/osborn-tech.d.ts +29 -0
  435. package/types/cards/src/wave5/sm/modulars/sinister-assault.d.ts +23 -0
  436. package/types/cards/src/wave5/sm/modulars/whispers-of-paranoia.d.ts +51 -0
  437. package/types/cards/src/wave5/sm/mysterio/encounter-set.d.ts +14 -0
  438. package/types/cards/src/wave5/sm/mysterio/index.d.ts +10 -0
  439. package/types/cards/src/wave5/sm/mysterio/main-scheme.d.ts +6 -0
  440. package/types/cards/src/wave5/sm/mysterio/personal-nightmare.d.ts +9 -0
  441. package/types/cards/src/wave5/sm/mysterio/villain.d.ts +7 -0
  442. package/types/cards/src/wave5/sm/pack.d.ts +9 -0
  443. package/types/cards/src/wave5/sm/sandman/city-in-chaos.d.ts +12 -0
  444. package/types/cards/src/wave5/sm/sandman/encounter-set.d.ts +22 -0
  445. package/types/cards/src/wave5/sm/sandman/index.d.ts +8 -0
  446. package/types/cards/src/wave5/sm/sandman/main-scheme.d.ts +8 -0
  447. package/types/cards/src/wave5/sm/sandman/villain.d.ts +7 -0
  448. package/types/cards/src/wave5/sm/sinister-six/encounter-attachments.d.ts +11 -0
  449. package/types/cards/src/wave5/sm/sinister-six/guerrilla-tactics.d.ts +21 -0
  450. package/types/cards/src/wave5/sm/sinister-six/index.d.ts +8 -0
  451. package/types/cards/src/wave5/sm/sinister-six/main-scheme.d.ts +14 -0
  452. package/types/cards/src/wave5/sm/sinister-six/scenario-cards.d.ts +23 -0
  453. package/types/cards/src/wave5/sm/sinister-six/treacheries.d.ts +12 -0
  454. package/types/cards/src/wave5/sm/sinister-six/villains.d.ts +45 -0
  455. package/types/cards/src/wave5/sm/spider-man-morales/events.d.ts +64 -0
  456. package/types/cards/src/wave5/sm/spider-man-morales/identity.d.ts +34 -0
  457. package/types/cards/src/wave5/sm/spider-man-morales/index.d.ts +11 -0
  458. package/types/cards/src/wave5/sm/spider-man-morales/obligation-nemesis.d.ts +42 -0
  459. package/types/cards/src/wave5/sm/spider-man-morales/precon-player-cards.d.ts +61 -0
  460. package/types/cards/src/wave5/sm/spider-man-morales/support-upgrades-allies.d.ts +53 -0
  461. package/types/cards/src/wave5/sm/venom/encounter-set.d.ts +27 -0
  462. package/types/cards/src/wave5/sm/venom/index.d.ts +9 -0
  463. package/types/cards/src/wave5/sm/venom/main-scheme.d.ts +8 -0
  464. package/types/cards/src/wave5/sm/venom/symbiotic-strength.d.ts +16 -0
  465. package/types/cards/src/wave5/sm/venom/villain.d.ts +7 -0
  466. package/types/cards/src/wave5/sm/venom-goblin/encounter-set.d.ts +19 -0
  467. package/types/cards/src/wave5/sm/venom-goblin/index.d.ts +8 -0
  468. package/types/cards/src/wave5/sm/venom-goblin/main-scheme.d.ts +36 -0
  469. package/types/cards/src/wave5/sm/venom-goblin/villain.d.ts +7 -0
  470. package/types/cards/src/wave5/spdr/allies.d.ts +83 -0
  471. package/types/cards/src/wave5/spdr/events.d.ts +64 -0
  472. package/types/cards/src/wave5/spdr/identity.d.ts +9 -0
  473. package/types/cards/src/wave5/spdr/obligation-nemesis.d.ts +7 -0
  474. package/types/cards/src/wave5/spdr/pack.d.ts +8 -0
  475. package/types/cards/src/wave5/spdr/sinister-syndicate.d.ts +22 -0
  476. package/types/cards/src/wave5/spdr/support-upgrades.d.ts +120 -0
  477. package/types/cards/src/wave5/spiderham/allies.d.ts +78 -0
  478. package/types/cards/src/wave5/spiderham/events.d.ts +78 -0
  479. package/types/cards/src/wave5/spiderham/identity.d.ts +40 -0
  480. package/types/cards/src/wave5/spiderham/inheritors.d.ts +27 -0
  481. package/types/cards/src/wave5/spiderham/obligation-nemesis.d.ts +7 -0
  482. package/types/cards/src/wave5/spiderham/pack.d.ts +8 -0
  483. package/types/cards/src/wave5/spiderham/support-upgrades.d.ts +105 -0
  484. package/types/cards/src/wave6/cards.d.ts +8 -0
  485. package/types/cards/src/wave6/cyclops/cyclops/events.d.ts +18 -0
  486. package/types/cards/src/wave6/cyclops/cyclops/identity.d.ts +20 -0
  487. package/types/cards/src/wave6/cyclops/cyclops/index.d.ts +6 -0
  488. package/types/cards/src/wave6/cyclops/cyclops/obligation-nemesis.d.ts +26 -0
  489. package/types/cards/src/wave6/cyclops/cyclops/support-upgrades-allies.d.ts +56 -0
  490. package/types/cards/src/wave6/cyclops/pack.d.ts +6 -0
  491. package/types/cards/src/wave6/cyclops/precon-player-cards.d.ts +16 -0
  492. package/types/cards/src/wave6/gambit/exodus/index.d.ts +13 -0
  493. package/types/cards/src/wave6/gambit/gambit/events.d.ts +25 -0
  494. package/types/cards/src/wave6/gambit/gambit/identity.d.ts +25 -0
  495. package/types/cards/src/wave6/gambit/gambit/index.d.ts +7 -0
  496. package/types/cards/src/wave6/gambit/gambit/obligation-nemesis.d.ts +19 -0
  497. package/types/cards/src/wave6/gambit/gambit/support-upgrades-allies.d.ts +38 -0
  498. package/types/cards/src/wave6/gambit/pack.d.ts +6 -0
  499. package/types/cards/src/wave6/index.d.ts +19 -0
  500. package/types/cards/src/wave6/mojo/crime.d.ts +21 -0
  501. package/types/cards/src/wave6/mojo/fantasy.d.ts +28 -0
  502. package/types/cards/src/wave6/mojo/horror.d.ts +14 -0
  503. package/types/cards/src/wave6/mojo/longshot.d.ts +12 -0
  504. package/types/cards/src/wave6/mojo/magog.d.ts +41 -0
  505. package/types/cards/src/wave6/mojo/mojo.d.ts +36 -0
  506. package/types/cards/src/wave6/mojo/pack.d.ts +7 -0
  507. package/types/cards/src/wave6/mojo/sci-fi.d.ts +23 -0
  508. package/types/cards/src/wave6/mojo/sitcom.d.ts +29 -0
  509. package/types/cards/src/wave6/mojo/spiral.d.ts +34 -0
  510. package/types/cards/src/wave6/mojo/western.d.ts +28 -0
  511. package/types/cards/src/wave6/mut_gen/acolytes.d.ts +25 -0
  512. package/types/cards/src/wave6/mut_gen/brotherhood.d.ts +27 -0
  513. package/types/cards/src/wave6/mut_gen/campaign-cards.d.ts +33 -0
  514. package/types/cards/src/wave6/mut_gen/colossus/events.d.ts +25 -0
  515. package/types/cards/src/wave6/mut_gen/colossus/identity.d.ts +24 -0
  516. package/types/cards/src/wave6/mut_gen/colossus/index.d.ts +7 -0
  517. package/types/cards/src/wave6/mut_gen/colossus/obligation-nemesis.d.ts +25 -0
  518. package/types/cards/src/wave6/mut_gen/colossus/support-upgrades-allies.d.ts +31 -0
  519. package/types/cards/src/wave6/mut_gen/future-past.d.ts +24 -0
  520. package/types/cards/src/wave6/mut_gen/magneto.d.ts +64 -0
  521. package/types/cards/src/wave6/mut_gen/mansion-attack.d.ts +57 -0
  522. package/types/cards/src/wave6/mut_gen/master-mold.d.ts +32 -0
  523. package/types/cards/src/wave6/mut_gen/mystique.d.ts +30 -0
  524. package/types/cards/src/wave6/mut_gen/pack.d.ts +8 -0
  525. package/types/cards/src/wave6/mut_gen/precon-player-cards.d.ts +36 -0
  526. package/types/cards/src/wave6/mut_gen/project-wideawake.d.ts +61 -0
  527. package/types/cards/src/wave6/mut_gen/role-upgrades.d.ts +73 -0
  528. package/types/cards/src/wave6/mut_gen/sabretooth.d.ts +54 -0
  529. package/types/cards/src/wave6/mut_gen/sentinels.d.ts +20 -0
  530. package/types/cards/src/wave6/mut_gen/shadowcat/events.d.ts +27 -0
  531. package/types/cards/src/wave6/mut_gen/shadowcat/identity.d.ts +29 -0
  532. package/types/cards/src/wave6/mut_gen/shadowcat/index.d.ts +7 -0
  533. package/types/cards/src/wave6/mut_gen/shadowcat/obligation-nemesis.d.ts +32 -0
  534. package/types/cards/src/wave6/mut_gen/shadowcat/support-upgrades-allies.d.ts +36 -0
  535. package/types/cards/src/wave6/mut_gen/zero-tolerance.d.ts +16 -0
  536. package/types/cards/src/wave6/phoenix/pack.d.ts +7 -0
  537. package/types/cards/src/wave6/phoenix/phoenix/events.d.ts +31 -0
  538. package/types/cards/src/wave6/phoenix/phoenix/identity.d.ts +26 -0
  539. package/types/cards/src/wave6/phoenix/phoenix/index.d.ts +8 -0
  540. package/types/cards/src/wave6/phoenix/phoenix/obligation-nemesis.d.ts +26 -0
  541. package/types/cards/src/wave6/phoenix/phoenix/support-upgrades-allies.d.ts +41 -0
  542. package/types/cards/src/wave6/phoenix/precon-player-cards.d.ts +9 -0
  543. package/types/cards/src/wave6/rogue/pack.d.ts +6 -0
  544. package/types/cards/src/wave6/rogue/reavers/index.d.ts +14 -0
  545. package/types/cards/src/wave6/rogue/rogue/events.d.ts +33 -0
  546. package/types/cards/src/wave6/rogue/rogue/identity.d.ts +25 -0
  547. package/types/cards/src/wave6/rogue/rogue/index.d.ts +7 -0
  548. package/types/cards/src/wave6/rogue/rogue/obligation-nemesis.d.ts +23 -0
  549. package/types/cards/src/wave6/rogue/rogue/support-upgrades-allies.d.ts +40 -0
  550. package/types/cards/src/wave6/setup.d.ts +18 -0
  551. package/types/cards/src/wave6/storm/pack.d.ts +6 -0
  552. package/types/cards/src/wave6/storm/shadow-king/index.d.ts +12 -0
  553. package/types/cards/src/wave6/storm/storm/events.d.ts +26 -0
  554. package/types/cards/src/wave6/storm/storm/identity.d.ts +24 -0
  555. package/types/cards/src/wave6/storm/storm/index.d.ts +8 -0
  556. package/types/cards/src/wave6/storm/storm/obligation-nemesis.d.ts +27 -0
  557. package/types/cards/src/wave6/storm/storm/support-upgrades-allies.d.ts +49 -0
  558. package/types/cards/src/wave6/storm/storm/weather.d.ts +24 -0
  559. package/types/cards/src/wave6/wolv/lady-deathstrike.d.ts +9 -0
  560. package/types/cards/src/wave6/wolv/pack.d.ts +7 -0
  561. package/types/cards/src/wave6/wolv/precon-player-cards.d.ts +35 -0
  562. package/types/cards/src/wave6/wolv/wolverine/events.d.ts +23 -0
  563. package/types/cards/src/wave6/wolv/wolverine/identity.d.ts +25 -0
  564. package/types/cards/src/wave6/wolv/wolverine/index.d.ts +8 -0
  565. package/types/cards/src/wave6/wolv/wolverine/obligation-nemesis.d.ts +20 -0
  566. package/types/cards/src/wave6/wolv/wolverine/support-upgrades-allies.d.ts +31 -0
  567. package/types/cards/src/wave7/angel/events.d.ts +25 -0
  568. package/types/cards/src/wave7/angel/identity.d.ts +16 -0
  569. package/types/cards/src/wave7/angel/obligation-nemesis.d.ts +19 -0
  570. package/types/cards/src/wave7/angel/pack-cards.d.ts +15 -0
  571. package/types/cards/src/wave7/angel/pack.d.ts +6 -0
  572. package/types/cards/src/wave7/angel/support-upgrades-allies.d.ts +23 -0
  573. package/types/cards/src/wave7/cards.d.ts +8 -0
  574. package/types/cards/src/wave7/deadpool/dreadpool.d.ts +2 -0
  575. package/types/cards/src/wave7/deadpool/events.d.ts +2 -0
  576. package/types/cards/src/wave7/deadpool/identity.d.ts +17 -0
  577. package/types/cards/src/wave7/deadpool/obligation-nemesis.d.ts +32 -0
  578. package/types/cards/src/wave7/deadpool/pack-cards.d.ts +2 -0
  579. package/types/cards/src/wave7/deadpool/pack.d.ts +6 -0
  580. package/types/cards/src/wave7/deadpool/support-upgrades-allies.d.ts +20 -0
  581. package/types/cards/src/wave7/index.d.ts +19 -0
  582. package/types/cards/src/wave7/next_evol/black-tom-cassidy.d.ts +2 -0
  583. package/types/cards/src/wave7/next_evol/cable/events.d.ts +16 -0
  584. package/types/cards/src/wave7/next_evol/cable/identity.d.ts +15 -0
  585. package/types/cards/src/wave7/next_evol/cable/index.d.ts +3 -0
  586. package/types/cards/src/wave7/next_evol/cable/obligation-nemesis.d.ts +22 -0
  587. package/types/cards/src/wave7/next_evol/cable/support-upgrades-allies.d.ts +25 -0
  588. package/types/cards/src/wave7/next_evol/campaign.d.ts +37 -0
  589. package/types/cards/src/wave7/next_evol/domino/events.d.ts +18 -0
  590. package/types/cards/src/wave7/next_evol/domino/identity.d.ts +13 -0
  591. package/types/cards/src/wave7/next_evol/domino/index.d.ts +3 -0
  592. package/types/cards/src/wave7/next_evol/domino/obligation-nemesis.d.ts +19 -0
  593. package/types/cards/src/wave7/next_evol/domino/support-upgrades-allies.d.ts +29 -0
  594. package/types/cards/src/wave7/next_evol/extreme-measures.d.ts +2 -0
  595. package/types/cards/src/wave7/next_evol/flight.d.ts +2 -0
  596. package/types/cards/src/wave7/next_evol/hope-summers.d.ts +2 -0
  597. package/types/cards/src/wave7/next_evol/juggernaut.d.ts +2 -0
  598. package/types/cards/src/wave7/next_evol/marauders.d.ts +2 -0
  599. package/types/cards/src/wave7/next_evol/military-grade.d.ts +2 -0
  600. package/types/cards/src/wave7/next_evol/mister-sinister.d.ts +2 -0
  601. package/types/cards/src/wave7/next_evol/morlock-siege.d.ts +2 -0
  602. package/types/cards/src/wave7/next_evol/mutant-insurrection.d.ts +2 -0
  603. package/types/cards/src/wave7/next_evol/mutant-slayers.d.ts +2 -0
  604. package/types/cards/src/wave7/next_evol/nasty-boys.d.ts +2 -0
  605. package/types/cards/src/wave7/next_evol/on-the-run.d.ts +2 -0
  606. package/types/cards/src/wave7/next_evol/pack.d.ts +7 -0
  607. package/types/cards/src/wave7/next_evol/precon-cable-deck.d.ts +46 -0
  608. package/types/cards/src/wave7/next_evol/precon-domino-deck.d.ts +26 -0
  609. package/types/cards/src/wave7/next_evol/precon-player-cards.d.ts +6 -0
  610. package/types/cards/src/wave7/next_evol/stryfe.d.ts +2 -0
  611. package/types/cards/src/wave7/next_evol/super-strength.d.ts +2 -0
  612. package/types/cards/src/wave7/next_evol/telepathy.d.ts +2 -0
  613. package/types/cards/src/wave7/psylocke/events.d.ts +25 -0
  614. package/types/cards/src/wave7/psylocke/identity.d.ts +17 -0
  615. package/types/cards/src/wave7/psylocke/obligation-nemesis.d.ts +18 -0
  616. package/types/cards/src/wave7/psylocke/pack-cards.d.ts +2 -0
  617. package/types/cards/src/wave7/psylocke/pack.d.ts +6 -0
  618. package/types/cards/src/wave7/psylocke/support-upgrades-allies.d.ts +29 -0
  619. package/types/cards/src/wave7/setup.d.ts +14 -0
  620. package/types/cards/src/wave7/x23/events.d.ts +21 -0
  621. package/types/cards/src/wave7/x23/identity.d.ts +18 -0
  622. package/types/cards/src/wave7/x23/obligation-nemesis.d.ts +18 -0
  623. package/types/cards/src/wave7/x23/pack-cards.d.ts +18 -0
  624. package/types/cards/src/wave7/x23/pack.d.ts +6 -0
  625. package/types/cards/src/wave7/x23/support-upgrades-allies.d.ts +22 -0
  626. package/types/cards/src/wave8/aoa/apocalypse.d.ts +4 -0
  627. package/types/cards/src/wave8/aoa/aspect-basic.d.ts +90 -0
  628. package/types/cards/src/wave8/aoa/bishop/events.d.ts +21 -0
  629. package/types/cards/src/wave8/aoa/bishop/identity.d.ts +23 -0
  630. package/types/cards/src/wave8/aoa/bishop/index.d.ts +3 -0
  631. package/types/cards/src/wave8/aoa/bishop/obligation-nemesis.d.ts +34 -0
  632. package/types/cards/src/wave8/aoa/bishop/support-upgrades-allies.d.ts +32 -0
  633. package/types/cards/src/wave8/aoa/blue-moon.d.ts +27 -0
  634. package/types/cards/src/wave8/aoa/campaign/age-of-apocalypse.d.ts +24 -0
  635. package/types/cards/src/wave8/aoa/campaign/aoa-basic-campaign.d.ts +4 -0
  636. package/types/cards/src/wave8/aoa/campaign/aoa-campaign.d.ts +23 -0
  637. package/types/cards/src/wave8/aoa/campaign/aoa-mission.d.ts +4 -0
  638. package/types/cards/src/wave8/aoa/campaign/index.d.ts +3 -0
  639. package/types/cards/src/wave8/aoa/campaign/mission-rules.d.ts +113 -0
  640. package/types/cards/src/wave8/aoa/campaign/overseer.d.ts +4 -0
  641. package/types/cards/src/wave8/aoa/celestial-tech.d.ts +26 -0
  642. package/types/cards/src/wave8/aoa/clan-akkaba.d.ts +16 -0
  643. package/types/cards/src/wave8/aoa/dark-beast.d.ts +31 -0
  644. package/types/cards/src/wave8/aoa/dark-riders.d.ts +17 -0
  645. package/types/cards/src/wave8/aoa/dystopian-nightmare.d.ts +15 -0
  646. package/types/cards/src/wave8/aoa/en-sabah-nur.d.ts +26 -0
  647. package/types/cards/src/wave8/aoa/four-horsemen.d.ts +4 -0
  648. package/types/cards/src/wave8/aoa/genosha.d.ts +29 -0
  649. package/types/cards/src/wave8/aoa/hounds.d.ts +22 -0
  650. package/types/cards/src/wave8/aoa/infinites.d.ts +41 -0
  651. package/types/cards/src/wave8/aoa/magik/events.d.ts +28 -0
  652. package/types/cards/src/wave8/aoa/magik/identity.d.ts +26 -0
  653. package/types/cards/src/wave8/aoa/magik/index.d.ts +3 -0
  654. package/types/cards/src/wave8/aoa/magik/obligation-nemesis.d.ts +37 -0
  655. package/types/cards/src/wave8/aoa/magik/support-upgrades-allies.d.ts +31 -0
  656. package/types/cards/src/wave8/aoa/pack.d.ts +11 -0
  657. package/types/cards/src/wave8/aoa/prelates.d.ts +4 -0
  658. package/types/cards/src/wave8/aoa/savage-land.d.ts +26 -0
  659. package/types/cards/src/wave8/aoa/setting.d.ts +19 -0
  660. package/types/cards/src/wave8/aoa/standard-iii.d.ts +30 -0
  661. package/types/cards/src/wave8/aoa/unus.d.ts +4 -0
  662. package/types/cards/src/wave8/card-groups.d.ts +6 -0
  663. package/types/cards/src/wave8/cards.d.ts +9 -0
  664. package/types/cards/src/wave8/iceman/aspect-basic.d.ts +54 -0
  665. package/types/cards/src/wave8/iceman/iceman/events.d.ts +28 -0
  666. package/types/cards/src/wave8/iceman/iceman/identity.d.ts +26 -0
  667. package/types/cards/src/wave8/iceman/iceman/index.d.ts +3 -0
  668. package/types/cards/src/wave8/iceman/iceman/obligation-nemesis.d.ts +37 -0
  669. package/types/cards/src/wave8/iceman/iceman/support-upgrades-allies.d.ts +58 -0
  670. package/types/cards/src/wave8/iceman/pack.d.ts +7 -0
  671. package/types/cards/src/wave8/iceman/sauron.d.ts +30 -0
  672. package/types/cards/src/wave8/index.d.ts +27 -0
  673. package/types/cards/src/wave8/jubilee/arcade.d.ts +18 -0
  674. package/types/cards/src/wave8/jubilee/aspect-basic.d.ts +75 -0
  675. package/types/cards/src/wave8/jubilee/jubilee/events.d.ts +4 -0
  676. package/types/cards/src/wave8/jubilee/jubilee/identity.d.ts +16 -0
  677. package/types/cards/src/wave8/jubilee/jubilee/index.d.ts +3 -0
  678. package/types/cards/src/wave8/jubilee/jubilee/obligation-nemesis.d.ts +38 -0
  679. package/types/cards/src/wave8/jubilee/jubilee/support-upgrades-allies.d.ts +4 -0
  680. package/types/cards/src/wave8/jubilee/pack.d.ts +7 -0
  681. package/types/cards/src/wave8/magneto/aspect-basic.d.ts +68 -0
  682. package/types/cards/src/wave8/magneto/hellfire.d.ts +4 -0
  683. package/types/cards/src/wave8/magneto/magneto/events.d.ts +28 -0
  684. package/types/cards/src/wave8/magneto/magneto/identity.d.ts +31 -0
  685. package/types/cards/src/wave8/magneto/magneto/index.d.ts +3 -0
  686. package/types/cards/src/wave8/magneto/magneto/obligation-nemesis.d.ts +41 -0
  687. package/types/cards/src/wave8/magneto/magneto/support-upgrades-allies.d.ts +41 -0
  688. package/types/cards/src/wave8/magneto/pack.d.ts +7 -0
  689. package/types/cards/src/wave8/ncrawler/aspect-basic.d.ts +49 -0
  690. package/types/cards/src/wave8/ncrawler/crazy-gang.d.ts +26 -0
  691. package/types/cards/src/wave8/ncrawler/nightcrawler/events.d.ts +36 -0
  692. package/types/cards/src/wave8/ncrawler/nightcrawler/identity.d.ts +16 -0
  693. package/types/cards/src/wave8/ncrawler/nightcrawler/index.d.ts +3 -0
  694. package/types/cards/src/wave8/ncrawler/nightcrawler/obligation-nemesis.d.ts +35 -0
  695. package/types/cards/src/wave8/ncrawler/nightcrawler/support-upgrades-allies.d.ts +32 -0
  696. package/types/cards/src/wave8/ncrawler/pack.d.ts +8 -0
  697. package/types/cards/src/wave8/setup.d.ts +54 -0
  698. package/types/cards/src/wave9/aos/aim-abduction.d.ts +34 -0
  699. package/types/cards/src/wave9/aos/aim-science.d.ts +23 -0
  700. package/types/cards/src/wave9/aos/aspect-basic.d.ts +129 -0
  701. package/types/cards/src/wave9/aos/baron-zemo.d.ts +50 -0
  702. package/types/cards/src/wave9/aos/batroc.d.ts +44 -0
  703. package/types/cards/src/wave9/aos/batrocs-brigade.d.ts +36 -0
  704. package/types/cards/src/wave9/aos/black-widow.d.ts +42 -0
  705. package/types/cards/src/wave9/aos/campaign/carryover.d.ts +54 -0
  706. package/types/cards/src/wave9/aos/campaign/executive-board-evidence.d.ts +53 -0
  707. package/types/cards/src/wave9/aos/campaign/executive-board.d.ts +71 -0
  708. package/types/cards/src/wave9/aos/executive-board.d.ts +35 -0
  709. package/types/cards/src/wave9/aos/gravitational-pull.d.ts +30 -0
  710. package/types/cards/src/wave9/aos/hard-sound.d.ts +35 -0
  711. package/types/cards/src/wave9/aos/maria-hill/events.d.ts +41 -0
  712. package/types/cards/src/wave9/aos/maria-hill/identity.d.ts +30 -0
  713. package/types/cards/src/wave9/aos/maria-hill/obligation-nemesis.d.ts +38 -0
  714. package/types/cards/src/wave9/aos/maria-hill/support-upgrades-allies.d.ts +32 -0
  715. package/types/cards/src/wave9/aos/modok.d.ts +10 -0
  716. package/types/cards/src/wave9/aos/nick-fury/events.d.ts +21 -0
  717. package/types/cards/src/wave9/aos/nick-fury/identity.d.ts +23 -0
  718. package/types/cards/src/wave9/aos/nick-fury/obligation-nemesis.d.ts +33 -0
  719. package/types/cards/src/wave9/aos/nick-fury/support-upgrades-allies.d.ts +70 -0
  720. package/types/cards/src/wave9/aos/pack.d.ts +9 -0
  721. package/types/cards/src/wave9/aos/pale-little-spider.d.ts +29 -0
  722. package/types/cards/src/wave9/aos/power-of-the-atom.d.ts +31 -0
  723. package/types/cards/src/wave9/aos/scientist-supreme.d.ts +26 -0
  724. package/types/cards/src/wave9/aos/shield.d.ts +27 -0
  725. package/types/cards/src/wave9/aos/supersonic.d.ts +35 -0
  726. package/types/cards/src/wave9/aos/the-leaper.d.ts +28 -0
  727. package/types/cards/src/wave9/aos/thunderbolts.d.ts +4 -0
  728. package/types/cards/src/wave9/bp/aspect-basic.d.ts +93 -0
  729. package/types/cards/src/wave9/bp/black-panther/events.d.ts +15 -0
  730. package/types/cards/src/wave9/bp/black-panther/identity.d.ts +30 -0
  731. package/types/cards/src/wave9/bp/black-panther/obligation-nemesis.d.ts +30 -0
  732. package/types/cards/src/wave9/bp/black-panther/support-upgrades-allies.d.ts +30 -0
  733. package/types/cards/src/wave9/bp/extreme-risk.d.ts +30 -0
  734. package/types/cards/src/wave9/bp/pack.d.ts +8 -0
  735. package/types/cards/src/wave9/card-groups.d.ts +9 -0
  736. package/types/cards/src/wave9/cards.d.ts +8 -0
  737. package/types/cards/src/wave9/falcon/aspect-basic.d.ts +131 -0
  738. package/types/cards/src/wave9/falcon/falcon/events.d.ts +46 -0
  739. package/types/cards/src/wave9/falcon/falcon/identity.d.ts +28 -0
  740. package/types/cards/src/wave9/falcon/falcon/obligation-nemesis.d.ts +34 -0
  741. package/types/cards/src/wave9/falcon/falcon/support-upgrades-allies.d.ts +75 -0
  742. package/types/cards/src/wave9/falcon/pack.d.ts +7 -0
  743. package/types/cards/src/wave9/falcon/techno.d.ts +35 -0
  744. package/types/cards/src/wave9/index.d.ts +27 -0
  745. package/types/cards/src/wave9/setup.d.ts +27 -0
  746. package/types/cards/src/wave9/silk/aspect-basic.d.ts +68 -0
  747. package/types/cards/src/wave9/silk/growing-strong.d.ts +28 -0
  748. package/types/cards/src/wave9/silk/pack.d.ts +12 -0
  749. package/types/cards/src/wave9/silk/silk/events.d.ts +38 -0
  750. package/types/cards/src/wave9/silk/silk/identity.d.ts +22 -0
  751. package/types/cards/src/wave9/silk/silk/obligation-nemesis.d.ts +41 -0
  752. package/types/cards/src/wave9/silk/silk/support-upgrades-allies.d.ts +53 -0
  753. package/types/cards/src/wave9/tt/aspect-basic.d.ts +25 -0
  754. package/types/cards/src/wave9/tt/enchantress.d.ts +56 -0
  755. package/types/cards/src/wave9/tt/god-of-lies.d.ts +56 -0
  756. package/types/cards/src/wave9/tt/pack.d.ts +8 -0
  757. package/types/cards/src/wave9/tt/trickster-magic.d.ts +34 -0
  758. package/types/cards/src/wave9/winter/aspect-basic.d.ts +78 -0
  759. package/types/cards/src/wave9/winter/pack.d.ts +8 -0
  760. package/types/cards/src/wave9/winter/whiteout.d.ts +30 -0
  761. package/types/cards/src/wave9/winter/winter-soldier/events.d.ts +30 -0
  762. package/types/cards/src/wave9/winter/winter-soldier/identity.d.ts +23 -0
  763. package/types/cards/src/wave9/winter/winter-soldier/obligation-nemesis.d.ts +36 -0
  764. package/types/cards/src/wave9/winter/winter-soldier/support-upgrades-allies.d.ts +59 -0
  765. package/types/content/src/data/angel/cards.d.ts +3 -0
  766. package/types/content/src/data/angel/encounterSets.d.ts +2 -0
  767. package/types/content/src/data/angel/index.d.ts +6 -0
  768. package/types/content/src/data/angel/packs.d.ts +4 -0
  769. package/types/content/src/data/angel/provenance.d.ts +4 -0
  770. package/types/content/src/data/angel/scenarios.d.ts +2 -0
  771. package/types/content/src/data/angel/starterDecks.d.ts +2 -0
  772. package/types/content/src/data/ant/cards.d.ts +3 -0
  773. package/types/content/src/data/ant/encounterSets.d.ts +2 -0
  774. package/types/content/src/data/ant/index.d.ts +6 -0
  775. package/types/content/src/data/ant/packs.d.ts +4 -0
  776. package/types/content/src/data/ant/provenance.d.ts +4 -0
  777. package/types/content/src/data/ant/scenarios.d.ts +2 -0
  778. package/types/content/src/data/ant/starterDecks.d.ts +2 -0
  779. package/types/content/src/data/aoa/campaign.d.ts +20 -0
  780. package/types/content/src/data/aoa/cards.d.ts +3 -0
  781. package/types/content/src/data/aoa/encounterSets.d.ts +2 -0
  782. package/types/content/src/data/aoa/index.d.ts +7 -0
  783. package/types/content/src/data/aoa/packs.d.ts +4 -0
  784. package/types/content/src/data/aoa/provenance.d.ts +4 -0
  785. package/types/content/src/data/aoa/scenarios.d.ts +3 -0
  786. package/types/content/src/data/aoa/starterDecks.d.ts +2 -0
  787. package/types/content/src/data/aos/campaign.d.ts +55 -0
  788. package/types/content/src/data/aos/cards.d.ts +3 -0
  789. package/types/content/src/data/aos/encounterSets.d.ts +2 -0
  790. package/types/content/src/data/aos/evidence.d.ts +3 -0
  791. package/types/content/src/data/aos/index.d.ts +9 -0
  792. package/types/content/src/data/aos/packs.d.ts +4 -0
  793. package/types/content/src/data/aos/provenance.d.ts +4 -0
  794. package/types/content/src/data/aos/scenarios.d.ts +3 -0
  795. package/types/content/src/data/aos/starterDecks.d.ts +2 -0
  796. package/types/content/src/data/aos/thunderbolts.d.ts +21 -0
  797. package/types/content/src/data/bkw/cards.d.ts +3 -0
  798. package/types/content/src/data/bkw/encounterSets.d.ts +2 -0
  799. package/types/content/src/data/bkw/index.d.ts +6 -0
  800. package/types/content/src/data/bkw/packs.d.ts +4 -0
  801. package/types/content/src/data/bkw/provenance.d.ts +4 -0
  802. package/types/content/src/data/bkw/scenarios.d.ts +2 -0
  803. package/types/content/src/data/bkw/starterDecks.d.ts +2 -0
  804. package/types/content/src/data/bp/cards.d.ts +3 -0
  805. package/types/content/src/data/bp/encounterSets.d.ts +2 -0
  806. package/types/content/src/data/bp/index.d.ts +6 -0
  807. package/types/content/src/data/bp/packs.d.ts +4 -0
  808. package/types/content/src/data/bp/provenance.d.ts +4 -0
  809. package/types/content/src/data/bp/scenarios.d.ts +2 -0
  810. package/types/content/src/data/bp/starterDecks.d.ts +2 -0
  811. package/types/content/src/data/cap/cards.d.ts +3 -0
  812. package/types/content/src/data/cap/encounterSets.d.ts +2 -0
  813. package/types/content/src/data/cap/index.d.ts +6 -0
  814. package/types/content/src/data/cap/packs.d.ts +4 -0
  815. package/types/content/src/data/cap/provenance.d.ts +4 -0
  816. package/types/content/src/data/cap/scenarios.d.ts +2 -0
  817. package/types/content/src/data/cap/starterDecks.d.ts +2 -0
  818. package/types/content/src/data/catalog-codes.d.ts +35 -0
  819. package/types/content/src/data/catalog.d.ts +6 -0
  820. package/types/content/src/data/core/cards.d.ts +3 -0
  821. package/types/content/src/data/core/encounterSets.d.ts +2 -0
  822. package/types/content/src/data/core/index.d.ts +6 -0
  823. package/types/content/src/data/core/packs.d.ts +4 -0
  824. package/types/content/src/data/core/provenance.d.ts +4 -0
  825. package/types/content/src/data/core/scenarios.d.ts +3 -0
  826. package/types/content/src/data/core/starterDecks.d.ts +2 -0
  827. package/types/content/src/data/cw/cards.d.ts +3 -0
  828. package/types/content/src/data/cw/encounterSets.d.ts +2 -0
  829. package/types/content/src/data/cw/index.d.ts +6 -0
  830. package/types/content/src/data/cw/packs.d.ts +4 -0
  831. package/types/content/src/data/cw/provenance.d.ts +4 -0
  832. package/types/content/src/data/cw/scenarios.d.ts +3 -0
  833. package/types/content/src/data/cw/starterDecks.d.ts +2 -0
  834. package/types/content/src/data/cyclops/cards.d.ts +3 -0
  835. package/types/content/src/data/cyclops/encounterSets.d.ts +2 -0
  836. package/types/content/src/data/cyclops/index.d.ts +6 -0
  837. package/types/content/src/data/cyclops/packs.d.ts +4 -0
  838. package/types/content/src/data/cyclops/provenance.d.ts +4 -0
  839. package/types/content/src/data/cyclops/scenarios.d.ts +2 -0
  840. package/types/content/src/data/cyclops/starterDecks.d.ts +2 -0
  841. package/types/content/src/data/deadpool/cards.d.ts +3 -0
  842. package/types/content/src/data/deadpool/encounterSets.d.ts +2 -0
  843. package/types/content/src/data/deadpool/index.d.ts +6 -0
  844. package/types/content/src/data/deadpool/packs.d.ts +4 -0
  845. package/types/content/src/data/deadpool/provenance.d.ts +4 -0
  846. package/types/content/src/data/deadpool/scenarios.d.ts +2 -0
  847. package/types/content/src/data/deadpool/starterDecks.d.ts +2 -0
  848. package/types/content/src/data/drax/cards.d.ts +3 -0
  849. package/types/content/src/data/drax/encounterSets.d.ts +2 -0
  850. package/types/content/src/data/drax/index.d.ts +6 -0
  851. package/types/content/src/data/drax/packs.d.ts +4 -0
  852. package/types/content/src/data/drax/provenance.d.ts +4 -0
  853. package/types/content/src/data/drax/scenarios.d.ts +2 -0
  854. package/types/content/src/data/drax/starterDecks.d.ts +2 -0
  855. package/types/content/src/data/drs/cards.d.ts +3 -0
  856. package/types/content/src/data/drs/encounterSets.d.ts +2 -0
  857. package/types/content/src/data/drs/index.d.ts +6 -0
  858. package/types/content/src/data/drs/packs.d.ts +4 -0
  859. package/types/content/src/data/drs/provenance.d.ts +4 -0
  860. package/types/content/src/data/drs/scenarios.d.ts +2 -0
  861. package/types/content/src/data/drs/starterDecks.d.ts +2 -0
  862. package/types/content/src/data/elektra/cards.d.ts +3 -0
  863. package/types/content/src/data/elektra/encounterSets.d.ts +2 -0
  864. package/types/content/src/data/elektra/index.d.ts +6 -0
  865. package/types/content/src/data/elektra/packs.d.ts +4 -0
  866. package/types/content/src/data/elektra/provenance.d.ts +4 -0
  867. package/types/content/src/data/elektra/scenarios.d.ts +2 -0
  868. package/types/content/src/data/elektra/starterDecks.d.ts +2 -0
  869. package/types/content/src/data/falcon/cards.d.ts +3 -0
  870. package/types/content/src/data/falcon/encounterSets.d.ts +2 -0
  871. package/types/content/src/data/falcon/index.d.ts +6 -0
  872. package/types/content/src/data/falcon/packs.d.ts +4 -0
  873. package/types/content/src/data/falcon/provenance.d.ts +4 -0
  874. package/types/content/src/data/falcon/scenarios.d.ts +2 -0
  875. package/types/content/src/data/falcon/starterDecks.d.ts +2 -0
  876. package/types/content/src/data/fne/campaign.d.ts +14 -0
  877. package/types/content/src/data/fne/cards.d.ts +3 -0
  878. package/types/content/src/data/fne/encounterSets.d.ts +2 -0
  879. package/types/content/src/data/fne/index.d.ts +7 -0
  880. package/types/content/src/data/fne/packs.d.ts +4 -0
  881. package/types/content/src/data/fne/provenance.d.ts +4 -0
  882. package/types/content/src/data/fne/scenarios.d.ts +3 -0
  883. package/types/content/src/data/fne/starterDecks.d.ts +2 -0
  884. package/types/content/src/data/gam/cards.d.ts +3 -0
  885. package/types/content/src/data/gam/encounterSets.d.ts +2 -0
  886. package/types/content/src/data/gam/index.d.ts +6 -0
  887. package/types/content/src/data/gam/packs.d.ts +4 -0
  888. package/types/content/src/data/gam/provenance.d.ts +4 -0
  889. package/types/content/src/data/gam/scenarios.d.ts +2 -0
  890. package/types/content/src/data/gam/starterDecks.d.ts +2 -0
  891. package/types/content/src/data/gambit/cards.d.ts +3 -0
  892. package/types/content/src/data/gambit/encounterSets.d.ts +2 -0
  893. package/types/content/src/data/gambit/index.d.ts +6 -0
  894. package/types/content/src/data/gambit/packs.d.ts +4 -0
  895. package/types/content/src/data/gambit/provenance.d.ts +4 -0
  896. package/types/content/src/data/gambit/scenarios.d.ts +2 -0
  897. package/types/content/src/data/gambit/starterDecks.d.ts +2 -0
  898. package/types/content/src/data/gmw/campaign.d.ts +18 -0
  899. package/types/content/src/data/gmw/cards.d.ts +3 -0
  900. package/types/content/src/data/gmw/encounterSets.d.ts +2 -0
  901. package/types/content/src/data/gmw/index.d.ts +7 -0
  902. package/types/content/src/data/gmw/packs.d.ts +4 -0
  903. package/types/content/src/data/gmw/provenance.d.ts +4 -0
  904. package/types/content/src/data/gmw/scenarios.d.ts +3 -0
  905. package/types/content/src/data/gmw/starterDecks.d.ts +2 -0
  906. package/types/content/src/data/gob/cards.d.ts +3 -0
  907. package/types/content/src/data/gob/encounterSets.d.ts +2 -0
  908. package/types/content/src/data/gob/index.d.ts +6 -0
  909. package/types/content/src/data/gob/packs.d.ts +4 -0
  910. package/types/content/src/data/gob/provenance.d.ts +4 -0
  911. package/types/content/src/data/gob/scenarios.d.ts +3 -0
  912. package/types/content/src/data/gob/starterDecks.d.ts +2 -0
  913. package/types/content/src/data/hercules/cards.d.ts +3 -0
  914. package/types/content/src/data/hercules/encounterSets.d.ts +2 -0
  915. package/types/content/src/data/hercules/index.d.ts +6 -0
  916. package/types/content/src/data/hercules/packs.d.ts +4 -0
  917. package/types/content/src/data/hercules/provenance.d.ts +4 -0
  918. package/types/content/src/data/hercules/scenarios.d.ts +2 -0
  919. package/types/content/src/data/hercules/starterDecks.d.ts +2 -0
  920. package/types/content/src/data/hlk/cards.d.ts +3 -0
  921. package/types/content/src/data/hlk/encounterSets.d.ts +2 -0
  922. package/types/content/src/data/hlk/index.d.ts +6 -0
  923. package/types/content/src/data/hlk/packs.d.ts +4 -0
  924. package/types/content/src/data/hlk/provenance.d.ts +4 -0
  925. package/types/content/src/data/hlk/scenarios.d.ts +2 -0
  926. package/types/content/src/data/hlk/starterDecks.d.ts +2 -0
  927. package/types/content/src/data/hood/cards.d.ts +3 -0
  928. package/types/content/src/data/hood/encounterSets.d.ts +2 -0
  929. package/types/content/src/data/hood/index.d.ts +6 -0
  930. package/types/content/src/data/hood/packs.d.ts +4 -0
  931. package/types/content/src/data/hood/provenance.d.ts +4 -0
  932. package/types/content/src/data/hood/scenarios.d.ts +3 -0
  933. package/types/content/src/data/hood/starterDecks.d.ts +2 -0
  934. package/types/content/src/data/iceman/cards.d.ts +3 -0
  935. package/types/content/src/data/iceman/encounterSets.d.ts +2 -0
  936. package/types/content/src/data/iceman/index.d.ts +6 -0
  937. package/types/content/src/data/iceman/packs.d.ts +4 -0
  938. package/types/content/src/data/iceman/provenance.d.ts +4 -0
  939. package/types/content/src/data/iceman/scenarios.d.ts +2 -0
  940. package/types/content/src/data/iceman/starterDecks.d.ts +2 -0
  941. package/types/content/src/data/index.d.ts +268 -0
  942. package/types/content/src/data/iron_fist/cards.d.ts +3 -0
  943. package/types/content/src/data/iron_fist/encounterSets.d.ts +2 -0
  944. package/types/content/src/data/iron_fist/index.d.ts +6 -0
  945. package/types/content/src/data/iron_fist/packs.d.ts +4 -0
  946. package/types/content/src/data/iron_fist/provenance.d.ts +4 -0
  947. package/types/content/src/data/iron_fist/scenarios.d.ts +2 -0
  948. package/types/content/src/data/iron_fist/starterDecks.d.ts +2 -0
  949. package/types/content/src/data/ironheart/cards.d.ts +3 -0
  950. package/types/content/src/data/ironheart/encounterSets.d.ts +2 -0
  951. package/types/content/src/data/ironheart/index.d.ts +6 -0
  952. package/types/content/src/data/ironheart/packs.d.ts +4 -0
  953. package/types/content/src/data/ironheart/provenance.d.ts +4 -0
  954. package/types/content/src/data/ironheart/scenarios.d.ts +2 -0
  955. package/types/content/src/data/ironheart/starterDecks.d.ts +2 -0
  956. package/types/content/src/data/jj/cards.d.ts +3 -0
  957. package/types/content/src/data/jj/encounterSets.d.ts +2 -0
  958. package/types/content/src/data/jj/index.d.ts +6 -0
  959. package/types/content/src/data/jj/packs.d.ts +4 -0
  960. package/types/content/src/data/jj/provenance.d.ts +4 -0
  961. package/types/content/src/data/jj/scenarios.d.ts +2 -0
  962. package/types/content/src/data/jj/starterDecks.d.ts +2 -0
  963. package/types/content/src/data/jubilee/cards.d.ts +3 -0
  964. package/types/content/src/data/jubilee/encounterSets.d.ts +2 -0
  965. package/types/content/src/data/jubilee/index.d.ts +6 -0
  966. package/types/content/src/data/jubilee/packs.d.ts +4 -0
  967. package/types/content/src/data/jubilee/provenance.d.ts +4 -0
  968. package/types/content/src/data/jubilee/scenarios.d.ts +2 -0
  969. package/types/content/src/data/jubilee/starterDecks.d.ts +2 -0
  970. package/types/content/src/data/luke_cage/cards.d.ts +3 -0
  971. package/types/content/src/data/luke_cage/encounterSets.d.ts +2 -0
  972. package/types/content/src/data/luke_cage/index.d.ts +6 -0
  973. package/types/content/src/data/luke_cage/packs.d.ts +4 -0
  974. package/types/content/src/data/luke_cage/provenance.d.ts +4 -0
  975. package/types/content/src/data/luke_cage/scenarios.d.ts +2 -0
  976. package/types/content/src/data/luke_cage/starterDecks.d.ts +2 -0
  977. package/types/content/src/data/magneto/cards.d.ts +3 -0
  978. package/types/content/src/data/magneto/encounterSets.d.ts +2 -0
  979. package/types/content/src/data/magneto/index.d.ts +6 -0
  980. package/types/content/src/data/magneto/packs.d.ts +4 -0
  981. package/types/content/src/data/magneto/provenance.d.ts +4 -0
  982. package/types/content/src/data/magneto/scenarios.d.ts +2 -0
  983. package/types/content/src/data/magneto/starterDecks.d.ts +2 -0
  984. package/types/content/src/data/mojo/campaign.d.ts +15 -0
  985. package/types/content/src/data/mojo/cards.d.ts +3 -0
  986. package/types/content/src/data/mojo/encounterSets.d.ts +2 -0
  987. package/types/content/src/data/mojo/index.d.ts +7 -0
  988. package/types/content/src/data/mojo/packs.d.ts +4 -0
  989. package/types/content/src/data/mojo/provenance.d.ts +4 -0
  990. package/types/content/src/data/mojo/scenarios.d.ts +3 -0
  991. package/types/content/src/data/mojo/starterDecks.d.ts +2 -0
  992. package/types/content/src/data/msm/cards.d.ts +3 -0
  993. package/types/content/src/data/msm/encounterSets.d.ts +2 -0
  994. package/types/content/src/data/msm/index.d.ts +6 -0
  995. package/types/content/src/data/msm/packs.d.ts +4 -0
  996. package/types/content/src/data/msm/provenance.d.ts +4 -0
  997. package/types/content/src/data/msm/scenarios.d.ts +2 -0
  998. package/types/content/src/data/msm/starterDecks.d.ts +2 -0
  999. package/types/content/src/data/mts/campaign.d.ts +17 -0
  1000. package/types/content/src/data/mts/cards.d.ts +3 -0
  1001. package/types/content/src/data/mts/encounterSets.d.ts +2 -0
  1002. package/types/content/src/data/mts/index.d.ts +7 -0
  1003. package/types/content/src/data/mts/packs.d.ts +4 -0
  1004. package/types/content/src/data/mts/provenance.d.ts +4 -0
  1005. package/types/content/src/data/mts/scenarios.d.ts +3 -0
  1006. package/types/content/src/data/mts/starterDecks.d.ts +2 -0
  1007. package/types/content/src/data/mut_gen/campaign.d.ts +22 -0
  1008. package/types/content/src/data/mut_gen/cards.d.ts +3 -0
  1009. package/types/content/src/data/mut_gen/encounterSets.d.ts +2 -0
  1010. package/types/content/src/data/mut_gen/index.d.ts +7 -0
  1011. package/types/content/src/data/mut_gen/packs.d.ts +4 -0
  1012. package/types/content/src/data/mut_gen/provenance.d.ts +4 -0
  1013. package/types/content/src/data/mut_gen/scenarios.d.ts +3 -0
  1014. package/types/content/src/data/mut_gen/starterDecks.d.ts +2 -0
  1015. package/types/content/src/data/ncrawler/cards.d.ts +3 -0
  1016. package/types/content/src/data/ncrawler/encounterSets.d.ts +2 -0
  1017. package/types/content/src/data/ncrawler/index.d.ts +6 -0
  1018. package/types/content/src/data/ncrawler/packs.d.ts +4 -0
  1019. package/types/content/src/data/ncrawler/provenance.d.ts +4 -0
  1020. package/types/content/src/data/ncrawler/scenarios.d.ts +2 -0
  1021. package/types/content/src/data/ncrawler/starterDecks.d.ts +2 -0
  1022. package/types/content/src/data/nebu/cards.d.ts +3 -0
  1023. package/types/content/src/data/nebu/encounterSets.d.ts +2 -0
  1024. package/types/content/src/data/nebu/index.d.ts +6 -0
  1025. package/types/content/src/data/nebu/packs.d.ts +4 -0
  1026. package/types/content/src/data/nebu/provenance.d.ts +4 -0
  1027. package/types/content/src/data/nebu/scenarios.d.ts +2 -0
  1028. package/types/content/src/data/nebu/starterDecks.d.ts +2 -0
  1029. package/types/content/src/data/next_evol/campaign.d.ts +18 -0
  1030. package/types/content/src/data/next_evol/cards.d.ts +3 -0
  1031. package/types/content/src/data/next_evol/encounterSets.d.ts +2 -0
  1032. package/types/content/src/data/next_evol/index.d.ts +7 -0
  1033. package/types/content/src/data/next_evol/packs.d.ts +4 -0
  1034. package/types/content/src/data/next_evol/provenance.d.ts +4 -0
  1035. package/types/content/src/data/next_evol/scenarios.d.ts +3 -0
  1036. package/types/content/src/data/next_evol/starterDecks.d.ts +2 -0
  1037. package/types/content/src/data/nova/cards.d.ts +3 -0
  1038. package/types/content/src/data/nova/encounterSets.d.ts +2 -0
  1039. package/types/content/src/data/nova/index.d.ts +6 -0
  1040. package/types/content/src/data/nova/packs.d.ts +4 -0
  1041. package/types/content/src/data/nova/provenance.d.ts +4 -0
  1042. package/types/content/src/data/nova/scenarios.d.ts +2 -0
  1043. package/types/content/src/data/nova/starterDecks.d.ts +2 -0
  1044. package/types/content/src/data/phoenix/cards.d.ts +3 -0
  1045. package/types/content/src/data/phoenix/encounterSets.d.ts +2 -0
  1046. package/types/content/src/data/phoenix/index.d.ts +6 -0
  1047. package/types/content/src/data/phoenix/packs.d.ts +4 -0
  1048. package/types/content/src/data/phoenix/provenance.d.ts +4 -0
  1049. package/types/content/src/data/phoenix/scenarios.d.ts +2 -0
  1050. package/types/content/src/data/phoenix/starterDecks.d.ts +2 -0
  1051. package/types/content/src/data/pool-version.d.ts +51 -0
  1052. package/types/content/src/data/psylocke/cards.d.ts +3 -0
  1053. package/types/content/src/data/psylocke/encounterSets.d.ts +2 -0
  1054. package/types/content/src/data/psylocke/index.d.ts +6 -0
  1055. package/types/content/src/data/psylocke/packs.d.ts +4 -0
  1056. package/types/content/src/data/psylocke/provenance.d.ts +4 -0
  1057. package/types/content/src/data/psylocke/scenarios.d.ts +2 -0
  1058. package/types/content/src/data/psylocke/starterDecks.d.ts +2 -0
  1059. package/types/content/src/data/qsv/cards.d.ts +3 -0
  1060. package/types/content/src/data/qsv/encounterSets.d.ts +2 -0
  1061. package/types/content/src/data/qsv/index.d.ts +6 -0
  1062. package/types/content/src/data/qsv/packs.d.ts +4 -0
  1063. package/types/content/src/data/qsv/provenance.d.ts +4 -0
  1064. package/types/content/src/data/qsv/scenarios.d.ts +2 -0
  1065. package/types/content/src/data/qsv/starterDecks.d.ts +2 -0
  1066. package/types/content/src/data/rogue/cards.d.ts +3 -0
  1067. package/types/content/src/data/rogue/encounterSets.d.ts +2 -0
  1068. package/types/content/src/data/rogue/index.d.ts +6 -0
  1069. package/types/content/src/data/rogue/packs.d.ts +4 -0
  1070. package/types/content/src/data/rogue/provenance.d.ts +4 -0
  1071. package/types/content/src/data/rogue/scenarios.d.ts +2 -0
  1072. package/types/content/src/data/rogue/starterDecks.d.ts +2 -0
  1073. package/types/content/src/data/ron/cards.d.ts +3 -0
  1074. package/types/content/src/data/ron/encounterSets.d.ts +2 -0
  1075. package/types/content/src/data/ron/index.d.ts +6 -0
  1076. package/types/content/src/data/ron/packs.d.ts +4 -0
  1077. package/types/content/src/data/ron/provenance.d.ts +4 -0
  1078. package/types/content/src/data/ron/scenarios.d.ts +2 -0
  1079. package/types/content/src/data/ron/starterDecks.d.ts +2 -0
  1080. package/types/content/src/data/scw/cards.d.ts +3 -0
  1081. package/types/content/src/data/scw/encounterSets.d.ts +2 -0
  1082. package/types/content/src/data/scw/index.d.ts +6 -0
  1083. package/types/content/src/data/scw/packs.d.ts +4 -0
  1084. package/types/content/src/data/scw/provenance.d.ts +4 -0
  1085. package/types/content/src/data/scw/scenarios.d.ts +2 -0
  1086. package/types/content/src/data/scw/starterDecks.d.ts +2 -0
  1087. package/types/content/src/data/shadowland/campaign.d.ts +16 -0
  1088. package/types/content/src/data/shadowland/cards.d.ts +3 -0
  1089. package/types/content/src/data/shadowland/encounterSets.d.ts +2 -0
  1090. package/types/content/src/data/shadowland/index.d.ts +7 -0
  1091. package/types/content/src/data/shadowland/packs.d.ts +4 -0
  1092. package/types/content/src/data/shadowland/provenance.d.ts +4 -0
  1093. package/types/content/src/data/shadowland/scenarios.d.ts +3 -0
  1094. package/types/content/src/data/shadowland/starterDecks.d.ts +2 -0
  1095. package/types/content/src/data/silk/cards.d.ts +3 -0
  1096. package/types/content/src/data/silk/encounterSets.d.ts +2 -0
  1097. package/types/content/src/data/silk/index.d.ts +6 -0
  1098. package/types/content/src/data/silk/packs.d.ts +4 -0
  1099. package/types/content/src/data/silk/provenance.d.ts +4 -0
  1100. package/types/content/src/data/silk/scenarios.d.ts +2 -0
  1101. package/types/content/src/data/silk/starterDecks.d.ts +2 -0
  1102. package/types/content/src/data/sm/campaign.d.ts +22 -0
  1103. package/types/content/src/data/sm/cards.d.ts +3 -0
  1104. package/types/content/src/data/sm/encounterSets.d.ts +2 -0
  1105. package/types/content/src/data/sm/index.d.ts +7 -0
  1106. package/types/content/src/data/sm/packs.d.ts +4 -0
  1107. package/types/content/src/data/sm/provenance.d.ts +4 -0
  1108. package/types/content/src/data/sm/scenarios.d.ts +3 -0
  1109. package/types/content/src/data/sm/starterDecks.d.ts +2 -0
  1110. package/types/content/src/data/spdr/cards.d.ts +3 -0
  1111. package/types/content/src/data/spdr/encounterSets.d.ts +2 -0
  1112. package/types/content/src/data/spdr/index.d.ts +6 -0
  1113. package/types/content/src/data/spdr/packs.d.ts +4 -0
  1114. package/types/content/src/data/spdr/provenance.d.ts +4 -0
  1115. package/types/content/src/data/spdr/scenarios.d.ts +2 -0
  1116. package/types/content/src/data/spdr/starterDecks.d.ts +2 -0
  1117. package/types/content/src/data/spiderham/cards.d.ts +3 -0
  1118. package/types/content/src/data/spiderham/encounterSets.d.ts +2 -0
  1119. package/types/content/src/data/spiderham/index.d.ts +6 -0
  1120. package/types/content/src/data/spiderham/packs.d.ts +4 -0
  1121. package/types/content/src/data/spiderham/provenance.d.ts +4 -0
  1122. package/types/content/src/data/spiderham/scenarios.d.ts +2 -0
  1123. package/types/content/src/data/spiderham/starterDecks.d.ts +2 -0
  1124. package/types/content/src/data/stld/cards.d.ts +3 -0
  1125. package/types/content/src/data/stld/encounterSets.d.ts +2 -0
  1126. package/types/content/src/data/stld/index.d.ts +6 -0
  1127. package/types/content/src/data/stld/packs.d.ts +4 -0
  1128. package/types/content/src/data/stld/provenance.d.ts +4 -0
  1129. package/types/content/src/data/stld/scenarios.d.ts +2 -0
  1130. package/types/content/src/data/stld/starterDecks.d.ts +2 -0
  1131. package/types/content/src/data/storm/cards.d.ts +3 -0
  1132. package/types/content/src/data/storm/encounterSets.d.ts +2 -0
  1133. package/types/content/src/data/storm/index.d.ts +6 -0
  1134. package/types/content/src/data/storm/packs.d.ts +4 -0
  1135. package/types/content/src/data/storm/provenance.d.ts +4 -0
  1136. package/types/content/src/data/storm/scenarios.d.ts +2 -0
  1137. package/types/content/src/data/storm/starterDecks.d.ts +2 -0
  1138. package/types/content/src/data/synthezoid/cards.d.ts +3 -0
  1139. package/types/content/src/data/synthezoid/encounterSets.d.ts +2 -0
  1140. package/types/content/src/data/synthezoid/index.d.ts +6 -0
  1141. package/types/content/src/data/synthezoid/packs.d.ts +4 -0
  1142. package/types/content/src/data/synthezoid/provenance.d.ts +4 -0
  1143. package/types/content/src/data/synthezoid/scenarios.d.ts +3 -0
  1144. package/types/content/src/data/synthezoid/starterDecks.d.ts +2 -0
  1145. package/types/content/src/data/thor/cards.d.ts +3 -0
  1146. package/types/content/src/data/thor/encounterSets.d.ts +2 -0
  1147. package/types/content/src/data/thor/index.d.ts +6 -0
  1148. package/types/content/src/data/thor/packs.d.ts +4 -0
  1149. package/types/content/src/data/thor/provenance.d.ts +4 -0
  1150. package/types/content/src/data/thor/scenarios.d.ts +2 -0
  1151. package/types/content/src/data/thor/starterDecks.d.ts +2 -0
  1152. package/types/content/src/data/toafk/cards.d.ts +3 -0
  1153. package/types/content/src/data/toafk/encounterSets.d.ts +2 -0
  1154. package/types/content/src/data/toafk/index.d.ts +6 -0
  1155. package/types/content/src/data/toafk/packs.d.ts +4 -0
  1156. package/types/content/src/data/toafk/provenance.d.ts +4 -0
  1157. package/types/content/src/data/toafk/scenarios.d.ts +3 -0
  1158. package/types/content/src/data/toafk/starterDecks.d.ts +2 -0
  1159. package/types/content/src/data/trors/campaign.d.ts +15 -0
  1160. package/types/content/src/data/trors/cards.d.ts +3 -0
  1161. package/types/content/src/data/trors/encounterSets.d.ts +2 -0
  1162. package/types/content/src/data/trors/index.d.ts +7 -0
  1163. package/types/content/src/data/trors/packs.d.ts +4 -0
  1164. package/types/content/src/data/trors/provenance.d.ts +4 -0
  1165. package/types/content/src/data/trors/scenarios.d.ts +3 -0
  1166. package/types/content/src/data/trors/starterDecks.d.ts +2 -0
  1167. package/types/content/src/data/tt/cards.d.ts +3 -0
  1168. package/types/content/src/data/tt/encounterSets.d.ts +2 -0
  1169. package/types/content/src/data/tt/index.d.ts +6 -0
  1170. package/types/content/src/data/tt/packs.d.ts +4 -0
  1171. package/types/content/src/data/tt/provenance.d.ts +4 -0
  1172. package/types/content/src/data/tt/scenarios.d.ts +3 -0
  1173. package/types/content/src/data/tt/starterDecks.d.ts +2 -0
  1174. package/types/content/src/data/twc/cards.d.ts +3 -0
  1175. package/types/content/src/data/twc/encounterSets.d.ts +2 -0
  1176. package/types/content/src/data/twc/index.d.ts +6 -0
  1177. package/types/content/src/data/twc/packs.d.ts +4 -0
  1178. package/types/content/src/data/twc/provenance.d.ts +4 -0
  1179. package/types/content/src/data/twc/scenarios.d.ts +3 -0
  1180. package/types/content/src/data/twc/starterDecks.d.ts +2 -0
  1181. package/types/content/src/data/types.d.ts +29 -0
  1182. package/types/content/src/data/valk/cards.d.ts +3 -0
  1183. package/types/content/src/data/valk/encounterSets.d.ts +2 -0
  1184. package/types/content/src/data/valk/index.d.ts +6 -0
  1185. package/types/content/src/data/valk/packs.d.ts +4 -0
  1186. package/types/content/src/data/valk/provenance.d.ts +4 -0
  1187. package/types/content/src/data/valk/scenarios.d.ts +2 -0
  1188. package/types/content/src/data/valk/starterDecks.d.ts +2 -0
  1189. package/types/content/src/data/vision/cards.d.ts +3 -0
  1190. package/types/content/src/data/vision/encounterSets.d.ts +2 -0
  1191. package/types/content/src/data/vision/index.d.ts +6 -0
  1192. package/types/content/src/data/vision/packs.d.ts +4 -0
  1193. package/types/content/src/data/vision/provenance.d.ts +4 -0
  1194. package/types/content/src/data/vision/scenarios.d.ts +2 -0
  1195. package/types/content/src/data/vision/starterDecks.d.ts +2 -0
  1196. package/types/content/src/data/vnm/cards.d.ts +3 -0
  1197. package/types/content/src/data/vnm/encounterSets.d.ts +2 -0
  1198. package/types/content/src/data/vnm/index.d.ts +6 -0
  1199. package/types/content/src/data/vnm/packs.d.ts +4 -0
  1200. package/types/content/src/data/vnm/provenance.d.ts +4 -0
  1201. package/types/content/src/data/vnm/scenarios.d.ts +2 -0
  1202. package/types/content/src/data/vnm/starterDecks.d.ts +2 -0
  1203. package/types/content/src/data/warm/cards.d.ts +3 -0
  1204. package/types/content/src/data/warm/encounterSets.d.ts +2 -0
  1205. package/types/content/src/data/warm/index.d.ts +6 -0
  1206. package/types/content/src/data/warm/packs.d.ts +4 -0
  1207. package/types/content/src/data/warm/provenance.d.ts +4 -0
  1208. package/types/content/src/data/warm/scenarios.d.ts +2 -0
  1209. package/types/content/src/data/warm/starterDecks.d.ts +2 -0
  1210. package/types/content/src/data/winter/cards.d.ts +3 -0
  1211. package/types/content/src/data/winter/encounterSets.d.ts +2 -0
  1212. package/types/content/src/data/winter/index.d.ts +6 -0
  1213. package/types/content/src/data/winter/packs.d.ts +4 -0
  1214. package/types/content/src/data/winter/provenance.d.ts +4 -0
  1215. package/types/content/src/data/winter/scenarios.d.ts +2 -0
  1216. package/types/content/src/data/winter/starterDecks.d.ts +2 -0
  1217. package/types/content/src/data/wolv/cards.d.ts +3 -0
  1218. package/types/content/src/data/wolv/encounterSets.d.ts +2 -0
  1219. package/types/content/src/data/wolv/index.d.ts +6 -0
  1220. package/types/content/src/data/wolv/packs.d.ts +4 -0
  1221. package/types/content/src/data/wolv/provenance.d.ts +4 -0
  1222. package/types/content/src/data/wolv/scenarios.d.ts +2 -0
  1223. package/types/content/src/data/wolv/starterDecks.d.ts +2 -0
  1224. package/types/content/src/data/wonder_man/cards.d.ts +3 -0
  1225. package/types/content/src/data/wonder_man/encounterSets.d.ts +2 -0
  1226. package/types/content/src/data/wonder_man/index.d.ts +6 -0
  1227. package/types/content/src/data/wonder_man/packs.d.ts +4 -0
  1228. package/types/content/src/data/wonder_man/provenance.d.ts +4 -0
  1229. package/types/content/src/data/wonder_man/scenarios.d.ts +2 -0
  1230. package/types/content/src/data/wonder_man/starterDecks.d.ts +2 -0
  1231. package/types/content/src/data/wsp/cards.d.ts +3 -0
  1232. package/types/content/src/data/wsp/encounterSets.d.ts +2 -0
  1233. package/types/content/src/data/wsp/index.d.ts +6 -0
  1234. package/types/content/src/data/wsp/packs.d.ts +4 -0
  1235. package/types/content/src/data/wsp/provenance.d.ts +4 -0
  1236. package/types/content/src/data/wsp/scenarios.d.ts +2 -0
  1237. package/types/content/src/data/wsp/starterDecks.d.ts +2 -0
  1238. package/types/content/src/data/x23/cards.d.ts +3 -0
  1239. package/types/content/src/data/x23/encounterSets.d.ts +2 -0
  1240. package/types/content/src/data/x23/index.d.ts +6 -0
  1241. package/types/content/src/data/x23/packs.d.ts +4 -0
  1242. package/types/content/src/data/x23/provenance.d.ts +4 -0
  1243. package/types/content/src/data/x23/scenarios.d.ts +2 -0
  1244. package/types/content/src/data/x23/starterDecks.d.ts +2 -0
  1245. package/types/content/src/import/aspect-cards.d.ts +10 -0
  1246. package/types/content/src/import/from-marvelcdb-json.d.ts +65 -0
  1247. package/types/content/src/import/from-text.d.ts +38 -0
  1248. package/types/content/src/import/index.d.ts +16 -0
  1249. package/types/content/src/import/pool-index.d.ts +53 -0
  1250. package/types/content/src/import/to-text.d.ts +19 -0
  1251. package/types/content/src/import/types.d.ts +95 -0
  1252. package/types/content/src/import/url.d.ts +20 -0
  1253. package/types/content/src/index.d.ts +9 -0
  1254. package/types/content/src/schema/abilities.d.ts +20 -0
  1255. package/types/content/src/schema/aspects.d.ts +18 -0
  1256. package/types/content/src/schema/cards/attachment-host.d.ts +244 -0
  1257. package/types/content/src/schema/cards/base.d.ts +83 -0
  1258. package/types/content/src/schema/cards/encounter-cards.d.ts +191 -0
  1259. package/types/content/src/schema/cards/evidence.d.ts +59 -0
  1260. package/types/content/src/schema/cards/identity.d.ts +302 -0
  1261. package/types/content/src/schema/cards/index.d.ts +18 -0
  1262. package/types/content/src/schema/cards/player-cards.d.ts +234 -0
  1263. package/types/content/src/schema/cards/schemes.d.ts +156 -0
  1264. package/types/content/src/schema/cards/villain.d.ts +128 -0
  1265. package/types/content/src/schema/common.d.ts +108 -0
  1266. package/types/content/src/schema/decks.d.ts +83 -0
  1267. package/types/content/src/schema/glossary.d.ts +174 -0
  1268. package/types/content/src/schema/house-rules.d.ts +49 -0
  1269. package/types/content/src/schema/ids.d.ts +53 -0
  1270. package/types/content/src/schema/images.d.ts +25 -0
  1271. package/types/content/src/schema/index.d.ts +14 -0
  1272. package/types/content/src/schema/keywords.d.ts +180 -0
  1273. package/types/content/src/schema/modes.d.ts +132 -0
  1274. package/types/content/src/schema/packs.d.ts +509 -0
  1275. package/types/content/src/schema/sets.d.ts +712 -0
  1276. package/types/content/src/schema/validation.d.ts +103 -0
  1277. package/types/engine/src/abilities.d.ts +4417 -0
  1278. package/types/engine/src/accusation.d.ts +37 -0
  1279. package/types/engine/src/actions.d.ts +1239 -0
  1280. package/types/engine/src/attach-cost.d.ts +69 -0
  1281. package/types/engine/src/attachment-hosts.d.ts +67 -0
  1282. package/types/engine/src/attack-cost.d.ts +94 -0
  1283. package/types/engine/src/basic-power-uses.d.ts +68 -0
  1284. package/types/engine/src/campaign/log.d.ts +88 -0
  1285. package/types/engine/src/campaign/ops.d.ts +188 -0
  1286. package/types/engine/src/campaign/result.d.ts +28 -0
  1287. package/types/engine/src/campaign/runner.d.ts +190 -0
  1288. package/types/engine/src/campaign/seal.d.ts +41 -0
  1289. package/types/engine/src/campaign-state.d.ts +75 -0
  1290. package/types/engine/src/campaign.d.ts +1629 -0
  1291. package/types/engine/src/card-types.d.ts +16 -0
  1292. package/types/engine/src/change-form-cost.d.ts +54 -0
  1293. package/types/engine/src/choices.d.ts +721 -0
  1294. package/types/engine/src/choose-target-cost.d.ts +29 -0
  1295. package/types/engine/src/commands.d.ts +288 -0
  1296. package/types/engine/src/cost-damage.d.ts +116 -0
  1297. package/types/engine/src/counter-limit.d.ts +14 -0
  1298. package/types/engine/src/counter-types.d.ts +71 -0
  1299. package/types/engine/src/ctx.d.ts +132 -0
  1300. package/types/engine/src/damage-threshold.d.ts +15 -0
  1301. package/types/engine/src/deal-to-cost.d.ts +25 -0
  1302. package/types/engine/src/deck-discard-choice-cost.d.ts +49 -0
  1303. package/types/engine/src/deck-top.d.ts +39 -0
  1304. package/types/engine/src/deck.d.ts +337 -0
  1305. package/types/engine/src/defend-preview.d.ts +144 -0
  1306. package/types/engine/src/defense-claim.d.ts +84 -0
  1307. package/types/engine/src/each-player-cost.d.ts +41 -0
  1308. package/types/engine/src/effects.d.ts +767 -0
  1309. package/types/engine/src/encounter-discard-cost.d.ts +95 -0
  1310. package/types/engine/src/encounter-look-cost.d.ts +44 -0
  1311. package/types/engine/src/encounter-search-cost.d.ts +35 -0
  1312. package/types/engine/src/enemy-attack-cost.d.ts +62 -0
  1313. package/types/engine/src/engine.d.ts +67 -0
  1314. package/types/engine/src/entered-since.d.ts +86 -0
  1315. package/types/engine/src/errors.d.ts +60 -0
  1316. package/types/engine/src/events.d.ts +2682 -0
  1317. package/types/engine/src/flow.d.ts +27 -0
  1318. package/types/engine/src/form-change-cost.d.ts +68 -0
  1319. package/types/engine/src/form-change-target.d.ts +21 -0
  1320. package/types/engine/src/game-fingerprint.d.ts +41 -0
  1321. package/types/engine/src/game-mode.d.ts +14 -0
  1322. package/types/engine/src/heal-cost.d.ts +32 -0
  1323. package/types/engine/src/hidden-pile-state.d.ts +38 -0
  1324. package/types/engine/src/hidden-reverse.d.ts +33 -0
  1325. package/types/engine/src/ids.d.ts +39 -0
  1326. package/types/engine/src/index.d.ts +122 -0
  1327. package/types/engine/src/keyword-abilities.d.ts +36 -0
  1328. package/types/engine/src/keywords.d.ts +169 -0
  1329. package/types/engine/src/lasting.d.ts +382 -0
  1330. package/types/engine/src/legal.d.ts +434 -0
  1331. package/types/engine/src/linked.d.ts +25 -0
  1332. package/types/engine/src/modifiers.d.ts +74 -0
  1333. package/types/engine/src/outside-facts.d.ts +33 -0
  1334. package/types/engine/src/payable.d.ts +56 -0
  1335. package/types/engine/src/per-player-main-schemes.d.ts +63 -0
  1336. package/types/engine/src/pod.d.ts +189 -0
  1337. package/types/engine/src/preview.d.ts +105 -0
  1338. package/types/engine/src/query.d.ts +553 -0
  1339. package/types/engine/src/ready-cards-cost.d.ts +41 -0
  1340. package/types/engine/src/remove-threat-cost.d.ts +74 -0
  1341. package/types/engine/src/resolve/ability.d.ts +40 -0
  1342. package/types/engine/src/resolve/accusation.d.ts +39 -0
  1343. package/types/engine/src/resolve/apply-effect.d.ts +57 -0
  1344. package/types/engine/src/resolve/attach.d.ts +153 -0
  1345. package/types/engine/src/resolve/attack-ability.d.ts +610 -0
  1346. package/types/engine/src/resolve/basic-power-by.d.ts +37 -0
  1347. package/types/engine/src/resolve/campaign.d.ts +30 -0
  1348. package/types/engine/src/resolve/cards.d.ts +241 -0
  1349. package/types/engine/src/resolve/collection.d.ts +31 -0
  1350. package/types/engine/src/resolve/counters-being-placed.d.ts +41 -0
  1351. package/types/engine/src/resolve/damage-group.d.ts +20 -0
  1352. package/types/engine/src/resolve/deck-discard.d.ts +71 -0
  1353. package/types/engine/src/resolve/declare-wilds.d.ts +26 -0
  1354. package/types/engine/src/resolve/defeat.d.ts +219 -0
  1355. package/types/engine/src/resolve/defeated-together.d.ts +76 -0
  1356. package/types/engine/src/resolve/effects-frame.d.ts +15 -0
  1357. package/types/engine/src/resolve/enemy-activation.d.ts +273 -0
  1358. package/types/engine/src/resolve/enter-play.d.ts +177 -0
  1359. package/types/engine/src/resolve/event.d.ts +257 -0
  1360. package/types/engine/src/resolve/find.d.ts +69 -0
  1361. package/types/engine/src/resolve/frames.d.ts +148 -0
  1362. package/types/engine/src/resolve/friendly-attack.d.ts +85 -0
  1363. package/types/engine/src/resolve/game-areas.d.ts +157 -0
  1364. package/types/engine/src/resolve/hidden-hand-pick.d.ts +36 -0
  1365. package/types/engine/src/resolve/hidden-piles.d.ts +84 -0
  1366. package/types/engine/src/resolve/host-step.d.ts +10 -0
  1367. package/types/engine/src/resolve/imminent-attach.d.ts +40 -0
  1368. package/types/engine/src/resolve/index.d.ts +13 -0
  1369. package/types/engine/src/resolve/initiated-activation.d.ts +124 -0
  1370. package/types/engine/src/resolve/keyword-ignored.d.ts +45 -0
  1371. package/types/engine/src/resolve/leave-to-separate-deck.d.ts +38 -0
  1372. package/types/engine/src/resolve/main-scheme-side.d.ts +42 -0
  1373. package/types/engine/src/resolve/other-face.d.ts +34 -0
  1374. package/types/engine/src/resolve/pair-cards.d.ts +44 -0
  1375. package/types/engine/src/resolve/play-card.d.ts +23 -0
  1376. package/types/engine/src/resolve/pod.d.ts +50 -0
  1377. package/types/engine/src/resolve/put-into-play-setup.d.ts +58 -0
  1378. package/types/engine/src/resolve/rearrange.d.ts +50 -0
  1379. package/types/engine/src/resolve/report-fact.d.ts +18 -0
  1380. package/types/engine/src/resolve/reveal-hold.d.ts +45 -0
  1381. package/types/engine/src/resolve/reveal.d.ts +86 -0
  1382. package/types/engine/src/resolve/scenario-deck-top.d.ts +84 -0
  1383. package/types/engine/src/resolve/sentence-hold.d.ts +86 -0
  1384. package/types/engine/src/resolve/separate-decks.d.ts +21 -0
  1385. package/types/engine/src/resolve/sequential-damage.d.ts +23 -0
  1386. package/types/engine/src/resolve/setup-cards.d.ts +30 -0
  1387. package/types/engine/src/resolve/state-checks.d.ts +33 -0
  1388. package/types/engine/src/resolve/status-being-given.d.ts +54 -0
  1389. package/types/engine/src/resolve/status-discarded.d.ts +19 -0
  1390. package/types/engine/src/resolve/suspend.d.ts +75 -0
  1391. package/types/engine/src/resolve/swap-cards.d.ts +49 -0
  1392. package/types/engine/src/resolve/swap-main-scheme.d.ts +77 -0
  1393. package/types/engine/src/resolve/target-validity.d.ts +275 -0
  1394. package/types/engine/src/resolve/then.d.ts +27 -0
  1395. package/types/engine/src/resolve/thwart-session.d.ts +54 -0
  1396. package/types/engine/src/resolve/triggers.d.ts +91 -0
  1397. package/types/engine/src/resolve/tuck.d.ts +79 -0
  1398. package/types/engine/src/resolve/unpreventable.d.ts +40 -0
  1399. package/types/engine/src/resolve/villain-swap.d.ts +42 -0
  1400. package/types/engine/src/resolve/villainous.d.ts +150 -0
  1401. package/types/engine/src/resolve/window.d.ts +25 -0
  1402. package/types/engine/src/resolve/would-discard.d.ts +81 -0
  1403. package/types/engine/src/resolve-ability-cost.d.ts +88 -0
  1404. package/types/engine/src/resources.d.ts +232 -0
  1405. package/types/engine/src/rng.d.ts +13 -0
  1406. package/types/engine/src/rules.d.ts +874 -0
  1407. package/types/engine/src/select.d.ts +1119 -0
  1408. package/types/engine/src/separated-identity.d.ts +90 -0
  1409. package/types/engine/src/setup-steps.d.ts +84 -0
  1410. package/types/engine/src/setup.d.ts +427 -0
  1411. package/types/engine/src/spec.d.ts +7369 -0
  1412. package/types/engine/src/stack-view.d.ts +49 -0
  1413. package/types/engine/src/stack.d.ts +1340 -0
  1414. package/types/engine/src/starting.d.ts +27 -0
  1415. package/types/engine/src/state.d.ts +1603 -0
  1416. package/types/engine/src/team.d.ts +81 -0
  1417. package/types/engine/src/thwart-cost.d.ts +92 -0
  1418. package/types/engine/src/titles.d.ts +58 -0
  1419. package/types/engine/src/treat-as.d.ts +70 -0
  1420. package/types/engine/src/trigger-events.d.ts +2630 -0
  1421. package/types/engine/src/tuck-limit.d.ts +18 -0
  1422. package/types/engine/src/unique.d.ts +95 -0
  1423. package/types/engine/src/villain/audit.d.ts +71 -0
  1424. package/types/engine/src/villain/authority.d.ts +28 -0
  1425. package/types/engine/src/villain/phase.d.ts +48 -0
  1426. package/types/engine/src/visibility.d.ts +210 -0
  1427. package/types/engine/src/why-not.d.ts +80 -0
  1428. package/types/mod-sdk/npm/testing.d.ts +8 -0
  1429. package/types/mod-sdk/src/build.d.ts +59 -0
  1430. package/types/mod-sdk/src/builtin.d.ts +27 -0
  1431. package/types/mod-sdk/src/campaigns.d.ts +26 -0
  1432. package/types/mod-sdk/src/cli.d.ts +12 -0
  1433. package/types/mod-sdk/src/define.d.ts +10 -0
  1434. package/types/mod-sdk/src/features.d.ts +44 -0
  1435. package/types/mod-sdk/src/game.d.ts +66 -0
  1436. package/types/mod-sdk/src/import-marvelcdb.d.ts +99 -0
  1437. package/types/mod-sdk/src/index.d.ts +17 -0
  1438. package/types/mod-sdk/src/loader.d.ts +5 -0
  1439. package/types/mod-sdk/src/obligation.d.ts +2 -0
  1440. package/types/mod-sdk/src/preview.d.ts +18 -0
  1441. package/types/mod-sdk/src/sha256.d.ts +8 -0
  1442. package/types/mod-sdk/src/smoke.d.ts +73 -0
  1443. package/types/mod-sdk/src/validate.d.ts +81 -0
@@ -0,0 +1,1603 @@
1
+ import type { AnyCard, CardId, EvidenceCombination, Trait, VillainSideLetter } from "../../content/src/index.js";
2
+ import type { CampaignGameInput, CampaignInGameWrites, CampaignWindow } from "./campaign.js";
3
+ import type { EncounterDeckId, FrameId, GameAreaId, InstanceId, PlayerId } from "./ids.js";
4
+ import type { PendingChoice } from "./choices.js";
5
+ import type { OutsideFacts } from "./outside-facts.js";
6
+ import type { RngState } from "./rng.js";
7
+ import type { StackFrame } from "./stack.js";
8
+ import type { LastingEffect } from "./lasting.js";
9
+ import type { RuleSpec } from "./abilities.js";
10
+ import type { EffectSpec, StatusName, TargetCategory } from "./spec.js";
11
+ import type { EncounterDealSource, LeaveCauseSide, TriggerEvent } from "./trigger-events.js";
12
+ import type { PodState } from "./pod.js";
13
+ import type { GameMode } from "./game-mode.js";
14
+ import type { TeamState } from "./team.js";
15
+ export type Form = "hero" | "alterEgo";
16
+ /**
17
+ * Cards to put on top of a deck after setup's shuffle, top card first (`GameState.setupStack`). Each code takes one
18
+ * copy of that card, the topmost copy after the shuffle; `encounter` is the first encounter deck (`encounterDeckOrder[0]`).
19
+ */
20
+ export interface StackedDecks {
21
+ readonly players?: Readonly<Record<string, readonly CardId[]>>;
22
+ readonly encounter?: readonly CardId[];
23
+ }
24
+ /** RRG "Status Cards": a character can hold at most one of each type (steady allows a second). */
25
+ export interface StatusCounts {
26
+ readonly stunned: number;
27
+ readonly confused: number;
28
+ readonly tough: number;
29
+ }
30
+ export declare const NO_STATUSES: StatusCounts;
31
+ /** Every status card type in the game, in RRG 1.8 "Status Cards" (p. 41) order. */
32
+ export declare const STATUS_NAMES: readonly ["confused", "stunned", "tough"];
33
+ /**
34
+ * Every zone a card instance can occupy, as data. `attachment` and `boost` are
35
+ * per-instance lists (attachments/boost cards hang off the card they're on),
36
+ * which is why they name a host instance instead of a player or a global pile.
37
+ */
38
+ export type ZoneId = {
39
+ readonly kind: "hand";
40
+ readonly playerId: PlayerId;
41
+ } | {
42
+ readonly kind: "deck";
43
+ readonly playerId: PlayerId;
44
+ } | {
45
+ readonly kind: "discard";
46
+ readonly playerId: PlayerId;
47
+ } | {
48
+ readonly kind: "playArea";
49
+ readonly playerId: PlayerId;
50
+ } | {
51
+ readonly kind: "dealtEncounter";
52
+ readonly playerId: PlayerId;
53
+ }
54
+ /** Event cards being played: out of play while they resolve (RRG "Event"), then discarded. */
55
+ | {
56
+ readonly kind: "resolving";
57
+ readonly playerId: PlayerId;
58
+ }
59
+ /** A player's set-aside nemesis encounter set (RRG "Nemesis Encounter Set"): out of play. */
60
+ | {
61
+ readonly kind: "setAside";
62
+ readonly playerId: PlayerId;
63
+ }
64
+ /** Cards tucked under another card (RRG "Tuck"): out of play, discarded when the host leaves play. */
65
+ | {
66
+ readonly kind: "tucked";
67
+ readonly hostInstanceId: InstanceId;
68
+ } | {
69
+ readonly kind: "identity";
70
+ readonly playerId: PlayerId;
71
+ } | {
72
+ readonly kind: "encounterDeck";
73
+ readonly deckId: EncounterDeckId;
74
+ } | {
75
+ readonly kind: "encounterDiscard";
76
+ readonly deckId: EncounterDeckId;
77
+ }
78
+ /**
79
+ * Scenario cards set aside at setup (RRG 1.8 "Set Aside", p. 39): out of play until an ability brings them in.
80
+ * The Wrecking Crew's signature side schemes wait here for Breakout 1A's "Put … side schemes into play".
81
+ */
82
+ | {
83
+ readonly kind: "encounterSetAside";
84
+ }
85
+ /**
86
+ * An identity's separate deck and that deck's own discard pile (the Invocation deck; docs/phase7-wave1.md §3.5).
87
+ * Out of play, owned by that player (RRG 1.8 "Ownership and Control", p. 31).
88
+ */
89
+ | {
90
+ readonly kind: "separateDeck";
91
+ readonly playerId: PlayerId;
92
+ readonly name: string;
93
+ } | {
94
+ readonly kind: "separateDiscard";
95
+ readonly playerId: PlayerId;
96
+ readonly name: string;
97
+ }
98
+ /**
99
+ * A scenario's own separate deck and its discard pile (docs/phase7-wave2.md §3.3; `Scenario.separateDecks`): the
100
+ * Experimental Weapons deck, the side-scheme deck. Out of play, owned by nobody.
101
+ */
102
+ | {
103
+ readonly kind: "scenarioDeck";
104
+ readonly name: string;
105
+ } | {
106
+ readonly kind: "scenarioDiscard";
107
+ readonly name: string;
108
+ }
109
+ /**
110
+ * A scenario's own out-of-play game area (docs/phase7-wave3.md §3.14): Infiltrate the Museum's The Collection, "an
111
+ * out-of-play game area shared by all players and specific to this scenario. Cards in The Collection follow the
112
+ * standard rules for out-of-play cards" (MC16 p. 10). Created by the scenario's setup (`createScenarioArea`).
113
+ */
114
+ | {
115
+ readonly kind: "scenarioArea";
116
+ readonly name: string;
117
+ }
118
+ /**
119
+ * A scenario's own game area that is in play and under no player's control (docs/phase7-wave8.md §3.33): the mission
120
+ * area of MC45 p. 5, "Cards in the mission area are in play but under no player's control." The in-play sibling of
121
+ * `scenarioArea`; encounter cards and player cards share it. Created by `createScenarioPlayArea`
122
+ * (`GameState.scenarioPlayAreas`).
123
+ */
124
+ | {
125
+ readonly kind: "scenarioPlayArea";
126
+ readonly name: string;
127
+ } | {
128
+ readonly kind: "villainArea";
129
+ } | {
130
+ readonly kind: "attachment";
131
+ readonly hostInstanceId: InstanceId;
132
+ } | {
133
+ readonly kind: "boost";
134
+ readonly hostInstanceId: InstanceId;
135
+ } | {
136
+ readonly kind: "victoryDisplay";
137
+ } | {
138
+ readonly kind: "removedFromGame";
139
+ };
140
+ /**
141
+ * One in-play scenario area (`ZoneId scenarioPlayArea`, docs/phase7-wave8.md §3.33). A card in it is in play, keeps its
142
+ * owner, and has no controller and no engaged player; a card attached to one of them is in the area with its host.
143
+ */
144
+ export interface ScenarioPlayAreaState {
145
+ /** The unattached cards in the area, in the order they entered it. */
146
+ readonly cards: readonly InstanceId[];
147
+ /**
148
+ * MC45 p. 5: "They cannot be affected by card abilities unless the ability refers to the mission area." A closed
149
+ * area's cards are skipped by every query and selector of an ability that does not name the area
150
+ * (`TargetQuery.inScenarioPlayArea`, `AbilityDefinition.reaches`).
151
+ */
152
+ readonly closed: boolean;
153
+ }
154
+ /**
155
+ * What a facedown card in play is treated as ("put the top card of your deck
156
+ * into play facedown, engaged with you as a Drone minion"): a minion with only
157
+ * these traits, no name, no keywords and no abilities of its own, and printed
158
+ * base stats of 0 (card abilities can set its base stats).
159
+ *
160
+ * `blank` is a card that is in play facedown as nothing in particular — "attach 1 card from your hand facedown here"
161
+ * (Bruno Carrelli). It has no title, traits, keywords or abilities while it is facedown; its card type is unchanged,
162
+ * because nothing asks what type a facedown attachment is (docs/phase7-wave1.md §3.13).
163
+ */
164
+ export interface FacedownRole {
165
+ readonly kind: "minion" | "blank";
166
+ readonly traits: readonly Trait[];
167
+ }
168
+ /**
169
+ * A faceup ally treated as a minion by an attachment on it (Fallen Warrior, Beguiled, `mts` 21153, 21178: "Treat
170
+ * attached ally as an [Undead] minion with a blank text box. Attached minion's SCH is equal to its printed THW and it
171
+ * does not take consequential damage."; docs/phase7-wave4.md §3.9). Ruling, Dec 17, 2025 (1) #3: "the ally does not
172
+ * leave play and the 'minion' does not enter play; the character remains in play and retains all tokens and
173
+ * attachments. (The process is essentially a status change.)" Kept on the instance, set and cleared as the attachment
174
+ * arrives and goes (`syncTreatedAs`), so every "is this a minion?" reader answers from state alone. While it is set the
175
+ * card is a minion, enemy and character, not an ally; its text box is blank; its traits are `traits` (plus its printed
176
+ * ones when `keepPrintedTraits`, "a blank text box (except for traits)"); its SCH is its printed THW when `schFromThw`.
177
+ * `controllerBefore` is who controlled it as an ally, who gets it back when the attachment goes.
178
+ */
179
+ export type TreatedAs = TreatedAsMinion | TreatedAsAlly;
180
+ export interface TreatedAsMinion {
181
+ readonly kind: "minion";
182
+ readonly traits: readonly Trait[];
183
+ readonly keepPrintedTraits: boolean;
184
+ /** `"current"`: "SCH is equal to its THW", the ally's THW with its modifiers, not the printed value (wave 7 §3.44). */
185
+ readonly schFromThw: boolean | "current" | "base";
186
+ readonly source: InstanceId;
187
+ readonly controllerBefore: PlayerId | null;
188
+ /**
189
+ * Set when a `RuleSpec treatAsMinion` on `source` matched the card (Baron Zemo, docs/phase7-wave11-scenarios.md
190
+ * §S3.9) rather than an attachment on it: it lasts while that rule is active and its query matches the card
191
+ * (`syncRuleTreatments`). Absent otherwise.
192
+ */
193
+ readonly byRule?: true;
194
+ /**
195
+ * The card keeps its own text box (`RuleSpec treatHostAsMinion.keepsText`): "Treat attached villain as an Elite minion
196
+ * with 6 printed hit points" (Whisper in the Dark, Shadowland 65040) blanks nothing, so the face it shows keeps its
197
+ * printed abilities and keywords (RRG 1.8 "Card Types", p. 12: it "functions as would any card of the new card
198
+ * type"; the card says nothing of a blank text box). Absent otherwise.
199
+ */
200
+ readonly keepsText?: true;
201
+ /** Its printed hit points, as the attachment states them ("with 6 printed hit points"). Absent: as printed. */
202
+ readonly printedHp?: number;
203
+ }
204
+ /**
205
+ * The mirror (docs/phase7-wave4.md §3.29): a minion a player takes control of and treats as an ally — "Take control of
206
+ * attached minion and treat it as a [Controlled] ally with a blank text box. Its THW is equal to its printed SCH and it
207
+ * takes 1 consequential damage after it thwarts or attacks." (Mind Control, `phoenix` 34009; Redemption, `bp` 51036,
208
+ * [Redeemed]); Karma (`rogue` 38011, "While Karma is in play", 2 consequential damage). While set the card is an ally
209
+ * and character that `controller` controls, not a minion or an enemy; its text box is blank; its traits are `traits`;
210
+ * its THW is its printed SCH when `thwFromSch` and its ATK its printed ATK; it takes `consequential` damage after it
211
+ * attacks or thwarts. `source` is the attachment or the card whose effect did it; when that is gone it is a minion
212
+ * again, engaged with the player who controlled it (§4 Q21). `engagedBefore` is who it was engaged with.
213
+ */
214
+ export interface TreatedAsAlly {
215
+ readonly kind: "ally";
216
+ readonly traits: readonly Trait[];
217
+ readonly thwFromSch: boolean;
218
+ readonly consequential: number;
219
+ readonly source: InstanceId;
220
+ readonly controller: PlayerId;
221
+ readonly engagedBefore: PlayerId | null;
222
+ /**
223
+ * Set when the card's own constant treats it as an ally (`RuleSpec treatSelfAsAlly`, Black Cat; docs/phase7-wave11-
224
+ * scenarios.md §S3.8): `source` is the card itself, its text box is not blank (its printed abilities and keywords
225
+ * stay), and `traits` are added to its printed traits rather than replacing them. Absent otherwise.
226
+ */
227
+ readonly keepsText?: true;
228
+ }
229
+ /**
230
+ * Where "discard" sends a card, fixed when the card is created (docs/phase7-wave1.md §3.2).
231
+ *
232
+ * - `player`: its owner's discard pile.
233
+ * - `encounterDeck`: that encounter deck's discard pile. The Wrecking Crew insert, "Multiple Villains and
234
+ * Encounter Decks": "When an encounter card leaves play, it is placed in the discard pile of its corresponding
235
+ * encounter deck."
236
+ * - `activeEncounterDeck`: a card with no encounter deck of its own (an obligation, a nemesis set card) goes to
237
+ * the active villain's discard pile. Ruling, Jan 17, 2026 (5): "once defeated, it is placed in the active
238
+ * villain's encounter discard pile."
239
+ *
240
+ * - `separateDeck`: its owner's separate deck of that name (the Invocation deck, §3.5). The Doctor Strange insert:
241
+ * "After that card is resolved, it is placed in a special discard pile that belongs to the INVOCATION deck."
242
+ *
243
+ * With one villain every encounter home is the same deck, so Core behaves exactly as before.
244
+ */
245
+ export type CardHome = {
246
+ readonly kind: "player";
247
+ } | {
248
+ readonly kind: "encounterDeck";
249
+ readonly deckId: EncounterDeckId;
250
+ } | {
251
+ readonly kind: "activeEncounterDeck";
252
+ } | {
253
+ readonly kind: "separateDeck";
254
+ readonly name: string;
255
+ }
256
+ /**
257
+ * A card of a scenario deck with a discard pile of its own (the side-scheme deck; docs/phase7-wave2.md §3.3) or with
258
+ * none (the show deck; docs/phase7-wave6.md §3.66).
259
+ */
260
+ | {
261
+ readonly kind: "scenarioDeck";
262
+ readonly name: string;
263
+ };
264
+ /** One of the four things an accusation guesses (MC50 p. 19: "means, motive, opportunity, and board member"). */
265
+ export type AccusationGuess = "means" | "motive" | "opportunity" | "boardMember";
266
+ /**
267
+ * `GameState.accusation` (docs/phase7-wave9.md §3.29 (b)). `accused`: the grid row the players chose, whose board
268
+ * member is the accused. `mole`: the row the hidden pile's cards make, whose board member is the mole. `wrong`: the
269
+ * guesses of `accused` that differ from `mole` (none to all four), present once the mole is identified.
270
+ */
271
+ export interface Accusation {
272
+ readonly accused?: EvidenceCombination;
273
+ readonly mole?: EvidenceCombination;
274
+ readonly wrong?: readonly AccusationGuess[];
275
+ }
276
+ export interface CardInstance {
277
+ readonly instanceId: InstanceId;
278
+ readonly cardId: CardId;
279
+ /**
280
+ * Player whose deck it came from; null for encounter/scenario cards, except a card of an identity's separate deck of
281
+ * encounter cards (a Labor card), which its player owns and no player controls (`isOwnedEncounterCard`,
282
+ * `playerCardOwnerOf`; docs/phase7-wave10-hero-packs.md H3.1).
283
+ */
284
+ readonly ownerId: PlayerId | null;
285
+ readonly controllerId: PlayerId | null;
286
+ /** Where "discard" sends this card (see `CardHome`). */
287
+ readonly home: CardHome;
288
+ readonly faceup: boolean;
289
+ readonly exhausted: boolean;
290
+ readonly damage: number;
291
+ readonly threat: number;
292
+ readonly statuses: StatusCounts;
293
+ readonly counters: Readonly<Record<string, number>>;
294
+ readonly attachedTo: InstanceId | null;
295
+ readonly attachments: readonly InstanceId[];
296
+ /**
297
+ * Facedown boost cards given to this card (RRG "Boost"): an enemy's for its next activation, or a friendly
298
+ * character's. Of a friendly character's, those marked `heldForBasicPowers` resolve on its next basic power; the
299
+ * others stay facedown (`resolve/villainous.ts`).
300
+ */
301
+ readonly boostCards: readonly InstanceId[];
302
+ /**
303
+ * On a facedown boost card a friendly character holds: it was given "to Elektra" for her basic powers ("Give her 1
304
+ * facedown boost card", Acrobatic Prowess 63006; `EffectSpec giveBoostCard.forBasicPower`), so it is turned faceup
305
+ * and resolved on that character's next basic power, recovery included (ruling September 10, 2026 - Ruling 3 (A)).
306
+ * Not on a card placed by an enemy's text ("place 1 facedown boost card on your identity", Venom), which she cannot
307
+ * use (the same ruling, (C)). Removed by every move (`relocateCard`); absent on every other instance.
308
+ */
309
+ readonly heldForBasicPowers?: true;
310
+ /** Cards tucked under this card (RRG "Tuck"; Highway Robbery's facedown cards). Not in play. */
311
+ readonly tucked: readonly InstanceId[];
312
+ /** Set while this card is in play facedown as something else (a facedown Drone minion). */
313
+ readonly facedownAs: FacedownRole | null;
314
+ /** Absent or null on every card not treated as another card type (docs/phase7-wave4.md §3.9). */
315
+ readonly treatedAs?: TreatedAs | null;
316
+ readonly engagedWith: PlayerId | null;
317
+ /**
318
+ * A minion an environment holds (`EffectSpec attach` with `as: "heldMinion"`; `isHeldMinion`, docs/phase7-wave9.md
319
+ * §3.21): attached to that card, in play, engaged with no player, and still a minion that is defeated as any other.
320
+ * Set by `attachCard` and removed by every move off that host (`relocateCard`), so it is only ever present beside a
321
+ * non-null `attachedTo`; absent on every other instance, so their serialized state is unchanged.
322
+ */
323
+ readonly heldMinion?: true;
324
+ /**
325
+ * "Text on that card that refers to 'the villain' refers to [this card] instead" (`EffectSpec replaceAttachHost`
326
+ * with `villainAlias`; docs/phase7-wave9.md §3.49): the host this attachment was sent to in the villain's place.
327
+ * While it stays attached there, "the villain" in this card's own text is that host (`TargetRef villain`, and the
328
+ * `villain` host of its "attach to" text). Removed by every move off that host (`relocateCard`), so it is only ever
329
+ * present beside an `attachedTo` of the same card; absent on every other instance.
330
+ */
331
+ readonly villainAlias?: InstanceId;
332
+ /**
333
+ * A double-sided encounter card showing its other face (`EncounterCardCommon.flipSide`; RRG 1.8 "Flip", p. 20).
334
+ * A villain's face is `VillainState.side` instead. Always false out of play.
335
+ */
336
+ readonly flipped: boolean;
337
+ /**
338
+ * No player may look at this double-sided card's other face ("players cannot look at the reverse sides", Prime Real
339
+ * Estate 1A; MC55 p. 7; docs/phase7-wave9.md §3.54). Set by `EffectSpec attach.hideReverse` on the card it attaches
340
+ * and on each set-aside card with the same front (`hideReverses`, `resolve/attach.ts`), and cleared the first time
341
+ * the card flips (`turnToFlipSide`). While it is set `otherFaceVisible` is false for every viewer, a wire copy of the
342
+ * state names a stand-in for the card (`sealHiddenReverses`) and `preview()` stops at the flip.
343
+ */
344
+ readonly reverseHidden?: true;
345
+ /**
346
+ * A copy of a main scheme fixed at one stage, out of play: "Add this card / this scheme to the victory display" (The
347
+ * Brotherhood Strikes! 1B and its stage 2Bs, `mut_gen` 32125b–32129b; `EffectSpec addMainSchemeStageToVictoryDisplay`,
348
+ * docs/phase7-wave6.md §3.19). Its name, traits and keywords are that stage's. Absent on every other instance,
349
+ * including the main scheme in play, whose stage is its `MainSchemeState.stageIndex`.
350
+ */
351
+ readonly mainSchemeStageIndex?: number;
352
+ /**
353
+ * Damage this character has taken this phase, kept only while a `maxDamageTakenPerAttack` rule with `per: "phase"`
354
+ * applies to it ("Nimrod cannot take more than 3 damage each phase", docs/phase7-wave6.md §3.4). Removed at every
355
+ * phase boundary (where `playedThisPhase` is emptied) and absent on every other instance, so their serialized state
356
+ * is unchanged.
357
+ */
358
+ readonly damageTakenThisPhase?: number;
359
+ /**
360
+ * A facedown encounter card dealt to a player straight off an encounter deck (villain phase step 3, surge, a player
361
+ * deck reset), so its reveal is "revealed from the encounter deck" (docs/phase7-wave6.md §3.64, §4 Q35). Kept by
362
+ * `relocateCard` while the card sits in a player's dealt encounter cards; absent everywhere else, including on a
363
+ * card dealt from the set-aside area or a boost pile.
364
+ */
365
+ readonly dealtFromEncounterDeck?: true;
366
+ }
367
+ export interface IdentityState {
368
+ readonly instanceId: InstanceId;
369
+ readonly cardId: CardId;
370
+ readonly form: Form;
371
+ /**
372
+ * Which hero face is up while in hero form: 0 is the identity's `hero`, n is `additionalHeroForms[n - 1]` (a
373
+ * three-sided identity's inside face; docs/phase7-wave2.md §3.2). Null in alter-ego form. `form` is kept beside it so
374
+ * every reader that only asks "hero or alter-ego" is unchanged.
375
+ */
376
+ readonly heroFormIndex: number | null;
377
+ /** RRG "Form, Change Form": once each round, during that player's own turn. */
378
+ readonly changedFormThisRound: boolean;
379
+ /**
380
+ * A separated identity's other physical card (`HeroIdentityCard.separatedIdentity`; docs/phase7-wave5.md §3.24): the
381
+ * hero card's support side in the play area in alter-ego form, the alter-ego card's upgrade side attached to the
382
+ * identity in hero form, set aside until setup step 16 puts it into play (`separated-identity.ts`). Absent for every
383
+ * other identity, so their serialized state is unchanged.
384
+ */
385
+ readonly separatedCardInstanceId?: InstanceId;
386
+ }
387
+ export interface PlayerState {
388
+ readonly playerId: PlayerId;
389
+ /** Seat order around the table; "clockwise" is ascending seatIndex, wrapping. */
390
+ readonly seatIndex: number;
391
+ readonly identity: IdentityState;
392
+ readonly hand: readonly InstanceId[];
393
+ readonly deck: readonly InstanceId[];
394
+ readonly discard: readonly InstanceId[];
395
+ readonly playArea: readonly InstanceId[];
396
+ /** Facedown encounter cards dealt in villain phase step 3, revealed in step 4. */
397
+ readonly dealtEncounter: readonly InstanceId[];
398
+ /** Event cards this player is playing right now (out of play until discarded). */
399
+ readonly resolving: readonly InstanceId[];
400
+ /** This player's set-aside nemesis set (Shadow of the Past brings it in). */
401
+ readonly setAside: readonly InstanceId[];
402
+ /**
403
+ * Decks this player's identity brings besides the player deck, by name (`HeroIdentityCard.separateDecks`; the
404
+ * Invocation deck). Built and shuffled at setup; empty for every Core identity.
405
+ */
406
+ readonly separateDecks: Readonly<Record<string, SeparateDeckState>>;
407
+ readonly eliminated: boolean;
408
+ /**
409
+ * This seat never took part in the scenario: its player sat it out during setup (`EffectSpec sitOutScenario`), so it
410
+ * is `eliminated` from the first round on and, unlike a player eliminated during the scenario, was taken out of
411
+ * `GameState.startingPlayerCount`. Absent for every other player.
412
+ */
413
+ readonly sittingOut?: true;
414
+ /**
415
+ * Mulligans this player may take after the first at setup (`PlayerSetup.extraMulligans`; docs/phase7-wave5.md
416
+ * §3.26). A setup input that never changes; absent when 0. The count taken so far lives on the mulligan step.
417
+ */
418
+ readonly extraMulligans?: number;
419
+ /**
420
+ * Cards this player already holds that count toward their starting hand (`EffectSpec countTowardStartingHand`;
421
+ * docs/phase7-wave8.md §3.44): the draw of RRG 1.8 Appendix II step 14 is that much smaller, and clears it. Absent
422
+ * when 0, which is every game no earlier setup instruction credited.
423
+ */
424
+ readonly startingHandCredit?: number;
425
+ /**
426
+ * Facts from outside the game this seat supplied at setup (`PlayerSetup.outsideFacts`; docs/phase7-wave7.md §3.83),
427
+ * read by `Predicate outsideFact`. A setup input that never changes; absent when the seat supplied none that is
428
+ * true.
429
+ */
430
+ readonly outsideFacts?: OutsideFacts;
431
+ }
432
+ /**
433
+ * One separate deck and its own discard pile (docs/phase7-wave1.md §3.5). The top card's `faceup` follows the
434
+ * identity's `topCardFaceup` after every change (`syncSeparateDeckTop`); a deck that empties with cards in its discard is
435
+ * reshuffled at once, by the move that emptied it, with no penalty (`resetSeparateDeckIfEmpty`).
436
+ */
437
+ export interface SeparateDeckState {
438
+ readonly deck: readonly InstanceId[];
439
+ readonly discard: readonly InstanceId[];
440
+ /**
441
+ * The identity's `IdentitySeparateDeck.fixedOrder`, copied at setup (docs/phase7-wave11.md §3.1; Daredevil's Sense
442
+ * deck, MC60 p. 26: "you cannot change the order"). The deck is shuffled at setup and never again: every later shuffle
443
+ * of it (`shuffleDeck { separateDeck }`, a search, a card shuffled in) leaves the order as it is. Absent otherwise.
444
+ */
445
+ readonly fixedOrder?: true;
446
+ /**
447
+ * The identity's `IdentitySeparateDeck.ownerMayLookThrough`, copied at setup (MC60 p. 26: "you can look through it at
448
+ * any time"): its owner, and no other player, may see the whole deck in order (`mayLookThroughSeparateDeck`). Absent
449
+ * otherwise.
450
+ */
451
+ readonly ownerMayLookThrough?: true;
452
+ }
453
+ export interface VillainState {
454
+ readonly instanceId: InstanceId;
455
+ readonly cardId: CardId;
456
+ /** The face up: A or B, or C on the inside of a three-sided villain (`VillainSideLetter`). */
457
+ readonly side: VillainSideLetter;
458
+ readonly stageIndex: number;
459
+ /** The last stage used this game (standard I–II, expert II–III): defeating it defeats this villain. */
460
+ readonly lastStageIndex: number;
461
+ /**
462
+ * The last stage has been defeated. RRG 1.8 "Villain Defeat" (p. 47): the stage is removed from the game, so a
463
+ * defeated villain is out of play. With several villains the game goes on until every one is defeated.
464
+ */
465
+ readonly defeated: boolean;
466
+ /** This villain's own encounter deck (every villain of a single-deck scenario shares the one deck). */
467
+ readonly encounterDeckId: EncounterDeckId;
468
+ /**
469
+ * This villain's signature side scheme (The Wrecking Crew insert, "Signature Side Schemes"), or null. The link
470
+ * holds whether the scheme is set aside, in play, or removed from the game.
471
+ */
472
+ readonly signatureSideSchemeId: InstanceId | null;
473
+ }
474
+ /**
475
+ * One scenario deck and its discard pile, with the rules its `ScenarioSeparateDeck` states (docs/phase7-wave2.md §3.3).
476
+ * `discardPile: "encounter"` cards keep an encounter-deck home, so a discard goes to the encounter discard pile ("After a
477
+ * card from the Experimental Weapons deck enters play, it is considered to be part of the encounter deck"); `"own"` cards
478
+ * are homed to this deck and go to its discard pile.
479
+ *
480
+ * `discardPile: "none"` (the show deck, MojoMania insert p. 11: "The show deck has no discard pile"; docs/phase7-wave6.md
481
+ * §3.66): `discard` stays empty for the whole game. Its cards are homed to the deck and print where they go when
482
+ * discarded (Across the Mojoverse 1B's replacement, Cornered!'s own text); one discarded with no replacement applying
483
+ * goes to the encounter discard pile (`discardZoneFor`; the owner's decision, 2026-10-03, §4.1 Q54).
484
+ */
485
+ export interface ScenarioDeckState {
486
+ readonly deck: readonly InstanceId[];
487
+ readonly discard: readonly InstanceId[];
488
+ readonly discardPile: "own" | "encounter" | "none";
489
+ readonly whenEmpty: "reshuffleDiscardWithoutPenalty" | "remainsEmpty";
490
+ /** Which encounter-deck cards form it (`ScenarioSeparateDeck.contents`); read by `buildScenarioDeck`. */
491
+ readonly contents: {
492
+ readonly encounterSetIds?: readonly string[];
493
+ readonly cardType?: "side_scheme" | "environment";
494
+ /** Only cards printing this trait (the Infinity Stones; docs/phase7-wave4.md §1.10). */
495
+ readonly trait?: string;
496
+ /** Cards that join by id besides the ones the other fields match (Cornered! in the show deck; wave 6 §3.66). */
497
+ readonly cardIds?: readonly string[];
498
+ /** Encounter sets whose every card joins (`ScenarioSeparateDeck.contents.wholeEncounterSetIds`, the trap deck). */
499
+ readonly wholeEncounterSetIds?: readonly string[];
500
+ };
501
+ /**
502
+ * `ScenarioSeparateDeck.discardByTrait` (the trap deck, MC65 pp. 12-13): a card printing this trait goes to this
503
+ * deck's discard pile wherever it is discarded from, any other to its encounter discard pile (`discardZoneFor`).
504
+ */
505
+ readonly discardByTrait?: string;
506
+ /**
507
+ * `ScenarioSeparateDeck.closedToPlayerCards` (the show deck "cannot be affected by player card effects", MojoMania
508
+ * insert p. 11): a player card's ability never selects, looks at, reorders or moves a card in this deck, nor puts one
509
+ * into it (`closedToPlayerCard`). docs/phase7-wave6.md §3.66.
510
+ */
511
+ readonly closedToPlayerCards?: true;
512
+ /**
513
+ * Built from the encounter deck during scenario setup, with no card text asking: a deck an encounter set brings to any
514
+ * game it is in (`EncounterSet.separateDecks`, the Infinity Stone deck; MC21 p. 16). docs/phase7-wave4.md §3.6.
515
+ */
516
+ readonly buildAtSetup?: true;
517
+ /**
518
+ * `ScenarioSeparateDeck.topCardInPlay` ("The top card of this deck is in play", the Holding Cell deck, MC50 p. 13;
519
+ * docs/phase7-wave9.md §3.17). The card in play is not in `deck`: it sits where its type lives (an environment in the
520
+ * villain's area, under no player's control) and `inPlayTopId` names it; `deck` holds the cards under it, out of
521
+ * play and facedown to every viewer. `scenarioDeckCards` reads the whole deck, top card first.
522
+ */
523
+ readonly topCardInPlay?: true;
524
+ /**
525
+ * The deck's top card, in play (`topCardInPlay`). Absent while the deck has no card in play: before it is built, and
526
+ * once every card has left it. Kept by `settleScenarioDeckTops` (`resolve/scenario-deck-top.ts`), which is the only
527
+ * writer.
528
+ */
529
+ readonly inPlayTopId?: InstanceId;
530
+ }
531
+ /** A tucked card that was discarded, waiting to be announced: the fields of `TriggerEvent tuckedCardDiscarded`. */
532
+ export type TuckedDiscard = Omit<Extract<TriggerEvent, {
533
+ kind: "tuckedCardDiscarded";
534
+ }>, "kind">;
535
+ /** A facedown encounter card dealt to a player, waiting to be announced (`TriggerEvent encounterCardDealt`). */
536
+ export interface DealtEncounterCard {
537
+ readonly playerId: PlayerId;
538
+ readonly instanceId: InstanceId;
539
+ readonly source: EncounterDealSource;
540
+ }
541
+ /** A deal waiting for its "would be dealt" window: the fields of `TriggerEvent encounterCardBeingDealt`. */
542
+ export type EncounterDealWaiting = Omit<Extract<TriggerEvent, {
543
+ kind: "encounterCardBeingDealt";
544
+ }>, "kind">;
545
+ /** A card that entered a player's hand, waiting to be announced (`TriggerEvent cardEntersHand`, wave 6 §3.10). */
546
+ export interface EnteredHand {
547
+ readonly playerId: PlayerId;
548
+ readonly instanceId: InstanceId;
549
+ readonly from: ZoneId["kind"] | null;
550
+ }
551
+ /**
552
+ * A card that stopped being attached to a host, waiting to be announced between frames (`TriggerEvent cardUnattached`;
553
+ * community pack `yondu-dh`). `hostInstanceId`: the host it left; `playerId`: its controller before the move; `to`: the
554
+ * kind of zone it went to.
555
+ */
556
+ export interface Unattached {
557
+ readonly instanceId: InstanceId;
558
+ readonly hostInstanceId: InstanceId;
559
+ readonly playerId: PlayerId | null;
560
+ readonly to: ZoneId["kind"];
561
+ }
562
+ /**
563
+ * An encounter card that left a player's deck, drawn or discarded, waiting to be announced between frames (`TriggerEvent
564
+ * encounterCardFromPlayerDeck`, docs/phase7-wave5.md §3.5).
565
+ */
566
+ export interface EncounterFromDeck {
567
+ readonly playerId: PlayerId;
568
+ readonly instanceId: InstanceId;
569
+ readonly how: "draw" | "discard";
570
+ }
571
+ /**
572
+ * An encounter card a paused refill to hand size holds (`GameState.refillHeldEncounterFromDeck`). `refill` names that
573
+ * refill: `endPhase:<player>` for the end-of-phase draw, `frame:<frameId>:<player>` for a "draw up to" effect.
574
+ */
575
+ export interface RefillHeldEncounterCard extends EncounterFromDeck {
576
+ readonly refill: string;
577
+ }
578
+ /**
579
+ * A card discarded from a player's deck (`TriggerEvent cardDiscardedFromDeck`, docs/phase7-wave7.md §3.55), whose
580
+ * fields these are. `boundOn`: the discarding ability's set of the cards "discarded this way", as the slot `slot` of
581
+ * frame `frameId` (the effects frame of a `moveCards` or `discardDeckUntil` with a `bind`, the frame a
582
+ * `discardFromDeckSlot` cost was paid for), which keeps counting the card if a response takes it away, unless the set
583
+ * says otherwise (§4.1 Q32 = A, `settleDeckDiscards`). `also`: further slots of that frame holding the card (`discardDeckUntil.bindAll`,
584
+ * docs/phase7-wave8.md §3.71), which hold it the same way.
585
+ *
586
+ * A card discarded from the top of an encounter deck is one too (docs/phase7-wave9.md §3.43 (b)): `playerId` is null
587
+ * (the deck is no player's), `encounterDeckId` names the deck, `how` says whether an effect or a cost discarded it and
588
+ * `by` which side's card that was.
589
+ */
590
+ export interface DeckDiscard {
591
+ readonly playerId: PlayerId | null;
592
+ readonly instanceId: InstanceId;
593
+ readonly sourceInstanceId: InstanceId | null;
594
+ readonly at: "discard" | "deck";
595
+ readonly encounterDeckId?: EncounterDeckId;
596
+ readonly by?: LeaveCauseSide;
597
+ readonly how?: "effect" | "cost";
598
+ readonly boundOn?: {
599
+ readonly frameId: FrameId;
600
+ readonly slot: string;
601
+ readonly also?: readonly string[];
602
+ /** The set drops a card a response takes away (`EffectSpec moveCards.takenAwayNotCounted`, a mission attempt). */
603
+ readonly takenAwayNotCounted?: true;
604
+ };
605
+ /**
606
+ * On a discard a response window is watching (`DeckDiscardWindow`), once a response has moved the card from where
607
+ * its discard left it: the card that response's ability is on, and whether that ability leaves the card counted by
608
+ * the ability that discarded it (`AbilityDefinition.discardsStayCounted`, box-heroes B3.3). Recorded as that
609
+ * response finishes (`noteDeckDiscardsTaken`); the first response to move the card is the one named.
610
+ */
611
+ readonly takenBy?: {
612
+ readonly instanceId: InstanceId | null;
613
+ readonly stillCounted: boolean;
614
+ };
615
+ }
616
+ /**
617
+ * A facedown boost card given to an enemy, waiting to be announced (`TriggerEvent boostCardGiven`, whose fields these
618
+ * are; docs/phase7-wave9.md §3.44).
619
+ */
620
+ export interface BoostGiven {
621
+ readonly enemyInstanceId: InstanceId;
622
+ readonly boostInstanceId: InstanceId;
623
+ readonly activation: "attack" | "scheme" | null;
624
+ readonly playerId: PlayerId | null;
625
+ }
626
+ /**
627
+ * The deck discards one response window answers: `frameId` is the event frame that opens the window (the last of the
628
+ * batch, `pushEventsSharingResponses`). Once that frame has left the stack every response has resolved, and each card
629
+ * a response took away is dropped from its `boundOn` frame's bound sets (`settleDeckDiscards`).
630
+ */
631
+ export interface DeckDiscardWindow {
632
+ readonly frameId: FrameId;
633
+ readonly discards: readonly DeckDiscard[];
634
+ }
635
+ /**
636
+ * A status card placed on a character, waiting to be announced (`TriggerEvent statusPlaced`, docs/phase7-wave7.md
637
+ * §3.27); the fields are that event's.
638
+ */
639
+ export interface StatusPlaced {
640
+ readonly instanceId: InstanceId;
641
+ readonly status: StatusName;
642
+ readonly sourceInstanceId: InstanceId | null;
643
+ readonly playerId: PlayerId | null;
644
+ }
645
+ /**
646
+ * A card that left play, as it was while still in play, waiting to be announced (`TriggerEvent cardLeavesPlay`,
647
+ * docs/phase7-wave5.md §3.13).
648
+ */
649
+ export interface LeftPlay {
650
+ readonly instanceId: InstanceId;
651
+ readonly cardId: CardId;
652
+ readonly controllerId: PlayerId | null;
653
+ /** The player an uncontrolled card's "you" named while in play (`TriggerEvent cardLeavesPlay.speakerId`). */
654
+ readonly speakerId?: PlayerId;
655
+ readonly to: ZoneId["kind"];
656
+ readonly traits: readonly Trait[];
657
+ /** The attachments its leaving left in play, unattached (`TriggerEvent cardLeavesPlay.strandedAttachments`). */
658
+ readonly strandedAttachments?: readonly InstanceId[];
659
+ /** Whose card effect moved it (`TriggerEvent cardLeavesPlay.by`); absent for a game rule or a cost. */
660
+ readonly by?: LeaveCauseSide;
661
+ /** It left during its own leaving's interrupt window (a replacement's move): only responses (§4.1 Q17). */
662
+ readonly interruptsResolved?: true;
663
+ }
664
+ /** A deck that ran out, waiting to be announced between frames (`TriggerEvent deckRanOut`, docs/phase7-wave4.md §3.11). */
665
+ export type DeckRunOut = {
666
+ readonly deck: "player";
667
+ readonly playerId: PlayerId;
668
+ } | {
669
+ readonly deck: "scenario";
670
+ readonly name: string;
671
+ }
672
+ /** An encounter deck that was reset (docs/phase7-wave6.md §3.60). */
673
+ | {
674
+ readonly deck: "encounter";
675
+ readonly deckId: EncounterDeckId;
676
+ };
677
+ /** One encounter deck and its discard pile (RRG 1.8 "Encounter Deck", p. 17). */
678
+ export interface EncounterDeckState {
679
+ readonly deck: readonly InstanceId[];
680
+ readonly discard: readonly InstanceId[];
681
+ }
682
+ /**
683
+ * What made a main scheme advance to the stage now showing (docs/phase7-wave7.md §3.12), for a stage that asks: "If
684
+ * the previous stage was advanced by knock counters, …".
685
+ *
686
+ * - `completed`: the previous stage was completed and the game advanced it (RRG 1.8 "Main Scheme", p. 27): its threat
687
+ * reached the target, or a card declared it complete (`EffectSpec completeMainScheme`). `sourceInstanceId` is null: no
688
+ * card advanced it, whichever cards placed the threat.
689
+ * - `cardEffect`: a card ability's `advanceMainScheme` ("advance to stage 2A"), which is not a completion.
690
+ * `sourceInstanceId` is the card the ability is on, the scheme itself for its own text, or null if it has none.
691
+ */
692
+ export interface MainSchemeAdvancedBy {
693
+ readonly cause: "completed" | "cardEffect";
694
+ readonly sourceInstanceId: InstanceId | null;
695
+ }
696
+ export interface MainSchemeState {
697
+ readonly instanceId: InstanceId;
698
+ readonly cardId: CardId;
699
+ readonly stageIndex: number;
700
+ readonly completed: boolean;
701
+ /** RRG "Acceleration Token": carries over when the main scheme advances. */
702
+ readonly accelerationTokens: number;
703
+ /**
704
+ * The order its stages are walked in, as stage indexes: set at setup when the main scheme deck is chosen stages of
705
+ * the card (`GameSetupConfig.mainSchemeStageIndexes`, docs/phase7-wave10.md §3.2; the card's other stages are then
706
+ * not in the deck), or once a card has shuffled them ("Shuffle all copies of main scheme 2A and stack them under
707
+ * this scheme", The Brotherhood Strikes! 1A; `EffectSpec shuffleMainSchemeStages`, docs/phase7-wave6.md §3.18).
708
+ * When present it is the authority for the default advance: the next stage is the entry
709
+ * after the current one, and the last entry is the final stage. Absent, stages are walked in printed order (and a
710
+ * group of same-numbered alternatives needs card text to pick one, Kang's stage 3).
711
+ */
712
+ readonly stageOrder?: readonly number[];
713
+ /**
714
+ * What advanced this scheme to its current stage, replaced on every advance (`Predicate mainSchemeAdvancedBy`).
715
+ * Absent until the scheme first advances, and in a game saved before the field existed: the cause is then unknown and
716
+ * the predicate is false for every cause.
717
+ */
718
+ readonly advancedBy?: MainSchemeAdvancedBy;
719
+ /**
720
+ * Present while this stage's A side is the faceup one (docs/phase7-wave8.md §4.1 Q56): from setup until Appendix II
721
+ * step 12b flips 1A to 1B, and from an advance until its step 3 flips the new stage (RRG 1.8 pp. 51, 27). The B
722
+ * side's abilities are not live until then (`activeAbilityRefs`); the A side's Setup and When Revealed abilities are
723
+ * resolved by the frames pushed for them. Removed by the `mainSchemeTurnsToB` event. Absent: the B side is faceup.
724
+ */
725
+ readonly faceupSide?: "A";
726
+ /**
727
+ * The player whose play area this main scheme is in (docs/phase7-wave11-scenarios.md §S3.1; Protection Racket 1A:
728
+ * "Each player chooses a single Protection Racket main scheme … places it in their play area"). Set at setup by
729
+ * `GameSetupConfig.mainSchemeChoice`, on the central scheme and each one beside it. "The main scheme" is then read
730
+ * by play area (`mainSchemesFor`, MC60 p. 13). Absent: the scheme is in the villain's play area, as in every other
731
+ * game, so saves are unchanged.
732
+ */
733
+ readonly playArea?: PlayerId;
734
+ }
735
+ /**
736
+ * One separate game area (docs/phase7-wave2.md §3.1; The Once and Future Kang insert, "Playing With Separate Game
737
+ * Areas"). Created by a card ability ("Create your own game area and place this scheme in it"), never at setup.
738
+ *
739
+ * - `playerIds`: the players in it. A player's own cards (identity, play area, engaged minions and their attachments)
740
+ * are in their area.
741
+ * - `mainScheme`: the area's own main scheme stage, an instance of the scenario's main scheme card at one of its
742
+ * alternative stages (Kang's stage 3), or null once a card has removed it ("Remove the Chronopolis from the game").
743
+ * - `villainIds` / `activeVillainId`: the villains in it ("Add Kang (Immortus) to the game area"); "the villain" in this
744
+ * area is `activeVillainId`.
745
+ * - `sideSchemeIds`: side schemes that belong to it (in the shared `villainArea` zone like every side scheme).
746
+ *
747
+ * Everything else in play, environments above all (RRG 1.8 FAQ "The Once and Future Kang Scenario Pack", p. 60:
748
+ * "Environment cards are considered to be in all players' game areas"), and the central stage (`GameState.mainScheme`,
749
+ * "Stage 2B remains in play in a central location and its text remains active for all players") is in every area.
750
+ */
751
+ export interface GameAreaState {
752
+ readonly areaId: GameAreaId;
753
+ readonly playerIds: readonly PlayerId[];
754
+ readonly mainScheme: MainSchemeState | null;
755
+ readonly villainIds: readonly InstanceId[];
756
+ readonly activeVillainId: InstanceId | null;
757
+ readonly sideSchemeIds: readonly InstanceId[];
758
+ /** Stages this area had and a card removed ("Remove the Chronopolis from the game"), so their text still knows its area. */
759
+ readonly formerSchemeIds: readonly InstanceId[];
760
+ }
761
+ /**
762
+ * Scenario rules the engine applies itself, fixed at setup from the scenario data (`GameSetupConfig`).
763
+ *
764
+ * - `victory`: `"finalVillainStage"` is RRG 1.8 "Villain Defeat" (p. 47); `"cardAbility"` means only an ability wins
765
+ * (`winGame`; Kang (III): "When Defeated: The players win the game."), so defeating every villain does not
766
+ * (docs/phase7-wave2.md §1.8, §3.4).
767
+ * - `separateGameAreas`: whether card abilities may split the players into areas (`Scenario.separateGameAreas`).
768
+ */
769
+ export interface ScenarioRules {
770
+ readonly victory: "finalVillainStage" | "cardAbility";
771
+ readonly separateGameAreas: boolean;
772
+ /**
773
+ * Where the active counter goes when the villain holding it is defeated. Absent: The Wrecking Crew insert's rule (the
774
+ * villain whose side scheme has the most threat). `nextInActivationOrder`: The Sinister Six, MC27 p. 15, "After the
775
+ * villain with the active counter is defeated, move the active counter to the next villain in the activation order.
776
+ * If no other villains are in play, set the active counter aside." It also turns on the FAQ (RRG 1.8 p. 62): a
777
+ * villain activating while none in play has the counter gives it to the lowest activation order value.
778
+ * docs/phase7-wave5.md §3.1.
779
+ */
780
+ readonly activeCounter?: "nextInActivationOrder";
781
+ /**
782
+ * `activeVillain`: a player card that names "the villain" means the active villain too, with no choice (The Wrecking
783
+ * Crew insert, "The Active Villain": "Any card effect that refers to 'the villain' only refers to the active villain";
784
+ * FFG ruling Jun 13, 2024, #212). Absent, with several villains: a player card asks its player which villain
785
+ * (`needsVillainChoice`; owner, 2026-10-04, matrix Q-M2). Basic attacks and "enemy" targets are not affected.
786
+ */
787
+ readonly theVillain?: "activeVillain";
788
+ /** `GameSetupConfig.victoryCondition` (Loki's count; docs/phase7-wave4.md §3.7). Absent in every other game. */
789
+ readonly victoryCondition?: number;
790
+ /**
791
+ * `GameSetupConfig.difficulty`: `"expert"` in expert mode; absent in standard mode, so every older save reads as
792
+ * standard. Read by the mode-only faces rule (`modeOnlyFlipped`; docs/phase7-wave4.md §3.18).
793
+ */
794
+ readonly difficulty?: "expert";
795
+ /** `GameSetupConfig.heroicLevel`: extra encounter cards per player each villain phase. Absent is 0. */
796
+ readonly heroicLevel?: number;
797
+ /** `GameSetupConfig.scenarioRuleSpecs`: rules the scenario imposes without a card (docs/phase7-wave4.md §3.40). */
798
+ readonly rules?: readonly RuleSpec[];
799
+ /**
800
+ * `GameSetupConfig.scenarioSetupInstructions`: setup text a rulebook prints rather than a card (Tower Defense's
801
+ * optional setup damage, MC21 p. 11; docs/phase7-wave4.md §4 Q4). Absent in every game that has none, so an older
802
+ * save reads unchanged.
803
+ */
804
+ readonly setupInstructions?: readonly ScenarioSetupInstruction[];
805
+ /**
806
+ * `GameSetupConfig.setupOptions`: the optional setup rules the players turned on, each with the amount they stated
807
+ * (`SetupOption`; docs/phase7-wave8.md §3.5). Absent in every game that states none, so an older save reads
808
+ * unchanged.
809
+ */
810
+ readonly setupOptions?: readonly SetupOption[];
811
+ /**
812
+ * `GameSetupConfig.setAsideUntilCalled`: cards RRG 1.8 Appendix II step 11 (p. 51) leaves in the set-aside area
813
+ * although they have the setup keyword. Absent in every game without such a scenario rule.
814
+ */
815
+ readonly setAsideUntilCalled?: SetAsideUntilCalled;
816
+ }
817
+ /**
818
+ * Cards a scenario's own printed text sets aside and brings in later, so their setup keyword does not put them into
819
+ * play at RRG 1.8 Appendix II step 11 (p. 51). Step 11 reads "Search each deck and the set aside area for any cards
820
+ * with the setup keyword and put them into play", and a scenario may say otherwise for its own cards: MC40 p. 16, "The
821
+ * setup keyword on the Flight, Super Strength, and Telepathy attachments is ignored in this scenario because these
822
+ * cards are set aside during setup" (docs/phase7-wave7.md §4.1 Q20; docs/setup-keyword-set-aside-audit.md). A card is
823
+ * named by its id or by an encounter set it belongs to (`encounterSetIds`, or `specificTo`'s set for a player-typed
824
+ * scenario card). Only the encounter set-aside area is read against it; a deck's cards and a player's own set-aside
825
+ * cards are never held back.
826
+ */
827
+ export interface SetAsideUntilCalled {
828
+ readonly cardIds?: readonly CardId[];
829
+ readonly encounterSetIds?: readonly string[];
830
+ }
831
+ /**
832
+ * One setup instruction a scenario's rulebook prints rather than a card: resolved once, after RRG 1.8 Appendix II
833
+ * step 12's card abilities (the main scheme's and villains' Setup and When Revealed, including everything they put
834
+ * into play) and before step 14's draw. Plain data, like a campaign instruction, so it is part of the replay baseline.
835
+ * `text` and `citation` are copied into the `scenarioSetupInstructionResolved` event so the log reads on its own.
836
+ */
837
+ export interface ScenarioSetupInstruction {
838
+ readonly id: string;
839
+ readonly text: string;
840
+ readonly citation: string;
841
+ readonly effects: readonly EffectSpec[];
842
+ }
843
+ /**
844
+ * One optional setup rule the players turned on, with the amount they stated: a rule an encounter set's or a scenario's
845
+ * rulebook offers "up to the players as a group" (MC45 p. 8, "Modular Difficulty": "they may place threat on Gene Pool
846
+ * during setup … The amount of threat placed is up to the players as a group"; docs/phase7-wave8.md §3.5, §4.1 Q1).
847
+ *
848
+ * Resolved once, after RRG 1.8 Appendix II step 11 (the setup-keyword cards are in play) and before step 12's Setup
849
+ * and When Revealed abilities (p. 51), as scenario text resolved by the first player. `amount` is what the players
850
+ * stated and is what the `setupOptionApplied` log entry records; `effects` is the plain-data instruction the scenario
851
+ * builder wrote for that amount. The engine never fills an amount in from the mode: an option the setup config does
852
+ * not list is not applied. Part of the setup config, so of the replay baseline.
853
+ */
854
+ export interface SetupOption {
855
+ /** The option's stable id, chosen by the scenario builder ("<encounter set>.<rule>"). */
856
+ readonly option: string;
857
+ /** The amount the players stated: a whole number, 0 or more. */
858
+ readonly amount: number;
859
+ readonly text: string;
860
+ readonly citation: string;
861
+ readonly effects: readonly EffectSpec[];
862
+ }
863
+ /**
864
+ * A modular encounter set chosen at setup and set aside rather than shuffled in (`GameSetupConfig.setAsideModularSets`;
865
+ * Making Connections 1A: "Choose 7 modular encounter sets and set them aside"; docs/phase7-wave4.md §3.18). Its cards
866
+ * are in `encounterSetAside`; `instanceIds` names them, so "choose 1 set-aside modular encounter set at random, then
867
+ * shuffle it into the encounter deck" takes exactly that set's cards.
868
+ */
869
+ export interface SetAsideModularSet {
870
+ readonly encounterSetId: string;
871
+ readonly instanceIds: readonly InstanceId[];
872
+ }
873
+ /**
874
+ * Steps that iterate players carry the remaining player order explicitly, so a
875
+ * player being eliminated mid-step can't shift anyone else's place in line.
876
+ */
877
+ export type GameStep =
878
+ /**
879
+ * A campaign's own setup instructions for this scenario, at one of RRG Appendix II's five printed windows
880
+ * (`CampaignWindow`, resolved in `CAMPAIGN_WINDOW_ORDER`). **Campaign games only**: a game created without
881
+ * `GameSetupConfig.campaign` never reaches this step or `scenarioSetup`, and its step sequence is unchanged.
882
+ */
883
+ {
884
+ readonly phase: "setup";
885
+ readonly kind: "campaignWindow";
886
+ readonly window: CampaignWindow;
887
+ }
888
+ /**
889
+ * RRG 1.8 Appendix II steps 6-12 (p. 51): shuffle the decks, place starting threat, put setup cards into play,
890
+ * resolve the scenario's own setup abilities. A flow step only in a campaign game, where `beforeScenarioSetup`
891
+ * instructions have to resolve *before* it; otherwise `createGame` runs the same code inline as it always has.
892
+ */
893
+ | {
894
+ readonly phase: "setup";
895
+ readonly kind: "scenarioSetup";
896
+ }
897
+ /**
898
+ * RRG 1.8 Appendix II step 12c (p. 51), "Resolve any 'Setup' and 'When Revealed' abilities on the villain", for the
899
+ * villains steps 12a and 12b put into play (`GameState.villainsEnteringAtSetup`). Reached only by a game whose
900
+ * villains all started set aside (`GameSetupConfig.villainsStartSetAside`); every other game resolves 12c in the same
901
+ * batch as 12a and 12b, as it always has, and its step sequence is unchanged. docs/phase7-wave7.md §3.42.
902
+ */
903
+ | {
904
+ readonly phase: "setup";
905
+ readonly kind: "villainSetupAbilities";
906
+ }
907
+ /** RRG Appendix II step 14, after setup cards and setup abilities have resolved. */
908
+ /**
909
+ * The scenario's rulebook-printed setup instructions (`ScenarioRules.setupInstructions`; MC21 p. 11), after Appendix
910
+ * II step 12's abilities have fully resolved and before step 14's draw. Reached only by a game that has some.
911
+ */
912
+ | {
913
+ readonly phase: "setup";
914
+ readonly kind: "scenarioSetupInstructions";
915
+ } | {
916
+ readonly phase: "setup";
917
+ readonly kind: "drawStartingHands";
918
+ /**
919
+ * The players already offered their Starting card (docs/phase7-wave11.md §3.6; `starting.ts`), in player order.
920
+ * Absent until the first offer: a game whose decks hold no Starting card never sets it.
921
+ */
922
+ readonly startingOffered?: readonly PlayerId[];
923
+ } | {
924
+ readonly phase: "setup";
925
+ readonly kind: "mulligan";
926
+ readonly remainingPlayerIds: readonly PlayerId[];
927
+ /**
928
+ * Which pass of mulligans this is: 1 for the pass of first additional mulligans, and so on (docs/phase7-wave5.md
929
+ * §3.26; passes go in player order, §4.1 Q19). Absent on the normal mulligan.
930
+ */
931
+ readonly pass?: number;
932
+ /**
933
+ * Players, in player order, who have decided this pass and will be offered a mulligan in the next one (an
934
+ * additional mulligan left, and this one changed their hand; §4.1 Q20). Absent when none.
935
+ */
936
+ readonly nextPassPlayerIds?: readonly PlayerId[];
937
+ }
938
+ /**
939
+ * RRG 1.8 Appendix II step 16 (p. 51), "Resolve Player Setup Abilities": after the draw (step 14) and the mulligan
940
+ * (step 15). `resolved`: the abilities have been put on the stack and the first round begins once they finish.
941
+ */
942
+ | {
943
+ readonly phase: "setup";
944
+ readonly kind: "playerSetupAbilities";
945
+ readonly resolved?: boolean;
946
+ } | {
947
+ readonly phase: "player";
948
+ readonly kind: "turn";
949
+ readonly activePlayerId: PlayerId;
950
+ readonly remainingPlayerIds: readonly PlayerId[];
951
+ /**
952
+ * The last player's turn has ended (`turnEnded` is logged) and the phase waits on a Forced Action that became
953
+ * outstanding after its player's turn (docs/phase7-wave9.md §3.53; RRG 1.8 "Action", p. 6). No command but the
954
+ * answer to the open choice is accepted; once no forced action is outstanding the end-of-phase steps begin.
955
+ */
956
+ readonly ended?: true;
957
+ } | {
958
+ readonly phase: "player";
959
+ readonly kind: "endPhaseDiscard";
960
+ readonly remainingPlayerIds: readonly PlayerId[];
961
+ }
962
+ /**
963
+ * `remainingPlayerIds` / `drawn`: a refill stopped early to let a drawn card's ability resolve (RRG 1.8 "Hand Size",
964
+ * p. 21; ruling Aug 14, 2025): the players still to draw, the first being the one whose refill resumes, and
965
+ * how many cards that player has drawn so far. Absent when the step has not started.
966
+ */
967
+ | {
968
+ readonly phase: "player";
969
+ readonly kind: "endPhaseDraw";
970
+ readonly remainingPlayerIds?: readonly PlayerId[];
971
+ readonly drawn?: number;
972
+ }
973
+ /**
974
+ * `readied`: step 4's readies are done but put something on the stack (an additional cost to ready, a "would ready"
975
+ * interrupt; docs/phase7-wave4.md §3.19), so step 5 waits for it to resolve.
976
+ */
977
+ | {
978
+ readonly phase: "player";
979
+ readonly kind: "endPhaseReady";
980
+ readonly readied?: true;
981
+ }
982
+ /** `placed`: step one's threat has been pushed; the step stays current until it (and its responses) resolve. */
983
+ | {
984
+ readonly phase: "villain";
985
+ readonly kind: "placeThreat";
986
+ readonly placed?: boolean;
987
+ } | {
988
+ readonly phase: "villain";
989
+ readonly kind: "enemyActivations";
990
+ /** null means "pull the next player off `remainingPlayerIds`". */
991
+ readonly currentPlayerId: PlayerId | null;
992
+ readonly remainingPlayerIds: readonly PlayerId[];
993
+ readonly villainActivated: boolean;
994
+ readonly activatedMinionIds: readonly InstanceId[];
995
+ }
996
+ /**
997
+ * `announced`: the start of step three went on the stack as `villainStepStarting` (docs/phase7-wave6.md §3.61); the
998
+ * step deals once that frame has resolved. Never set when no interrupt listens.
999
+ */
1000
+ | {
1001
+ readonly phase: "villain";
1002
+ readonly kind: "dealEncounterCards";
1003
+ readonly announced?: true;
1004
+ /**
1005
+ * How many of the step's cards have been dealt, set only while the deal is paused for a response to an encounter
1006
+ * deck reset it caused ("After the encounter deck resets", Wheel of Genres; RRG 1.8 "Encounter Deck", p. 17;
1007
+ * docs/phase7-wave6.md §4.1 Q58), or for a card's "would be dealt" window (`TriggerEvent encounterCardBeingDealt`,
1008
+ * docs/phase7-wave9.md §3.45; a deal that window replaced counts as dealt here: it is not made again). The step
1009
+ * deals the rest once that frame has resolved.
1010
+ */
1011
+ readonly dealt?: number;
1012
+ } | {
1013
+ readonly phase: "villain";
1014
+ readonly kind: "revealEncounterCards";
1015
+ readonly remainingPlayerIds: readonly PlayerId[];
1016
+ } | {
1017
+ readonly phase: "villain";
1018
+ readonly kind: "passFirstPlayer";
1019
+ }
1020
+ /**
1021
+ * `delayedResolved`: "at the end of the round" delayed effects have been fired (RRG "Lasting Effects").
1022
+ * `villainPhaseSkipped`: this round's villain phase was skipped (`EffectSpec skipNextVillainPhase`,
1023
+ * docs/phase7-wave11-hero-packs.md H3.7). The step was reached straight from the player phase's end, steps one to
1024
+ * five never ran, and the round's end is `phaseEnding { phase: "round" }`, not the villain phase's. The step's
1025
+ * `phase` still reads `"villain"`, as the round's end does in every other round.
1026
+ */
1027
+ | {
1028
+ readonly phase: "villain";
1029
+ readonly kind: "endOfRound";
1030
+ readonly delayedResolved?: boolean;
1031
+ readonly villainPhaseSkipped?: true;
1032
+ } | {
1033
+ readonly phase: "gameOver";
1034
+ readonly kind: "gameOver";
1035
+ };
1036
+ export type GameOutcome =
1037
+ /** The only villain's last stage was defeated (RRG 1.8 "Villain Defeat", p. 47). */
1038
+ {
1039
+ readonly result: "win";
1040
+ readonly reason: "villainDefeated";
1041
+ }
1042
+ /** Several villains, and the last undefeated one fell (The Wrecking Crew insert: "If the players defeat all 4 villains, they win the game!"). */
1043
+ | {
1044
+ readonly result: "win";
1045
+ readonly reason: "allVillainsDefeated";
1046
+ } | {
1047
+ readonly result: "loss";
1048
+ readonly reason: "mainSchemeCompleted";
1049
+ } | {
1050
+ readonly result: "loss";
1051
+ readonly reason: "allPlayersDefeated";
1052
+ }
1053
+ /**
1054
+ * A card's own text lost the game: "If Odin leaves play, the players lose the game." (`RuleSpec leavingPlayLoses`,
1055
+ * docs/phase7-wave4.md §3.8), or a loss a card scripts (`EffectSpec endGame`: The Champion's ratings).
1056
+ *
1057
+ * `sourceInstanceId` is the card whose text says the players lose, and is always recorded: a card-caused loss with
1058
+ * no card named cannot be explained to the player. `causeInstanceId` is the card that met that text's condition,
1059
+ * when it is another card: Robert Kelly leaving play under Stalked by Sabretooth's "If Robert Kelly leaves play, the
1060
+ * players lose the game." Absent when the source is its own cause (Odin's own rule) or when no single card is.
1061
+ */
1062
+ | {
1063
+ readonly result: "loss";
1064
+ readonly reason: "cardAbility";
1065
+ readonly sourceInstanceId: InstanceId;
1066
+ readonly causeInstanceId?: InstanceId;
1067
+ }
1068
+ /**
1069
+ * An encounter deck and its discard pile were both empty (RRG 1.8 "Encounter Deck", p. 17: "an infinite loop occurs
1070
+ * with an infinite number of acceleration tokens … If this happens, the players lose"; `effects.ts`
1071
+ * `loseIfEncounterCardsExhausted`).
1072
+ */
1073
+ | {
1074
+ readonly result: "loss";
1075
+ readonly reason: "encounterDeckExhausted";
1076
+ }
1077
+ /**
1078
+ * A player gave up (the `concede` command). A third result kind rather than a widened `loss`: the RRG has no
1079
+ * concede rule, so calling a concession a defeat would import a rules meaning the game does not have — and would
1080
+ * quietly turn it into a loss in a win/loss record. Readers that only distinguish "win" from "not win" are
1081
+ * unaffected; readers that record a result should treat this as played-but-unresolved.
1082
+ *
1083
+ * It carries a `reason` like every other outcome so `GameOutcome.reason` stays total for the readers that switch
1084
+ * on it, plus `byPlayerId` for the seat that gave up.
1085
+ */
1086
+ | {
1087
+ readonly result: "conceded";
1088
+ readonly reason: "playerConceded";
1089
+ readonly byPlayerId: PlayerId;
1090
+ };
1091
+ /** One reveal in `GameState.revealedThisRound`. `phase` is the phase it happened in (a round has one of each). */
1092
+ export interface RevealRecord {
1093
+ readonly instanceId: InstanceId;
1094
+ readonly playerId: PlayerId;
1095
+ readonly phase: GameStep["phase"];
1096
+ }
1097
+ /** One attack in `GameState.attackedThisTurn`: who made it, and the title they were showing when they did. */
1098
+ export interface AttackRecord {
1099
+ readonly attackerInstanceId: InstanceId;
1100
+ readonly attackerTitle: string;
1101
+ }
1102
+ /** One attack in `GameState.attacksThisTurn` (docs/phase7-wave5.md §3.12). */
1103
+ export interface AttackThisTurn {
1104
+ readonly attackerInstanceId: InstanceId;
1105
+ readonly targetInstanceId: InstanceId;
1106
+ }
1107
+ /**
1108
+ * One attack in `GameState.attacksThisPhase`: who attacked whom, with what the attacker **was** when it attacked (its
1109
+ * categories, such as `hero`, and its traits, printed and gained), so "an enemy who has been attacked by a hero this
1110
+ * phase" still holds after that hero changed form, and "by another Martial Artist character" after that ally left play.
1111
+ */
1112
+ export interface AttackThisPhase {
1113
+ readonly attackerInstanceId: InstanceId;
1114
+ readonly targetInstanceId: InstanceId;
1115
+ readonly attackerCategories: readonly TargetCategory[];
1116
+ readonly attackerTraits: readonly Trait[];
1117
+ }
1118
+ /** One entry of `GameState.characterActsThisPhase`: a character, and what it did (docs/phase7-wave7.md §3.36). */
1119
+ export interface CharacterActThisPhase {
1120
+ readonly characterInstanceId: InstanceId;
1121
+ readonly did: "attack" | "thwart";
1122
+ }
1123
+ /**
1124
+ * Options the table chose for this game, outside the scenario and outside FFG's rules (`GameSetupConfig.tableRules`).
1125
+ * Every option defaults to off and an option that is off is not stored, so a game without any has no `tableRules`
1126
+ * and older saves and replays read unchanged.
1127
+ */
1128
+ export interface TableRules {
1129
+ /**
1130
+ * "A hero and an ally with the same name can't both be in play" (owner decision, 2026-10-03). FFG's rule is the
1131
+ * default: a hero and a same-titled ally with no subtitle do not match (RRG 1.8 "Unique Icon", pp. 45–46; rulings
1132
+ * Jan 26, 2026 (4) #7 and Mar 19, 2026 (4), on Valkyrie), so the Valkyrie ally (or Ironheart's) may be played
1133
+ * beside its hero. (The Colossus ally is refused beside the Colossus hero by the RRG itself: it prints the subtitle
1134
+ * "Piotr Rasputin", the hero's alter-ego title.) With this on, a unique ally with no subtitle also matches an identity whose hero title is its title
1135
+ * (`cardsMatch` in `unique.ts`), so it cannot enter play while that identity is in play, in either form. Deck
1136
+ * building is not changed: the ally may still be in a deck and spent as a resource.
1137
+ */
1138
+ readonly sameNameHeroAllyConflict?: boolean;
1139
+ }
1140
+ export interface GameState {
1141
+ readonly round: number;
1142
+ readonly step: GameStep;
1143
+ /**
1144
+ * "Skip the next villain phase" (`EffectSpec skipNextVillainPhase`, docs/phase7-wave11-hero-packs.md H3.7): how many
1145
+ * of the villain phases to come are skipped. Each player phase's end reads it; above 0, it counts one off and the
1146
+ * round ends with no villain phase (`flow.ts` `finishPlayerPhase`). Absent is 0.
1147
+ */
1148
+ readonly villainPhasesToSkip?: number;
1149
+ /**
1150
+ * "Start another player phase" in place of the villain phase (`EffectSpec replaceNextVillainPhaseWithPlayerPhase`):
1151
+ * how many of the villain phases to come are each replaced by a player phase within the same round. Read where the
1152
+ * villain phase would begin (`flow.ts`), ahead of `villainPhasesToSkip`. Absent is 0, and it is removed again at 0.
1153
+ */
1154
+ readonly villainPhasesReplacedByPlayerPhase?: number;
1155
+ readonly firstPlayerId: PlayerId;
1156
+ /**
1157
+ * The number of players who started the scenario, the one count every per player value reads (RRG 1.8 "Per Player
1158
+ * Icon", p. 32). It is the seats of the game less each seat that sat the scenario out during setup
1159
+ * (`PlayerState.sittingOut`, `EffectSpec sitOutScenario`; owner decision 66B, docs/phase7-wave9.md §4.1), and it is
1160
+ * fixed once setup ends: a player eliminated during the scenario started it, so "if a player is eliminated, this
1161
+ * value does not change".
1162
+ */
1163
+ readonly startingPlayerCount: number;
1164
+ readonly players: readonly PlayerState[];
1165
+ /** Every villain of the scenario in printed order, defeated ones included. Single-villain scenarios list one. */
1166
+ readonly villains: readonly VillainState[];
1167
+ /**
1168
+ * The villain with the active counter (The Wrecking Crew insert, "The Active Villain"): the one that activates,
1169
+ * the one "the villain" refers to, and whose encounter deck "the encounter deck" is. Scenario state with its own
1170
+ * rules rather than an entry in a card's `counters`; changes are logged as `activeVillainChanged`.
1171
+ */
1172
+ readonly activeVillainId: InstanceId;
1173
+ /**
1174
+ * The villains in play as they sit on the table, left to right, in a scenario that lays them out in a row (the Four
1175
+ * Horsemen, MC45 p. 11: "reveal them in a row from left to right. Place the active counter on the leftmost
1176
+ * villain"; docs/phase7-wave8.md §3.7). Explicit state: `villains` stays in printed order, and the row is where each
1177
+ * one sits. Set by `EffectSpec addVillain` with `row: "shuffled"` (logged `villainRowSet`); once a row exists, a
1178
+ * villain that enters play joins at the right end and one that leaves play (defeated, set aside, removed) leaves the
1179
+ * row. A villain at 0 hit points that is not defeated is still in play and keeps its place. Read by
1180
+ * `moveActiveCounter { to: "nextInRow" }` (`nextVillainInRow`). Absent in every scenario without a row, so an older
1181
+ * save reads unchanged.
1182
+ */
1183
+ readonly villainRow?: readonly InstanceId[];
1184
+ /**
1185
+ * The main scheme: with separate game areas, the central stage outside every area (docs/phase7-wave2.md §3.1); each
1186
+ * area's own stage is its `GameAreaState.mainScheme`.
1187
+ */
1188
+ readonly mainScheme: MainSchemeState;
1189
+ /**
1190
+ * Other stages of the main scheme deck in play at the same time as `mainScheme`, in the same game area: Tower
1191
+ * Defense's "Reveal stage 2A and put it into play next to this stage so there are two main schemes and two villains in
1192
+ * play" (Under Siege 1A, `mts` 21098a; MC21 p. 10: "Both main schemes are active each round"). Each is a main scheme
1193
+ * like the central one — it gains threat in step one, feels acceleration and crisis icons, and can be completed.
1194
+ * Absent in every other game, so saves are unchanged. docs/phase7-wave4.md §3.2.
1195
+ */
1196
+ readonly extraMainSchemes?: readonly MainSchemeState[];
1197
+ /** Separate game areas, in creation order. Empty while the players share one game area (every scenario but Kang). */
1198
+ readonly gameAreas: readonly GameAreaState[];
1199
+ readonly nextGameAreaSeq: number;
1200
+ /**
1201
+ * Stage indexes of the main scheme card that can no longer be revealed: an alternative stage already revealed, or one
1202
+ * removed from the game ("Remove any unused stage 3 schemes from the game", The Master of Time 2A), or one left out
1203
+ * of a main scheme deck made of chosen stages (`GameSetupConfig.mainSchemeStageIndexes`, docs/phase7-wave10.md §3.2).
1204
+ */
1205
+ readonly spentMainSchemeStages: readonly number[];
1206
+ /**
1207
+ * Main scheme stages revealed by `revealMainSchemeStage` whose A side is still resolving, before `createGameArea`
1208
+ * places them in an area ("Create your own game area and place this scheme in it"). Not in play.
1209
+ */
1210
+ readonly revealedMainSchemes: readonly MainSchemeState[];
1211
+ readonly scenarioRules: ScenarioRules;
1212
+ /** The table's own options (`TableRules`). Absent when none is on. */
1213
+ readonly tableRules?: TableRules;
1214
+ /** Every encounter deck with its discard pile, keyed by id. `encounterDeckOrder` gives their stable order. */
1215
+ readonly encounterDecks: Readonly<Record<string, EncounterDeckState>>;
1216
+ readonly encounterDeckOrder: readonly EncounterDeckId[];
1217
+ readonly encounterSetAside: readonly InstanceId[];
1218
+ /**
1219
+ * The modular sets still set aside, in the order chosen (`SetAsideModularSet`). Absent in a game that set none aside,
1220
+ * so its save is unchanged; an empty list once the last has been shuffled in ("if there are no set-aside modular
1221
+ * encounter sets remaining", Wheel of Genres). docs/phase7-wave4.md §3.18.
1222
+ */
1223
+ readonly setAsideModularSets?: readonly SetAsideModularSet[];
1224
+ /** Scenario decks by name (docs/phase7-wave2.md §3.3). Empty for every scenario that has none. */
1225
+ readonly scenarioDecks: Readonly<Record<string, ScenarioDeckState>>;
1226
+ /**
1227
+ * Decks that ran out since the flow last looked, oldest first: a player's deck as it resets, a scenario deck as it
1228
+ * empties, an encounter deck as it resets (recorded only when an ability listens; docs/phase7-wave6.md §3.60). The
1229
+ * flow announces each as `deckRanOut` between frames (when an ability listens) and empties the list.
1230
+ * Absent until a deck first runs out, so a fresh game serializes as before. docs/phase7-wave4.md §3.11.
1231
+ */
1232
+ readonly pendingDeckRunOuts?: readonly DeckRunOut[];
1233
+ /**
1234
+ * Encounter cards that left a player's deck since the flow last looked (drawn, or discarded from it), oldest first. The
1235
+ * flow announces each as `encounterCardFromPlayerDeck` between frames — after the whole draw, as Mysterio's FAQ (MC27
1236
+ * p. 21) asks: "those cards are drawn simultaneously. Afterward, deal each encounter card drawn during that process" —
1237
+ * and empties the list. Absent until one first leaves a deck. docs/phase7-wave5.md §3.5.
1238
+ */
1239
+ readonly pendingEncounterFromDeck?: readonly EncounterFromDeck[];
1240
+ /**
1241
+ * Encounter cards drawn by a refill to hand size that stopped early to let a drawn card's ability resolve
1242
+ * (`drawUpTo`), held back from `pendingEncounterFromDeck` until that refill finishes, so they are still dealt after
1243
+ * the whole draw (MC27 p. 21 FAQ). Absent when no refill is paused.
1244
+ */
1245
+ readonly refillHeldEncounterFromDeck?: readonly RefillHeldEncounterCard[];
1246
+ /**
1247
+ * Cards that entered a player's hand since the flow last looked, oldest first, recorded only when some ability in the
1248
+ * registry triggers on it: the flow announces each as `cardEntersHand` between frames and empties the list. Absent
1249
+ * until one first enters. docs/phase7-wave6.md §3.10.
1250
+ */
1251
+ readonly pendingEnteredHand?: readonly EnteredHand[];
1252
+ /**
1253
+ * Facedown encounter cards dealt to players since the flow last looked, oldest first, recorded only when some ability
1254
+ * in the registry triggers on it: the flow announces them as `encounterCardDealt` between frames, sharing one
1255
+ * response window, and empties the list. Absent until one is first dealt. docs/phase7-wave9.md §3.12.
1256
+ */
1257
+ readonly pendingEncounterDealt?: readonly DealtEncounterCard[];
1258
+ /**
1259
+ * Deals of the encounter deck's top card that an ability could interrupt ("When a player would be dealt an encounter
1260
+ * card", `TriggerEvent encounterCardBeingDealt`, docs/phase7-wave9.md §3.45), made in the middle of another move (a
1261
+ * player deck that ran out), oldest first: the flow puts each on the stack between frames and empties the list. The
1262
+ * card is still on the deck until its event applies. Absent in a game with no such ability in reach.
1263
+ */
1264
+ readonly pendingEncounterDeals?: readonly EncounterDealWaiting[];
1265
+ /**
1266
+ * Cards that left play since the flow last looked, oldest first, recorded by `leavePlay` only when some ability in the
1267
+ * registry triggers on it: the flow announces each as `cardLeavesPlay` between frames and empties the list. Absent
1268
+ * until one first leaves. docs/phase7-wave5.md §3.13. A card whose leaving an interrupt heard is not listed: its
1269
+ * `cardLeavesPlay` went on the stack before it moved (§4.1 Q17).
1270
+ */
1271
+ readonly pendingLeftPlay?: readonly LeftPlay[];
1272
+ /**
1273
+ * Cards that came off a host since the flow last looked, oldest first, recorded by `relocateCard` only when some
1274
+ * ability in the registry triggers on it: the flow announces each as `cardUnattached` between frames and empties the
1275
+ * list. Absent until one first comes off. Community pack `yondu-dh` (D'ast Whistlin').
1276
+ */
1277
+ readonly pendingUnattached?: readonly Unattached[];
1278
+ /**
1279
+ * Status cards placed since the flow last looked, oldest first, recorded by `giveStatus` only when some ability in
1280
+ * the registry triggers on it: the flow announces each as `statusPlaced` between frames and empties the list. Absent
1281
+ * until one is first placed. docs/phase7-wave7.md §3.27.
1282
+ */
1283
+ readonly pendingStatusPlaced?: readonly StatusPlaced[];
1284
+ /**
1285
+ * Cards discarded from a player's deck since the flow last looked, oldest first, recorded by `recordDeckDiscard` only
1286
+ * when some ability in the registry triggers on it: the flow announces them as `cardDiscardedFromDeck` between
1287
+ * frames, in one shared response window, and empties the list. Absent until one is first recorded.
1288
+ * docs/phase7-wave7.md §3.55.
1289
+ */
1290
+ readonly pendingDeckDiscards?: readonly DeckDiscard[];
1291
+ /**
1292
+ * Tucked cards discarded since the flow last looked, oldest first, recorded by `recordTuckedDiscard` only when some
1293
+ * ability in the registry triggers on it: the flow announces them as `tuckedCardDiscarded` between frames, in one
1294
+ * shared response window, and empties the list. Absent until one is first recorded. docs/phase7-wave9.md §3.40.
1295
+ */
1296
+ readonly pendingTuckedDiscards?: readonly TuckedDiscard[];
1297
+ /**
1298
+ * Facedown boost cards given since the flow last looked, oldest first, recorded by `recordBoostGiven` only when some
1299
+ * ability in the registry triggers on it: the flow announces each as `boostCardGiven` between frames, with a
1300
+ * response window of its own, and empties the list. Absent until one is first recorded. docs/phase7-wave9.md §3.44.
1301
+ */
1302
+ readonly pendingBoostGiven?: readonly BoostGiven[];
1303
+ /**
1304
+ * Announced deck discards whose response window has not finished, each with the frame whose bound set it would leave
1305
+ * (`DeckDiscardWindow`). Absent when there is none. docs/phase7-wave7.md §3.55, §4.1 Q32.
1306
+ */
1307
+ readonly deckDiscardWindows?: readonly DeckDiscardWindow[];
1308
+ readonly villainArea: readonly InstanceId[];
1309
+ readonly victoryDisplay: readonly InstanceId[];
1310
+ readonly removedFromGame: readonly InstanceId[];
1311
+ readonly instances: Readonly<Record<string, CardInstance>>;
1312
+ /** Printed card data, carried in state so a saved game replays without external lookup. */
1313
+ readonly cardPool: Readonly<Record<string, AnyCard>>;
1314
+ /** Resolution stack; index 0 is resolving now. `step` is phase structure, this is within a step. */
1315
+ readonly stack: readonly StackFrame[];
1316
+ /** `instanceId:abilityId` → times used, for "Limit X per phase/round" (RRG "Limit"). */
1317
+ readonly abilityUses: Readonly<Record<string, number>>;
1318
+ /** Effects that outlive the ability that created them (RRG "Lasting Effects"). */
1319
+ readonly lastingEffects: readonly LastingEffect[];
1320
+ /**
1321
+ * The last observed value of each live `stateCheck` ability's condition, keyed `instanceId:abilityId`, so the
1322
+ * ability fires on the change to true and not again while it stays true (`resolve/state-checks.ts`).
1323
+ */
1324
+ readonly stateChecks: Readonly<Record<string, boolean>>;
1325
+ /**
1326
+ * Characters a defeat sweep found at zero or fewer remaining hit points and left in play because a "cannot be
1327
+ * defeated" rule covered them (`resolve/defeat.ts` `holdAtZero`). Watched between frames: one that is healed above
1328
+ * zero or leaves play is dropped, and one the rule stops covering is defeated at once (`resolve/state-checks.ts`
1329
+ * `checkDefeatProtectionEnded`; docs/phase7-wave7.md §3.34, §4.1 Q21). Absent in a game that never held one.
1330
+ */
1331
+ readonly heldAtZero?: readonly InstanceId[];
1332
+ /**
1333
+ * Side schemes whose last threat was removed while a `notDefeatedWithoutThreat` rule covered them, left in play at no
1334
+ * threat (`resolve/event.ts` `applyRemoveThreat`). Watched between frames like `heldAtZero`: one that has threat
1335
+ * again or has left play is dropped, and one the rule stops covering is defeated at once (RRG 1.8 "Defeat", p. 15;
1336
+ * `resolve/state-checks.ts` `checkSchemeProtectionEnded`; docs/phase7-wave8.md §3.40: "The [MISSION] side scheme
1337
+ * cannot be defeated while there are any minions in the mission area"). Absent in a game that never held one.
1338
+ */
1339
+ readonly heldAtNoThreat?: readonly InstanceId[];
1340
+ /**
1341
+ * The hit points each damaged character in play was last seen to have, keyed by instance id, so a fall is noticed
1342
+ * the moment it happens: RRG 1.8 "Hit Points" (p. 22), an ally or minion whose "+X hit points" "ceases to be in
1343
+ * effect" with damage on it equal to or greater than its hit points is defeated, and an identity's or villain's dial
1344
+ * is reduced by X (`resolve/state-checks.ts` `checkHitPointsFell`). Memory of an edge and nothing else: a
1345
+ * character's hit points are always derived (`maxHitPoints`), never read from here. Only characters with damage on
1346
+ * them have an entry, and the field is absent while there is none.
1347
+ */
1348
+ readonly hitPointsSeen?: Readonly<Record<string, number>>;
1349
+ /**
1350
+ * The target threat each main scheme stage in play was last seen to have, keyed `instanceId:stageIndex:side`, so a
1351
+ * fall is noticed the moment it happens: RRG 1.8 "Main Scheme" (p. 27), a stage with threat equal to or greater
1352
+ * than its target threat is completed, whether the threat rose or the target fell (`resolve/state-checks.ts`
1353
+ * `checkSchemeTargetsFell`; docs/phase7-wave10.md §3.15). Memory of an edge and nothing else: a target is always
1354
+ * derived (`mainSchemeValue`), never read from here. Absent until the first check between frames.
1355
+ */
1356
+ readonly schemeTargetsSeen?: Readonly<Record<string, number>>;
1357
+ /**
1358
+ * The card last logged as showing on top of each player's deck under a `topOfDeckFaceup` rule (docs/phase7-wave8.md
1359
+ * §3.48), so the log says `deckTopShown` / `deckTopHidden` once per change (`announceDeckTops`, `deck-top.ts`). This
1360
+ * is the log's memory and nothing else: which card is visible is never read from here, it is derived from the deck's
1361
+ * order and the rule (`shownDeckTop`). A player with nothing showing has no entry, and the field is absent in a game
1362
+ * where no card is.
1363
+ */
1364
+ readonly deckTopsAnnounced?: Readonly<Record<string, InstanceId>>;
1365
+ /**
1366
+ * The card last logged as showing on top of the encounter deck under a `topOfDeckFaceup { deck: "encounter" }` rule
1367
+ * (docs/phase7-wave9.md §3.42), so the log says `encounterTopShown` / `encounterTopHidden` once per change
1368
+ * (`announceDeckTops`). The log's memory and nothing else, as `deckTopsAnnounced` is: which card is visible is
1369
+ * derived (`shownEncounterTop`). Absent while no card is showing.
1370
+ */
1371
+ readonly encounterTopAnnounced?: InstanceId;
1372
+ /**
1373
+ * Cards played this round, by title, across every player: RRG 1.8 "Max, Maximum" (p. 28), "'Max X per [period]'
1374
+ * imposes a maximum number of times that copies of that card can be played", and a cancelled card still counts.
1375
+ * Reset when the round ends.
1376
+ */
1377
+ readonly playedThisRound: Readonly<Record<string, number>>;
1378
+ /** Cards played this phase, by title, across every player: "Max 1 per phase." (Maximum Velocity). Reset when a phase ends. */
1379
+ readonly playedThisPhase: Readonly<Record<string, number>>;
1380
+ /** Cards played this round keyed `<playerId>:<card type>` ("the first ally played each round"). Reset when the round ends. */
1381
+ readonly playedByPlayerThisRound: Readonly<Record<string, number>>;
1382
+ /**
1383
+ * Who attacked whom **this turn**, keyed by the attacked character and listing each attack's attacker with the title
1384
+ * it showed when it attacked, each pair once, in attack order: "Attach to an enemy that X-23 or Honey Badger attacked
1385
+ * this turn" (Puncture Wound 43012; `HostQualifiers.attackedThisTurnBy`, docs/phase7-wave2.md §11.3, §14).
1386
+ *
1387
+ * - **Written** by every attack, player-made or enemy-made, at the `characterAttacked` event (the one place both
1388
+ * paths go through) — but only while a player's turn is in progress, since outside one there is no "this turn"
1389
+ * (RRG 1.8 "Player Phase" / "Player Turn", p. 34; the same reading as `LastingUntil "endOfTurn"`, §13.3).
1390
+ * - **Cleared** when each turn begins and when it ends, so the villain phase and the end-of-phase steps see an empty
1391
+ * record rather than the last player's.
1392
+ * - **The title is the attacker's at attack time**, read from an identity's faceup side (`titleShowing`): "that
1393
+ * X-23 attacked" is a fact about the attack, and RRG 1.8 "Identity" (p. 23) has a title name "only … the identity
1394
+ * with that title, and not … the other side of the card". So an identity that attacked as X-23 and then changed
1395
+ * to Laura Kinney still attacked as X-23, and nothing an alter-ego does is recorded under the hero's title.
1396
+ */
1397
+ readonly attackedThisTurn: Readonly<Record<string, readonly AttackRecord[]>>;
1398
+ /**
1399
+ * Every attack made **this turn**, in order, repeats included (`attackedThisTurn` keeps each attacker/target pair
1400
+ * once): "2 facedown boost cards instead if this is the first attack this turn" (Venom III, `sm` 27075; `Predicate
1401
+ * firstAttackThisTurn`, docs/phase7-wave5.md §3.12). Written and emptied exactly where `attackedThisTurn` is. Absent
1402
+ * until a game's first attack in a turn, so an older save reads as before.
1403
+ */
1404
+ readonly attacksThisTurn?: readonly AttackThisTurn[];
1405
+ /**
1406
+ * Which characters have attacked and which have thwarted **this phase**: "If your hero attacked and thwarted this
1407
+ * phase" (`Predicate characterDidThisPhase`, docs/phase7-wave7.md §3.36, §4.1 Q23). A set in the order things
1408
+ * happened: a character that attacks twice has one "attack" entry, so nothing here counts attacks.
1409
+ *
1410
+ * - **"Attack"** is written where `attacksThisTurn` is, at the `characterAttacked` event every attack ends with,
1411
+ * basic or by an "(attack)" ability (RRG 1.8 "Labeled Ability", p. 26: "an attack made by that player's identity"),
1412
+ * in either phase. So an attack into a tough status card is an attack (it dealt 0 damage, but it was made), and a
1413
+ * stunned character's attack, which is canceled (RRG 1.8 "Stunned", p. 41), is not.
1414
+ * - **"Thwart"** is written when a `thwart` event resolves, the point "after you thwart" responses hear: once for a
1415
+ * basic thwart or each of its divided shares, once for a "(thwart)" ability however many instances of threat it
1416
+ * removes (RRG 1.8 "Thwart", p. 44). A thwart that resolved against a scheme with no threat left on it removed 0
1417
+ * and is one; a confused character's thwart (RRG 1.8 "Confused", p. 13), a canceled one, and one that patrol or
1418
+ * a crisis icon forbids never happened and are not.
1419
+ * - **Removed** at every phase boundary, where `playedThisPhase` is emptied: the player phase is one phase across
1420
+ * every player's turn and its end-of-phase steps (RRG 1.8 "Player Phase", p. 34), so the record outlasts a turn;
1421
+ * what a hero does in the villain phase counts for that villain phase only.
1422
+ *
1423
+ * Absent until a phase's first attack or thwart and again after each phase boundary, so an older save reads as
1424
+ * nothing recorded.
1425
+ */
1426
+ readonly characterActsThisPhase?: readonly CharacterActThisPhase[];
1427
+ /**
1428
+ * Every attack made **this phase**, against any character, each attacker/target/snapshot once, in attack order: "an
1429
+ * enemy who has been attacked by a hero this phase" (Iron Fist, `iron_fist` 64014), "an enemy who has been attacked by
1430
+ * another Martial Artist character this phase" (Colleen Wing 64021; `Predicate attackedThisPhase`).
1431
+ *
1432
+ * - **Written** where `characterActsThisPhase` records an attack, at the `characterAttacked` event every attack ends
1433
+ * with (basic, an "(attack)" ability, an enemy's attack), in either phase. A canceled attack (a stunned attacker) is
1434
+ * none, and an attack into a tough status card is one.
1435
+ * - **The attacker as it was**: its categories (`categoriesOf`) and traits (`traitsOf`) when it attacked, read then
1436
+ * and kept (RRG 1.8 "Referential Ability", p. 36: the record is a fact about the attack). The attacked character is
1437
+ * kept by instance id, so a minion the attack defeated is still the one recorded.
1438
+ * - **Removed** at every phase boundary with `characterActsThisPhase` (the player phase is one phase across every
1439
+ * player's turn, RRG 1.8 "Player Phase", p. 34).
1440
+ *
1441
+ * Absent until a phase's first attack and again after each phase boundary, so an older save reads as nothing recorded.
1442
+ */
1443
+ readonly attacksThisPhase?: readonly AttackThisPhase[];
1444
+ /**
1445
+ * Every card revealed this round, in order, with who revealed it and in which phase (RRG 1.8 "Reveal", p. 37): "The
1446
+ * first [Technique] attachment revealed each round gains surge" (Nebula I–III, `gmw`), "The first treachery the engaged
1447
+ * player reveals each villain phase gains surge" (Mister Knife, `stld`). Written by every reveal whatever is in play,
1448
+ * because "the first" counts cards revealed before the rule's card arrived; emptied when the round ends. Absent until a
1449
+ * game's first reveal, so a freshly set-up game serializes as before. docs/phase7-wave3.md §3.8.
1450
+ */
1451
+ readonly revealedThisRound?: readonly RevealRecord[];
1452
+ /**
1453
+ * The cards each player has played **this turn**, in order: "7 damage instead if you have played a [Thwart] event this
1454
+ * turn" (Decisive Blow, `gam`), "5 threat instead if you have played an [Attack] event this turn" (Forward Momentum).
1455
+ * Written when a play commits (so a card counts from the moment it is played), emptied when a turn begins and ends, as
1456
+ * `attackedThisTurn` is. Absent until a game's first play. docs/phase7-wave3.md §3.24 (specified in wave 2 §13.4).
1457
+ */
1458
+ readonly playedThisTurn?: Readonly<Record<string, readonly InstanceId[]>>;
1459
+ /**
1460
+ * The cards each player has played **this phase**, in order: "You cannot play this card if you have played another
1461
+ * card this phase" (Mulligan, `deadpool` 44048; docs/phase7-wave7.md §7.3). `playedThisTurn` is emptied when a turn
1462
+ * ends and `playedThisPhase` counts titles across every player, so neither sees a card this player played in an
1463
+ * earlier turn of the same player phase (an Action event may be played during another player's turn, RRG 1.8
1464
+ * "Action", p. 6). Written when a play commits, in either phase; removed at every phase boundary, where
1465
+ * `playedThisPhase` is emptied (the player phase is one phase across every turn, RRG 1.8 "Player Phase", p. 34).
1466
+ * Absent until a phase's first play, so an older save reads as nothing played.
1467
+ */
1468
+ readonly playedByPlayerThisPhase?: Readonly<Record<string, readonly InstanceId[]>>;
1469
+ /**
1470
+ * The cards each player has played **this round**, in play order: "If the last card you played this round was a
1471
+ * [title] event, reduce the cost to play this card by 1" (`Predicate lastPlayedThisRound`; a custom-content card,
1472
+ * docs/custom-content-packs.md §6). `playedThisRound` and `playedByPlayerThisRound` count by title and by type and
1473
+ * so lose the order. Written when a play commits (with the other play records, so a card that is canceled later still
1474
+ * counts as played, RRG 1.8 "Max, Maximum", p. 28); removed when the round ends, where `playedThisRound` is emptied.
1475
+ * Absent until a round's first play, so an older save reads as nothing played.
1476
+ */
1477
+ readonly playedInOrderThisRound?: Readonly<Record<string, readonly InstanceId[]>>;
1478
+ /**
1479
+ * The scenario's own out-of-play game areas by name (`ZoneId scenarioArea`; The Collection, docs/phase7-wave3.md
1480
+ * §3.14), each in the order cards entered it. Absent until a scenario creates one, so other games serialize as before.
1481
+ */
1482
+ readonly scenarioAreas?: Readonly<Record<string, readonly InstanceId[]>>;
1483
+ /**
1484
+ * The scenario's in-play areas that no player controls, by name (`ZoneId scenarioPlayArea`; the mission area,
1485
+ * docs/phase7-wave8.md §3.33). Absent until a scenario creates one, so other games serialize as before.
1486
+ */
1487
+ readonly scenarioPlayAreas?: Readonly<Record<string, ScenarioPlayAreaState>>;
1488
+ /**
1489
+ * Piles of cards no player may look at, by name, each in the order it was put together (docs/phase7-wave9.md §3.29
1490
+ * (a)): the A.I.M. and S.H.I.E.L.D. envelopes of MC50 p. 5, "Preparing the Evidence", whose cards go in "**without
1491
+ * looking at them**". Card ids, not instances: a card in a pile is never in play, in a deck or in any zone (`ZoneId`
1492
+ * has no arm for it), has no `CardInstance`, and so can be named by no ref, selector, choice or `cardMoved`. A
1493
+ * pile's size is open; its contents are hidden from **every** player, whoever is asking, so nothing a player is
1494
+ * shown may be built from this field: a client or a wire copy of the state reads `sealHiddenPiles` and
1495
+ * `hiddenPileViews` (`visibility.ts`), the log carries sizes only (`GameEvent hiddenPilesDealt`), and `preview()`
1496
+ * stops at an event that would name one of these cards. The engine itself reads it (it is the authority, and a save
1497
+ * is this state). Written by `placeHiddenPiles` alone (`resolve/hidden-piles.ts`). **Absent** until a scenario
1498
+ * prepares a pile, so every other game serializes as before.
1499
+ */
1500
+ readonly hiddenPiles?: Readonly<Record<string, readonly CardId[]>>;
1501
+ /**
1502
+ * **Only on a sealed copy** of the state (`sealHiddenPiles`, `visibility.ts`: what a client holds or a server
1503
+ * sends), where it stands in for `hiddenPiles`: each prepared pile's size, and no card. The authority's state never
1504
+ * has it, and no state has both. The engine reads a pile through `hidden-pile-state.ts`, which answers a pile's
1505
+ * size from either field, so a query or a preview run on a sealed copy counts the piles right and stops at the
1506
+ * first event that would name one of their cards. Written by `sealHiddenPiles`, and by `placeHiddenPiles` when the
1507
+ * state it is given is already sealed.
1508
+ */
1509
+ readonly hiddenPileSizes?: Readonly<Record<string, number>>;
1510
+ /**
1511
+ * The cards that have come out of a hidden pile faceup, by the pile each came out of, in the order they did
1512
+ * (docs/phase7-wave9.md §3.29 (a)). MC50 p. 18: "When the players gain an evidence card, they turn it faceup", and
1513
+ * the A.I.M. envelope's cards are taken out for the accusation (p. 19). Open information for every player from then
1514
+ * on, and still not in play or in any zone. A card is in exactly one of `hiddenPiles` and this. **Absent** until a
1515
+ * card is revealed.
1516
+ */
1517
+ readonly revealedPileCards?: Readonly<Record<string, readonly CardId[]>>;
1518
+ /**
1519
+ * The accusation the players made over an evidence grid, and the mole once the hidden pile named it
1520
+ * (docs/phase7-wave9.md §3.29 (b); MC50 p. 19, "The Accusation"). Written by `EffectSpec accuse` and `identifyMole`
1521
+ * alone (`resolve/accusation.ts`) and read by `TargetQuery accusation`, `ValueSpec accusationWrongGuesses` and
1522
+ * `Predicate accusedWrong`, from any ability. Open information: the guess is the players' own, and `mole` is written
1523
+ * only as its hidden pile is turned faceup. **Absent** until an accusation is made.
1524
+ */
1525
+ readonly accusation?: Accusation;
1526
+ /**
1527
+ * "The chosen villain" (`GameSetupConfig.villainChoice`): the villain card setup chose among a scenario's options, as
1528
+ * an instance, whether it started as the villain (`chosenVillain: "inPlay"`) or set aside for card text to bring in
1529
+ * (`"setAside"`; Shadow Labyrinth 1A, "keep the chosen villain set aside"). Written once, by `createGame`, and read by
1530
+ * `TargetQuery chosenVillain` and `chosenVillainOf`. The instance keeps its id when it enters play. **Absent** in a
1531
+ * game set up without a villain choice.
1532
+ */
1533
+ readonly chosenVillainId?: InstanceId;
1534
+ /**
1535
+ * The Epic Multiplayer pod this game is one group of (docs/phase7-wave9.md §3.64): its group id, who coordinates the
1536
+ * pod, the three counts fixed at setup, and the group's copy of the pod's shared villain and scheme. Written by setup
1537
+ * from `GameSetupConfig.pod`, so it is in the replay baseline. Read through `podOf` (`pod.ts`) alone, which gives the
1538
+ * single-group default when it is absent. **Absent** in every game whose scenario has no pod, so every other game
1539
+ * serializes as before.
1540
+ */
1541
+ readonly pod?: PodState;
1542
+ /**
1543
+ * The game mode (docs/phase7-wave10.md §3.4), written by setup from `GameSetupConfig.gameMode`. Read through
1544
+ * `gameModeOf` (`game-mode.ts`) alone. **Absent** in a cooperative game, so every game before the field serializes
1545
+ * as before; setup refuses `"competitive"`, so today it is absent in every game setup makes.
1546
+ */
1547
+ readonly gameMode?: GameMode;
1548
+ /**
1549
+ * The teams of a game with two of them (docs/competitive-mode-plan.md §3.3; MC56 p. 14), in team order. Read through
1550
+ * `team.ts` alone (`teamsOf`, `teamOf`, `playersOnTeam`, `teamSize`), which gives the one team of every seat when it
1551
+ * is absent. **Absent** in every game setup makes, so every game before the field serializes as before.
1552
+ */
1553
+ readonly teams?: readonly TeamState[];
1554
+ /**
1555
+ * The campaign this game is a scenario of, exactly as the runner composed it (design §7.1) — **frozen**: nothing
1556
+ * in a game ever writes here. Because it lands in the replay baseline, a saved campaign game replays without
1557
+ * consulting the campaign log at all, which is what lets the log keep evolving underneath saved games.
1558
+ *
1559
+ * **Absent, not null, outside a campaign** (with `campaignWrites`, which is present exactly when this is): a
1560
+ * standalone game's serialized state is byte for byte what it was before campaign mode existed, so every save
1561
+ * written until now still replays.
1562
+ */
1563
+ readonly campaign?: CampaignGameInput;
1564
+ /** What this game has written back to the campaign so far (design §6.1). Present exactly when `campaign` is. */
1565
+ readonly campaignWrites?: CampaignInGameWrites;
1566
+ /**
1567
+ * `GameSetupConfig.stack`, keyed by player id rather than seat index: the cards setup moves to the top of each deck
1568
+ * right after the Appendix II step 6 shuffle (`resolveScenarioSetup`). Kept in the baseline so a campaign game, whose
1569
+ * shuffle runs as a later flow step, still has it, and so the log shows why those cards were on top. Not a rules
1570
+ * feature: tutorials and scripted scenarios only. **Absent** unless the setup config stacked a card, so every other
1571
+ * game serializes as before.
1572
+ */
1573
+ readonly setupStack?: StackedDecks;
1574
+ /**
1575
+ * The setup window in which no villain has been put into play by the game setup itself: every villain started set
1576
+ * aside (`GameSetupConfig.villainsStartSetAside`) and card text is to bring the starting ones in (`addVillain`; Gotta
1577
+ * Get Away 1A, "Put 1 random MARAUDER villain into play"; Sinister Synchronization 1A). **Present** from `createGame`
1578
+ * until RRG 1.8 Appendix II step 12c (p. 51) has resolved, and absent in every other game and from then on. While it
1579
+ * is present "the villain" may be nobody; it lists, in the order they entered, the villains put into play without
1580
+ * being revealed, whose Setup and When Revealed abilities step 12c still owes (the `villainSetupAbilities` step).
1581
+ * docs/phase7-wave7.md §3.42.
1582
+ *
1583
+ * Also present, from step 12 on, in a game where an encounter card step 11 put into play has a Setup ability
1584
+ * (`resolveScenarioSetup`; docs/phase7-wave11-scenarios.md §S3.4): it then starts with the villains already in play,
1585
+ * whose step 12c waits for that ability (it can set the face they show), and a villain put into play during step 12
1586
+ * without being revealed is added to it as above.
1587
+ */
1588
+ readonly villainsEnteringAtSetup?: readonly InstanceId[];
1589
+ /**
1590
+ * Setup-keyword cards RRG 1.8 Appendix II step 11 (p. 51) took out of an encounter deck that could not enter play yet:
1591
+ * attachments with no card to attach to, because every villain started set aside (`villainsEnteringAtSetup`). They
1592
+ * wait faceup in `encounterSetAside`, in the order step 11 found them, and enter play when a villain does
1593
+ * (`resolve/setup-cards.ts`). **Absent** unless a card is waiting, and never present once step 12c has begun.
1594
+ */
1595
+ readonly setupCardsAwaitingHost?: readonly InstanceId[];
1596
+ readonly pendingChoice: PendingChoice | null;
1597
+ readonly outcome: GameOutcome | null;
1598
+ readonly rng: RngState;
1599
+ readonly nextInstanceSeq: number;
1600
+ readonly nextChoiceSeq: number;
1601
+ readonly nextFrameSeq: number;
1602
+ readonly nextLastingSeq: number;
1603
+ }