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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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-GDZAIM46.js +7 -0
  5. package/dist/chunks/chunk-JAFPA7PX.js +4 -0
  6. package/dist/chunks/chunk-MS5INQIY.js +22 -0
  7. package/dist/chunks/chunk-PAYEJUZX.js +1 -0
  8. package/dist/chunks/chunk-VSWWKMOU.js +8477 -0
  9. package/dist/chunks/chunk-W45IQDAE.js +1 -0
  10. package/dist/chunks/chunk-WX7AFXND.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 +454 -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,2682 @@
1
+ import type { AbilityId, CardId, CoreAspect, EvidenceCombination, Trait, VillainSideLetter } from "../../content/src/index.js";
2
+ import type { CampaignCardFace, CampaignWindow, LogWrite } from "./campaign.js";
3
+ import type { RulesCardType } from "./card-types.js";
4
+ import type { ChoiceId, EncounterDeckId, FrameId, GameAreaId, InstanceId, PlayerId } from "./ids.js";
5
+ import type { CardPosition, ChoiceBehalf, PendingChoice, UnavailableOptions } from "./choices.js";
6
+ import type { DelegableCostPart } from "./commands.js";
7
+ import type { GroupId } from "./ids.js";
8
+ import type { SharedEvent, SharedPodState, SharedResult } from "./pod.js";
9
+ import type { AccusationGuess, FacedownRole, Form, GameOutcome, GameStep, MainSchemeAdvancedBy, ZoneId } from "./state.js";
10
+ import type { BasicPowerName, StatName } from "./spec.js";
11
+ import type { StackFrameKind, WindowTiming } from "./stack.js";
12
+ import type { EncounterDealSource, TriggerEvent } from "./trigger-events.js";
13
+ import type { KeywordAbilityName } from "./keyword-abilities.js";
14
+ import type { LastingDuration, LastingEffect } from "./lasting.js";
15
+ import type { ResourcePool, ResourceType } from "./resources.js";
16
+ import type { ReportedFact } from "./outside-facts.js";
17
+ /**
18
+ * Ways the text before a "then" can fail to fully resolve (RRG 1.8 "'Then'", p. 44), besides a required choice finding
19
+ * nothing (`choiceFoundNothing`):
20
+ *
21
+ * - `searchFoundNothing`: a search (a `chooseCards` with `min` >= 1, or a `selectCards`, over a deck) found no card,
22
+ * or a `searchCollection` had no card left outside the game to find;
23
+ * - `lookFoundNothing`: a `lookAt` over a deck had no card to look at (an empty deck);
24
+ * - `discardUntilFoundNothing`: "discard cards from the top of your deck until you discard an X" found no X. Not the
25
+ * encounter deck: RRG 1.8 "Encounter Deck" (p. 17) says that emptying it this way leaves the ability "fulfilled";
26
+ * - `revealFoundNothing` / `revealCancelled`: "Reveal that card" had no card, or the revealed card's effects were
27
+ * cancelled ("cancel the effects of that card and discard it");
28
+ * - `nothingToCancel`: a cancel found nothing to cancel, or what it would cancel cannot be cancelled;
29
+ * - `attackCancelled`: a damage instruction or an `attack` effect of an "(attack)" ability dealt an enemy nothing
30
+ * because the ability's attack was cancelled (`resolve/attack-ability.ts`, owner decision 2026-10-08, row 65);
31
+ * - `activationDidNotHappen`: "X attacks you" / "X schemes" did not happen: a stunned/confused status cancelled it,
32
+ * the enemy is not in play, or the activation was skipped or cancelled.
33
+ */
34
+ export type PreThenFailure = "searchFoundNothing" | "lookFoundNothing" | "discardUntilFoundNothing" | "revealFoundNothing" | "revealCancelled" | "nothingToCancel" | "attackCancelled" | "activationDidNotHappen"
35
+ /** A swap that could not be completed (`swapRefused`, docs/phase7-wave6.md §3.47). */
36
+ | "swapNotCompleted"
37
+ /** A "find" that found no card (`EffectSpec findCard`, docs/phase7-wave6.md §3.48). */
38
+ | "findFoundNothing"
39
+ /**
40
+ * A card `dealAsEncounterCard` named was not dealt: it cannot leave play, or is not a card that can be dealt
41
+ * (docs/phase7-wave8.md §3.75).
42
+ */
43
+ | "cardNotDealt"
44
+ /**
45
+ * A card `passEncounterCard` named was not passed: it is not facedown in front of the player passing it, or there
46
+ * is no other player to pass it to (docs/phase7-wave8.md §3.75).
47
+ */
48
+ | "cardNotPassed"
49
+ /**
50
+ * A `replaceTuckHost` found no pending tuck to send elsewhere, or no card to send it under
51
+ * (docs/phase7-wave9.md §3.40).
52
+ */
53
+ | "tuckNotReplaced"
54
+ /**
55
+ * A `tuckCards` tucked none of its cards: the card they go under already holds its maximum (`RuleSpec tuckLimit`,
56
+ * docs/phase7-wave10-hero-packs.md §H3.12).
57
+ */
58
+ | "tuckRefused"
59
+ /**
60
+ * A `tuckCards` named cards and could reach none of them: each was removed from the game, or is not in the zone the
61
+ * selector names (`CardSelector ref.ownerZone`: "tuck that event from your discard pile" with the event no longer
62
+ * there).
63
+ */
64
+ | "tuckNamedNoCard"
65
+ /**
66
+ * A `replaceAttachHost` found no pending attach to send elsewhere, or no card that can have it attached
67
+ * (docs/phase7-wave9.md §3.49).
68
+ */
69
+ | "attachNotReplaced"
70
+ /**
71
+ * A `replaceLeaveDestination` found no pending leaving it can send elsewhere (none, one already replaced, one with
72
+ * a destination of its own), or no card to send it under (docs/phase7-wave9.md §3.20).
73
+ */
74
+ | "leaveNotReplaced"
75
+ /**
76
+ * A `removeCounters` asked for a number of counters and a card it named held fewer (none included), so fewer were
77
+ * removed than the text says. "Remove all counters" asks for no number and never marks.
78
+ */
79
+ | "countersNotRemoved"
80
+ /**
81
+ * A `giveStatus` could not give its status card to a card it named: the card is already at its capacity for that
82
+ * status (RRG 1.8 "Status Cards", p. 41) or is not a character in play. "Place 3 threat on the main scheme and stun
83
+ * your identity" with the identity already stunned does not fully resolve (MC65 Shadowland insert, FAQ p. 18).
84
+ */
85
+ | "statusNotGiven";
86
+ export type GameEvent = {
87
+ readonly type: "gameCreated";
88
+ readonly playerIds: readonly PlayerId[];
89
+ readonly firstPlayerId: PlayerId;
90
+ readonly seed: number;
91
+ } | {
92
+ readonly type: "stepChanged";
93
+ readonly from: GameStep;
94
+ readonly to: GameStep;
95
+ } | {
96
+ readonly type: "roundStarted";
97
+ readonly round: number;
98
+ }
99
+ /**
100
+ * Round `round`'s villain phase was skipped (`EffectSpec skipNextVillainPhase`, docs/phase7-wave11-hero-packs.md
101
+ * H3.7): the round goes straight to its end. `remaining` is how many more villain phases are still to be skipped.
102
+ * With `playerPhaseInstead`, a player phase is played in its place, within the same round (`EffectSpec
103
+ * replaceNextVillainPhaseWithPlayerPhase`), and `remaining` counts the replacements still to come.
104
+ */
105
+ | {
106
+ readonly type: "villainPhaseSkipped";
107
+ readonly round: number;
108
+ readonly remaining: number;
109
+ readonly playerPhaseInstead?: true;
110
+ } | {
111
+ readonly type: "turnStarted";
112
+ readonly playerId: PlayerId;
113
+ } | {
114
+ readonly type: "turnEnded";
115
+ readonly playerId: PlayerId;
116
+ } | {
117
+ readonly type: "deckShuffled";
118
+ readonly zone: ZoneId;
119
+ readonly order: readonly InstanceId[];
120
+ }
121
+ /**
122
+ * Setup put `stacked` on top of a deck just after shuffling it (`GameSetupConfig.stack`: a tutorial or scripted
123
+ * scenario, never a rules step); `order` is the deck afterward, top first.
124
+ */
125
+ | {
126
+ readonly type: "deckStacked";
127
+ readonly zone: ZoneId;
128
+ readonly stacked: readonly InstanceId[];
129
+ readonly order: readonly InstanceId[];
130
+ }
131
+ /**
132
+ * A player's deck emptied and was reset (RRG 1.8 "Player Deck", p. 33): the `deckShuffled` just before this made their
133
+ * discard pile the new deck, and the `cardMoved` just after deals them their facedown encounter card, if the encounter
134
+ * deck had one.
135
+ */
136
+ | {
137
+ readonly type: "playerDeckReset";
138
+ readonly playerId: PlayerId;
139
+ } | {
140
+ readonly type: "cardMoved";
141
+ readonly instanceId: InstanceId;
142
+ readonly cardId: CardId;
143
+ readonly from: ZoneId;
144
+ readonly to: ZoneId;
145
+ }
146
+ /**
147
+ * `playerId` was dealt the facedown encounter card `instanceId` (RRG 1.8 "Deal, Deal an Encounter Card", p. 15),
148
+ * logged right after the `cardMoved` that put it in their dealt pile. `source` says what dealt it: the villain phase,
149
+ * hazard, a card ability, an encounter deck reset, surge or the unique rule (`EncounterDealSource`). Logged on every
150
+ * deal, whether or not an ability listens; a card revealed at once instead of dealt logs none.
151
+ */
152
+ | {
153
+ readonly type: "encounterCardDealt";
154
+ readonly playerId: PlayerId;
155
+ readonly instanceId: InstanceId;
156
+ readonly source: EncounterDealSource;
157
+ }
158
+ /**
159
+ * A permanent encounter attachment whose host left play, or whose player was eliminated, resolved its "attach to"
160
+ * text again and moved to `hostInstanceId` without leaving play (docs/phase7-wave10.md §3.19; MC56 p. 20: "When an
161
+ * attachment with the permanent keyword becomes unattached, resolve its 'attach to' text"). Follows the `cardMoved`
162
+ * of that move; `fromInstanceId` is the card it was on, null for one that was in a play area unattached.
163
+ */
164
+ | {
165
+ readonly type: "permanentAttachmentRehosted";
166
+ readonly instanceId: InstanceId;
167
+ readonly fromInstanceId: InstanceId | null;
168
+ readonly hostInstanceId: InstanceId;
169
+ } | {
170
+ readonly type: "cardDrawn";
171
+ readonly playerId: PlayerId;
172
+ readonly instanceId: InstanceId;
173
+ }
174
+ /**
175
+ * The card just drawn (the `cardDrawn` before this) is an obligation, so it went to the drawing player's play area
176
+ * instead of their hand (RRG 1.8 "Obligation", p. 30; MC10 p. 17). A `cardEntersPlay` announcement follows.
177
+ */
178
+ | {
179
+ readonly type: "drawnObligationPlaced";
180
+ readonly playerId: PlayerId;
181
+ readonly instanceId: InstanceId;
182
+ } | {
183
+ readonly type: "cardDiscardedFromHand";
184
+ readonly playerId: PlayerId;
185
+ readonly instanceId: InstanceId;
186
+ }
187
+ /**
188
+ * A card was discarded from the top of `playerId`'s deck by card `by`'s effect or cost (null when no card is named),
189
+ * after the `cardMoved` that carried it (docs/phase7-wave7.md §3.55). Logged only in a game whose registry has an
190
+ * ability that triggers on such a discard, so every other game's log is unchanged. `at: "deck"`: the discard emptied
191
+ * the deck, and its reset has shuffled the card into the new one.
192
+ */
193
+ | {
194
+ readonly type: "cardDiscardedFromDeck";
195
+ readonly playerId: PlayerId;
196
+ readonly instanceId: InstanceId;
197
+ readonly by: InstanceId | null;
198
+ readonly at: "discard" | "deck";
199
+ }
200
+ /**
201
+ * A card was discarded from the top of encounter deck `deckId` by card `by`'s effect or cost (`how`), after the
202
+ * `cardMoved` that carried it (docs/phase7-wave9.md §3.43 (b)). Logged only in a game whose registry has an ability
203
+ * that triggers on such a discard (`listensForEncounterDeckDiscard`), so every other game's log is unchanged.
204
+ * `at: "deck"`: the discard emptied the deck, and its reset has shuffled the card into the new one.
205
+ */
206
+ | {
207
+ readonly type: "cardDiscardedFromEncounterDeck";
208
+ readonly deckId: EncounterDeckId;
209
+ readonly instanceId: InstanceId;
210
+ readonly by: InstanceId | null;
211
+ readonly how: "effect" | "cost";
212
+ readonly at: "discard" | "deck";
213
+ }
214
+ /**
215
+ * A response to its discard from `playerId`'s deck took the card away from where the discard put it, so the ability
216
+ * that discarded it no longer counts it among the cards "discarded this way" (ruling, April 30, 2026 - Ruling 4,
217
+ * answer 1; docs/phase7-wave7.md §4.1 Q32). `slot`: the bound set it was dropped from.
218
+ */
219
+ | {
220
+ readonly type: "deckDiscardNotCounted";
221
+ /** Whose deck it was discarded from; null for an encounter deck (docs/phase7-wave9.md §3.43 (b)). */
222
+ readonly playerId: PlayerId | null;
223
+ readonly instanceId: InstanceId;
224
+ readonly slot: string;
225
+ }
226
+ /**
227
+ * A response to its discard from `playerId`'s deck took the card away, and the ability that discarded it still
228
+ * counts it: the response's ability says so (`AbilityDefinition.discardsStayCounted`; Skrull Business placing the
229
+ * cards facedown under itself, docs/phase7-wave10-box-heroes.md B3.3, question 14 = A). `slot`: the bound set it
230
+ * stays in; `takenByInstanceId`: the card whose response took it.
231
+ */
232
+ | {
233
+ readonly type: "deckDiscardStillCounted";
234
+ readonly playerId: PlayerId | null;
235
+ readonly instanceId: InstanceId;
236
+ readonly slot: string;
237
+ readonly takenByInstanceId: InstanceId | null;
238
+ }
239
+ /**
240
+ * `playerId` spent a card tucked under `hostInstanceId` "as if it were in their hand" (`RuleSpec
241
+ * spendableFromTucked`, docs/phase7-wave9.md §3.46 (c)): it went from under its host to its owner's discard pile
242
+ * (the `cardMoved` before this). Logged in place of the `cardDiscardedFromHand` a hand card's spending logs.
243
+ */
244
+ | {
245
+ readonly type: "tuckedCardSpent";
246
+ readonly playerId: PlayerId;
247
+ readonly instanceId: InstanceId;
248
+ readonly hostInstanceId: InstanceId;
249
+ }
250
+ /**
251
+ * `helperId` pays the `part` part of a cost of `playerId`'s in their place (`CostSelection.paidBy`; `RuleSpec
252
+ * costsPayableByAnyPlayer`, docs/phase7-wave10-hero-packs.md H3.19): the cost is printed on `sourceInstanceId`.
253
+ * Logged as the cost is paid, before what the part does (the helper's damage, their deck's discard). A helper's
254
+ * resources and cards are not logged here: each card's own event names the hand or the play area it left.
255
+ */
256
+ | {
257
+ readonly type: "costPartPaidBy";
258
+ readonly playerId: PlayerId;
259
+ readonly helperId: PlayerId;
260
+ readonly sourceInstanceId: InstanceId;
261
+ readonly part: DelegableCostPart;
262
+ } | {
263
+ readonly type: "cardPlayed";
264
+ readonly playerId: PlayerId;
265
+ readonly instanceId: InstanceId;
266
+ readonly cardId: CardId;
267
+ readonly resourcesPaid: number;
268
+ readonly paid: ResourcePool;
269
+ /**
270
+ * Present only for a card played from the top of its player's deck "as if it was in your hand" (`playableTopOfDeck`,
271
+ * docs/phase7-wave8.md §3.49): where it really was, and what the game counts it as (RRG 1.8 FAQ "Magik (#30A)",
272
+ * p. 64: "that card is considered to have been played from her hand"). `"separateDeck"`: played by an effect from
273
+ * one of its player's separate decks (`EffectSpec playFromHand.from { separateDeck }`, docs/phase7-wave11.md
274
+ * §3.2), with `countsAsFrom: "hand"` only when the effect plays it "as if it were in your hand" (`asIfInHand`).
275
+ * `"tucked"`: played from under a card whose `playableAsIfInHand { tuckedUnder }` permission lets its player
276
+ * play it "as if it were in your hand" (docs/phase7-wave11.md §3.8), with `countsAsFrom: "hand"`. `"deck"`: played
277
+ * by an effect from its player's searched deck (Fetch Quest), with `countsAsFrom: "hand"` only when the effect
278
+ * plays it "as if it were in your hand" (`EffectSpec playFromHand.from { deck: "search", asIfInHand }`, hero-pack
279
+ * spec H3.16, Q102 = A). `"setAside"`: played by an effect from the set-aside area, and `"tucked"` also from a tuck
280
+ * an effect names (Med Lab 38028, Avengers Compound 58034), each "as if it were in your hand", with
281
+ * `countsAsFrom: "hand"` (`PlayOrigin`). A play from the hand logs neither.
282
+ */
283
+ readonly from?: "deckTop" | "separateDeck" | "tucked" | "deck" | "setAside";
284
+ readonly countsAsFrom?: "hand";
285
+ /**
286
+ * Present only for a play under an "as if it were in your hand" permission printed on a card in the player's
287
+ * hand that the play discarded as its additional cost (Photographic Reflexes, `fne` 60040a/b/c;
288
+ * docs/phase7-wave11.md §3.9): that card.
289
+ */
290
+ readonly via?: InstanceId;
291
+ /**
292
+ * Present only on a play whose payment is read for resource types (docs/phase7-wave8.md §3.62): `paidCount` is the
293
+ * number of resources the cost took, so `resourcesPaid` less `paidCount` were overpaid and are not read (§4.1
294
+ * Q34 = A). `paidAs` is the paid resources by the type each was used as, when that is settled as the card is
295
+ * paid for (no wild, a declaration on the command, or one the engine skipped as equivalent); when the player is
296
+ * asked instead, the `wildTypesDeclared` that follows carries it. Every other play logs exactly as before.
297
+ */
298
+ readonly paidCount?: number;
299
+ readonly paidAs?: ResourcePool;
300
+ }
301
+ /**
302
+ * The wilds of the payment for `instanceId` were declared (docs/phase7-wave8.md §3.62, §4.1 Q33 = B): `declared` is
303
+ * the type each wild is used as, in the order generated (`"wild"`: left a wild). `skipped`: the player was not asked,
304
+ * because every legal declaration gave every reader of the payment the same reading; the wilds are then left wild
305
+ * where that is legal. Not skipped, the declaration is the player's own, from the play command's `wildAs` or the
306
+ * `declareWildTypes` choice. `paidAs`: the paid resources by the type each was used as, the overpaid ones left out.
307
+ * `abilityId`: the payment was for that ability of the card (a `useAbility` command, or an interrupt or response
308
+ * paid for inside a window), not for playing the card; its declaration came from `useAbility.wildAs` or the choice.
309
+ */
310
+ | {
311
+ readonly type: "wildTypesDeclared";
312
+ readonly playerId: PlayerId;
313
+ readonly instanceId: InstanceId;
314
+ readonly abilityId?: AbilityId;
315
+ readonly declared: readonly ResourceType[];
316
+ readonly skipped: boolean;
317
+ readonly paidAs: ResourcePool;
318
+ }
319
+ /**
320
+ * The player said which resources of the payment for `instanceId` were the paid ones (`choosePaidResources`; owner
321
+ * decision, 2026-10-08, docs/phase7-wave8.md §4.1 row 79): `paidAs` is that set by the type each resource was used
322
+ * as, and `overpaidAs` the rest of what the payment generated. Logged only when the player was asked, which is only
323
+ * when two sets read differently to a card reading the payment. `abilityId` as on `wildTypesDeclared`.
324
+ */
325
+ | {
326
+ readonly type: "paidResourcesChosen";
327
+ readonly playerId: PlayerId;
328
+ readonly instanceId: InstanceId;
329
+ readonly abilityId?: AbilityId;
330
+ readonly paidAs: ResourcePool;
331
+ readonly overpaidAs: ResourcePool;
332
+ }
333
+ /** `sourceInstanceId`: the card whose effect exhausted it, absent for a cost, attack, thwart or defense. */
334
+ | {
335
+ readonly type: "cardExhausted";
336
+ readonly instanceId: InstanceId;
337
+ readonly sourceInstanceId?: InstanceId;
338
+ } | {
339
+ readonly type: "cardReadied";
340
+ readonly instanceId: InstanceId;
341
+ }
342
+ /**
343
+ * `fromHeroFormIndex` / `heroFormIndex` are the hero faces before and after (null for alter-ego), present only for an
344
+ * identity with more than one hero face (docs/phase7-wave2.md §3.2), so every other identity logs exactly as before.
345
+ */
346
+ /**
347
+ * A card changed controller because a rule says who controls it: "The first player controls the Milano." when the
348
+ * first player token passes (docs/phase7-wave3.md §3.13).
349
+ */
350
+ | {
351
+ readonly type: "controllerChanged";
352
+ readonly instanceId: InstanceId;
353
+ readonly from: PlayerId | null;
354
+ readonly to: PlayerId;
355
+ /**
356
+ * `effect`: a card took control of it ("detaches Odin … and takes control of him", docs/phase7-wave4.md §3.8).
357
+ * `attachedTo`: an upgrade attached to a card another player controls is controlled by that player, and goes back
358
+ * to its owner when it moves to a card no other player controls (RRG 1.8 "Ownership and Control", p. 31).
359
+ */
360
+ readonly reason: "firstPlayer" | "effect" | "attachedTo";
361
+ }
362
+ /** A player became a card's owner by taking it (RRG 1.8 "Ownership and Control", p. 31; docs/phase7-wave2.md §3.10). */
363
+ | {
364
+ readonly type: "ownershipChanged";
365
+ readonly instanceId: InstanceId;
366
+ readonly playerId: PlayerId;
367
+ }
368
+ /** A scenario deck took its discard pile back, with no penalty (docs/phase7-wave2.md §3.3). */
369
+ | {
370
+ readonly type: "scenarioDeckReset";
371
+ readonly name: string;
372
+ }
373
+ /**
374
+ * The top card of a scenario deck whose top card is in play entered play (`ScenarioSeparateDeck.topCardInPlay`, the
375
+ * Holding Cell deck, MC50 p. 13; docs/phase7-wave9.md §3.17): when the deck was built, when the card above it stopped
376
+ * being the deck's top card, or when it was put into the deck with no card in it and none in play (MC50 p. 22).
377
+ * Logged before the card's own entry into play.
378
+ */
379
+ | {
380
+ readonly type: "scenarioDeckTopEnteredPlay";
381
+ readonly name: string;
382
+ readonly instanceId: InstanceId;
383
+ }
384
+ /**
385
+ * The card in play as such a deck's top card is no longer the deck's: it left play, or it flipped to a face the deck
386
+ * is not made of (a Holding Cell to its Inhuman ally). The next card, if any, then enters play.
387
+ */
388
+ | {
389
+ readonly type: "scenarioDeckTopLeft";
390
+ readonly name: string;
391
+ readonly instanceId: InstanceId;
392
+ }
393
+ /**
394
+ * A player card's ability tried to select, look at or move the cards of a scenario deck that is closed to player card
395
+ * effects, or to put a card into it, and nothing happened (`closedToPlayerCard`; the show deck, MojoMania insert
396
+ * p. 11; docs/phase7-wave6.md §3.66). `instanceIds`: the cards a move left where they were; empty for a selection.
397
+ */
398
+ | {
399
+ readonly type: "scenarioDeckClosed";
400
+ readonly name: string;
401
+ readonly sourceCardId: CardId;
402
+ readonly instanceIds: readonly InstanceId[];
403
+ }
404
+ /** A set-aside villain entered play as an additional villain (`addVillain`; docs/phase7-wave2.md §3.4). */
405
+ | {
406
+ readonly type: "villainAdded";
407
+ readonly instanceId: InstanceId;
408
+ readonly cardId: CardId;
409
+ readonly areaId: GameAreaId | null;
410
+ /**
411
+ * A villain card already in play as a minion became one of the game's villains when nothing treated it as a
412
+ * minion any more (`promoteLooseVillain`, Whisper in the Dark): a status change, it did not enter play.
413
+ */
414
+ readonly asStatusChange?: true;
415
+ }
416
+ /** `EffectSpec discardTokens`: the damage and threat tokens discarded from a card (not a heal). */
417
+ | {
418
+ readonly type: "tokensDiscarded";
419
+ readonly instanceId: InstanceId;
420
+ readonly damage: number;
421
+ readonly threat: number;
422
+ }
423
+ /** A villain was removed from the game without being defeated (`removeVillain`). */
424
+ | {
425
+ readonly type: "villainRemoved";
426
+ readonly instanceId: InstanceId;
427
+ }
428
+ /**
429
+ * Counters moved from one card to another (`EffectSpec moveCounters`, docs/phase7-wave5.md §3.3). `counterType` is
430
+ * the type they had on `from`. `toCounterType` is the type they have on `to` when that differs: an all-purpose
431
+ * counter "loses any previous type it had and gains the type defined on the new card it occupies" (RRG 1.8
432
+ * "All-Purpose Counter", p. 6; docs/phase7-wave9.md §3.6). Absent: they kept their type.
433
+ */
434
+ | {
435
+ readonly type: "countersMoved";
436
+ readonly from: InstanceId;
437
+ readonly to: InstanceId;
438
+ readonly counterType: string;
439
+ readonly amount: number;
440
+ readonly toCounterType?: string;
441
+ }
442
+ /** A main scheme stage turned to its other face (Venom Goblin's environments; docs/phase7-wave5.md §3.3). */
443
+ | {
444
+ readonly type: "mainSchemeFlippedToOtherFace";
445
+ readonly instanceId: InstanceId;
446
+ readonly from: CardId;
447
+ readonly to: CardId;
448
+ readonly stageIndex: number;
449
+ }
450
+ /** "Set this villain aside" (docs/phase7-wave5.md §3.1): out of play, cleared, in the set-aside area. */
451
+ | {
452
+ readonly type: "villainSetAside";
453
+ readonly instanceId: InstanceId;
454
+ }
455
+ /**
456
+ * A player's permanent cards were set aside before setup step 1 (RRG 1.8 "Permanent", p. 32; docs/phase7-wave6.md
457
+ * §3.74): out of the deck, never shuffled, drawn or mulliganed, in the owner's set-aside area until an ability (a
458
+ * Setup) puts them into play. Emitted once per player with any, right after `gameCreated`.
459
+ */
460
+ | {
461
+ readonly type: "cardsSetAside";
462
+ readonly playerId: PlayerId;
463
+ readonly instanceIds: readonly InstanceId[];
464
+ readonly reason: "permanent";
465
+ }
466
+ /**
467
+ * Linked cards were set aside for a player's deck (RRG 1.8 "Linked (Card Title)", p. 27; docs/phase7-wave7.md §3.75):
468
+ * `forPlayer`'s deck holds a card whose title these cards name, so their product's copies wait in the shared
469
+ * set-aside area (`GameState.encounterSetAside`), owned by nobody until a player takes control of one. One entry per
470
+ * deck that names any, after the `cardsSetAside` entries; `cardIds` and `instanceIds` run in step, one per copy.
471
+ *
472
+ * `forPlayer: null` (docs/phase7-wave9.md §3.57): the named card is an encounter card of the scenario, so there is
473
+ * one set for the game, logged once after the players' entries. Only the copies the scenario had not already set
474
+ * aside itself are listed.
475
+ */
476
+ | {
477
+ readonly type: "linkedCardsSetAside";
478
+ readonly forPlayer: PlayerId | null;
479
+ readonly cardIds: readonly CardId[];
480
+ readonly instanceIds: readonly InstanceId[];
481
+ }
482
+ /**
483
+ * An encounter set joined the game because a setup condition held (`GameSetupConfig.autoIncludedSets`;
484
+ * docs/phase7-wave7.md §3.74): the Dreadpool set when a player chose the 'Pool aspect (Deadpool insert, "Using the
485
+ * 'Pool Aspect"; RRG 1.8 FAQ, p. 64). `because.playerIds` are the seats that declared the aspect, in seat order;
486
+ * `shuffledIn` went into encounter deck `deckId` before its setup shuffle and `setAside` into
487
+ * `GameState.encounterSetAside`. One entry per included set, after the `linkedCardsSetAside` entries; a set whose
488
+ * condition failed logs nothing.
489
+ */
490
+ | {
491
+ readonly type: "encounterSetAutoIncluded";
492
+ readonly setId: string;
493
+ readonly because: {
494
+ readonly kind: "aspectChosen";
495
+ readonly aspect: CoreAspect;
496
+ readonly playerIds: readonly PlayerId[];
497
+ };
498
+ readonly deckId: EncounterDeckId;
499
+ readonly shuffledIn: readonly InstanceId[];
500
+ readonly setAside: readonly InstanceId[];
501
+ }
502
+ /** A separate game area was created, or players joined another area (null: the central area; the game is no longer split). */
503
+ | {
504
+ readonly type: "gameAreaCreated";
505
+ readonly areaId: GameAreaId;
506
+ readonly playerIds: readonly PlayerId[];
507
+ readonly schemeInstanceId: InstanceId;
508
+ }
509
+ /** An in-play scenario area no player controls was created, empty (docs/phase7-wave8.md §3.33). */
510
+ | {
511
+ readonly type: "scenarioPlayAreaCreated";
512
+ readonly name: string;
513
+ readonly closed: boolean;
514
+ }
515
+ /**
516
+ * A card was placed in an in-play scenario area: it is in play with no controller and no engaged player, and so is
517
+ * every card attached to it. `from` says whether it entered play there or was already in play and moved (which is
518
+ * not leaving play: it keeps its damage, tokens, status cards and attachments). `controllerBefore` and
519
+ * `engagedBefore` say what it gave up. The `cardMoved` beside it names the area.
520
+ */
521
+ | {
522
+ readonly type: "scenarioPlayAreaEntered";
523
+ readonly name: string;
524
+ readonly instanceId: InstanceId;
525
+ readonly cardId: CardId;
526
+ readonly from: "outOfPlay" | "inPlay";
527
+ readonly controllerBefore: PlayerId | null;
528
+ readonly engagedBefore: PlayerId | null;
529
+ } | {
530
+ readonly type: "gameAreaJoined";
531
+ readonly fromAreaId: GameAreaId;
532
+ readonly intoAreaId: GameAreaId | null;
533
+ readonly playerIds: readonly PlayerId[];
534
+ }
535
+ /** A main scheme stage was revealed from a group of alternatives, or removed from the game. */
536
+ | {
537
+ readonly type: "mainSchemeStageRevealed";
538
+ readonly schemeInstanceId: InstanceId;
539
+ readonly stageIndex: number;
540
+ readonly playerId: PlayerId;
541
+ }
542
+ /**
543
+ * The game was set up with chosen stages of its main scheme card (`GameSetupConfig.mainSchemeStageIndexes`,
544
+ * docs/phase7-wave10.md §3.2): `order` is the main scheme deck as stage indexes, first to last. The choice is made
545
+ * in the open (MC56 p. 5), so it is public. Emitted once, right after `gameCreated`; absent when every stage is played.
546
+ */
547
+ | {
548
+ readonly type: "mainSchemeStagesChosen";
549
+ readonly schemeInstanceId: InstanceId;
550
+ readonly order: readonly number[];
551
+ }
552
+ /**
553
+ * The game was set up with a main scheme per player (`GameSetupConfig.mainSchemeChoice`,
554
+ * docs/phase7-wave11-scenarios.md §S3.1): each seat's scheme, in its play area, in seat order, `random` when the
555
+ * game's RNG drew it (expert mode, "at random in expert mode"); `setAside` the unused ones, out of play. The picks
556
+ * are made in the open (MC60 p. 13: "players can look at the '1B' side of the main schemes when making their
557
+ * choice"). Emitted once, right after `gameCreated`.
558
+ */
559
+ | {
560
+ readonly type: "mainSchemesChosen";
561
+ readonly picks: readonly {
562
+ readonly playerId: PlayerId;
563
+ readonly schemeInstanceId: InstanceId;
564
+ readonly cardId: CardId;
565
+ readonly random: boolean;
566
+ }[];
567
+ readonly setAside: readonly InstanceId[];
568
+ }
569
+ /**
570
+ * A main scheme's stages were shuffled (docs/phase7-wave6.md §3.18). `order` is the full walk order of stage indexes
571
+ * from now on; like a `deckShuffled` order it is for the replay log, not for the players to see.
572
+ */
573
+ | {
574
+ readonly type: "mainSchemeStagesShuffled";
575
+ readonly schemeInstanceId: InstanceId;
576
+ readonly order: readonly number[];
577
+ }
578
+ /**
579
+ * A main scheme's current stage went to the victory display as `instanceId`, a new out-of-play copy of the card fixed
580
+ * at `stageIndex` (docs/phase7-wave6.md §3.19). The scheme in play is unchanged until it advances.
581
+ */
582
+ | {
583
+ readonly type: "mainSchemeStageToVictoryDisplay";
584
+ readonly schemeInstanceId: InstanceId;
585
+ readonly stageIndex: number;
586
+ readonly instanceId: InstanceId;
587
+ }
588
+ /**
589
+ * A main scheme stage was removed from the game and can never be revealed. With `schemeInstanceId` it is that scheme's
590
+ * own stage, leaving play with it (a separate game area's); with `null` the stage was not showing: an unused
591
+ * alternative, or one picked at random from the main scheme deck (docs/phase7-wave7.md §3.28). A removed card is out
592
+ * of play in the open, so `stageIndex` is public.
593
+ */
594
+ | {
595
+ readonly type: "mainSchemeStageRemoved";
596
+ readonly schemeInstanceId: InstanceId | null;
597
+ readonly stageIndex: number;
598
+ }
599
+ /** docs/phase7-wave4.md §3.1: an additional form changed; `instanceId` is the form card now showing it. */
600
+ | {
601
+ readonly type: "additionalFormChanged";
602
+ readonly playerId: PlayerId;
603
+ readonly formType: string;
604
+ readonly formName: string;
605
+ readonly instanceId: InstanceId;
606
+ }
607
+ /**
608
+ * The villain instance took another card of its title (docs/phase7-wave4.md §3.7): `swap` (RRG 1.8 "'Swap'", p. 42;
609
+ * dial kept) or `advance` (the defeated card went to the victory display or out of the game; dial reset).
610
+ */
611
+ | {
612
+ readonly type: "villainReplaced";
613
+ readonly instanceId: InstanceId;
614
+ readonly fromCardId: CardId;
615
+ readonly toCardId: CardId;
616
+ readonly reason: "swap" | "advance";
617
+ }
618
+ /**
619
+ * An ally a player controlled is now under no player's control, attached to `hostInstanceId` (`EffectSpec attach`
620
+ * with `as: "captive"`; `isCaptiveAlly`; docs/phase7-wave9.md §3.19), logged after the `cardMoved` that put it there.
621
+ * `from` is the player who controlled it. Control given back is a `controllerChanged` (`EffectSpec detach`).
622
+ */
623
+ | {
624
+ readonly type: "controlReleased";
625
+ readonly instanceId: InstanceId;
626
+ readonly hostInstanceId: InstanceId;
627
+ readonly from: PlayerId;
628
+ }
629
+ /** An attached card was detached into a play area (`EffectSpec detach`, docs/phase7-wave4.md §3.8). */
630
+ | {
631
+ readonly type: "cardDetached";
632
+ readonly instanceId: InstanceId;
633
+ readonly from: InstanceId;
634
+ }
635
+ /** A card in play turned facedown (`turnFacedown`) or faceup (`changeAdditionalForm`), docs/phase7-wave4.md §3.1. */
636
+ | {
637
+ readonly type: "cardTurnedFacedown";
638
+ readonly instanceId: InstanceId;
639
+ }
640
+ /** An enemy attack in progress now targets another character (`EffectSpec retargetAttack`; §3.21). */
641
+ | {
642
+ readonly type: "attackRetargeted";
643
+ readonly enemyInstanceId: InstanceId;
644
+ readonly targetInstanceId: InstanceId;
645
+ readonly playerId: PlayerId;
646
+ }
647
+ /**
648
+ * A player's attack in progress now targets another character (`EffectSpec retargetAttack` with `attack: "player"`;
649
+ * docs/phase7-wave7.md §3.66). `fromInstanceId`: the character it was against, which is no longer attacked.
650
+ */
651
+ | {
652
+ readonly type: "playerAttackRetargeted";
653
+ readonly attackerInstanceId: InstanceId;
654
+ readonly fromInstanceId: InstanceId;
655
+ readonly targetInstanceId: InstanceId;
656
+ readonly playerId: PlayerId;
657
+ }
658
+ /** A progressing identity swapped to its next version (`EffectSpec swapIdentity`, docs/phase7-wave5.md §3.23). */
659
+ | {
660
+ readonly type: "identitySwapped";
661
+ readonly playerId: PlayerId;
662
+ readonly instanceId: InstanceId;
663
+ readonly fromCardId: CardId;
664
+ readonly toCardId: CardId;
665
+ }
666
+ /**
667
+ * A separated identity's other card flipped with a form change (docs/phase7-wave5.md §3.24): `fromCardId` →
668
+ * `toCardId` are its pool sides. `identityExhausted` / `cardExhausted` are the two instances' states afterwards (the
669
+ * ready state follows the physical card). `movedCounters` / `movedAttachments`, when present, were on it and moved to
670
+ * the identity (docs/phase7-wave5.md §4.1 Q38).
671
+ */
672
+ | {
673
+ readonly type: "separatedCardFlipped";
674
+ readonly playerId: PlayerId;
675
+ readonly instanceId: InstanceId;
676
+ readonly fromCardId: CardId;
677
+ readonly toCardId: CardId;
678
+ readonly identityExhausted: boolean;
679
+ readonly cardExhausted: boolean;
680
+ readonly movedCounters?: Readonly<Record<string, number>>;
681
+ readonly movedAttachments?: readonly InstanceId[];
682
+ }
683
+ /** A thwart's additional cost is asked of the thwarting player (`RuleSpec additionalThwartCost`; wave 5 §3.21). */
684
+ | {
685
+ readonly type: "thwartCostAsked";
686
+ readonly schemeInstanceId: InstanceId;
687
+ readonly playerId: PlayerId;
688
+ }
689
+ /**
690
+ * How a basic thwart's additional-cost question ended (docs/phase7-wave5.md §4.1 Q27, Q30): `paid` (the thwart goes
691
+ * ahead), `declined` (the resources were not spent), `damageNotTaken` (some of a "take damage" cost was prevented or
692
+ * could not be assigned, RRG 1.8 "Cost", p. 13), or `abandoned` (paid, but the thwart was no longer legal; `reason`).
693
+ * Anything but `paid` means no thwart and none of the thwarter's own costs paid.
694
+ */
695
+ | {
696
+ readonly type: "thwartCostSettled";
697
+ readonly playerId: PlayerId;
698
+ readonly schemeInstanceIds: readonly InstanceId[];
699
+ readonly outcome: "paid" | "declined" | "damageNotTaken" | "abandoned";
700
+ readonly reason?: string;
701
+ }
702
+ /**
703
+ * A change of form by a player card's effect asks the changing player for its additional cost (`RuleSpec
704
+ * formChangeCost`; docs/phase7-wave8.md §3.63). `sourceInstanceIds`: the cards the cost is printed on.
705
+ */
706
+ | {
707
+ readonly type: "formChangeCostAsked";
708
+ readonly playerId: PlayerId;
709
+ readonly to: Form;
710
+ readonly sourceInstanceIds: readonly InstanceId[];
711
+ }
712
+ /**
713
+ * How an additional cost to change form ended (§3.63; RRG 1.8 "Cost", p. 14): `paid` (the change follows), or, for a
714
+ * change by a card effect, `declined` (asked, and no payment that pays was made) or `unpayable` (not asked: nothing
715
+ * the player holds pays it). Anything but `paid` means nothing was spent and the form did not change. The
716
+ * `changeForm` command logs only `paid`: unpaid, it is refused and logs nothing.
717
+ */
718
+ | {
719
+ readonly type: "formChangeCostSettled";
720
+ readonly playerId: PlayerId;
721
+ readonly to: Form;
722
+ readonly sourceInstanceIds: readonly InstanceId[];
723
+ readonly outcome: "paid" | "declined" | "unpayable";
724
+ }
725
+ /**
726
+ * A "take N indirect damage →" cost has been paid or failed (`AbilityCost.indirectDamage`): `taken` is the damage the
727
+ * payer's characters took of `amount`. Short of it, the cost was not paid (RRG 1.8 "Cost", p. 14) and the effects of
728
+ * `instanceId`'s ability do not resolve; the damage taken stays taken.
729
+ */
730
+ | {
731
+ readonly type: "costDamageSettled";
732
+ readonly instanceId: InstanceId | null;
733
+ readonly playerId: PlayerId | null;
734
+ readonly amount: number;
735
+ readonly taken: number;
736
+ readonly paid: boolean;
737
+ }
738
+ /**
739
+ * A "look at the top N cards of the encounter deck, discard M of those cards →" cost (`AbilityCost.encounterLookDiscard`,
740
+ * docs/phase7-wave6.md §3.54) has been paid or failed: `lookedAt` are the cards `playerId` looked at, top first, and
741
+ * `discarded` the ones discarded, in the order they were (top first). Fewer looked-at cards than M to discard means
742
+ * the cost was not paid (RRG 1.8 "Cost", p. 13), nothing was discarded, and the effects of `instanceId`'s ability do
743
+ * not resolve.
744
+ */
745
+ | {
746
+ readonly type: "encounterLookCostSettled";
747
+ readonly instanceId: InstanceId | null;
748
+ readonly playerId: PlayerId | null;
749
+ readonly lookedAt: readonly InstanceId[];
750
+ readonly discarded: readonly InstanceId[];
751
+ readonly paid: boolean;
752
+ }
753
+ /**
754
+ * An "[enemy] attacks you →" cost (`AbilityCost.enemyAttack`, docs/phase7-wave7.md §3.19 (b)) has been paid or
755
+ * failed: `enemyInstanceId`'s attack against `playerId` was made, or (an interrupt canceled it, the enemy left play
756
+ * as it was initiated) it was not, so the cost was not paid (RRG 1.8 "Cost Arrow Icon", p. 14) and the effects of
757
+ * `instanceId`'s ability do not resolve.
758
+ */
759
+ | {
760
+ readonly type: "enemyAttackCostSettled";
761
+ readonly instanceId: InstanceId | null;
762
+ readonly playerId: PlayerId | null;
763
+ readonly enemyInstanceId: InstanceId;
764
+ readonly paid: boolean;
765
+ }
766
+ /**
767
+ * A "resolve its 'Forced Response' … →" cost (`AbilityCost.resolveAbility`, docs/phase7-wave8.md §3.11) has been
768
+ * paid or failed: `resolved` of `ofInstanceId`'s abilities of kind `trigger` resolved for `playerId`. None, or
769
+ * nothing they could have changed when the cost was paid (§4.1 Q7 = A), means the cost was not paid (RRG 1.8 "Cost
770
+ * Arrow Icon", p. 14) and the effects of `instanceId`'s ability do not resolve.
771
+ */
772
+ | {
773
+ readonly type: "resolveAbilityCostSettled";
774
+ readonly instanceId: InstanceId | null;
775
+ readonly playerId: PlayerId | null;
776
+ readonly ofInstanceId: InstanceId;
777
+ readonly trigger: "forcedResponse" | "special";
778
+ readonly resolved: number;
779
+ readonly paid: boolean;
780
+ }
781
+ /**
782
+ * A "discard up to N cards from the top of your deck →" cost (`AbilityCost.discardFromDeck` with `choose`,
783
+ * docs/phase7-wave8.md §3.55) has been paid or failed: `playerId` chose `chosen` and `discarded` are the cards that
784
+ * left the top of their deck, top first. Fewer than chosen means the cost was not paid (RRG 1.8 "Cost", p. 13) and
785
+ * the effects of `instanceId`'s ability do not resolve.
786
+ */
787
+ | {
788
+ readonly type: "deckDiscardCostSettled";
789
+ readonly instanceId: InstanceId | null;
790
+ readonly playerId: PlayerId | null;
791
+ readonly chosen: number;
792
+ readonly discarded: readonly InstanceId[];
793
+ readonly paid: boolean;
794
+ }
795
+ /**
796
+ * A "discard [a chosen number of] cards from the top of the encounter deck →" cost
797
+ * (`AbilityCost.discardFromEncounterDeck`, docs/phase7-wave9.md §3.43 (a)) has been paid or failed: `chosen` is the
798
+ * number `playerId` owed (their pick, or the printed number) and `discarded` the cards that left the top of the
799
+ * deck, top first. Fewer than `chosen` with `deckEmptied` is a paid cost (RRG 1.8 "Encounter Deck", p. 17: a discard
800
+ * that empties the deck "is considered to be fulfilled"); the deck was reset at that card's move. Nothing discarded
801
+ * means the cost was not paid and the effects of `instanceId`'s ability do not resolve.
802
+ */
803
+ | {
804
+ readonly type: "encounterDiscardCostSettled";
805
+ readonly instanceId: InstanceId | null;
806
+ readonly playerId: PlayerId | null;
807
+ readonly chosen: number;
808
+ readonly discarded: readonly InstanceId[];
809
+ readonly deckEmptied: boolean;
810
+ readonly paid: boolean;
811
+ }
812
+ /**
813
+ * A "remove [up to] N threat from [a card] →" cost (`AbilityCost.removeThreat`, docs/phase7-wave9.md §3.7 (b)) has
814
+ * been paid or failed: `chosen` is the amount the payer owed (their pick, or the printed number) and `removed` what
815
+ * came off `fromInstanceId`, logged before this as `threatRemoved`. Less than chosen means the cost was not paid
816
+ * (RRG 1.8 "Cost", p. 13) and the effects of `instanceId`'s ability do not resolve.
817
+ */
818
+ | {
819
+ readonly type: "threatCostSettled";
820
+ readonly instanceId: InstanceId | null;
821
+ readonly playerId: PlayerId | null;
822
+ readonly fromInstanceId: InstanceId;
823
+ readonly chosen: number;
824
+ readonly removed: number;
825
+ readonly paid: boolean;
826
+ }
827
+ /**
828
+ * A "ready [a card] →" cost (`AbilityCost.readyCards`, docs/phase7-wave8.md §3.54) has been paid or failed:
829
+ * `instanceIds` are the cards picked to ready and `readied` how many of them are ready. Fewer than all of them (a
830
+ * replacement took a ready) means the cost was not paid (RRG 1.8 "Cost Arrow Icon", p. 14) and the effects of
831
+ * `instanceId`'s ability do not resolve.
832
+ */
833
+ | {
834
+ readonly type: "readyCardsCostSettled";
835
+ readonly instanceId: InstanceId | null;
836
+ readonly playerId: PlayerId | null;
837
+ readonly instanceIds: readonly InstanceId[];
838
+ readonly readied: number;
839
+ readonly paid: boolean;
840
+ }
841
+ /**
842
+ * A rule's additional cost to attack, thwart or defend with a character was paid with the power's own costs
843
+ * (`RuleSpec additionalPowerCost`, docs/phase7-wave9.md §3.31). `sourceInstanceIds`: the cards whose rules asked.
844
+ */
845
+ | {
846
+ readonly type: "additionalPowerCostPaid";
847
+ readonly playerId: PlayerId;
848
+ readonly characterInstanceId: InstanceId;
849
+ readonly power: "attack" | "thwart" | "defend";
850
+ readonly sourceInstanceIds: readonly InstanceId[];
851
+ }
852
+ /**
853
+ * An additional cost to attack an enemy was paid by the attacking character's controller as the attack was made
854
+ * against it (`RuleSpec additionalAttackCost`, docs/phase7-wave10-hero-packs.md H3.16; `attack-cost.ts`).
855
+ * `sourceInstanceId`: the card whose rule asked. What was paid is logged by the payment itself (a
856
+ * `cardDiscardedFromHand` for each card discarded).
857
+ */
858
+ | {
859
+ readonly type: "additionalAttackCostPaid";
860
+ readonly playerId: PlayerId;
861
+ readonly attackerInstanceId: InstanceId;
862
+ readonly targetInstanceId: InstanceId;
863
+ readonly sourceInstanceId: InstanceId;
864
+ }
865
+ /** The same cost could not be paid as the attack was made (`executePayAttackCost`): the attack is not undone. */
866
+ | {
867
+ readonly type: "additionalAttackCostNotPaid";
868
+ readonly playerId: PlayerId;
869
+ readonly attackerInstanceId: InstanceId;
870
+ readonly targetInstanceId: InstanceId;
871
+ readonly sourceInstanceId: InstanceId;
872
+ readonly reason: string;
873
+ }
874
+ /**
875
+ * A defender was declared whose defense has an additional cost: its controller is asked to pay it
876
+ * (`additionalPowerCostAsked`), and one who does not pay has not declared it (`additionalPowerCostNotPaid`): the
877
+ * character stays ready and the Declare Defender step is asked again without it.
878
+ */
879
+ | {
880
+ readonly type: "additionalPowerCostAsked";
881
+ readonly playerId: PlayerId;
882
+ readonly characterInstanceId: InstanceId;
883
+ readonly power: "defend";
884
+ } | {
885
+ readonly type: "additionalPowerCostNotPaid";
886
+ readonly playerId: PlayerId;
887
+ readonly characterInstanceId: InstanceId;
888
+ readonly power: "defend";
889
+ }
890
+ /** A card would ready and a rule asks its readier for an additional cost first (`RuleSpec readyCost`; §3.19). */
891
+ | {
892
+ readonly type: "readyCostAsked";
893
+ readonly instanceId: InstanceId;
894
+ readonly playerId: PlayerId;
895
+ }
896
+ /**
897
+ * A set-aside modular set was chosen at random and joined the encounter deck (docs/phase7-wave4.md §3.18): the cards
898
+ * `instanceIds` names, which leaves out one the effect revealed first and one no longer set aside. `placement`
899
+ * (docs/phase7-wave6.md §3.62): `shuffleIn`, shuffled into the whole deck (`instanceIds` in the set's order);
900
+ * `shuffledOnTop`, shuffled on their own and placed on top of it (`instanceIds` from the top down).
901
+ */
902
+ | {
903
+ readonly type: "setAsideModularSetShuffledIn";
904
+ readonly encounterSetId: string;
905
+ readonly instanceIds: readonly InstanceId[];
906
+ readonly placement: "shuffleIn" | "shuffledOnTop";
907
+ } | {
908
+ readonly type: "cardTurnedFaceup";
909
+ readonly instanceId: InstanceId;
910
+ } | {
911
+ readonly type: "formChanged";
912
+ readonly playerId: PlayerId;
913
+ readonly to: Form;
914
+ readonly byEffect?: boolean;
915
+ readonly fromHeroFormIndex?: number | null;
916
+ readonly heroFormIndex?: number | null;
917
+ } | {
918
+ readonly type: "damageDealt";
919
+ readonly targetInstanceId: InstanceId;
920
+ readonly amount: number;
921
+ readonly sourceInstanceId: InstanceId | null;
922
+ /** No player dealt it although a player controls its source (`TriggerEvent dealDamage.noPlayer`). */
923
+ readonly noPlayer?: true;
924
+ /** Retaliate damage (`TriggerEvent dealDamage.retaliate`), so a log can name the keyword. */
925
+ readonly retaliate?: true;
926
+ /** Unpreventable damage (`TriggerEvent dealDamage.unpreventable`, docs/phase7-wave11-hero-packs.md §H3.3). */
927
+ readonly unpreventable?: true;
928
+ /** Consequential damage, and for what (`TriggerEvent dealDamage.consequentialFrom`), so a log can say so. */
929
+ readonly consequentialFrom?: "attack" | "thwart";
930
+ } | {
931
+ readonly type: "damagePrevented";
932
+ readonly targetInstanceId: InstanceId;
933
+ readonly amount: number;
934
+ /** `reduced`: constant reductions and caps brought it to 0 (docs/phase7-wave3.md §3.15). */
935
+ readonly reason: "tough" | "cancelled" | "effect" | "cannotTakeDamage" | "reduced";
936
+ }
937
+ /**
938
+ * `amount` damage to `targetInstanceId` was never dealt: a "cannot be dealt damage" rule (`cannotTakeDamage.stage:
939
+ * "dealt"`, docs/phase7-wave11-scenarios.md §S3.5) dropped it before its interrupt window. Not a prevention (RRG 1.8
940
+ * "Damage", p. 14: prevention reduces the damage taken): no `damagePrevented` accompanies it, and nothing was dealt.
941
+ */
942
+ | {
943
+ readonly type: "damageNotDealt";
944
+ readonly targetInstanceId: InstanceId;
945
+ readonly amount: number;
946
+ readonly sourceInstanceId: InstanceId | null;
947
+ }
948
+ /**
949
+ * `amount` of a damage event (or of placed damage) was not taken because `maxSustainedDamage` held the target at its
950
+ * cap (docs/phase7-wave6.md §3.3). Not a prevention: no `damagePrevented` accompanies it (§4.1 Q9).
951
+ */
952
+ | {
953
+ readonly type: "damageCapped";
954
+ readonly targetInstanceId: InstanceId;
955
+ readonly amount: number;
956
+ }
957
+ /**
958
+ * A `doubleDamageTaken` rule doubled the damage a character takes (docs/phase7-wave6.md §3.68): `from` is the damage
959
+ * after every increase and reduction, `to` after doubling (before any per-attack or sustained-damage cap), and
960
+ * `doubledBy` the cards whose rules doubled it, one per doubling.
961
+ */
962
+ | {
963
+ readonly type: "damageDoubled";
964
+ readonly targetInstanceId: InstanceId;
965
+ readonly from: number;
966
+ readonly to: number;
967
+ readonly doubledBy: readonly (InstanceId | null)[];
968
+ }
969
+ /** An interrupt increased a pending damage event by `amount` (`increaseDamage`, docs/phase7-wave4.md §3.52). */
970
+ | {
971
+ readonly type: "damageIncreased";
972
+ readonly targetInstanceId: InstanceId;
973
+ readonly amount: number;
974
+ }
975
+ /** An interrupt reduced the damage a pending damage event deals by `amount` (`EffectSpec reduceDamage`). */
976
+ | {
977
+ readonly type: "damageReduced";
978
+ readonly targetInstanceId: InstanceId;
979
+ readonly amount: number;
980
+ } | {
981
+ readonly type: "threatPrevented";
982
+ readonly schemeInstanceId: InstanceId;
983
+ readonly amount: number;
984
+ } | {
985
+ readonly type: "damagePlaced";
986
+ readonly targetInstanceId: InstanceId;
987
+ readonly amount: number;
988
+ readonly sourceInstanceId: InstanceId | null;
989
+ } | {
990
+ readonly type: "revealCancelled";
991
+ readonly instanceId: InstanceId;
992
+ readonly scope: "whenRevealed" | "allEffects";
993
+ }
994
+ /**
995
+ * The reveal of `instanceId` in progress was replaced (`EffectSpec revealCard.instead`, docs/phase7-wave9.md §3.41;
996
+ * RRG 1.8 "Replacement Effect", p. 36): it ended unresolved where the replacing ability left the card, and
997
+ * `withInstanceIds` are revealed by `playerId` instead (each logs its own `encounterCardRevealed`).
998
+ */
999
+ | {
1000
+ readonly type: "revealReplaced";
1001
+ readonly instanceId: InstanceId;
1002
+ readonly withInstanceIds: readonly InstanceId[];
1003
+ readonly playerId: PlayerId;
1004
+ } | {
1005
+ readonly type: "damageHealed";
1006
+ readonly targetInstanceId: InstanceId;
1007
+ readonly amount: number;
1008
+ }
1009
+ /**
1010
+ * A heal of damage the target had healed nothing: a `RuleSpec cannotBeHealed` matched it (docs/phase7-wave6.md
1011
+ * §3.12, "Robert Kelly cannot be healed by player card effects"). `sourceInstanceId` is the card whose ability, cost
1012
+ * or basic power tried to heal it, null when no card did.
1013
+ */
1014
+ | {
1015
+ readonly type: "healBlocked";
1016
+ readonly targetInstanceId: InstanceId;
1017
+ readonly sourceInstanceId: InstanceId | null;
1018
+ readonly amount: number;
1019
+ }
1020
+ /** "Set his hit point dial to 1" (Captain America's Helmet): sustained damage set from the remaining hit points, not healed. */
1021
+ | {
1022
+ readonly type: "hitPointsSet";
1023
+ readonly instanceId: InstanceId;
1024
+ readonly remaining: number;
1025
+ readonly damage: number;
1026
+ } | {
1027
+ readonly type: "statusRemoved";
1028
+ readonly instanceId: InstanceId;
1029
+ readonly status: "stunned" | "confused" | "tough";
1030
+ readonly reason: StatusDiscardCause;
1031
+ } | {
1032
+ readonly type: "threatPlaced";
1033
+ readonly schemeInstanceId: InstanceId;
1034
+ readonly amount: number;
1035
+ readonly sourceInstanceId: InstanceId | null;
1036
+ /** The threat the scheme entered play with, not a placement (`TriggerEvent placeThreat.entering`). */
1037
+ readonly entering?: true;
1038
+ } | {
1039
+ readonly type: "threatRemoved";
1040
+ readonly schemeInstanceId: InstanceId;
1041
+ readonly amount: number;
1042
+ readonly sourceInstanceId: InstanceId | null;
1043
+ /** No player removed it although a player controls its source (`TriggerEvent removeThreat.noPlayer`). */
1044
+ readonly noPlayer?: true;
1045
+ } | {
1046
+ readonly type: "enemyActivated";
1047
+ readonly enemyInstanceId: InstanceId;
1048
+ readonly activation: "attack" | "scheme";
1049
+ readonly playerId: PlayerId;
1050
+ }
1051
+ /**
1052
+ * An enemy activation that did not begin because a `cannotActivate` rule covers the enemy (docs/phase7-wave6.md
1053
+ * §3.34): no `enemyActivated`, no boost card, no status card spent, no interrupt window.
1054
+ */
1055
+ | {
1056
+ readonly type: "activationBlocked";
1057
+ readonly enemyInstanceId: InstanceId;
1058
+ readonly activation: "attack" | "scheme";
1059
+ readonly playerId: PlayerId;
1060
+ }
1061
+ /** An initiated activation did nothing because the enemy's stat for it is printed "—" (`dashedStatSkipsActivation`). */
1062
+ | {
1063
+ readonly type: "activationSkipped";
1064
+ readonly enemyInstanceId: InstanceId;
1065
+ readonly activation: "attack" | "scheme";
1066
+ readonly reason: "dashedStat" | "leftPlay";
1067
+ }
1068
+ /**
1069
+ * An activation cancelled by a "Boost" ability of one of its own boost cards (`EffectSpec cancelBoostedActivation`)
1070
+ * has ended: no damage or threat, no further boost card turned faceup. `discardedBoostCards` are the enemy's boost
1071
+ * cards discarded with it, still facedown or the cancelling card itself (unless its ability moved it). Logged once
1072
+ * the cancelling ability has resolved, before the activation's `triggerEvent` "cancelled" line.
1073
+ */
1074
+ | {
1075
+ readonly type: "activationCancelled";
1076
+ readonly enemyInstanceId: InstanceId;
1077
+ readonly activation: "attack" | "scheme";
1078
+ readonly byInstanceId: InstanceId;
1079
+ readonly discardedBoostCards: readonly InstanceId[];
1080
+ }
1081
+ /**
1082
+ * A keyword's enemy activation (quickstrike's attack, teamwork's activation) was initiated while an ability was
1083
+ * resolving: its status check and its "when … attacks / schemes" interrupt window are done, and it now waits beneath
1084
+ * that ability's root frame `abilityFrameId` until the ability has finished, then resolves its steps
1085
+ * (`resolve/initiated-activation.ts`; FFG rulings 137 and 194). No `framePushed` or `framePopped` is logged for the
1086
+ * move: the frame never left the stack.
1087
+ */
1088
+ | {
1089
+ readonly type: "activationAwaitsAbility";
1090
+ readonly activationFrameId: FrameId;
1091
+ readonly abilityFrameId: FrameId;
1092
+ readonly enemyInstanceId: InstanceId;
1093
+ readonly activation: "attack" | "scheme";
1094
+ }
1095
+ /**
1096
+ * An "(attack)" ability's attack has dealt its own damage and now waits for the rest of its ability (RRG 1.8 "Attack
1097
+ * (Player Ability Type)", p. 10: the ability is a single attack; `resolve/attack-ability.ts`). From here until the
1098
+ * ability's last effect, damage it deals to enemies is this attack's, and the attack finishes after it: each enemy
1099
+ * attacked (retaliate), "after … attacks", "at the end of this attack".
1100
+ *
1101
+ * `begun`: the attack began with its ability, before the `attack` instruction that deals its damage (owner decision,
1102
+ * 2026-10-08, docs/phase7-wave8.md §4.1 row 73). It has dealt nothing yet and waits for that instruction, which is
1103
+ * logged as `attackResumed`; the attack then waits again (a second `attackAwaitsAbility`, without `begun`).
1104
+ */
1105
+ | {
1106
+ readonly type: "attackAwaitsAbility";
1107
+ readonly attackFrameId: FrameId;
1108
+ readonly abilityFrameId: FrameId;
1109
+ readonly attackerInstanceId: InstanceId;
1110
+ readonly begun?: true;
1111
+ }
1112
+ /**
1113
+ * The `attack` instruction of an "(attack)" ability took over the attack the ability began with (row 73,
1114
+ * `resumeBegunAttack` in `resolve/attack-ability.ts`): the same event frame `attackFrameId`, moved from beneath the
1115
+ * ability's root frame `abilityFrameId` back to the top of the stack at its damage step. No `framePushed` or
1116
+ * `framePopped` is logged for the move: the frame never left the stack. What the instruction gave the attack:
1117
+ * `targetInstanceId` (the character it deals its damage to: the enemy the instruction names, or the character the
1118
+ * attack's window moved it onto), `amount` (the instruction's amount, before what the window added to the attack),
1119
+ * `overkill` and `keywords` (the instruction's own).
1120
+ */
1121
+ | {
1122
+ readonly type: "attackResumed";
1123
+ readonly attackFrameId: FrameId;
1124
+ readonly abilityFrameId: FrameId;
1125
+ readonly attackerInstanceId: InstanceId;
1126
+ readonly targetInstanceId: InstanceId;
1127
+ readonly amount: number;
1128
+ readonly overkill: boolean;
1129
+ readonly keywords: readonly ("piercing" | "ranged" | "overkill")[];
1130
+ }
1131
+ /**
1132
+ * A damage instruction of an "(attack)" ability named an enemy its player's identity may not attack right now (a
1133
+ * guard minion engaged with that player and the villain, a `cannotAttack` rule), so that enemy is not attacked and is
1134
+ * dealt none of that instruction's damage (RRG 1.8 "Guard", p. 21; owner ruling Q49, docs/phase7-wave8.md §4.1,
1135
+ * narrowed 2026-11-15 by #525 item 6: only guard minions engaged when the attack was initiated count, still engaged
1136
+ * and with guard as that enemy would be attacked). The instruction's other
1137
+ * targets are dealt theirs. `sourceInstanceId`: the card whose ability it is.
1138
+ *
1139
+ * `reason: "attackCancelled"`: the enemy could be attacked, but the ability's attack was cancelled, so the
1140
+ * instruction's damage to it is not dealt (owner decision, 2026-10-08, docs/phase7-wave8.md §4.1 row 65; RRG 1.8
1141
+ * "Cancel", p. 11). Absent for an enemy that cannot be attacked.
1142
+ *
1143
+ * `reason: "attackRetargeted"`: the enemy could be attacked, but the ability's attack was moved onto one character
1144
+ * in its "when … attacks" window ("resolve this attack against [this minion] instead"), which is its only target
1145
+ * from then on (owner decision, docs/phase7-wave9.md §4.1 Q4 = A, provisional; `playerAttackRetargeted` names the
1146
+ * move). The enemy is not attacked and is dealt none of the attack's damage.
1147
+ */
1148
+ | {
1149
+ readonly type: "attackTargetSkipped";
1150
+ readonly attackerInstanceId: InstanceId;
1151
+ readonly targetInstanceId: InstanceId;
1152
+ readonly sourceInstanceId: InstanceId | null;
1153
+ readonly reason?: "attackCancelled" | "attackRetargeted";
1154
+ }
1155
+ /**
1156
+ * A player's attack ended before dealing damage because its attacker left play first (docs/phase7-wave4.md §4 Q20,
1157
+ * user decision 2026-09-25: Speed Demon's "(Resolve Speed Demon's attack first.)" defeating the attacking ally). No
1158
+ * damage is dealt and nothing hangs off it (no `characterAttacked`, so no retaliate).
1159
+ *
1160
+ * `targetLeftPlay`: a basic attack whose target left play first (RRG 1.8 "Consequential Damage", p. 13, its Iron Fist
1161
+ * example). The attacker is not considered to have attacked, and an ally takes no consequential damage.
1162
+ */
1163
+ | {
1164
+ readonly type: "playerAttackEnded";
1165
+ readonly attackerInstanceId: InstanceId;
1166
+ readonly targetInstanceId: InstanceId;
1167
+ readonly reason: "attackerLeftPlay" | "targetLeftPlay";
1168
+ }
1169
+ /**
1170
+ * A basic thwart ended before removing any threat because its scheme left play first (RRG 1.8 "Consequential
1171
+ * Damage", p. 13): the thwarter is not considered to have thwarted, and an ally takes no consequential damage.
1172
+ */
1173
+ | {
1174
+ readonly type: "playerThwartEnded";
1175
+ readonly thwarterInstanceId: InstanceId;
1176
+ readonly schemeInstanceId: InstanceId;
1177
+ readonly reason: "targetLeftPlay";
1178
+ }
1179
+ /**
1180
+ * `outsideActivation`: a card ability dealt this one, not the activation procedure ("give the villain 1 facedown
1181
+ * boost card"). RRG 1.8 "Boost, Boost Icon" (p. 11): it "remains facedown on that enemy until that enemy
1182
+ * activates", so it is expected *not* to be turned faceup in the villain phase it was dealt in.
1183
+ */
1184
+ | {
1185
+ readonly type: "boostCardDealt";
1186
+ readonly enemyInstanceId: InstanceId;
1187
+ readonly instanceId: InstanceId;
1188
+ readonly outsideActivation?: true;
1189
+ /** Held for the friendly holder's next basic power (`CardInstance.heldForBasicPowers`). */
1190
+ readonly forBasicPower?: true;
1191
+ }
1192
+ /**
1193
+ * An activation's boost cards were withheld by an interrupt to it ("Do not give Master Mold a boost card for this
1194
+ * activation", `modifyAttack.noBoost`, docs/phase7-wave6.md §3.15): its automatic boost card and any additional ones
1195
+ * were not dealt. Not logged for an activation an effect started with `boost: false` (its `triggerEvent` says so).
1196
+ */
1197
+ | {
1198
+ readonly type: "boostWithheld";
1199
+ readonly enemyInstanceId: InstanceId;
1200
+ readonly activation: "attack" | "scheme";
1201
+ }
1202
+ /**
1203
+ * A card effect counted the boost icons on `cardInstanceId` (`EffectSpec countBoostIcons`, one per card): "for each
1204
+ * boost icon discarded this way" can come to nothing, and only this says so (issue #627). It carries instances, not
1205
+ * card ids: Astral Projection counts a card that stays facedown on the deck, and this must not name it.
1206
+ */
1207
+ | {
1208
+ readonly type: "boostIconsCounted";
1209
+ readonly cardInstanceId: InstanceId;
1210
+ readonly count: number;
1211
+ /** The card whose icons were counted instead (`replaceBoostCount`). */
1212
+ readonly countedInstanceId?: InstanceId;
1213
+ /** `count` is not the card's own: an interrupt changed it (`adjustBoostCount`). */
1214
+ readonly adjusted?: true;
1215
+ /** An encounter card's effect made the count, so the log reads it as the villain's. */
1216
+ readonly byEncounter?: true;
1217
+ }
1218
+ /** A facedown boost card moved from one card to another (`moveBoostCards`, docs/phase7-wave5.md §3.6). */
1219
+ | {
1220
+ readonly type: "boostCardMoved";
1221
+ readonly instanceId: InstanceId;
1222
+ readonly fromInstanceId: InstanceId;
1223
+ readonly toInstanceId: InstanceId;
1224
+ }
1225
+ /** A boost card's icons, or its "Boost" ability, were cancelled (Attacrobatics, Target Acquired). */
1226
+ | {
1227
+ readonly type: "boostCancelled";
1228
+ readonly instanceId: InstanceId;
1229
+ readonly scope: "icons" | "ability" | "discarded";
1230
+ }
1231
+ /**
1232
+ * A boost card's icons and "Boost" ability are ignored (`RuleSpec ignoreBoost`, docs/phase7-wave7.md §3.67; RRG 1.8
1233
+ * "Ignore", p. 23): it is turned faceup and discarded as usual, adds 0 and resolves no ability. Not a cancel, so no
1234
+ * `boostCancelled` goes with it. Logged once per card, after its `boostCardFlipped` (whose `boostIcons` is then 0).
1235
+ */
1236
+ | {
1237
+ readonly type: "boostIgnored";
1238
+ readonly enemyInstanceId: InstanceId;
1239
+ readonly instanceId: InstanceId;
1240
+ /**
1241
+ * Only the card's "Boost" ability is ignored (`RuleSpec ignoreBoost` with `only: "abilities"`): its icons count
1242
+ * as usual, and its `boostCardFlipped` carries them.
1243
+ */
1244
+ readonly abilityOnly?: true;
1245
+ }
1246
+ /**
1247
+ * A boost card's count was multiplied (`RuleSpec boostIconsMultiplied`, "each boost icon counts twice"): `counted` is
1248
+ * what it would have added, `icons` what it adds. Logged at the count, before the card is discarded.
1249
+ */
1250
+ | {
1251
+ readonly type: "boostIconsMultiplied";
1252
+ readonly enemyInstanceId: InstanceId;
1253
+ readonly instanceId: InstanceId;
1254
+ readonly factor: number;
1255
+ readonly counted: number;
1256
+ readonly icons: number;
1257
+ } | {
1258
+ readonly type: "boostCardFlipped";
1259
+ readonly enemyInstanceId: InstanceId;
1260
+ readonly instanceId: InstanceId;
1261
+ readonly boostIcons: number;
1262
+ }
1263
+ /**
1264
+ * A villainous character that is not an enemy (an ally or a hero) turned its boost card faceup as one of its basic
1265
+ * powers resolved (RRG 1.8 "Villainous", p. 47; MC60 p. 26 FAQ; docs/phase7-wave11-scenarios.md §S3.7). `boostIcons`
1266
+ * is the card's count at the flip, amplify icons included (MC60 p. 4's updated Amplify text over RRG 1.8 p. 7, the
1267
+ * owner's decision of 2026-11-14; `resolve/villainous.ts`);
1268
+ * the icons go to `stat` for this use, and the card is discarded once its Boost ability has resolved. Not an enemy's
1269
+ * boost card, so never a `boostCardFlipped`.
1270
+ */
1271
+ | {
1272
+ readonly type: "characterBoostCardFlipped";
1273
+ readonly characterInstanceId: InstanceId;
1274
+ readonly instanceId: InstanceId;
1275
+ readonly power: BasicPowerName;
1276
+ readonly stat: StatName;
1277
+ readonly boostIcons: number;
1278
+ }
1279
+ /**
1280
+ * A character was declared the defender of an enemy attack (RRG 1.8 "Defend, Defense", p. 15). Without `byEffect`: the
1281
+ * Declare Defender step's own declaration (step 2 of the attack, p. 9), `playerId` the player who decided (the attacked
1282
+ * player, or the player already defending the attack: `defenseDecider`), the defender exhausted next. `byEffect`: a
1283
+ * card ability declared it ("declare [character] the defender [without exhausting them]", `EffectSpec
1284
+ * declareDefender`), `playerId` the defender's controller; the character is the attack's defender all the same (a
1285
+ * hero's is a basic defense, p. 15), and nothing else about the step is implied (no exhaustion unless the effect says
1286
+ * so). Logged once per declaration: an effect naming the character that already defends declares nothing new.
1287
+ */
1288
+ | {
1289
+ readonly type: "defenderDeclared";
1290
+ readonly attackInstanceId: InstanceId;
1291
+ readonly defenderInstanceId: InstanceId;
1292
+ readonly playerId: PlayerId;
1293
+ readonly byEffect?: true;
1294
+ /**
1295
+ * The step's declaration did not exhaust the defender: a rule has it defend without exhausting (`RuleSpec
1296
+ * defendsWithoutExhausting`, docs/phase7-wave9.md §3.47). No `cardExhausted` follows, and a defender that was
1297
+ * already exhausted stays so. Absent on every other declaration.
1298
+ */
1299
+ readonly withoutExhausting?: true;
1300
+ } | {
1301
+ readonly type: "defenseDeclined";
1302
+ readonly attackInstanceId: InstanceId;
1303
+ readonly playerId: PlayerId;
1304
+ }
1305
+ /** The declared defender left play before damage: the attack is undefended and targets that player's identity (RRG 1.8 p. 9 step 5). */
1306
+ | {
1307
+ readonly type: "defenderLeftPlay";
1308
+ readonly enemyInstanceId: InstanceId;
1309
+ readonly defenderInstanceId: InstanceId;
1310
+ readonly targetInstanceId: InstanceId;
1311
+ /**
1312
+ * The ally had been declared by a "(defense)" ability, so that player's hero becomes the defender instead of the
1313
+ * attack being undefended (RRG 1.8 FAQ "Mutant Protectors (#17)", p. 63): not a basic defense.
1314
+ */
1315
+ readonly heroDefends?: true;
1316
+ } | {
1317
+ readonly type: "attackResolved";
1318
+ readonly enemyInstanceId: InstanceId;
1319
+ readonly targetInstanceId: InstanceId;
1320
+ readonly baseAtk: number;
1321
+ readonly boostIcons: number;
1322
+ readonly defenseReduction: number;
1323
+ readonly damageDealt: number;
1324
+ /**
1325
+ * The enemy `damageDealt` goes to instead of the attacked character (`modifyAttack.damageTo`, Psychic
1326
+ * Misdirection; docs/phase7-wave6.md §3.36). Absent when the attack's damage goes to its target.
1327
+ */
1328
+ readonly damageTo?: InstanceId;
1329
+ /**
1330
+ * The scheme the attack removed threat from instead of dealing damage (`modifyAttack.removesThreatFrom`,
1331
+ * Determined Defense): `damageDealt` is then 0 and `threatInstead` is the amount the attack had calculated,
1332
+ * which a `thwart` or `removeThreat` event then takes off the scheme (less when a crisis icon or patrol stops it).
1333
+ */
1334
+ readonly removesThreatFrom?: InstanceId;
1335
+ readonly threatInstead?: number;
1336
+ }
1337
+ /**
1338
+ * An enemy attacked another enemy (`EffectSpec enemyAttacksEnemy`, docs/phase7-wave3.md §3.23): not an activation, so
1339
+ * no boost and no defense, and `damageDealt` is the attacker's ATK. `skipped` says why nothing was dealt: the
1340
+ * attacker or target left play before the attack resolved, a rule forbids the attack now, or the ATK is "—".
1341
+ */
1342
+ | {
1343
+ readonly type: "enemyAttackedEnemy";
1344
+ readonly attackerInstanceId: InstanceId;
1345
+ readonly targetInstanceId: InstanceId;
1346
+ readonly damageDealt: number;
1347
+ readonly skipped?: "leftPlay" | "cannotAttack" | "dashedStat";
1348
+ }
1349
+ /**
1350
+ * The scheme half of `attackResolved`: how an activation's threat total was arrived at, each term separately, so a
1351
+ * client can show "SCH 1 + 2 boost" rather than one number (RRG 1.8 "Scheme (Enemy Activation)", p. 39, and "Boost",
1352
+ * p. 11). `baseSch` already includes an `schBonus` on this activation; `threatBonus` is a change to the *threat*
1353
+ * rather than to SCH ("reduce the amount of threat placed … by 1"), which is why it is a separate term.
1354
+ * `threatPlaced` is what the following `threatPlaced` event carries, floored at 0.
1355
+ */
1356
+ | {
1357
+ readonly type: "schemeResolved";
1358
+ readonly enemyInstanceId: InstanceId;
1359
+ readonly schemeInstanceId: InstanceId;
1360
+ readonly baseSch: number;
1361
+ readonly boostIcons: number;
1362
+ readonly threatBonus: number;
1363
+ readonly threatPlaced: number;
1364
+ /**
1365
+ * The activation removed its total from the scheme instead of placing it (`modifyAttack.removesThreat`,
1366
+ * docs/phase7-wave6.md §3.35); `threatPlaced` is then 0 and a `removeThreat` event follows.
1367
+ */
1368
+ readonly removesThreat?: true;
1369
+ /**
1370
+ * Part of the total went on this card instead of on the main scheme (`EffectSpec enemyScheme.divert`,
1371
+ * docs/phase7-wave9.md §3.9): `threatPlaced` is the rest, what the main scheme's own `threatPlaced` event
1372
+ * carries, and this card's `threatPlaced` event comes first. Absent when nothing was diverted.
1373
+ */
1374
+ readonly diverted?: {
1375
+ readonly toInstanceId: InstanceId;
1376
+ readonly amount: number;
1377
+ };
1378
+ } | {
1379
+ readonly type: "characterDefeated";
1380
+ readonly instanceId: InstanceId;
1381
+ readonly cardId: CardId;
1382
+ /**
1383
+ * What the card was treated as while it was in play facedown (an Ultron Drone, `CardInstance.facedownAs`), absent
1384
+ * for a card that was faceup. Leaving play turns it faceup, so without this a reader of the state after the command
1385
+ * would name its earlier moments ("Drone attacks you") by the card underneath (#291).
1386
+ */
1387
+ readonly facedownAs?: FacedownRole;
1388
+ /**
1389
+ * An identity's defeat only: the card that defeated it, the source of the defeating damage or the card whose
1390
+ * ability says "defeat" (`TriggerEvent characterDefeated.sourceInstanceId`). Absent when nothing named one (damage
1391
+ * placed on it, a "cannot be defeated" rule ending), and always on an ally, minion or villain.
1392
+ */
1393
+ readonly sourceInstanceId?: InstanceId;
1394
+ /** An identity's defeat only: the defeating damage was an attack's (`TriggerEvent characterDefeated.fromAttack`). */
1395
+ readonly fromAttack?: true;
1396
+ /**
1397
+ * An identity's defeat only: `sourceInstanceId` was a villain or a minion as it defeated the hero, read then, since
1398
+ * a facedown Drone or a card treated as a minion is not one by its card, and the elimination can move it from play.
1399
+ */
1400
+ readonly sourceRole?: "villain" | "minion";
1401
+ } | {
1402
+ readonly type: "schemeDefeated";
1403
+ readonly instanceId: InstanceId;
1404
+ readonly cardId: CardId;
1405
+ }
1406
+ /**
1407
+ * A character kept in play at zero or fewer remaining hit points by a "cannot be defeated" rule is no longer under
1408
+ * one (the card granting it left play, its condition ended): the defeat sweep that follows defeats it by the game's
1409
+ * rule, with no defeating player and no defeating card (docs/phase7-wave7.md §3.34, §4.1 Q21).
1410
+ *
1411
+ * Also a side scheme kept in play at no threat by a `notDefeatedWithoutThreat` rule that stopped covering it
1412
+ * (docs/phase7-wave8.md §3.40): its `schemeDefeated` follows at once.
1413
+ */
1414
+ | {
1415
+ readonly type: "defeatProtectionEnded";
1416
+ readonly instanceId: InstanceId;
1417
+ readonly cardId: CardId;
1418
+ }
1419
+ /**
1420
+ * A damaged character's hit points fell to or below the damage on it with no damage dealt: a "gets +X hit points"
1421
+ * stopped applying (its card left play, its condition ended, the value it counts dropped). RRG 1.8 "Hit Points"
1422
+ * (p. 22) defeats it, so the defeat sweep follows, with no defeating player and no defeating card.
1423
+ */
1424
+ | {
1425
+ readonly type: "hitPointsFell";
1426
+ readonly instanceId: InstanceId;
1427
+ readonly cardId: CardId;
1428
+ readonly from: number;
1429
+ readonly to: number;
1430
+ readonly damage: number;
1431
+ }
1432
+ /**
1433
+ * An identity or villain that was not defeated at zero stood with more damage than its maximum hit points, and its
1434
+ * hit point dial reads zero (RRG 1.8 "Hit Points", p. 22; `settleDials`): `amount` damage past zero is not kept,
1435
+ * leaving `damage` on the card, its maximum hit points. The damage was dealt and taken in full where it was logged.
1436
+ */
1437
+ | {
1438
+ readonly type: "damageBeyondZeroLost";
1439
+ readonly instanceId: InstanceId;
1440
+ readonly cardId: CardId;
1441
+ readonly amount: number;
1442
+ readonly damage: number;
1443
+ }
1444
+ /**
1445
+ * A character in play had more sustained damage than a `maxSustainedDamage` cap now allows (the cap came back after a
1446
+ * blank, a [per_hero] amount fell, the card entered play over a damaged character): `amount` damage is removed,
1447
+ * leaving `damage`, the cap. Ruling October 10, 2025: "once Boarding Party's ability is back in effect, it
1448
+ * will immediately affect the amount of sustained damage Magneto has, possibly resulting in less damage on Magneto."
1449
+ * Not a heal: no `damageHealed`, nothing a "when healed" ability answers, and "cannot be healed" does not stop it.
1450
+ */
1451
+ | {
1452
+ readonly type: "damageAboveCapRemoved";
1453
+ readonly instanceId: InstanceId;
1454
+ readonly cardId: CardId;
1455
+ readonly amount: number;
1456
+ readonly damage: number;
1457
+ }
1458
+ /**
1459
+ * The card now showing faceup on top of `playerId`'s deck under a `topOfDeckFaceup` rule (docs/phase7-wave8.md
1460
+ * §3.48): logged when the rule turns on over a deck with a card in it, and each time the top card changes while it
1461
+ * holds (a draw, a discard, a swap, a shuffle, a deck reset, a card put on top), one card at a time. The card is
1462
+ * still in the deck and still `faceup: false`; this line is what tells a replay what every player knew.
1463
+ */
1464
+ | {
1465
+ readonly type: "deckTopShown";
1466
+ readonly playerId: PlayerId;
1467
+ readonly instanceId: InstanceId;
1468
+ readonly cardId: CardId;
1469
+ }
1470
+ /**
1471
+ * The top card of `playerId`'s deck, which was showing, is facedown again: the rule stopped holding (the other form,
1472
+ * a blank text box, a false `while`). Not logged when the shown card simply left an emptied deck: its own
1473
+ * `cardMoved` says so, and there is no card left to hide.
1474
+ */
1475
+ | {
1476
+ readonly type: "deckTopHidden";
1477
+ readonly playerId: PlayerId;
1478
+ }
1479
+ /**
1480
+ * The card now showing faceup on top of the encounter deck under a `topOfDeckFaceup { deck: "encounter" }` rule
1481
+ * (docs/phase7-wave9.md §3.42): logged when the rule turns on over a deck with a card in it (the player phase
1482
+ * begins, a change to hero form), and each time the top card changes while it holds (a discard, a card dealt or
1483
+ * given as a boost card, a shuffle, a deck reset, a card put on top, another villain becoming active), one card at a
1484
+ * time. The card is still in the deck and still `faceup: false`; this line is what tells a replay, and a client that
1485
+ * keeps what its player has seen, what every player knew (ruling, March 19, 2026 – Ruling 5: a card can be "facedown
1486
+ * but known").
1487
+ */
1488
+ | {
1489
+ readonly type: "encounterTopShown";
1490
+ readonly deckId: EncounterDeckId;
1491
+ readonly instanceId: InstanceId;
1492
+ readonly cardId: CardId;
1493
+ }
1494
+ /**
1495
+ * The top card of the encounter deck, which was showing, is facedown again: the rule stopped holding (the villain
1496
+ * phase began, the other form, a blank text box). Not logged when the shown card left an emptied deck: its own
1497
+ * `cardMoved` says so.
1498
+ */
1499
+ | {
1500
+ readonly type: "encounterTopHidden";
1501
+ readonly deckId: EncounterDeckId;
1502
+ } | {
1503
+ readonly type: "villainStageAdvanced";
1504
+ readonly stageIndex: number;
1505
+ readonly instanceId: InstanceId;
1506
+ }
1507
+ /**
1508
+ * An ability that had triggered did not resolve because a rule in effect ignores it (`RuleSpec ignoreAbilities`;
1509
+ * docs/phase7-wave8.md §3.21). An ignored ability that never triggered logs nothing: it is not there to trigger.
1510
+ */
1511
+ | {
1512
+ readonly type: "abilityIgnored";
1513
+ readonly instanceId: InstanceId;
1514
+ readonly abilityId: AbilityId;
1515
+ }
1516
+ /**
1517
+ * A ranged attack ignored the attacked character's retaliate (RRG 1.8 "Ranged", p. 36; "Retaliate X", p. 38), where
1518
+ * retaliate would otherwise have dealt `amount` damage to the attacker. Logged so the player sees why no retaliate
1519
+ * damage followed, above all when the attack only gained ranged partway through (a boost card attaching Red Skull's
1520
+ * Luger; issue #623). An attacker or target no longer in play, or a character with no retaliate, logs nothing.
1521
+ */
1522
+ | {
1523
+ readonly type: "retaliateIgnoredByRanged";
1524
+ readonly attackerInstanceId: InstanceId;
1525
+ readonly targetInstanceId: InstanceId;
1526
+ readonly amount: number;
1527
+ }
1528
+ /**
1529
+ * A villain's next stage was revealed with no defeat (`EffectSpec revealNextVillainStage`; docs/phase7-wave8.md
1530
+ * §3.18): it is now at `stageIndex`, the printed stage `toStageNumber`, at full hit points with everything on it
1531
+ * kept. A stage reached by defeating the one before it is `villainStageAdvanced` and never this.
1532
+ */
1533
+ | {
1534
+ readonly type: "villainStageRevealed";
1535
+ readonly instanceId: InstanceId;
1536
+ readonly stageIndex: number;
1537
+ readonly fromStageNumber: number;
1538
+ readonly toStageNumber: number;
1539
+ readonly cause: "effect";
1540
+ }
1541
+ /** A villain turned to its other face on the same stage (Green Goblin insert, "When the Villain Changes Form"). */
1542
+ | {
1543
+ readonly type: "villainFlipped";
1544
+ readonly instanceId: InstanceId;
1545
+ readonly from: VillainSideLetter;
1546
+ readonly to: VillainSideLetter;
1547
+ /**
1548
+ * Present (true) when one of the two faces prints ∞ hit points, so the flip set the dial to the new face's hit
1549
+ * points instead of keeping the damage (docs/phase7-wave3.md §3.1). Absent on every other flip, whose log is
1550
+ * unchanged.
1551
+ */
1552
+ readonly hitPointsReset?: true;
1553
+ }
1554
+ /**
1555
+ * The face a villain is put into play on was set (`EffectSpec setVillainSide`, docs/phase7-wave11-scenarios.md
1556
+ * §S3.4): `to` is the face up from now on, `from` the one before (the same when the draw landed on it). `random`: the
1557
+ * face was drawn from the game's RNG. Not a flip: nothing answers it as one.
1558
+ */
1559
+ | {
1560
+ readonly type: "villainSideSet";
1561
+ readonly instanceId: InstanceId;
1562
+ readonly from: VillainSideLetter;
1563
+ readonly to: VillainSideLetter;
1564
+ readonly random: boolean;
1565
+ }
1566
+ /**
1567
+ * A card whose other face is a card of its own turned over (`otherFaceId`, docs/phase7-wave4.md §3.10). `typeChanged`:
1568
+ * the new face is another card type, so its attachments, tucked cards, status cards and tokens were discarded.
1569
+ * `keptCounters`: the counters it held through that change of type, by type (`flipCard.keepCounters`,
1570
+ * docs/phase7-wave9.md §3.26); absent when it kept none.
1571
+ */
1572
+ | {
1573
+ readonly type: "cardFlippedToOtherFace";
1574
+ readonly instanceId: InstanceId;
1575
+ readonly from: CardId;
1576
+ readonly to: CardId;
1577
+ readonly typeChanged: boolean;
1578
+ readonly keptCounters?: Readonly<Record<string, number>>;
1579
+ }
1580
+ /** A player's ability tried to discard a card a `playersCannotDiscard` rule protects (docs/phase7-wave4.md §3.44). */
1581
+ | {
1582
+ readonly type: "discardRefused";
1583
+ readonly instanceId: InstanceId;
1584
+ }
1585
+ /**
1586
+ * A card being set aside from a player's zone went to scenario area `area` instead, by the `setAsideDestination` rule
1587
+ * of `sourceInstanceId` (Damnation, community pack `mephisto-nep`).
1588
+ */
1589
+ | {
1590
+ readonly type: "setAsideRedirected";
1591
+ readonly instanceId: InstanceId;
1592
+ readonly area: string;
1593
+ readonly sourceInstanceId: InstanceId | null;
1594
+ }
1595
+ /** An ally started (`as: "minion"`) or stopped (`as: null`) being treated as a minion (docs/phase7-wave4.md §3.9). */
1596
+ /** A resource ability used in a payment put its own effects on the stack (docs/phase7-wave4.md §3.30). */
1597
+ | {
1598
+ readonly type: "resourceAbilityEffects";
1599
+ readonly instanceId: InstanceId;
1600
+ readonly abilityId: AbilityId;
1601
+ readonly playerId: PlayerId;
1602
+ }
1603
+ /** A pending consequential damage event's amount was changed before it applied (`modifyConsequentialDamage`). */
1604
+ | {
1605
+ readonly type: "consequentialDamageModified";
1606
+ readonly instanceId: InstanceId;
1607
+ readonly from: number;
1608
+ readonly to: number;
1609
+ } | {
1610
+ readonly type: "treatedAsChanged";
1611
+ readonly instanceId: InstanceId;
1612
+ readonly as: "minion" | "ally" | null;
1613
+ }
1614
+ /** A double-sided encounter card turned over; `flipped` is true when its other face is now up. */
1615
+ | {
1616
+ readonly type: "cardFlipped";
1617
+ readonly instanceId: InstanceId;
1618
+ readonly flipped: boolean;
1619
+ }
1620
+ /**
1621
+ * A double-sided card entered play with its other face up (`EffectSpec putIntoPlay.otherFace`,
1622
+ * docs/phase7-wave11-scenarios.md §S3.15): the face it starts on, not a flip, so nothing answers it as one.
1623
+ * `playerId`: the player the entry is attributed to.
1624
+ */
1625
+ | {
1626
+ readonly type: "cardEnteredOnOtherFace";
1627
+ readonly instanceId: InstanceId;
1628
+ readonly playerId: PlayerId;
1629
+ }
1630
+ /** The active counter moved (The Wrecking Crew insert, "The Active Villain"). */
1631
+ | {
1632
+ readonly type: "activeVillainChanged";
1633
+ readonly from: InstanceId;
1634
+ readonly to: InstanceId;
1635
+ /** `focusedScheme`: the villain of the main scheme Focused Defense is attached to (docs/phase7-wave4.md §3.2). */
1636
+ /** `nextInRow`: one place along `GameState.villainRow` from the villain that held it (wave 8 §3.7). */
1637
+ readonly reason: "effect" | "activeVillainDefeated" | "focusedScheme" | "activationOrder" | "noActiveVillain" | "nextInRow";
1638
+ }
1639
+ /**
1640
+ * The villains were laid out in a row, left to right (`GameState.villainRow`; `addVillain` with `row: "shuffled"`,
1641
+ * docs/phase7-wave8.md §3.7). `order` is the whole row as the seeded RNG shuffled it, so a replay of the log rebuilds
1642
+ * it without the RNG; the leftmost holds the active counter (an `activeVillainChanged` follows when that moved it).
1643
+ */
1644
+ | {
1645
+ readonly type: "villainRowSet";
1646
+ readonly order: readonly InstanceId[];
1647
+ }
1648
+ /** `schemeInstanceId` only for a separate game area's own stage (docs/phase7-wave2.md §3.1); absent is the central one. */
1649
+ | {
1650
+ readonly type: "mainSchemeCompleted";
1651
+ readonly stageIndex: number;
1652
+ readonly schemeInstanceId?: InstanceId;
1653
+ } | {
1654
+ readonly type: "mainSchemeAdvanced";
1655
+ readonly stageIndex: number;
1656
+ readonly schemeInstanceId?: InstanceId;
1657
+ /** What advanced it (`MainSchemeState.advancedBy`, docs/phase7-wave7.md §3.12); absent only in an older log. */
1658
+ readonly advancedBy?: MainSchemeAdvancedBy;
1659
+ } | {
1660
+ readonly type: "encounterCardRevealed";
1661
+ readonly instanceId: InstanceId;
1662
+ readonly cardId: CardId;
1663
+ readonly playerId: PlayerId;
1664
+ }
1665
+ /**
1666
+ * Two cards exchanged locations (`EffectSpec swapCards`, RRG 1.8 "'Swap'", p. 42; docs/phase7-wave6.md §3.47). `how`:
1667
+ * `leftAndEntered` (different titles: `outgoing` left play, `incoming` entered play, ready), `sameTitle` (neither left
1668
+ * or entered play; the in-play instance kept its state and took the other's card, so `incoming` names the instance now
1669
+ * out of play holding the old card), `outOfPlay` (neither was in play). `cardIds` are the two cards' ids as they were.
1670
+ */
1671
+ | {
1672
+ readonly type: "cardsSwapped";
1673
+ readonly how: "leftAndEntered" | "sameTitle" | "outOfPlay";
1674
+ readonly outgoing: InstanceId;
1675
+ readonly incoming: InstanceId;
1676
+ readonly cardIds: readonly [CardId, CardId];
1677
+ }
1678
+ /**
1679
+ * A main scheme in play was swapped with a set-aside one (`EffectSpec swapCards`, `resolve/swap-main-scheme.ts`;
1680
+ * docs/phase7-wave11-scenarios.md §S3.2; RRG 1.8 "'Swap'", p. 42): `incoming` took `outgoing`'s main scheme slot and
1681
+ * `playArea` (null: the villain's play area), at its first stage with the B side faceup and no threat, and `outgoing`
1682
+ * took `incoming`'s place in the set-aside area, its attachments discarded (logged before this) and its tokens gone.
1683
+ * `threat`: what was on `outgoing`; a `placePreviousThreat` places it on `incoming` next. `cardIds`: [old, new].
1684
+ */
1685
+ | {
1686
+ readonly type: "mainSchemeSwapped";
1687
+ readonly outgoing: InstanceId;
1688
+ readonly incoming: InstanceId;
1689
+ readonly cardIds: readonly [CardId, CardId];
1690
+ readonly playArea: PlayerId | null;
1691
+ readonly threat: number;
1692
+ }
1693
+ /**
1694
+ * A "find" found this card (`EffectSpec findCard`, RRG 1.8 "Find", p. 19; docs/phase7-wave6.md §3.48), logged before
1695
+ * it moves. `from`: where it was (absent for a villain or main scheme, which have no zone). `alreadyThere`: it was at
1696
+ * the destination already, so it stays as it is. `deckShuffled`: it was in a deck, so each deck searched for it is
1697
+ * shuffled after the move (RRG 1.8 "Search", p. 39); one `deckShuffled` per deck follows. A fixed-order separate deck
1698
+ * (`SeparateDeckState.fixedOrder`, docs/phase7-wave11.md §3.1) is searched without a shuffle and logs none. A find
1699
+ * that found nothing logs no `cardFound`, only the `deckShuffled` of each shuffled deck it searched
1700
+ * (docs/phase7-wave6.md §4.1 Q77). For a "find X and
1701
+ * reveal it" (`revealCard` of a `find` ref, docs/phase7-wave8.md §3.1) `alreadyThere` reads "already in play": the
1702
+ * card is revealed where it is and does not enter play.
1703
+ */
1704
+ | {
1705
+ readonly type: "cardFound";
1706
+ readonly instanceId: InstanceId;
1707
+ readonly cardId: CardId;
1708
+ readonly from?: ZoneId;
1709
+ readonly alreadyThere: boolean;
1710
+ readonly deckShuffled: boolean;
1711
+ }
1712
+ /**
1713
+ * A facedown encounter card dealt to `fromPlayerId` was passed to `toPlayerId` (`EffectSpec passEncounterCard`,
1714
+ * docs/phase7-wave8.md §3.75), logged after its `cardMoved`: it is at the back of `toPlayerId`'s queue, still
1715
+ * facedown, and that player reveals it. The card's identity is not on this line (it is facedown).
1716
+ */
1717
+ | {
1718
+ readonly type: "encounterCardPassed";
1719
+ readonly instanceId: InstanceId;
1720
+ readonly fromPlayerId: PlayerId;
1721
+ readonly toPlayerId: PlayerId;
1722
+ }
1723
+ /**
1724
+ * A card found faceup in play was revealed where it is ("find X and reveal it", RRG 1.8 "Find", p. 19;
1725
+ * docs/phase7-wave8.md §3.1), logged at the reveal's placement step, after its `encounterCardRevealed`: it does not
1726
+ * enter play, so no `cardEntersPlay` follows and a side scheme gains no starting threat. `engaged`: a minion that
1727
+ * engaged `playerId` by it (a `cardMoved` to their play area precedes this when it changed play areas); false for a
1728
+ * minion already engaged with them and for every other card type, which stays where it is. A reveal whose effects
1729
+ * were cancelled logs none.
1730
+ */
1731
+ | {
1732
+ readonly type: "revealedInPlay";
1733
+ readonly instanceId: InstanceId;
1734
+ readonly cardId: CardId;
1735
+ readonly playerId: PlayerId;
1736
+ readonly engaged: boolean;
1737
+ }
1738
+ /**
1739
+ * Every engaged minion changed players at once (`EffectSpec rotateEngagement`, docs/phase7-wave9.md §3.24), logged
1740
+ * once after the `cardMoved` of each: `moves` in the order the engagements then resolve (the first player's new
1741
+ * minions first, then each next player's in player order). Not logged when nothing moved.
1742
+ */
1743
+ | {
1744
+ readonly type: "engagementRotated";
1745
+ readonly moves: readonly {
1746
+ readonly instanceId: InstanceId;
1747
+ readonly from: PlayerId;
1748
+ readonly to: PlayerId;
1749
+ }[];
1750
+ }
1751
+ /**
1752
+ * A minion is now held by an environment (`EffectSpec attach` with `as: "heldMinion"`; `isHeldMinion`,
1753
+ * docs/phase7-wave9.md §3.21; MC50 p. 15), logged after the `cardMoved` that put it on `hostInstanceId`.
1754
+ * `engagedBefore`: the player it was engaged with, null for one that entered play by it or was engaged with nobody.
1755
+ * Its release has no event of its own: the `cardMoved` off the host is the whole of it.
1756
+ */
1757
+ | {
1758
+ readonly type: "minionHeld";
1759
+ readonly instanceId: InstanceId;
1760
+ readonly hostInstanceId: InstanceId;
1761
+ readonly engagedBefore: PlayerId | null;
1762
+ }
1763
+ /**
1764
+ * A swap that could not be completed (RRG 1.8 "'Swap'", p. 42): `missingCard` (a ref named no card, or both the same
1765
+ * one), `bothInPlay` (no card swaps two cards in play; not built), `cannotLeavePlay` (the in-play card is permanent and
1766
+ * this ability is not of its set, or cannot leave play), `unsupported` (an identity or villain: `swapIdentity`,
1767
+ * `swapVillain`), `unique` (the incoming card would break the unique rule), `cannotEnterPlay` (a `RuleSpec
1768
+ * cannotEnterPlay` names the incoming card).
1769
+ */
1770
+ | {
1771
+ readonly type: "swapRefused";
1772
+ readonly reason: "missingCard" | "bothInPlay" | "cannotLeavePlay" | "unsupported" | "unique" | "cannotEnterPlay";
1773
+ readonly instanceIds: readonly InstanceId[];
1774
+ }
1775
+ /** An empty separate deck took its discard pile back and was shuffled, with no penalty (`resetSeparateDeckIfEmpty`). */
1776
+ | {
1777
+ readonly type: "separateDeckReset";
1778
+ readonly playerId: PlayerId;
1779
+ readonly name: string;
1780
+ }
1781
+ /**
1782
+ * A revealed attachment with no "attach to" text that its own When Revealed did not attach is discarded: it never
1783
+ * entered play (RRG 1.8 "Attach To", p. 8: "If such a card cannot remain in its prior state or game area, discard
1784
+ * it"). For a Labor card, RRG 1.8 FAQ "Hercules Hero Pack – Labor Cards" (p. 65): "Q: What happens if a labor card
1785
+ * fails to find a target when it is revealed? A: That Labor card is discarded." Logged before the move, which for a
1786
+ * Labor card ends on the bottom of the Labor deck (`returnedToSeparateDeck` follows; same FAQ, and ruling March 6,
1787
+ * 2026 – Ruling 3 (2)); `playerId` is the player who revealed it. The discard is this log entry: no ability
1788
+ * trigger answers the discard of a revealed card that is not in play (a treachery's included).
1789
+ */
1790
+ | {
1791
+ readonly type: "revealedCardDiscarded";
1792
+ readonly instanceId: InstanceId;
1793
+ readonly cardId: CardId;
1794
+ readonly playerId: PlayerId;
1795
+ readonly reason: "notAttached";
1796
+ }
1797
+ /**
1798
+ * A card of a separate deck with no discard pile (Storm's Weather deck) would have gone to `instead` (a discard pile,
1799
+ * a hand or another deck) and went back into its own deck, facedown (`noDiscardPileDeckFor`, docs/phase7-wave6.md
1800
+ * §3.46, §4.1 Q26). Logged before the move. A deck's returned card goes to its bottom, so a Labor card that leaves
1801
+ * play other than to the victory display is placed "on the bottom of the Labor deck" (RRG 1.8 FAQ, p. 65).
1802
+ *
1803
+ * `replaced`: a card leaving play that an interrupt sent to the bottom of its owner's separate deck instead
1804
+ * (`EffectSpec replaceLeaveDestination { to: { separateDeck } }`, docs/phase7-wave11.md §3.3), whatever deck it came
1805
+ * from; logged as it moves, with `instead` where it was going when the replacement resolved.
1806
+ */
1807
+ | {
1808
+ readonly type: "returnedToSeparateDeck";
1809
+ readonly instanceId: InstanceId;
1810
+ readonly cardId: CardId;
1811
+ readonly playerId: PlayerId;
1812
+ readonly name: string;
1813
+ readonly instead: ZoneId["kind"];
1814
+ readonly replaced?: true;
1815
+ }
1816
+ /** `schemeInstanceId` is present only when the token went somewhere other than the central main scheme (§10.3). */
1817
+ | {
1818
+ readonly type: "accelerationTokenAdded";
1819
+ readonly total: number;
1820
+ readonly schemeInstanceId?: InstanceId;
1821
+ }
1822
+ /** "Place it here instead" (`accelerationTokenDestination`; The Master of Time 2B). */
1823
+ | {
1824
+ readonly type: "accelerationTokenRedirected";
1825
+ readonly from: InstanceId;
1826
+ readonly to: InstanceId;
1827
+ }
1828
+ /** `grantAdditionalMulligans` (docs/phase7-wave5.md §3.27): the player's extra mulligans now total `extraMulligans`. */
1829
+ | {
1830
+ readonly type: "additionalMulligansGranted";
1831
+ readonly playerId: PlayerId;
1832
+ readonly extraMulligans: number;
1833
+ }
1834
+ /**
1835
+ * `countTowardStartingHand` (docs/phase7-wave8.md §3.44): `amount` more cards the player already holds count toward
1836
+ * their starting hand, `credit` in all.
1837
+ */
1838
+ | {
1839
+ readonly type: "startingHandCredited";
1840
+ readonly playerId: PlayerId;
1841
+ readonly amount: number;
1842
+ readonly credit: number;
1843
+ }
1844
+ /**
1845
+ * The starting draw (RRG 1.8 Appendix II step 14, p. 51) of a player with a credit: of a hand size of `handSize`,
1846
+ * `credit` cards were already counted, so `drawn` were drawn (never below 0). The credit is cleared. Logged before
1847
+ * the draw's own `cardDrawn` events, and only for a player who had a credit.
1848
+ */
1849
+ | {
1850
+ readonly type: "startingHandCreditApplied";
1851
+ readonly playerId: PlayerId;
1852
+ readonly handSize: number;
1853
+ readonly credit: number;
1854
+ readonly drawn: number;
1855
+ }
1856
+ /**
1857
+ * RRG 1.8 "End of Player Phase" (p. 18) step 2: `playerId` drew `drawn` cards to refill to `handSize`, read once the
1858
+ * drawing stopped. Logged for every player still in the game, a full hand (`drawn: 0`) too, so a small hand size
1859
+ * (Iron Man's 1 with no Tech upgrades) does not read as a missed draw (issue #150).
1860
+ */
1861
+ | {
1862
+ readonly type: "handRefilled";
1863
+ readonly playerId: PlayerId;
1864
+ readonly drawn: number;
1865
+ readonly handSize: number;
1866
+ } | {
1867
+ readonly type: "playerEliminated";
1868
+ readonly playerId: PlayerId;
1869
+ }
1870
+ /**
1871
+ * `EffectSpec sitOutScenario` during setup, after that player's `playerEliminated`: the player never started the
1872
+ * scenario, and `startingPlayerCount` is the count every per player value reads from now on.
1873
+ */
1874
+ | {
1875
+ readonly type: "playerSatOut";
1876
+ readonly playerId: PlayerId;
1877
+ readonly startingPlayerCount: number;
1878
+ } | {
1879
+ readonly type: "firstPlayerChanged";
1880
+ readonly playerId: PlayerId;
1881
+ } | {
1882
+ readonly type: "choiceRequested";
1883
+ readonly choice: PendingChoice;
1884
+ } | {
1885
+ readonly type: "choiceResolved";
1886
+ readonly choiceId: ChoiceId;
1887
+ readonly playerId: PlayerId;
1888
+ readonly selectedOptionIds: readonly string[];
1889
+ /** The answered choice's `PendingChoice.onBehalfOf`: `playerId` chose this for the enemy team (MC56 p. 6). */
1890
+ readonly onBehalfOf?: ChoiceBehalf;
1891
+ } | {
1892
+ readonly type: "framePushed";
1893
+ readonly frameId: FrameId;
1894
+ readonly frame: StackFrameKind;
1895
+ readonly description: string;
1896
+ } | {
1897
+ readonly type: "framePopped";
1898
+ readonly frameId: FrameId;
1899
+ readonly frame: StackFrameKind;
1900
+ } | {
1901
+ readonly type: "triggerEvent";
1902
+ readonly event: TriggerEvent;
1903
+ readonly phase: "initiated" | "resolved" | "cancelled";
1904
+ }
1905
+ /**
1906
+ * A tough status card will prevent this damage, so the interrupts waiting on it get no window (docs/phase7-wave3.md
1907
+ * §3.12). Logged only when some interrupt was waiting.
1908
+ */
1909
+ | {
1910
+ readonly type: "interruptsPreempted";
1911
+ readonly event: TriggerEvent;
1912
+ readonly reason: "tough";
1913
+ }
1914
+ /**
1915
+ * An optional interrupt or response on a player's card in play answered `event` but was not offered: it has no valid
1916
+ * target (`noTarget`) or its cost cannot be paid (`cannotPay`; RRG 1.8 "Initiating Abilities", p. 24, step 2). Said
1917
+ * so the client can tell its player why nothing was asked (#431; `unofferedAbilities`). It changes nothing.
1918
+ */
1919
+ | {
1920
+ readonly type: "abilityNotOffered";
1921
+ readonly instanceId: InstanceId;
1922
+ readonly abilityId: AbilityId;
1923
+ readonly playerId: PlayerId;
1924
+ readonly timing: "interrupt" | "response";
1925
+ readonly reason: "noTarget" | "cannotPay";
1926
+ readonly event: TriggerEvent;
1927
+ }
1928
+ /**
1929
+ * An interrupt that was to resolve (a forced one, or one a player picked) for damage that would be taken did not:
1930
+ * an interrupt that resolved before it changed the pending amount, and `event`, the damage as it now stands, no
1931
+ * longer meets this ability's triggering condition (RRG 1.8 "Interrupt", p. 25: "further interrupts to the original
1932
+ * triggering condition cannot be triggered"). The ability did not initiate: no cost was paid and no effect resolved.
1933
+ */
1934
+ | {
1935
+ readonly type: "interruptConditionLapsed";
1936
+ readonly instanceId: InstanceId;
1937
+ readonly abilityId: AbilityId;
1938
+ readonly event: TriggerEvent;
1939
+ } | {
1940
+ readonly type: "windowOpened";
1941
+ readonly event: TriggerEvent;
1942
+ /** The other triggering conditions sharing this window (`Frame<"window">.alsoEvents`, RRG 1.8 p. 45), if any. */
1943
+ readonly alsoEvents?: readonly TriggerEvent[];
1944
+ readonly timing: WindowTiming;
1945
+ /** The "would" interrupts' earlier tier of this window (`trigger.would`, RRG 1.8 "'Would'", p. 48). */
1946
+ readonly would?: true;
1947
+ readonly candidates: readonly {
1948
+ readonly instanceId: InstanceId;
1949
+ readonly abilityId: AbilityId;
1950
+ readonly forced: boolean;
1951
+ }[];
1952
+ }
1953
+ /**
1954
+ * A script raised a named moment (`EffectSpec raiseMoment`, docs/phase7-wave8.md §3.39), for `playerId` as "you".
1955
+ * Logged whether or not any ability answers it; when one could, a `triggerEvent` of kind `momentRaised` follows.
1956
+ * `carried` / `carriedVars`: what `raiseMoment.carry` stamped on it (§3.71), absent when it carried nothing.
1957
+ */
1958
+ | {
1959
+ readonly type: "momentRaised";
1960
+ readonly name: string;
1961
+ readonly playerId: PlayerId;
1962
+ readonly sourceInstanceId: InstanceId | null;
1963
+ readonly carried?: Readonly<Record<string, readonly InstanceId[]>>;
1964
+ readonly carriedVars?: Readonly<Record<string, number>>;
1965
+ }
1966
+ /**
1967
+ * The last player's turn ended while these "Forced Action" abilities could still be triggered (they became
1968
+ * outstanding after their player's turn), so the player phase waits: each is put to its player, in player order,
1969
+ * before the end-of-phase steps (docs/phase7-wave9.md §3.53; RRG 1.8 "Action", p. 6).
1970
+ */
1971
+ /**
1972
+ * The other faces of these double-sided cards are hidden from every player until each flips (`EffectSpec
1973
+ * attach.hideReverse`, `CardInstance.reverseHidden`; docs/phase7-wave9.md §3.54). They share one front and were
1974
+ * shuffled among themselves first; the event names the instances and nothing of what each one is.
1975
+ */
1976
+ | {
1977
+ readonly type: "reversesHidden";
1978
+ readonly instanceIds: readonly InstanceId[];
1979
+ } | {
1980
+ readonly type: "forcedActionsRequired";
1981
+ readonly actions: readonly {
1982
+ readonly playerId: PlayerId;
1983
+ readonly instanceId: InstanceId;
1984
+ readonly abilityId: AbilityId;
1985
+ }[];
1986
+ } | {
1987
+ readonly type: "abilityResolved";
1988
+ readonly instanceId: InstanceId;
1989
+ readonly abilityId: AbilityId;
1990
+ readonly controllerId: PlayerId | null;
1991
+ /** The ability is a "Forced Action" (`AbilityTriggerSpec action.forced`; docs/phase7-wave9.md §3.53). */
1992
+ readonly forced?: true;
1993
+ /**
1994
+ * On an ability `instanceId` gained from another card's rule (`RuleSpec grantsLabeledAbility`;
1995
+ * docs/phase7-wave9.md §3.3): the granting card, whose text the ability is. Absent on a card's own ability.
1996
+ */
1997
+ readonly grantedByInstanceId?: InstanceId;
1998
+ } | {
1999
+ readonly type: "abilityUseRecorded";
2000
+ readonly instanceId: InstanceId;
2001
+ readonly abilityId: AbilityId;
2002
+ readonly uses: number;
2003
+ } | {
2004
+ readonly type: "targetChosen";
2005
+ readonly slot: string;
2006
+ readonly instanceIds: readonly InstanceId[];
2007
+ }
2008
+ /** `EffectSpec lookAt`: `playerId` looked at these cards (RRG 1.8 "Look, Looked-At", p. 27); nothing moved. */
2009
+ | {
2010
+ readonly type: "cardsLookedAt";
2011
+ readonly playerId: PlayerId;
2012
+ readonly instanceIds: readonly InstanceId[];
2013
+ }
2014
+ /**
2015
+ * `EffectSpec lookAt` with `rearrange` (docs/phase7-wave9.md §3.12): `playerId` put the cards they looked at back
2016
+ * over the positions those cards held. `instanceIds[i]` is the card now at `positions[i]`; `moved` is how many are
2017
+ * somewhere new (0: nothing was swapped). Each card that changed zones has its own `cardMoved` before this. No card
2018
+ * id is on this line: the cards are facedown before and after, and which face is where is only for a viewer the
2019
+ * rules let look (`faceVisible`).
2020
+ */
2021
+ | {
2022
+ readonly type: "cardsRearranged";
2023
+ readonly playerId: PlayerId;
2024
+ readonly positions: readonly CardPosition[];
2025
+ readonly instanceIds: readonly InstanceId[];
2026
+ readonly moved: number;
2027
+ }
2028
+ /**
2029
+ * A required choice found nothing to choose (RRG 1.8 "Choose (Game Element)", p. 12), so the text before a "then"
2030
+ * did not fully resolve: `thenSkipped` follows for each "then" it gates.
2031
+ */
2032
+ | {
2033
+ readonly type: "choiceFoundNothing";
2034
+ readonly slot: string;
2035
+ /**
2036
+ * Which effect found nothing: a `chooseTarget` reads only cards in play, a `chooseCards` may read hands (another
2037
+ * seat's, which the client's Undo must not let a player learn and take back).
2038
+ */
2039
+ readonly choice: "chooseTarget" | "chooseCards";
2040
+ }
2041
+ /**
2042
+ * An optional search (`isOptionalSearch`: a `chooseCards` with `min` 0 among a deck's cards, "may search your deck
2043
+ * and discard pile for X") found no card `playerId` could take, so there was nothing to choose and the search passed.
2044
+ * Logged so the player is told rather than the step passing silently (owner decision 2026-11-08). Nothing about the
2045
+ * deck's contents beyond "no valid card" is carried. A required search that finds nothing logs
2046
+ * `preThenUnresolved { cause: "searchFoundNothing" }` instead.
2047
+ */
2048
+ | {
2049
+ readonly type: "searchFoundNothing";
2050
+ readonly playerId: PlayerId;
2051
+ readonly slot: string;
2052
+ }
2053
+ /**
2054
+ * The text before a "then" did not fully resolve for a reason other than a required choice finding nothing
2055
+ * (`PreThenFailure`; `resolve/then.ts`). `thenSkipped` follows for each "then" it gates. `instanceId`: the card the
2056
+ * failed part was about, where there is one (the enemy that did not attack, the card whose reveal was cancelled).
2057
+ */
2058
+ | {
2059
+ readonly type: "preThenUnresolved";
2060
+ readonly cause: PreThenFailure;
2061
+ readonly instanceId?: InstanceId;
2062
+ }
2063
+ /** RRG 1.8 "'Then'" (p. 44): the pre-"then" text did not fully resolve, so the post-"then" text was skipped. */
2064
+ | {
2065
+ readonly type: "thenSkipped";
2066
+ }
2067
+ /**
2068
+ * A payment spent cards from a hand (`payPayment`: a play's, an ability's, a basic power's, a form change's, or one an
2069
+ * effect or a prompt asked for), logged once after its spending: each card, the player who spent it (the hand it was
2070
+ * in, or the payer for a tucked card spent as if in hand) and the resources it generated as the payment priced it
2071
+ * (`handCardResources`: a doubling or a conversion counted). A card's own "when you spend this card" resource ability
2072
+ * logs its own `resourcesGenerated` besides. `payingForInstanceId`: the card paid for, as the payment read it, else
2073
+ * null. Not logged for a payment of resource abilities in play alone.
2074
+ */
2075
+ | {
2076
+ readonly type: "paymentCommitted";
2077
+ readonly playerId: PlayerId;
2078
+ readonly payingForInstanceId: InstanceId | null;
2079
+ readonly fromHand: readonly {
2080
+ readonly instanceId: InstanceId;
2081
+ readonly cardId: CardId;
2082
+ readonly spenderId: PlayerId;
2083
+ readonly resources: ResourcePool;
2084
+ }[];
2085
+ }
2086
+ /**
2087
+ * "Treat the next card you spend as if it has double the resources" (`RuleSpec doubleNextCardSpent`; community pack
2088
+ * `yondu-dh`, Jackpot!) doubled `instanceId`, the first card `playerId` spent in this payment: its `paymentCommitted`
2089
+ * resources already count the `factor`. Logged right after that line; each grant in `lastingEffectIds` then ends as
2090
+ * `consumed`.
2091
+ */
2092
+ | {
2093
+ readonly type: "spentCardDoubled";
2094
+ readonly playerId: PlayerId;
2095
+ readonly instanceId: InstanceId;
2096
+ readonly factor: number;
2097
+ readonly lastingEffectIds: readonly string[];
2098
+ } | {
2099
+ readonly type: "resourcesGenerated";
2100
+ readonly playerId: PlayerId;
2101
+ readonly instanceId: InstanceId;
2102
+ readonly abilityId: AbilityId;
2103
+ readonly amount: number;
2104
+ readonly pool: ResourcePool;
2105
+ } | {
2106
+ readonly type: "counterAdded";
2107
+ readonly instanceId: InstanceId;
2108
+ readonly counterType: string;
2109
+ readonly amount: number;
2110
+ }
2111
+ /**
2112
+ * `EffectSpec chooseGroup` (docs/phase7-wave9.md §3.67): `playerId` chose a group of the pod, bound under `bind`. Also
2113
+ * logged when the pod is one group and nobody was asked.
2114
+ */
2115
+ | {
2116
+ readonly type: "groupChosen";
2117
+ readonly playerId: PlayerId;
2118
+ readonly bind: string;
2119
+ readonly groupId: GroupId;
2120
+ }
2121
+ /**
2122
+ * An `inGroup` block is to be resolved in another group's game area (docs/phase7-wave9.md §3.67): nothing of it
2123
+ * resolved here. `block` is its place among the `inGroup` blocks of `abilityId` on `sourceCardId`, from 1
2124
+ * (`podBlocksOf`). This is what a host forwards to the pod's coordinator; never emitted in a pod of one group.
2125
+ */
2126
+ | {
2127
+ readonly type: "podEffectRequested";
2128
+ readonly toGroupId: GroupId;
2129
+ readonly sourceCardId: CardId;
2130
+ readonly abilityId: AbilityId;
2131
+ readonly block: number;
2132
+ }
2133
+ /**
2134
+ * A script asked the pod's shared record for a change (`EffectSpec sharedEvent`, docs/phase7-wave9.md §3.66): damage
2135
+ * to the shared villain or threat on the shared scheme. `seq` is this group's count of such events, from 1. This is
2136
+ * what a host forwards to the pod's coordinator in Epic Multiplayer; with a local coordinator a `sharedStateChanged`
2137
+ * follows in the same command when the record changed.
2138
+ */
2139
+ | {
2140
+ readonly type: "sharedEventEmitted";
2141
+ readonly seq: number;
2142
+ readonly event: SharedEvent;
2143
+ }
2144
+ /** This group's copy of the pod's shared record changed; `shared` is the whole record after the change. */
2145
+ | {
2146
+ readonly type: "sharedStateChanged";
2147
+ readonly shared: SharedPodState;
2148
+ }
2149
+ /**
2150
+ * A result of a shared event was applied in this group's game, once nothing was resolving (`applyInbound`): the
2151
+ * shared villain flipped or was defeated, or the shared scheme was completed. What it did follows in the log (a
2152
+ * `cardFlipped`, a `momentRaised`, a `gameEnded`).
2153
+ */
2154
+ | {
2155
+ readonly type: "sharedResultApplied";
2156
+ readonly result: SharedResult;
2157
+ }
2158
+ /**
2159
+ * Counters that were to be placed on a card and were not, because the card may hold no more of them (`RuleSpec
2160
+ * counterLimit`, "Max 1 [per player] synergy counters here"; docs/phase7-wave9.md §3.61). `amount` is the number not
2161
+ * placed; the ones that were placed have their own `counterAdded` (or `countersMoved`). `fromInstanceId`: they were
2162
+ * being moved from that card, and stay on it (RRG 1.8 "Move", p. 30).
2163
+ */
2164
+ | {
2165
+ readonly type: "countersNotPlaced";
2166
+ readonly instanceId: InstanceId;
2167
+ readonly counterType: string;
2168
+ readonly amount: number;
2169
+ readonly reason: "limit";
2170
+ readonly fromInstanceId?: InstanceId;
2171
+ }
2172
+ /**
2173
+ * A card that was to be tucked under `hostInstanceId` and was not, because that card may hold no more (`RuleSpec
2174
+ * tuckLimit`, "Max 3 cards tucked here"; docs/phase7-wave10-hero-packs.md §H3.12). It stays where it was; a card
2175
+ * that was leaving play makes the move the tuck replaced.
2176
+ */
2177
+ | {
2178
+ readonly type: "cardNotTucked";
2179
+ readonly instanceId: InstanceId;
2180
+ readonly hostInstanceId: InstanceId;
2181
+ readonly reason: "limit";
2182
+ } | {
2183
+ readonly type: "counterRemoved";
2184
+ readonly instanceId: InstanceId;
2185
+ readonly counterType: string;
2186
+ readonly amount: number;
2187
+ /**
2188
+ * The counters were on a main scheme stage that advanced and went back to the token pool with it (RRG 1.8 "Main
2189
+ * Scheme", p. 27, step 1): not a removal by a card.
2190
+ */
2191
+ readonly returnedOnAdvance?: true;
2192
+ } | {
2193
+ readonly type: "statusGiven";
2194
+ readonly instanceId: InstanceId;
2195
+ readonly status: "stunned" | "confused" | "tough";
2196
+ /** `constant`: given by a `keepsGivingStatus` rule between frames (docs/phase7-wave6.md §3.9). */
2197
+ readonly reason?: "constant";
2198
+ } | {
2199
+ readonly type: "cardDiscardedFromPlay";
2200
+ readonly instanceId: InstanceId;
2201
+ readonly cardId: CardId;
2202
+ /**
2203
+ * What the card was treated as while it was in play facedown (an Ultron Drone, `CardInstance.facedownAs`), absent
2204
+ * for a card that was faceup. Leaving play turns it faceup, so without this a reader of the state after the command
2205
+ * would name its earlier moments ("Drone attacks you") by the card underneath (#291). Same as `characterDefeated`'s.
2206
+ */
2207
+ readonly facedownAs?: FacedownRole;
2208
+ }
2209
+ /**
2210
+ * RRG 1.8 "Vulnerable" (p. 48): the `status` card just given made this character stunned or confused, so its
2211
+ * vulnerable keyword discards it, without defeating it (docs/phase7-wave9.md §3.1). Logged right after the
2212
+ * `statusGiven` and before the discard itself (`cardDiscardedFromPlay`, or the character waiting for a "when this
2213
+ * leaves play" interrupt). Not logged for a character that cannot leave play (`leavePlayBlocked` follows instead).
2214
+ */
2215
+ | {
2216
+ readonly type: "vulnerableDiscarded";
2217
+ readonly instanceId: InstanceId;
2218
+ readonly cardId: CardId;
2219
+ readonly status: "stunned" | "confused";
2220
+ }
2221
+ /**
2222
+ * RRG 1.8 "Player Side Scheme Limit" (p. 34): `chosenBy` chose this player side scheme to discard for the limit (the
2223
+ * player who played one past it, otherwise the first player). Logged before the discard itself, which is not a defeat.
2224
+ */
2225
+ | {
2226
+ readonly type: "playerSideSchemeLimitDiscard";
2227
+ readonly instanceId: InstanceId;
2228
+ readonly chosenBy: PlayerId;
2229
+ } | {
2230
+ readonly type: "overkillSpilled";
2231
+ readonly fromInstanceId: InstanceId;
2232
+ readonly toInstanceId: InstanceId;
2233
+ readonly amount: number;
2234
+ }
2235
+ /** Why a `placeThreat` follows a damage event: a constant `excessDamageAsThreat` rule converted excess damage dealt. */
2236
+ | {
2237
+ readonly type: "excessDamageAsThreat";
2238
+ readonly sourceInstanceId: InstanceId;
2239
+ readonly targetInstanceId: InstanceId;
2240
+ readonly schemeInstanceId: InstanceId;
2241
+ readonly amount: number;
2242
+ } | {
2243
+ readonly type: "surgeTriggered";
2244
+ readonly instanceId: InstanceId;
2245
+ readonly playerId: PlayerId;
2246
+ }
2247
+ /**
2248
+ * An enemy keyword resolved with an effect of its own: teamwork (trait) found another minion with `trait` in play, so
2249
+ * the minion that entered play activates against `playerId` (RRG 1.8 "Teamwork (Trait)", p. 43). The activation
2250
+ * follows as `enemyActivated`.
2251
+ */
2252
+ | {
2253
+ readonly type: "keywordResolved";
2254
+ readonly keyword: "teamwork";
2255
+ readonly instanceId: InstanceId;
2256
+ readonly playerId: PlayerId;
2257
+ readonly trait: Trait;
2258
+ }
2259
+ /**
2260
+ * A keyword the engine resolves as its own ability (`keyword-abilities.ts`) resolved on `instanceId`: temporary
2261
+ * discarding its card as the round ends (RRG 1.8 "Temporary", p. 44; docs/phase7-wave6.md §3.26). `playerId` is the
2262
+ * player resolving it, its card's controller. The discard follows as `cardMoved`.
2263
+ */
2264
+ | {
2265
+ readonly type: "keywordResolved";
2266
+ readonly keyword: KeywordAbilityName;
2267
+ readonly instanceId: InstanceId;
2268
+ readonly playerId: PlayerId | null;
2269
+ }
2270
+ /** A `playCostReduction` ability reduced the cost of a card being played (docs/phase7-wave3.md §3.20). */
2271
+ | {
2272
+ readonly type: "playCostReduced";
2273
+ readonly cardInstanceId: InstanceId;
2274
+ readonly instanceId: InstanceId;
2275
+ readonly abilityId: AbilityId;
2276
+ readonly amount: number;
2277
+ }
2278
+ /**
2279
+ * A revealed card gained surge as it was revealed: from a `firstRevealGainsSurge` rule (docs/phase7-wave3.md §3.8), or
2280
+ * from another card's ability naming it (`EffectSpec gainSurge.target`).
2281
+ */
2282
+ | {
2283
+ readonly type: "surgeGranted";
2284
+ readonly instanceId: InstanceId;
2285
+ readonly playerId: PlayerId;
2286
+ }
2287
+ /**
2288
+ * A "choose one" resolved. `onlyOption`: nobody was asked, because every other option could not be chosen (an
2289
+ * exhausted character cannot be exhausted, Security Cameras `aos` 50097; RRG 1.8 "Choose (Option)", p. 12), so the
2290
+ * log can say why the remaining one happened on its own (issue 182). `tag`: the option's name, when it has one
2291
+ * (`EffectSpec chooseOne` option `tag`). `unavailable`: with `onlyOption`, the options that were not offered and why
2292
+ * (#412).
2293
+ */
2294
+ | {
2295
+ readonly type: "optionChosen";
2296
+ readonly label: string;
2297
+ readonly index: number;
2298
+ readonly onlyOption?: true;
2299
+ readonly tag?: string;
2300
+ readonly unavailable?: UnavailableOptions;
2301
+ }
2302
+ /**
2303
+ * `EffectSpec basicPowerBy` (docs/phase7-wave8.md §3.64): the card `sourceInstanceId` had `playerId` make a basic
2304
+ * power, and this is the one they chose. Logged just before the power is declared; what the power then does is
2305
+ * logged as any basic power's is. `useAtk`: a thwart they chose to make with ATK (`RuleSpec thwartWithAtk`).
2306
+ * `divide`: they divided it (a character who may: `RuleSpec divideBasicPower`; owner decision, 2026-10-08,
2307
+ * docs/phase7-wave8.md §4.1 row 82), with each target's share in the order chosen; `targetInstanceId` is the first.
2308
+ * `withoutExhausting`, `ignores`: the effect's `BasicPowerTerms` (docs/phase7-wave11-hero-packs.md §H3.14).
2309
+ */
2310
+ | {
2311
+ readonly type: "basicPowerInstructed";
2312
+ readonly playerId: PlayerId;
2313
+ readonly characterInstanceId: InstanceId;
2314
+ readonly power: "attack" | "thwart";
2315
+ readonly targetInstanceId: InstanceId;
2316
+ readonly sourceInstanceId: InstanceId | null;
2317
+ readonly useAtk?: true;
2318
+ readonly divide?: readonly {
2319
+ readonly targetInstanceId: InstanceId;
2320
+ readonly amount: number;
2321
+ }[];
2322
+ readonly withoutExhausting?: true;
2323
+ readonly ignores?: readonly ("patrol" | "crisis")[];
2324
+ }
2325
+ /**
2326
+ * `EffectSpec basicPowerBy` made no basic power. `noLegalUse`: the player has no ready character with a legal
2327
+ * target (or the effect named no player). `costNotPaid`: the power's own additional cost was not paid. `refused`:
2328
+ * the power could no longer be declared when its turn came, with the engine's reason in `message`.
2329
+ */
2330
+ | {
2331
+ readonly type: "basicPowerNotMade";
2332
+ readonly playerId: PlayerId | null;
2333
+ readonly sourceInstanceId: InstanceId | null;
2334
+ readonly reason: "noLegalUse" | "costNotPaid" | "refused";
2335
+ readonly message?: string;
2336
+ }
2337
+ /**
2338
+ * `EffectSpec chooseNumber` (docs/phase7-wave6.md §3.69): `playerId` chose `amount`, bound as `<bind>.amount`. Also
2339
+ * logged when the range held one number and nobody was asked.
2340
+ */
2341
+ | {
2342
+ readonly type: "numberChosen";
2343
+ readonly playerId: PlayerId;
2344
+ readonly bind: string;
2345
+ readonly amount: number;
2346
+ }
2347
+ /** `EffectSpec chooseCardType` (docs/phase7-wave7.md §3.33): `playerId` chose this card type. */
2348
+ | {
2349
+ readonly type: "cardTypeChosen";
2350
+ readonly playerId: PlayerId;
2351
+ readonly cardType: RulesCardType;
2352
+ }
2353
+ /**
2354
+ * `EffectSpec reportFact` (docs/phase7-wave7.md §3.83): `playerId` reported a fact from outside the game, bound as
2355
+ * `<bind>.amount`. `amount` is the number reported, or 1 for yes and 0 for no.
2356
+ */
2357
+ | {
2358
+ readonly type: "factReported";
2359
+ readonly playerId: PlayerId;
2360
+ readonly fact: ReportedFact;
2361
+ readonly bind: string;
2362
+ readonly amount: number;
2363
+ }
2364
+ /**
2365
+ * `EffectSpec searchCollection` (docs/phase7-wave7.md §3.81): `ownerId` found `cardId` in their collection, and it
2366
+ * joined the game as the new instance `instanceId`, which they own until the game ends (RRG 1.8 "Search", p. 39).
2367
+ * The one event that creates a player's card after setup: a replay needs nothing but the choice that led to it.
2368
+ */
2369
+ | {
2370
+ readonly type: "cardAddedFromCollection";
2371
+ readonly cardId: CardId;
2372
+ readonly instanceId: InstanceId;
2373
+ readonly ownerId: PlayerId;
2374
+ } | {
2375
+ readonly type: "cardPutIntoPlayFacedown";
2376
+ readonly instanceId: InstanceId;
2377
+ readonly playerId: PlayerId;
2378
+ readonly as: FacedownRole["kind"];
2379
+ /** Where it came from when not the top of the player's deck (`putIntoPlayFacedown.from`). */
2380
+ readonly from?: "discard";
2381
+ }
2382
+ /**
2383
+ * RRG "Unique Icon": a card that would have entered play matched one already in play.
2384
+ * `disposition` is the RRG's own resolution — a player card's entry simply "has no
2385
+ * effect"; a non-villain encounter card "is discarded".
2386
+ */
2387
+ | {
2388
+ readonly type: "uniqueEntryBlocked";
2389
+ readonly instanceId: InstanceId;
2390
+ readonly cardId: CardId;
2391
+ readonly matchedInstanceId: InstanceId;
2392
+ readonly disposition: "noEffect" | "discarded";
2393
+ }
2394
+ /**
2395
+ * A card an effect would put into play did not enter play and stayed where it was. `noLegalHost`: an upgrade with no
2396
+ * host its "attach to" text allows (RRG 1.8 "Attach To", p. 8: "the card is not able to be attached, so it remains in
2397
+ * its prior state or game area"); a put into play places it as playing it would (RRG 1.8 "Play, Put into Play", p. 32).
2398
+ */
2399
+ | {
2400
+ readonly type: "putIntoPlayRefused";
2401
+ readonly instanceId: InstanceId;
2402
+ readonly playerId: PlayerId;
2403
+ /**
2404
+ * `noSuchArea`: `into` names an in-play scenario area the game does not have. `cardType`: no place for it there.
2405
+ * `cannotEnterPlay`: a `RuleSpec cannotEnterPlay` names the card (docs/phase7-wave8.md §3.43).
2406
+ * `maxPerPlayer`: `playerId`, or the player who controls every host it could attach to, already controls as
2407
+ * many copies as its "Max N per player" allows (RRG 1.8 "Max, Maximum", p. 28: "A player cannot take control of
2408
+ * another copy of a 'Max 1 per player' card they already control"; docs/phase7-wave9.md §4.1 Q37 = A).
2409
+ * `wrongForm`: a "[type] form only" card and `playerId`'s identity is in another form (RRG 1.8 "Play, Put into
2410
+ * Play", p. 32).
2411
+ */
2412
+ readonly reason: "noLegalHost" | "noSuchArea" | "cardType" | "cannotEnterPlay" | "maxPerPlayer" | "wrongForm";
2413
+ }
2414
+ /**
2415
+ * A played upgrade whose host is the card its additional cost to play put into play (`additionalCostToPlay
2416
+ * .attachToSlot`; docs/phase7-wave10-box-heroes.md B3.1) found that card out of play as it would enter: it has no
2417
+ * host and went to its owner's discard pile, its effects unresolved (RRG 1.8 "Attach To", p. 8). What was paid
2418
+ * stays paid.
2419
+ */
2420
+ | {
2421
+ readonly type: "playedUpgradeHasNoHost";
2422
+ readonly instanceId: InstanceId;
2423
+ readonly playerId: PlayerId;
2424
+ } | {
2425
+ readonly type: "lastingEffectAdded";
2426
+ readonly effect: LastingEffect;
2427
+ }
2428
+ /**
2429
+ * A sequential damage pool has finished (`EffectSpec assignDamage.sequential`, docs/phase7-wave8.md §3.37): of
2430
+ * `pool` damage, `dealt` was dealt, one character at a time (each a `damageDealt` of its own, before this), and
2431
+ * `lost` was left when no character could take it. `dealt` counts what the pool spent, whatever a tough status card
2432
+ * or another prevention then stopped.
2433
+ */
2434
+ | {
2435
+ readonly type: "damagePoolResolved";
2436
+ readonly playerId: PlayerId | null;
2437
+ readonly sourceInstanceId: InstanceId | null;
2438
+ readonly pool: number;
2439
+ readonly dealt: number;
2440
+ readonly lost: number;
2441
+ }
2442
+ /**
2443
+ * `EffectSpec pairCards` resolved (docs/phase7-wave8.md §3.36): `playerId` assigned each `cardInstanceId` to
2444
+ * `characterInstanceId`, and `matched` says whether the two share a resource icon, so a replay shows why a
2445
+ * character did or did not take part. A card left unassigned is in no pair. Logged with no pairs when there was
2446
+ * nothing to assign (no card, no character); `playerId` is null only when the effect named no player.
2447
+ */
2448
+ | {
2449
+ readonly type: "cardsPaired";
2450
+ readonly playerId: PlayerId | null;
2451
+ readonly sourceInstanceId: InstanceId | null;
2452
+ readonly pairs: readonly {
2453
+ readonly cardInstanceId: InstanceId;
2454
+ readonly characterInstanceId: InstanceId;
2455
+ readonly matched: boolean;
2456
+ }[];
2457
+ }
2458
+ /**
2459
+ * A note recorded on a card's play (`modifyCardEffect.note`, docs/phase7-wave6.md §3.52: "remove up to 3 charge
2460
+ * counters → that event deal +1 damage for each counter removed", read by Charged Card). `total` is the note's value
2461
+ * after this write (notes of one name add up); it ends with the play.
2462
+ */
2463
+ /**
2464
+ * A played event was given a destination other than the discard pile for when its effects have resolved (`EffectSpec
2465
+ * afterResolving`, docs/phase7-wave7.md §3.68). Logged when the destination is written, not when the card moves.
2466
+ */
2467
+ | {
2468
+ readonly type: "playDestinationSet";
2469
+ readonly instanceId: InstanceId;
2470
+ readonly to: "hand";
2471
+ }
2472
+ /**
2473
+ * A played event went to its owner's hand after its effects resolved instead of to the discard pile (§3.68). Logged
2474
+ * before the move's own `cardMoved`; no discard is logged, as the card never reached the pile.
2475
+ */
2476
+ | {
2477
+ readonly type: "playedEventReturned";
2478
+ readonly instanceId: InstanceId;
2479
+ readonly playerId: PlayerId;
2480
+ } | {
2481
+ readonly type: "playNoted";
2482
+ readonly instanceId: InstanceId;
2483
+ readonly name: string;
2484
+ readonly value: number;
2485
+ readonly total: number;
2486
+ }
2487
+ /**
2488
+ * "That thwart removes 1 additional threat" (`EffectSpec modifyThwart`, docs/phase7-wave6.md §3.55): the thwart in
2489
+ * progress (its scheme and thwarter) will remove `extraThreat` more; `total` is its extra after this write (extras
2490
+ * add up). `sourceInstanceId`: the card whose ability added it.
2491
+ */
2492
+ | {
2493
+ readonly type: "thwartModified";
2494
+ readonly schemeInstanceId: InstanceId;
2495
+ readonly thwarterInstanceId: InstanceId;
2496
+ readonly extraThreat: number;
2497
+ readonly total: number;
2498
+ readonly sourceInstanceId: InstanceId | null;
2499
+ }
2500
+ /** A lasting effect that was waiting on an attack is now scoped to it (`awaitingAttack` → `endOfEvent`). */
2501
+ | {
2502
+ readonly type: "lastingEffectRetimed";
2503
+ readonly id: string;
2504
+ readonly duration: LastingDuration;
2505
+ } | {
2506
+ readonly type: "lastingEffectEnded";
2507
+ readonly id: string;
2508
+ /**
2509
+ * `detached`: its `whileAttached` card is no longer on that host (docs/phase7-wave6.md §3.50, §4.1 Q28).
2510
+ * `targetLeftPlay`: the only card it named left play as a new copy (a main scheme swapped out,
2511
+ * docs/phase7-wave11-scenarios.md §S3.2; a fixed target that left play and came back, `ctx.ts`
2512
+ * `forgetReturnedCopy`), or a character it copied traits from left play.
2513
+ */
2514
+ readonly reason: "expired" | "consumed" | "sourceLeftPlay" | "fired" | "detached" | "targetLeftPlay";
2515
+ }
2516
+ /** `patrol`: a thwart by a player a patrol minion is engaged with, against the main scheme (docs/phase7-wave3.md §3.5). */
2517
+ | {
2518
+ readonly type: "threatRemovalBlocked";
2519
+ readonly schemeInstanceId: InstanceId;
2520
+ readonly reason: "crisis" | "patrol" | "rule";
2521
+ }
2522
+ /**
2523
+ * A card stayed in play when something tried to move or defeat it: it "cannot leave play" (RRG 1.8 "'Cannot'",
2524
+ * p. 11), or its Permanent keyword stopped an effect from outside its set or a game rule (`permanent`; RRG 1.8
2525
+ * "Permanent", p. 32; `effects.ts` `permanentStopsLeaving`, docs/phase7-wave5.md §4.1 Q46).
2526
+ */
2527
+ | {
2528
+ readonly type: "leavePlayBlocked";
2529
+ readonly instanceId: InstanceId;
2530
+ readonly reason: "cannotLeavePlay" | "permanent";
2531
+ }
2532
+ /** A flip effect did nothing to this card: a `cannotFlip` rule names it (docs/phase7-wave7.md §3.64). */
2533
+ | {
2534
+ readonly type: "flipBlocked";
2535
+ readonly instanceId: InstanceId;
2536
+ }
2537
+ /**
2538
+ * One of the scenario's rulebook-printed setup instructions resolved (`GameSetupConfig.scenarioSetupInstructions`;
2539
+ * MC21 p. 11's optional Tower Defense setup damage). `text` and `citation` are copied from the instruction so the
2540
+ * trace says why the state changed without the setup config to hand.
2541
+ */
2542
+ | {
2543
+ readonly type: "scenarioSetupInstructionResolved";
2544
+ readonly instructionId: string;
2545
+ readonly text: string;
2546
+ readonly citation: string;
2547
+ }
2548
+ /**
2549
+ * An optional setup rule the players turned on was applied with the amount they stated
2550
+ * (`GameSetupConfig.setupOptions`; MC45 p. 8's threat on Gene Pool, docs/phase7-wave8.md §3.5), after RRG 1.8
2551
+ * Appendix II step 11 and before step 12. `text` and `citation` are copied from the option so the trace says why the
2552
+ * state changed without the setup config to hand. A game that states no option never logs this.
2553
+ */
2554
+ | {
2555
+ readonly type: "setupOptionApplied";
2556
+ readonly option: string;
2557
+ readonly amount: number;
2558
+ readonly text: string;
2559
+ readonly citation: string;
2560
+ }
2561
+ /**
2562
+ * Campaign mode's four trace events (design §6.1). They exist for `rules-qa-engineer`'s replay: with them, the
2563
+ * campaign half of a game reads off the event stream the way the rules half already does, and the runner's
2564
+ * `campaignResultOf` can be checked against what actually happened rather than against what was asked for.
2565
+ *
2566
+ * One of a scenario's campaign setup instructions resolved at its window, in printed order. `text` and `citation`
2567
+ * are copied from the instruction so the trace reads without the `CampaignDefinition` to hand, exactly as
2568
+ * `CampaignStepTrace` does for a between-games step.
2569
+ */
2570
+ | {
2571
+ readonly type: "campaignInstructionResolved";
2572
+ readonly instructionId: string;
2573
+ readonly window: CampaignWindow;
2574
+ readonly text: string;
2575
+ readonly citation: string;
2576
+ }
2577
+ /**
2578
+ * Hidden piles were put together (`EffectSpec dealHiddenPiles`, docs/phase7-wave9.md §3.29 (a); MC50 p. 5,
2579
+ * "Preparing the Evidence"). **Sizes only, never a card id:** the log is read by the players, and which card went
2580
+ * to which pile is what they may not know. `from` is the encounter set the cards are of. `kept`: a pile of one of
2581
+ * these names was already there (seeded from outside the game), so nothing was dealt and the sizes are the piles'
2582
+ * as they stand. A replay of the command log deals the same piles, because the deal draws on `GameState.rng`.
2583
+ */
2584
+ | {
2585
+ readonly type: "hiddenPilesDealt";
2586
+ readonly from: string;
2587
+ readonly piles: readonly {
2588
+ readonly pile: string;
2589
+ readonly size: number;
2590
+ }[];
2591
+ readonly kept: boolean;
2592
+ /**
2593
+ * The piles were filled from the campaign log, not dealt (`EffectSpec seedHiddenPiles`, docs/phase7-wave9.md
2594
+ * §3.75; MC50 p. 18: "simply place the A.I.M. and S.H.I.E.L.D. envelopes within reach"). `faceup` is how many
2595
+ * cards started the game faceup beside them (the evidence gained in earlier scenarios). Still sizes only.
2596
+ */
2597
+ readonly seeded?: true;
2598
+ readonly faceup?: number;
2599
+ }
2600
+ /**
2601
+ * Cards came out of a hidden pile faceup, by id (`EffectSpec gainFromHiddenPile`; MC50 p. 18: "When the players gain
2602
+ * an evidence card, they turn it faceup"). They are in `GameState.revealedPileCards` and open to every player from
2603
+ * here on, which is why this event may name them. `requested` is how many the effect asked for; `remaining` is the
2604
+ * pile's size afterward. Logged with no card when the pile was empty.
2605
+ */
2606
+ | {
2607
+ readonly type: "hiddenPileCardsGained";
2608
+ readonly pile: string;
2609
+ readonly cardIds: readonly CardId[];
2610
+ readonly requested: number;
2611
+ readonly remaining: number;
2612
+ }
2613
+ /**
2614
+ * A whole hidden pile was turned faceup (`EffectSpec revealHiddenPile`; MC50 p. 19, "the players take the evidence
2615
+ * cards from the A.I.M. envelope"): every card left in it, by id, now in `GameState.revealedPileCards`.
2616
+ */
2617
+ | {
2618
+ readonly type: "hiddenPileRevealed";
2619
+ readonly pile: string;
2620
+ readonly cardIds: readonly CardId[];
2621
+ }
2622
+ /**
2623
+ * `EffectSpec accuse` (docs/phase7-wave9.md §3.29 (b); MC50 p. 19): `playerId` chose the combination `accused` for
2624
+ * the players; its `boardMember` is the accused. The guess is the players' own, so the row is open.
2625
+ */
2626
+ | {
2627
+ readonly type: "accusationMade";
2628
+ readonly playerId: PlayerId;
2629
+ readonly accused: EvidenceCombination;
2630
+ }
2631
+ /**
2632
+ * `EffectSpec identifyMole` (docs/phase7-wave9.md §3.29 (b); MC50 p. 19): the cards of the hidden pile `pile`, turned
2633
+ * faceup just before this (`hiddenPileRevealed`), make the row `mole`, whose `boardMember` is the mole. `accused` is
2634
+ * the row it was compared with and `wrong` the guesses that differ (none: the accusation is correct). `mole` is
2635
+ * null when the pile's cards make no row of the grid, and `accused` is null when no accusation was made; `wrong` is
2636
+ * empty either way.
2637
+ */
2638
+ | {
2639
+ readonly type: "moleIdentified";
2640
+ readonly pile: string;
2641
+ readonly accused: EvidenceCombination | null;
2642
+ readonly mole: EvidenceCombination | null;
2643
+ readonly wrong: readonly AccusationGuess[];
2644
+ }
2645
+ /**
2646
+ * A campaign-log field named cards, and which instances they turned out to be (the `campaignLog` `CardSelector`).
2647
+ *
2648
+ * **Only this read is traced.** `ValueSpec`/`Predicate` reads happen inside `resolveValue`/`evaluate`, which are
2649
+ * pure and re-entrant and which legality checks, `preview()` and `why-not.ts` call speculatively many times per
2650
+ * command; emitting there would put reads that never happened into the log and make the event stream depend on
2651
+ * which questions a client asked. Those reads stay reconstructible instead: the log is frozen in
2652
+ * `GameState.campaign.log`, so the same spec against the same state gives the same answer forever.
2653
+ */
2654
+ | {
2655
+ readonly type: "campaignLogRead";
2656
+ readonly field: string;
2657
+ readonly seatNumber: number | null;
2658
+ readonly cardIds: readonly CardId[];
2659
+ readonly instanceIds: readonly InstanceId[];
2660
+ }
2661
+ /** `recordInCampaignLog` resolved: the write as it went into `GameState.campaignWrites`, for the runner to fold in. */
2662
+ | {
2663
+ readonly type: "campaignLogWritten";
2664
+ readonly write: LogWrite;
2665
+ }
2666
+ /** `removeFromCampaign` resolved (RRG 1.8 p. 29), by face — ruling April 30, 2026 (4). */
2667
+ | {
2668
+ readonly type: "campaignCardRemoved";
2669
+ readonly instanceId: InstanceId;
2670
+ readonly card: CampaignCardFace;
2671
+ } | {
2672
+ readonly type: "gameEnded";
2673
+ readonly outcome: GameOutcome;
2674
+ };
2675
+ export type GameEventType = GameEvent["type"];
2676
+ /**
2677
+ * Why status cards were discarded (`GameEvent statusRemoved.reason`, `TriggerEvent statusDiscarded.cause`).
2678
+ * `preventedDamage`: a tough card used up by damage; `cannotHave`: stalwart began to apply, or a status limit fell below
2679
+ * what is held (a `cannotHaveStatus` rule sheds nothing: ruling Feb 15, 2024, #145); `cost`: paid as an
2680
+ * `AbilityCost.discardStatus` (docs/phase7-wave6.md §3.6).
2681
+ */
2682
+ export type StatusDiscardCause = "cost" | "cancelledAttack" | "cancelledSchemeOrThwart" | "preventedDamage" | "piercing" | "effect" | "cannotHave";