@champions-digital-game/mod-sdk 0.54.0 → 1.0.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 (61) hide show
  1. package/README.md +3 -3
  2. package/dist/build.js +1 -1
  3. package/dist/chunks/{chunk-DX44O32N.js → chunk-MRZL7PHD.js} +1 -1
  4. package/dist/chunks/{chunk-S3JH4WL4.js → chunk-N2HMNYPQ.js} +1 -1
  5. package/dist/chunks/{chunk-ACT4TJXC.js → chunk-NHQRL3H2.js} +3 -3
  6. package/dist/chunks/{chunk-3SR23UJ7.js → chunk-PHTEP3BC.js} +1 -1
  7. package/dist/chunks/{chunk-WFEXO5DU.js → chunk-RBTO2IFX.js} +1 -1
  8. package/dist/chunks/chunk-SCRIASBU.js +1 -0
  9. package/dist/chunks/{chunk-7NRC6TLV.js → chunk-SG4DMEG6.js} +1 -1
  10. package/dist/import.js +1 -1
  11. package/dist/index.js +1 -1
  12. package/dist/mc-pack.js +2 -2
  13. package/dist/testing.js +1 -1
  14. package/package.json +1 -1
  15. package/types/cards/src/dsl/abilities.d.ts +6 -3
  16. package/types/cards/src/dsl/effects.d.ts +22 -2
  17. package/types/cards/src/dsl/values.d.ts +11 -0
  18. package/types/cards/src/index.d.ts +3 -2
  19. package/types/cards/src/testing/driver.d.ts +16 -1
  20. package/types/cards/src/wave10/competitive.d.ts +49 -0
  21. package/types/cards/src/wave10/cw/competitive/leader-cards.d.ts +5 -7
  22. package/types/cards/src/wave10/cw/competitive/standard-pvp.d.ts +3 -3
  23. package/types/cards/src/wave10/cw/leaders/captain-marvel.d.ts +4 -2
  24. package/types/cards/src/wave10/cw/modular/dangerous-recruits.d.ts +0 -29
  25. package/types/cards/src/wave10/cw/modular/secret-avengers.d.ts +3 -4
  26. package/types/cards/src/wave10/cw/modular/the-initiative.d.ts +0 -31
  27. package/types/cards/src/wave10/index.d.ts +2 -0
  28. package/types/cards/src/wave10/setup.d.ts +7 -0
  29. package/types/cards/src/wave10/synthezoid/competitive/leader-cards.d.ts +22 -11
  30. package/types/cards/src/wave9/index.d.ts +1 -1
  31. package/types/cards/src/wave9/setup.d.ts +20 -1
  32. package/types/content/src/index.d.ts +1 -1
  33. package/types/engine/src/actions.d.ts +5 -0
  34. package/types/engine/src/commands.d.ts +53 -1
  35. package/types/engine/src/competitive-outcome.d.ts +159 -0
  36. package/types/engine/src/competitive-setup.d.ts +73 -0
  37. package/types/engine/src/effects.d.ts +32 -6
  38. package/types/engine/src/errors.d.ts +18 -2
  39. package/types/engine/src/event-sides.d.ts +21 -0
  40. package/types/engine/src/events.d.ts +127 -3
  41. package/types/engine/src/flow.d.ts +1 -1
  42. package/types/engine/src/game-fingerprint.d.ts +2 -2
  43. package/types/engine/src/index.d.ts +12 -4
  44. package/types/engine/src/lasting.d.ts +6 -1
  45. package/types/engine/src/pod-commands.d.ts +81 -0
  46. package/types/engine/src/pod-coordinator.d.ts +136 -0
  47. package/types/engine/src/pod.d.ts +276 -2
  48. package/types/engine/src/query.d.ts +7 -0
  49. package/types/engine/src/resolve/pod.d.ts +67 -1
  50. package/types/engine/src/resolve/triggers.d.ts +11 -0
  51. package/types/engine/src/select.d.ts +27 -7
  52. package/types/engine/src/setup-steps.d.ts +8 -0
  53. package/types/engine/src/setup.d.ts +10 -2
  54. package/types/engine/src/spec.d.ts +83 -10
  55. package/types/engine/src/state.d.ts +120 -2
  56. package/types/engine/src/team-phases.d.ts +106 -0
  57. package/types/engine/src/team.d.ts +34 -0
  58. package/types/engine/src/trigger-events.d.ts +50 -3
  59. package/types/engine/src/villain/authority.d.ts +16 -3
  60. package/types/engine/src/villain-phase-begun.d.ts +24 -0
  61. package/dist/chunks/chunk-3YMCANI3.js +0 -1
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{builtinGameDeps,validateBuiltinPack}from"./chunks/chunk-3YMCANI3.js";import{PACK_ABILITY_ID,REQUIRED_PACK_FILES,SUPPORTED_DSL_FEATURES,campaignDefinitionsOf,checkPackCampaigns,definePackAbilities,dslFeatures,isPlainJson,isUnscriptedAbilityIssue,packCampaignsOf,publishIssues,readPackInput,sha256Hex,splitIssues,validatePack}from"./chunks/chunk-3SR23UJ7.js";import{campaignDepsWithPacks,campaignGameWithPacks,cardPoolWithPack,cardPoolWithPacks,customContentOfPacks,gameDepsWithPack,gameDepsWithPacks,packCampaignDefinitionOf,packCampaignDefinitions,packCampaignRecords,packEncounterSetRecords,packModularSetChoices,packScenarioRecords,scenarioWithPacks}from"./chunks/chunk-S3JH4WL4.js";import{ANY_ASPECT_CARD,ANY_NUMBER,ANY_RESOURCE,AOA_CAMPAIGN_DEFINITION,AOA_DEFEATED,AOA_MISSIONS,AOA_NOT_DEFEATED,AOA_OVERSEERS,AOA_PROTECT_THE_PROFESSOR,AOS_CAMPAIGN_DEFINITION,AS_DRONE,BUILTIN_PACKS,CAMPAIGNS,CAN_TAKE_THIS_ATTACK,COMMUNITY_DECK_AUTHORS,CORE_ABILITIES,CORE_BUILTIN_PACK,CORE_DEPS,CUSTOM_SCENARIO_FIELDS,ENCOUNTER_CARD,ENCOUNTER_CARD_CATEGORIES,ENCOUNTER_SIDE_SCHEME,ENGINE_ONLY_DSL_EXAMPLES,FRIENDLY_CHARACTER,GMW_BALANCED_FIELD,GMW_BALANCED_TOGGLES,GMW_CAMPAIGN_DEFINITION,INFINITES_GENE_POOL_THREAT_MAX,MOJO_CAMPAIGN_DEFINITION,MTS_CAMPAIGN_DEFINITION,NEXT_EVOL_CAMPAIGN_DEFINITION,NOT_READY_PACK_CODES,PAID_CARDS,PAID_IN_PLAY_CARDS,PLAYABLE_ABILITIES,PLAYABLE_DEPS,PLAYABLE_ENCOUNTER_SETS,PLAYABLE_SCENARIO_RECORDS,PLAYER_SIDE_SCHEME,RANDOM_VILLAIN,SHADOWLAND_CAMPAIGN_DEFINITION,SM_CAMPAIGN_DEFINITION,TEAM_UP_CARD,TRAIT,TRORS_CAMPAIGN_DEFINITION,UNSCRIPTED_ENCOUNTER_SET_IDS,VILLAIN_OR_VILLAINOUS,WAVE10_ABILITIES,WAVE10_BUILTIN_PACKS,WAVE10_CARDS,WAVE10_DEPS,WAVE10_GAME_ENCOUNTER_SETS,WAVE11_ABILITIES,WAVE11_BUILTIN_PACKS,WAVE11_CARDS,WAVE11_DEPS,WAVE11_GAME_ENCOUNTER_SETS,WAVE1_ABILITIES,WAVE1_BUILTIN_PACKS,WAVE1_DEPS,WAVE1_REPRINT_ABILITIES,WAVE2_ABILITIES,WAVE2_BUILTIN_PACKS,WAVE2_DEPS,WAVE2_REPRINT_ABILITIES,WAVE3_ABILITIES,WAVE3_BUILTIN_PACKS,WAVE3_CARDS,WAVE3_DEPS,WAVE3_REPRINT_ABILITIES,WAVE4_BUILTIN_PACKS,WAVE5_BUILTIN_PACKS,WAVE6_BUILTIN_PACKS,WAVE7_ABILITIES,WAVE7_BUILTIN_PACKS,WAVE7_CARDS,WAVE7_DEPS,WAVE8_ABILITIES,WAVE8_BUILTIN_PACKS,WAVE8_CARDS,WAVE8_DEPS,WAVE9_ABILITIES,WAVE9_BUILTIN_PACKS,WAVE9_CARDS,WAVE9_DEPS,YOUR_HERO,YOUR_IDENTITY,aDifferentCard,aScheme,abilitiesForCards,accelerationTokensOn,accusationWrongGuesses,accuse,accusedWrong,actingCharacter,action,activatesBeforeVillain,activatingEnemy,activationIs,activationOrderOf,addAccelerationToken,addCounters,addMainSchemeStageToVictoryDisplay,addToVictoryDisplay,addVillain,additionalAttackCost,additionalCostToPlay,additionalCostToReady,additionalPowerCost,additionalThwartCost,adjustBoostCount,advanceMainScheme,advanceToSetAsideVillain,after,afterNextCardPlayed,agile,allOf,allowUnlabeledAttack,alterEgoAction,alterEgoInterrupt,alterEgoResponse,amount,anAttackableEnemy,anEnemy,andThen,anyIn,anyNumberOfToughStatusCards,anyOf,anyOfCards,anyPlayerEliminated,applyAsBoostCard,applyRuleUntil,areaPlayersDefeated,assignDamage,atEndOfActivation,atEndOfAttack,atEndOfPhase,atEndOfRound,atEndOfThwart,atMost,attachCard,attachCost,attachInstruction,attack,attackAnEnemy,attackDamageDealt,attackExcessAsDealt,attackInProgress,attackInitiatedAgainst,attackPreventedAmount,attackPreventedTotal,attackResolvedLabeled,attackTarget,attackTotalAtk,attackUsedAtk,attackWasPrevented,attackableAsMinion,attackedBy,attackedPlayer,attackedThisPhase,attackingEnemy,attacksDealAdditionalDamage,attacksGainKeywords,attacksLoseKeywords,baseStatOf,baseStatsFromYourHero,basicPowerBy,basicPowerCost,basicPowerIs,basicPowerStatIs,basicThwartOnlyAgainst,basicThwartsIgnore,bindTargets,blankTextBoxForPlayers,blankTextBoxUntil,blanksTextBox,boost,boostAreaIconsOn,boostCardOf,boostCardsFromSet,boostIconsCount,boostIconsOn,buildScenarioDeck,buildWave11Scenario,builtinPackProblems,campaignDefinitionOf,campaignDefinitionProblems,campaignInstructionsOf,campaignLogAtLeast,campaignLogCardCounter,campaignLogCardRecorded,campaignLogCards,campaignLogHas,campaignLogIsSet,campaignLogValue,campaignModularPickProblem,canAttachTo,canAttachToCategory,canChangeForm,canEnterPlay,canFlip,canPayResources,canPlayFromHand,canRemoveThreatFrom,canSpendDifferentResources,canTakeStatus,canUseBasicPower,cancelBoostedActivation,cancelConsequentialDamage,cancelIt,cancelRevealedCard,cancelWhenRevealed,cannotActivate,cannotAttach,cannotBeAttachedUnlessInPlay,cannotBeCanceled,cannotBeDefeated,cannotBeHealed,cannotBeReadiedByPlayerCards,cannotChangeFormUntil,cannotChooseOption,cannotChooseToDiscard,cannotEnterPlay,cannotFlip,cannotHaveStatus,cannotLeavePlay,cannotMakeBasicAttacks,cannotReadyUntil,cannotRecover,cannotResolveTriggeredAbilities,cannotThwart,cardIdsIn,cards,cardsFrom,cardsOfComposedSets,centralMainScheme,changeAdditionalForm,changeForm,changeFormCost,changeToHeroFormNamed,changeToHeroFormWithTrait,changeToOtherHeroForm,changeVillainForm,characterDidThisPhase,checkModularPickCount,checkPlayableDifficultySets,choiceFoundNothing,chooseCardCost,chooseCardType,chooseCards,chooseEncounterCardType,chooseGroup,chooseMainSchemeStages,chooseNumber,chooseOne,chooseOneBy,chooseOptions,choosePlayer,choosePlayerWithEngaged,chooseTarget,chooseTargetCost,chosen,chosenGroup,chosenModularSetIds,chosenPlayer,chosenVillain,civilWarGameModes,civilWarModularSets,civilWarSidesOffer,communityDeckUrl,communityDecks,competitiveOnly,competitiveOnlyTexts,completeMainScheme,confuse,consideredToHaveHitPoints,consideredToHaveResourceIcon,constant,controllerOf2 as controllerOf,coreScenario,costIf,costModifier,costsPayableByAnyPlayer,countAmong,countBoostIcons,countOf,countTowardStartingHand,counterLimit,countersAsResource,countersOn,countsAs,coveredByEngineRule,createGameArea,createScenarioArea,createScenarioPlayArea,customContentProblems,customModularPickProblem,customModularSetChoices,customScenarioProblems,damageAnEnemy,damageCardsCost,damageOn,damageSharedVillain,damageThisCardCost,damagedAtLeast,dealAsEncounterCard,dealDamage,dealDamageCost,dealDamageToChosenCost,dealEncounterCard,dealEncounterCardsCost,dealEncounterCardsToChosenPlayerCost,dealHiddenPiles,dealIndirectDamage,dealPoolOneAtATime,dealtEncounterCards,dealtEncounterCount,deckCountOf,deckDiscardIconsCount,declareDefender,defeat,defeatExcessDamage,defeatExcessThreat,defeatedWithExcessConsequentialDamage,defeatedWithExcessDamage,defeatingPlayer,defenderDefForAttack,defendingCharacter,defendsWithoutExhausting,defineAbilities,defineBuiltinPack,detach,difficultySetAlternativesFor,discard,discardAtRandom,discardBoostCard,discardCardsCost,discardChosenFromEncounterDeckCost,discardDeckUntil,discardEncounterCards,discardEncounterUntil,discardFacedownBoostCards,discardFromHand,discardFromHandCombinedCost,discardFromHandCost,discardRandomFromHandCost,discardStatusCost,discardStatusesTokensAndAttachments,discardThis,discardTopOfDeckCost,discardTopOfEncounterDeckCost,discardTuckedCost,discardUpToTopOfDeckCost,distinctAspectsOf,distinctTraitsOf,divide,doesNotExhaustToDefend,doubleDamageTaken,doubleNextCardSpent,doubleStat,doublesResourcesGeneratedForThisCard,doublesResourcesWhilePayingFor,draw,drawUpTo,droneFromDeck,duringPlayerPhase,duringTurnOf,duringVillainPhaseStepOne,each,eachGroupInPod,eachPlayer,eachPlayerCost,eachTimeUntil,eitherCost,encounterCard,encounterCards,encounterCardsOf,encounterIconsInPlay,encounterLookDiscardCost,encounterSetAside,encounterSetOf,endGame,enemyActivates,enemyAttack,enemyAttacksEnemy,enemyAttacksYouCost,enemyCanAttackAnother,enemyLeader,enemyScheme,enemyTeam,enemyTeamChooses,enemyToAttack,engage,engagedPlayerOf,engineOnlyDslProblems,entersPlayExhausted,eventAmount,eventDamageTaken,eventDamageTakenBy,eventDealt,eventKindIs,eventPlayer,eventResult,eventSource,eventSourceEnemy,eventTarget,eventTargetsTogether,exactlyDefeated,exactlyDefeatedByPower,excludedFromAllyLimit,excludedFromPlayerSideSchemeLimit,exhaust,exhaustCardsCost,exhaustEachCost,exhaustThis,exhaustYourHero,exists,expertSetReplaceable,extraBoostCardsForVillain,faceNamed,fieldsIn,finalStep,find,findCard,firstAttackThisTurn,firstPlayer,firstPlayerAction,firstPlayerPicksFromHand,firstRevealGainsSurge,firstThisRound,flatten,flipCard,flipCardsCost,flipThis,focusedMainScheme,forAnIdentityNotInThisGame,forEachCard,forEachPlayer,forEachPlayerInChosenOrder,forcedAction,forcedInterrupt,forcedResponse,formChangeCost,friendlyCharacterAttacks,fromAnyAspect,gainFromHiddenPile,gainKeywordUntil,gainTraitUntil,gainTraitsOfUntil,gainsAbility,gainsIcon,gainsKeyword,gainsKeywordX,gainsKeywordsOf,gainsTrait,gainsTraitsOf,gameAreasSplit,genePoolThreatOffer,generatesAmount,generatesPerCard,gets,giveBasicPowerBoostCard,giveBoostCard,giveBoostCardsCost,giveHeldBoostCard,giveStatus,giveStatusCost,giveTough,gmwBalancedHiddenFields,grantAdditionalMulligans,grantOwnedCards,grantedTo,grantingCard,grantsPreparation,groupPlayerCount,handCountOf,handSizeOf,hasAttachment,hasNamedResource,hasPrintedBoostAbility,hasStatus,hasTaggedAbility,hasTrait,heal,healCost,healYourIdentityCost,heroAction,heroInterrupt,heroNoCharacterIsTitledAs,heroResource,heroResponse,hiddenPileCount,highestStatAmong,hitPointsOf,holdMinion,horsemanSidesOffer,host,identifyMole,identityOf,ifElse,ifThen,ignoreAbilities,ignoreBoost,ignoreBoostAbilities,ignoreBoostForThisAttack,ignores,ignoresRetaliate,inAdditionalForm,inCampaign,inCampaignLogField,inCompetitiveMode,inDiscard,inEncounterSet,inForm,inGroup,inHand,inMode,inPlay,inPlayAreaOf,inScenarioPlayArea,inVictoryDisplay,increaseDamage,increaseDamageTaken,increaseNextCardCost,infinitesGenePoolThreatRecommendation,instead,interrupt,isAlterEgo,isAttached,isBaseEncounterSetId,isBaseScenarioId,isConfused,isHero,isModularChoice,isNotReadyCard,isScenarioSpecificSet,isStunned,joinGameArea,keepsExhausted,lastPlayedThisRound,leavingPlayLoses,limitPerPaidCard,logCardList,logCardRef,logFlag,logNumber,logOption,logText,lookAt,lookAtAndRearrange,lookAtTopOfScenarioDeckThenPlace,loseKeywordUntil,loseTraitUntil,losesIcon,losesKeyword,made,mainSchemeAdvancedBy,mainSchemeMarkedBy,mainSchemePicksOffer,mainSchemeStageGist,mainSchemeStageNumber,mainSchemeStagesOffer,mainSchemeStagesProblem,max,maxDamageTaken,maxOnePerTriggeringInstance,maxSustainedDamage,mayLookAtTopOfEncounterDeckUntil,mergeCosts,mergeRegistries,min,minDamageTaken,modifyAttack,modifyBasicPower,modifyCardEffect,modifyCardEffectsUntil,modifyConsequentialDamage,modifyStat,modifyStatOf,modifyThwart,modularPickCountProblem,modularPickCountRange,modularPickProblem,modularSetContents,mojoCheckedOffSets,mojoModularSetPicks,mostCommonHandTypeCount,moveActiveCounterToNextInRow,moveActiveCounterToNextVillain,moveBoostCards,moveCards,moveCardsInto,moveCounters,moveThreat,multiplyStat,named,namedByTeamUpOf,nextAfter,not,notCountedTowardHandSize,notMatching,notOfChosenCardType,obligation,ofChosenCardType,ofClassification,ofIdentitySetTitled,ofTeamUpSet,offersEasierStart,offersGenePoolThreat,on,onChosenMainScheme,oncePerPaidCard,oncePerPhase,oncePerPhasePerEventPlayer,oncePerRound,oncePerRoundPerPlayer,oneCopyOf,onlyCharacterRemovesThreat,onlySourceRemovesThreat,onlyThwartsRemoveThreat,opsOfKind,option,otherFaceOf,otherPlayers,outsideFact,overdefeated,overpaidWhenPlayed,ownScriptsOf,ownerOf,packScenarioOffer,paidCards,paidInPlayCards,paidType,paidTypeCount,paidUsingResourceFrom,paidWith,paidWithCard,paidWithOnly,paidWithResourceCard,pairCards,pairLimit,partOf,passEncounterCard,payPrintedCostOf,payingFor,perHero,placeCountersCost,placeDamage,placeOnTopOrBottom,placeOnTopOrBottomOfPlayerDeck,placeThreat,placeThreatOnSharedScheme,playFromDeckIgnoringCost,playFromDeckReducingCost,playFromDiscard,playFromHandIgnoringCost,playFromHandReducingCost,playFromSeparateDeck,playNote,playOnlyIf,playSetAside,playTuckedCard,playWithTopOfDeckFaceup,playWithTopOfEncounterDeckFaceup,playableAttachments,playableScenario,playableScenarioOffer,playableScenarioWithCustom,playableStarterDeckSetup,playableTopOfDeck,playableTucked,playedThisPhase,playedThisRound,playedThisTurn,playedVia,playerOrElse,playersCannotDiscard,playersWhere,preparation,preventAllDamageTo,preventConsequentialDamage,preventDamage,preventThreat,printedBoostAreaIconsOn,printedCostAtLeast,printedCostOf,printedForm,printedHpNumeralOf,printedHpOf,printedResourcesInHandAs,printedResourcesOf,printedStatOf,printsAbility,product,putIntoPlay,putIntoPlayAsHost,putIntoPlayFacedown,putIntoPlayFromSetAside,putLinkedAllyIntoPlay,putMainSchemeStageIntoPlay,query,raiseMoment,randomCivilWarScenario,reachableFromPod,reaching,readsAtkOf,readsPaymentTypesOf,ready,readyCardsCost,recordInCampaignLog,reduceCostOfCards,reduceCostToPlay,reduceDamage,reduceDamageTo,reduceNextCardCost,reducesAttackDamageTaken,refCount,refMatches,remainingHpCompare,remainingHpOf,removeAccelerationToken,removeAllCounters,removeAllCountersFrom,removeAnAccelerationToken,removeCounter,removeCountersAmong,removeCountersFrom,removeEachCounterFrom,removeFromCampaign,removeMainSchemeStage,removeMainSchemeStages,removeStatus,removeThreat,removeThreatCost,removeThreatFromAScheme,removeThreatFromChosenCost,removeThreatUpToCost,removeUpToCounters,removeVillain,removedFromGameCards,reorderCards,repeatTimes,repeatWhile,replaceAttachHost,replaceBoostCount,replaceLeaveDestination,replaceNextVillainPhaseWithPlayerPhase,replaceStatus,replaceTuckHost,reportFact,resetHitPoints,resolveAttackAgainst,resolveBoostAbilitiesOf,resolveForcedInterruptOf,resolveForcedResponseCost,resolveForcedResponseOf,resolveModes,resolveOneTagged,resolvePreparationsOf,resolveSetups,resolveSpecialCost,resolveSpecials,resolveSpecialsOf,resolveTagged,resolveWhenDefeatedOf,resolveWhenRevealedOf,resource,resourceTypesOf,resourcesGeneratedAsWild,resourcesPaidBy,response,restrictedLimit,retargetAttack,retargetPlayerAttack,returnEachToHandCost,returnToHandAfterResolving,returnToHandCost,revealCard,revealEncounterCard,revealFromSetAsideModularSet,revealHeldMinion,revealHiddenPile,revealInstead,revealMainSchemeStage,revealNextVillainStage,revealSetAside,revealTopOfScenarioDeck,revealTopOfSeparateDeck,revealedFromEncounterDeck,revealedPileCardCount,rotateEngagement,rule,sameClassificationAs,scaled,scenarioArea,scenarioAreaCount,scenarioDeck,scenarioGameSetIds,scenarioSideClause,scenarioWithVillain,schemeStartedByAttackBoost,schemeThreatOn,searchAndReveal,searchCollection,searchEncounterIntoPlayCost,seedHiddenPiles,selectCards,self,sentence,separateDeckCards,separateDeckCountOf,setActiveVillain,setAside,setAsideDestination,setAsideModularSetCount,setDefeatDestination,setRemainingHitPoints,setVar,setVillainAside,setVillainSide,setup,sharesTitleWith,sharesTraitWith,sharesTraitWithHeroOf,shuffleDeck,shuffleEncounterDeck,shuffleInSetAsideModularSet,shuffleIntoSeparateDeck,shuffleMainSchemeStageGroup,shuffleMainSchemeStages,shuffleSeparateDeck,shuffleTopOfSeparateDeckIntoEncounterDeck,sitOut,skipNextVillainPhase,skippedCommunityDecks,skirmishOffer,special,spend,spendChosen,spendDifferentResources,spendEqualTo,spendPrinted,spendResources,spendSameType,spendUpTo,spendX,spendXResources,spendableForAnyPlayer,spendableForPlayersWhere,spendableFromTucked,standardSetReplaceable,starIconsOn,starterDeckSetup,statCompare,statOf,stateCheck,stateCheckFromEntering,statusCount,statusLimit,staysInHand,stillCountedByDiscarder,stun,sum,superlative,superlativePlayer,surge,swapCards,swapIdentity,swapMainScheme,swapVillain,swapVillainByTrait,tagged,taggedAbilitiesOn,takeAnyDamageCost,takeControl,takeDamage,takeDamageCost,takeIndirectDamageCost,takeIntoHand,takesConsequentialDamage,takesDamageOnlyFrom,takesDamageOnlyFromAttacks,takesFirstTurn,teamUpCharacter,teamUpCharacters,textBoxCannotBeBlanked,thatAttackGainsKeywords,thatPlayer,theAccused,theAffectedCard,theMainScheme,theMole,theVillain,thisCardGenerates,thisGroup,threatAtLeast,threatOn,thwart,thwartAScheme,thwartInProgress,thwartTarget,titled,toScenarioDeck,topOfDeck,topOfDeckIsFaceup,topOfDeckMatches,topOfEncounterDeckIsFaceup,topOfEncounterDeckMatches,topOfEncounterDeckShowsIcons,topOfEncounterDeckShowsNoIcons,topOfYourDeckHas,totalPrintedCost,totalPrintedResources,totalStatOf,traitEncounterDeck,traitNumber,treatAsAlly,treatAsMinion,treatAttachedAllyAsMinion,treatAttachedHeroAsMinion,treatAttachedMinionAsAlly,treatAttachedVillainAsMinion,treatSelfAsAlly,tuckCards,tuckLimit,tuckedCount,tuckedUnder,tuckedUnderRef,turnFacedown,uncancellable,undefendedAttack,upgradesCannotBeRemoved,useActionAbility,useThwInsteadOfAtk,usingBasicPower,validateDefinition,valueAtLeast,valueAtMost,valueEquals,varAtLeast,varFor,varOf,victoryCondition,victoryDisplayCards,victoryDisplayCount,villainChoiceOf,villainChoiceOffer,villainOnSide,villainOptionOf,villainStageNumberOf,wave10Scenario,wave10StarterDeckSetup,wave11Scenario,wave11ScenarioRecord,wave11StarterDeckSetup,wave1ReprintPairs,wave1Scenario,wave1StarterDeckSetup,wave2ReprintPairs,wave2Scenario,wave2StarterDeckSetup,wave3ReprintPairs,wave3Scenario,wave3StarterDeckSetup,wave7Scenario,wave7StarterDeckSetup,wave8Scenario,wave8StarterDeckSetup,wave9Scenario,wave9StarterDeckSetup,when,whenCompleted,whenDefeated,whenRevealed,whenRevealedAlterEgo,whenRevealedHero,whenSpentGenerate,whileOnChosenMainScheme,whileTucked,withFewestCounters,withModularSetContents,withMostCounters,you,youAre,youAreNamed,youHaveTrait,yourIdentity,yourLeader,yourMainScheme,yourTeam,zone,zoneCountOf}from"./chunks/chunk-ACT4TJXC.js";export{ANY_ASPECT_CARD,ANY_NUMBER,ANY_RESOURCE,AOA_CAMPAIGN_DEFINITION,AOA_DEFEATED,AOA_MISSIONS,AOA_NOT_DEFEATED,AOA_OVERSEERS,AOA_PROTECT_THE_PROFESSOR,AOS_CAMPAIGN_DEFINITION,AS_DRONE,BUILTIN_PACKS,CAMPAIGNS,CAN_TAKE_THIS_ATTACK,COMMUNITY_DECK_AUTHORS,CORE_ABILITIES,CORE_BUILTIN_PACK,CORE_DEPS,CUSTOM_SCENARIO_FIELDS,ENCOUNTER_CARD,ENCOUNTER_CARD_CATEGORIES,ENCOUNTER_SIDE_SCHEME,ENGINE_ONLY_DSL_EXAMPLES,FRIENDLY_CHARACTER,GMW_BALANCED_FIELD,GMW_BALANCED_TOGGLES,GMW_CAMPAIGN_DEFINITION,INFINITES_GENE_POOL_THREAT_MAX,MOJO_CAMPAIGN_DEFINITION,MTS_CAMPAIGN_DEFINITION,NEXT_EVOL_CAMPAIGN_DEFINITION,NOT_READY_PACK_CODES,PACK_ABILITY_ID,PAID_CARDS,PAID_IN_PLAY_CARDS,PLAYABLE_ABILITIES,PLAYABLE_DEPS,PLAYABLE_ENCOUNTER_SETS,PLAYABLE_SCENARIO_RECORDS,PLAYER_SIDE_SCHEME,RANDOM_VILLAIN,REQUIRED_PACK_FILES,SHADOWLAND_CAMPAIGN_DEFINITION,SM_CAMPAIGN_DEFINITION,SUPPORTED_DSL_FEATURES,TEAM_UP_CARD,TRAIT,TRORS_CAMPAIGN_DEFINITION,UNSCRIPTED_ENCOUNTER_SET_IDS,VILLAIN_OR_VILLAINOUS,WAVE10_ABILITIES,WAVE10_BUILTIN_PACKS,WAVE10_CARDS,WAVE10_DEPS,WAVE10_GAME_ENCOUNTER_SETS,WAVE11_ABILITIES,WAVE11_BUILTIN_PACKS,WAVE11_CARDS,WAVE11_DEPS,WAVE11_GAME_ENCOUNTER_SETS,WAVE1_ABILITIES,WAVE1_BUILTIN_PACKS,WAVE1_DEPS,WAVE1_REPRINT_ABILITIES,WAVE2_ABILITIES,WAVE2_BUILTIN_PACKS,WAVE2_DEPS,WAVE2_REPRINT_ABILITIES,WAVE3_ABILITIES,WAVE3_BUILTIN_PACKS,WAVE3_CARDS,WAVE3_DEPS,WAVE3_REPRINT_ABILITIES,WAVE4_BUILTIN_PACKS,WAVE5_BUILTIN_PACKS,WAVE6_BUILTIN_PACKS,WAVE7_ABILITIES,WAVE7_BUILTIN_PACKS,WAVE7_CARDS,WAVE7_DEPS,WAVE8_ABILITIES,WAVE8_BUILTIN_PACKS,WAVE8_CARDS,WAVE8_DEPS,WAVE9_ABILITIES,WAVE9_BUILTIN_PACKS,WAVE9_CARDS,WAVE9_DEPS,YOUR_HERO,YOUR_IDENTITY,aDifferentCard,aScheme,abilitiesForCards,accelerationTokensOn,accusationWrongGuesses,accuse,accusedWrong,actingCharacter,action,activatesBeforeVillain,activatingEnemy,activationIs,activationOrderOf,addAccelerationToken,addCounters,addMainSchemeStageToVictoryDisplay,addToVictoryDisplay,addVillain,additionalAttackCost,additionalCostToPlay,additionalCostToReady,additionalPowerCost,additionalThwartCost,adjustBoostCount,advanceMainScheme,advanceToSetAsideVillain,after,afterNextCardPlayed,agile,allOf,allowUnlabeledAttack,alterEgoAction,alterEgoInterrupt,alterEgoResponse,amount,anAttackableEnemy,anEnemy,andThen,anyIn,anyNumberOfToughStatusCards,anyOf,anyOfCards,anyPlayerEliminated,applyAsBoostCard,applyRuleUntil,areaPlayersDefeated,assignDamage,atEndOfActivation,atEndOfAttack,atEndOfPhase,atEndOfRound,atEndOfThwart,atMost,attachCard,attachCost,attachInstruction,attack,attackAnEnemy,attackDamageDealt,attackExcessAsDealt,attackInProgress,attackInitiatedAgainst,attackPreventedAmount,attackPreventedTotal,attackResolvedLabeled,attackTarget,attackTotalAtk,attackUsedAtk,attackWasPrevented,attackableAsMinion,attackedBy,attackedPlayer,attackedThisPhase,attackingEnemy,attacksDealAdditionalDamage,attacksGainKeywords,attacksLoseKeywords,baseStatOf,baseStatsFromYourHero,basicPowerBy,basicPowerCost,basicPowerIs,basicPowerStatIs,basicThwartOnlyAgainst,basicThwartsIgnore,bindTargets,blankTextBoxForPlayers,blankTextBoxUntil,blanksTextBox,boost,boostAreaIconsOn,boostCardOf,boostCardsFromSet,boostIconsCount,boostIconsOn,buildScenarioDeck,buildWave11Scenario,builtinGameDeps,builtinPackProblems,campaignDefinitionOf,campaignDefinitionProblems,campaignDefinitionsOf,campaignDepsWithPacks,campaignGameWithPacks,campaignInstructionsOf,campaignLogAtLeast,campaignLogCardCounter,campaignLogCardRecorded,campaignLogCards,campaignLogHas,campaignLogIsSet,campaignLogValue,campaignModularPickProblem,canAttachTo,canAttachToCategory,canChangeForm,canEnterPlay,canFlip,canPayResources,canPlayFromHand,canRemoveThreatFrom,canSpendDifferentResources,canTakeStatus,canUseBasicPower,cancelBoostedActivation,cancelConsequentialDamage,cancelIt,cancelRevealedCard,cancelWhenRevealed,cannotActivate,cannotAttach,cannotBeAttachedUnlessInPlay,cannotBeCanceled,cannotBeDefeated,cannotBeHealed,cannotBeReadiedByPlayerCards,cannotChangeFormUntil,cannotChooseOption,cannotChooseToDiscard,cannotEnterPlay,cannotFlip,cannotHaveStatus,cannotLeavePlay,cannotMakeBasicAttacks,cannotReadyUntil,cannotRecover,cannotResolveTriggeredAbilities,cannotThwart,cardIdsIn,cardPoolWithPack,cardPoolWithPacks,cards,cardsFrom,cardsOfComposedSets,centralMainScheme,changeAdditionalForm,changeForm,changeFormCost,changeToHeroFormNamed,changeToHeroFormWithTrait,changeToOtherHeroForm,changeVillainForm,characterDidThisPhase,checkModularPickCount,checkPackCampaigns,checkPlayableDifficultySets,choiceFoundNothing,chooseCardCost,chooseCardType,chooseCards,chooseEncounterCardType,chooseGroup,chooseMainSchemeStages,chooseNumber,chooseOne,chooseOneBy,chooseOptions,choosePlayer,choosePlayerWithEngaged,chooseTarget,chooseTargetCost,chosen,chosenGroup,chosenModularSetIds,chosenPlayer,chosenVillain,civilWarGameModes,civilWarModularSets,civilWarSidesOffer,communityDeckUrl,communityDecks,competitiveOnly,competitiveOnlyTexts,completeMainScheme,confuse,consideredToHaveHitPoints,consideredToHaveResourceIcon,constant,controllerOf,coreScenario,costIf,costModifier,costsPayableByAnyPlayer,countAmong,countBoostIcons,countOf,countTowardStartingHand,counterLimit,countersAsResource,countersOn,countsAs,coveredByEngineRule,createGameArea,createScenarioArea,createScenarioPlayArea,customContentOfPacks,customContentProblems,customModularPickProblem,customModularSetChoices,customScenarioProblems,damageAnEnemy,damageCardsCost,damageOn,damageSharedVillain,damageThisCardCost,damagedAtLeast,dealAsEncounterCard,dealDamage,dealDamageCost,dealDamageToChosenCost,dealEncounterCard,dealEncounterCardsCost,dealEncounterCardsToChosenPlayerCost,dealHiddenPiles,dealIndirectDamage,dealPoolOneAtATime,dealtEncounterCards,dealtEncounterCount,deckCountOf,deckDiscardIconsCount,declareDefender,defeat,defeatExcessDamage,defeatExcessThreat,defeatedWithExcessConsequentialDamage,defeatedWithExcessDamage,defeatingPlayer,defenderDefForAttack,defendingCharacter,defendsWithoutExhausting,defineAbilities,defineBuiltinPack,definePackAbilities,detach,difficultySetAlternativesFor,discard,discardAtRandom,discardBoostCard,discardCardsCost,discardChosenFromEncounterDeckCost,discardDeckUntil,discardEncounterCards,discardEncounterUntil,discardFacedownBoostCards,discardFromHand,discardFromHandCombinedCost,discardFromHandCost,discardRandomFromHandCost,discardStatusCost,discardStatusesTokensAndAttachments,discardThis,discardTopOfDeckCost,discardTopOfEncounterDeckCost,discardTuckedCost,discardUpToTopOfDeckCost,distinctAspectsOf,distinctTraitsOf,divide,doesNotExhaustToDefend,doubleDamageTaken,doubleNextCardSpent,doubleStat,doublesResourcesGeneratedForThisCard,doublesResourcesWhilePayingFor,draw,drawUpTo,droneFromDeck,dslFeatures,duringPlayerPhase,duringTurnOf,duringVillainPhaseStepOne,each,eachGroupInPod,eachPlayer,eachPlayerCost,eachTimeUntil,eitherCost,encounterCard,encounterCards,encounterCardsOf,encounterIconsInPlay,encounterLookDiscardCost,encounterSetAside,encounterSetOf,endGame,enemyActivates,enemyAttack,enemyAttacksEnemy,enemyAttacksYouCost,enemyCanAttackAnother,enemyLeader,enemyScheme,enemyTeam,enemyTeamChooses,enemyToAttack,engage,engagedPlayerOf,engineOnlyDslProblems,entersPlayExhausted,eventAmount,eventDamageTaken,eventDamageTakenBy,eventDealt,eventKindIs,eventPlayer,eventResult,eventSource,eventSourceEnemy,eventTarget,eventTargetsTogether,exactlyDefeated,exactlyDefeatedByPower,excludedFromAllyLimit,excludedFromPlayerSideSchemeLimit,exhaust,exhaustCardsCost,exhaustEachCost,exhaustThis,exhaustYourHero,exists,expertSetReplaceable,extraBoostCardsForVillain,faceNamed,fieldsIn,finalStep,find,findCard,firstAttackThisTurn,firstPlayer,firstPlayerAction,firstPlayerPicksFromHand,firstRevealGainsSurge,firstThisRound,flatten,flipCard,flipCardsCost,flipThis,focusedMainScheme,forAnIdentityNotInThisGame,forEachCard,forEachPlayer,forEachPlayerInChosenOrder,forcedAction,forcedInterrupt,forcedResponse,formChangeCost,friendlyCharacterAttacks,fromAnyAspect,gainFromHiddenPile,gainKeywordUntil,gainTraitUntil,gainTraitsOfUntil,gainsAbility,gainsIcon,gainsKeyword,gainsKeywordX,gainsKeywordsOf,gainsTrait,gainsTraitsOf,gameAreasSplit,gameDepsWithPack,gameDepsWithPacks,genePoolThreatOffer,generatesAmount,generatesPerCard,gets,giveBasicPowerBoostCard,giveBoostCard,giveBoostCardsCost,giveHeldBoostCard,giveStatus,giveStatusCost,giveTough,gmwBalancedHiddenFields,grantAdditionalMulligans,grantOwnedCards,grantedTo,grantingCard,grantsPreparation,groupPlayerCount,handCountOf,handSizeOf,hasAttachment,hasNamedResource,hasPrintedBoostAbility,hasStatus,hasTaggedAbility,hasTrait,heal,healCost,healYourIdentityCost,heroAction,heroInterrupt,heroNoCharacterIsTitledAs,heroResource,heroResponse,hiddenPileCount,highestStatAmong,hitPointsOf,holdMinion,horsemanSidesOffer,host,identifyMole,identityOf,ifElse,ifThen,ignoreAbilities,ignoreBoost,ignoreBoostAbilities,ignoreBoostForThisAttack,ignores,ignoresRetaliate,inAdditionalForm,inCampaign,inCampaignLogField,inCompetitiveMode,inDiscard,inEncounterSet,inForm,inGroup,inHand,inMode,inPlay,inPlayAreaOf,inScenarioPlayArea,inVictoryDisplay,increaseDamage,increaseDamageTaken,increaseNextCardCost,infinitesGenePoolThreatRecommendation,instead,interrupt,isAlterEgo,isAttached,isBaseEncounterSetId,isBaseScenarioId,isConfused,isHero,isModularChoice,isNotReadyCard,isPlainJson,isScenarioSpecificSet,isStunned,isUnscriptedAbilityIssue,joinGameArea,keepsExhausted,lastPlayedThisRound,leavingPlayLoses,limitPerPaidCard,logCardList,logCardRef,logFlag,logNumber,logOption,logText,lookAt,lookAtAndRearrange,lookAtTopOfScenarioDeckThenPlace,loseKeywordUntil,loseTraitUntil,losesIcon,losesKeyword,made,mainSchemeAdvancedBy,mainSchemeMarkedBy,mainSchemePicksOffer,mainSchemeStageGist,mainSchemeStageNumber,mainSchemeStagesOffer,mainSchemeStagesProblem,max,maxDamageTaken,maxOnePerTriggeringInstance,maxSustainedDamage,mayLookAtTopOfEncounterDeckUntil,mergeCosts,mergeRegistries,min,minDamageTaken,modifyAttack,modifyBasicPower,modifyCardEffect,modifyCardEffectsUntil,modifyConsequentialDamage,modifyStat,modifyStatOf,modifyThwart,modularPickCountProblem,modularPickCountRange,modularPickProblem,modularSetContents,mojoCheckedOffSets,mojoModularSetPicks,mostCommonHandTypeCount,moveActiveCounterToNextInRow,moveActiveCounterToNextVillain,moveBoostCards,moveCards,moveCardsInto,moveCounters,moveThreat,multiplyStat,named,namedByTeamUpOf,nextAfter,not,notCountedTowardHandSize,notMatching,notOfChosenCardType,obligation,ofChosenCardType,ofClassification,ofIdentitySetTitled,ofTeamUpSet,offersEasierStart,offersGenePoolThreat,on,onChosenMainScheme,oncePerPaidCard,oncePerPhase,oncePerPhasePerEventPlayer,oncePerRound,oncePerRoundPerPlayer,oneCopyOf,onlyCharacterRemovesThreat,onlySourceRemovesThreat,onlyThwartsRemoveThreat,opsOfKind,option,otherFaceOf,otherPlayers,outsideFact,overdefeated,overpaidWhenPlayed,ownScriptsOf,ownerOf,packCampaignDefinitionOf,packCampaignDefinitions,packCampaignRecords,packCampaignsOf,packEncounterSetRecords,packModularSetChoices,obligation as packObligation,packScenarioOffer,packScenarioRecords,paidCards,paidInPlayCards,paidType,paidTypeCount,paidUsingResourceFrom,paidWith,paidWithCard,paidWithOnly,paidWithResourceCard,pairCards,pairLimit,partOf,passEncounterCard,payPrintedCostOf,payingFor,perHero,placeCountersCost,placeDamage,placeOnTopOrBottom,placeOnTopOrBottomOfPlayerDeck,placeThreat,placeThreatOnSharedScheme,playFromDeckIgnoringCost,playFromDeckReducingCost,playFromDiscard,playFromHandIgnoringCost,playFromHandReducingCost,playFromSeparateDeck,playNote,playOnlyIf,playSetAside,playTuckedCard,playWithTopOfDeckFaceup,playWithTopOfEncounterDeckFaceup,playableAttachments,playableScenario,playableScenarioOffer,playableScenarioWithCustom,playableStarterDeckSetup,playableTopOfDeck,playableTucked,playedThisPhase,playedThisRound,playedThisTurn,playedVia,playerOrElse,playersCannotDiscard,playersWhere,preparation,preventAllDamageTo,preventConsequentialDamage,preventDamage,preventThreat,printedBoostAreaIconsOn,printedCostAtLeast,printedCostOf,printedForm,printedHpNumeralOf,printedHpOf,printedResourcesInHandAs,printedResourcesOf,printedStatOf,printsAbility,product,publishIssues,putIntoPlay,putIntoPlayAsHost,putIntoPlayFacedown,putIntoPlayFromSetAside,putLinkedAllyIntoPlay,putMainSchemeStageIntoPlay,query,raiseMoment,randomCivilWarScenario,reachableFromPod,reaching,readPackInput,readsAtkOf,readsPaymentTypesOf,ready,readyCardsCost,recordInCampaignLog,reduceCostOfCards,reduceCostToPlay,reduceDamage,reduceDamageTo,reduceNextCardCost,reducesAttackDamageTaken,refCount,refMatches,remainingHpCompare,remainingHpOf,removeAccelerationToken,removeAllCounters,removeAllCountersFrom,removeAnAccelerationToken,removeCounter,removeCountersAmong,removeCountersFrom,removeEachCounterFrom,removeFromCampaign,removeMainSchemeStage,removeMainSchemeStages,removeStatus,removeThreat,removeThreatCost,removeThreatFromAScheme,removeThreatFromChosenCost,removeThreatUpToCost,removeUpToCounters,removeVillain,removedFromGameCards,reorderCards,repeatTimes,repeatWhile,replaceAttachHost,replaceBoostCount,replaceLeaveDestination,replaceNextVillainPhaseWithPlayerPhase,replaceStatus,replaceTuckHost,reportFact,resetHitPoints,resolveAttackAgainst,resolveBoostAbilitiesOf,resolveForcedInterruptOf,resolveForcedResponseCost,resolveForcedResponseOf,resolveModes,resolveOneTagged,resolvePreparationsOf,resolveSetups,resolveSpecialCost,resolveSpecials,resolveSpecialsOf,resolveTagged,resolveWhenDefeatedOf,resolveWhenRevealedOf,resource,resourceTypesOf,resourcesGeneratedAsWild,resourcesPaidBy,response,restrictedLimit,retargetAttack,retargetPlayerAttack,returnEachToHandCost,returnToHandAfterResolving,returnToHandCost,revealCard,revealEncounterCard,revealFromSetAsideModularSet,revealHeldMinion,revealHiddenPile,revealInstead,revealMainSchemeStage,revealNextVillainStage,revealSetAside,revealTopOfScenarioDeck,revealTopOfSeparateDeck,revealedFromEncounterDeck,revealedPileCardCount,rotateEngagement,rule,sameClassificationAs,scaled,scenarioArea,scenarioAreaCount,scenarioDeck,scenarioGameSetIds,scenarioSideClause,scenarioWithPacks,scenarioWithVillain,schemeStartedByAttackBoost,schemeThreatOn,searchAndReveal,searchCollection,searchEncounterIntoPlayCost,seedHiddenPiles,selectCards,self,sentence,separateDeckCards,separateDeckCountOf,setActiveVillain,setAside,setAsideDestination,setAsideModularSetCount,setDefeatDestination,setRemainingHitPoints,setVar,setVillainAside,setVillainSide,setup,sha256Hex,sharesTitleWith,sharesTraitWith,sharesTraitWithHeroOf,shuffleDeck,shuffleEncounterDeck,shuffleInSetAsideModularSet,shuffleIntoSeparateDeck,shuffleMainSchemeStageGroup,shuffleMainSchemeStages,shuffleSeparateDeck,shuffleTopOfSeparateDeckIntoEncounterDeck,sitOut,skipNextVillainPhase,skippedCommunityDecks,skirmishOffer,special,spend,spendChosen,spendDifferentResources,spendEqualTo,spendPrinted,spendResources,spendSameType,spendUpTo,spendX,spendXResources,spendableForAnyPlayer,spendableForPlayersWhere,spendableFromTucked,splitIssues,standardSetReplaceable,starIconsOn,starterDeckSetup,statCompare,statOf,stateCheck,stateCheckFromEntering,statusCount,statusLimit,staysInHand,stillCountedByDiscarder,stun,sum,superlative,superlativePlayer,surge,swapCards,swapIdentity,swapMainScheme,swapVillain,swapVillainByTrait,tagged,taggedAbilitiesOn,takeAnyDamageCost,takeControl,takeDamage,takeDamageCost,takeIndirectDamageCost,takeIntoHand,takesConsequentialDamage,takesDamageOnlyFrom,takesDamageOnlyFromAttacks,takesFirstTurn,teamUpCharacter,teamUpCharacters,textBoxCannotBeBlanked,thatAttackGainsKeywords,thatPlayer,theAccused,theAffectedCard,theMainScheme,theMole,theVillain,thisCardGenerates,thisGroup,threatAtLeast,threatOn,thwart,thwartAScheme,thwartInProgress,thwartTarget,titled,toScenarioDeck,topOfDeck,topOfDeckIsFaceup,topOfDeckMatches,topOfEncounterDeckIsFaceup,topOfEncounterDeckMatches,topOfEncounterDeckShowsIcons,topOfEncounterDeckShowsNoIcons,topOfYourDeckHas,totalPrintedCost,totalPrintedResources,totalStatOf,traitEncounterDeck,traitNumber,treatAsAlly,treatAsMinion,treatAttachedAllyAsMinion,treatAttachedHeroAsMinion,treatAttachedMinionAsAlly,treatAttachedVillainAsMinion,treatSelfAsAlly,tuckCards,tuckLimit,tuckedCount,tuckedUnder,tuckedUnderRef,turnFacedown,uncancellable,undefendedAttack,upgradesCannotBeRemoved,useActionAbility,useThwInsteadOfAtk,usingBasicPower,validateBuiltinPack,validateDefinition,validatePack,valueAtLeast,valueAtMost,valueEquals,varAtLeast,varFor,varOf,victoryCondition,victoryDisplayCards,victoryDisplayCount,villainChoiceOf,villainChoiceOffer,villainOnSide,villainOptionOf,villainStageNumberOf,wave10Scenario,wave10StarterDeckSetup,wave11Scenario,wave11ScenarioRecord,wave11StarterDeckSetup,wave1ReprintPairs,wave1Scenario,wave1StarterDeckSetup,wave2ReprintPairs,wave2Scenario,wave2StarterDeckSetup,wave3ReprintPairs,wave3Scenario,wave3StarterDeckSetup,wave7Scenario,wave7StarterDeckSetup,wave8Scenario,wave8StarterDeckSetup,wave9Scenario,wave9StarterDeckSetup,when,whenCompleted,whenDefeated,whenRevealed,whenRevealedAlterEgo,whenRevealedHero,whenSpentGenerate,whileOnChosenMainScheme,whileTucked,withFewestCounters,withModularSetContents,withMostCounters,you,youAre,youAreNamed,youHaveTrait,yourIdentity,yourLeader,yourMainScheme,yourTeam,zone,zoneCountOf};
1
+ import{builtinGameDeps,validateBuiltinPack}from"./chunks/chunk-SCRIASBU.js";import{PACK_ABILITY_ID,REQUIRED_PACK_FILES,SUPPORTED_DSL_FEATURES,campaignDefinitionsOf,checkPackCampaigns,definePackAbilities,dslFeatures,isPlainJson,isUnscriptedAbilityIssue,packCampaignsOf,publishIssues,readPackInput,sha256Hex,splitIssues,validatePack}from"./chunks/chunk-PHTEP3BC.js";import{campaignDepsWithPacks,campaignGameWithPacks,cardPoolWithPack,cardPoolWithPacks,customContentOfPacks,gameDepsWithPack,gameDepsWithPacks,packCampaignDefinitionOf,packCampaignDefinitions,packCampaignRecords,packEncounterSetRecords,packModularSetChoices,packScenarioRecords,scenarioWithPacks}from"./chunks/chunk-N2HMNYPQ.js";import{ANY_ASPECT_CARD,ANY_NUMBER,ANY_RESOURCE,AOA_CAMPAIGN_DEFINITION,AOA_DEFEATED,AOA_MISSIONS,AOA_NOT_DEFEATED,AOA_OVERSEERS,AOA_PROTECT_THE_PROFESSOR,AOS_CAMPAIGN_DEFINITION,AS_DRONE,BUILTIN_PACKS,CAMPAIGNS,CAN_TAKE_THIS_ATTACK,COMMUNITY_DECK_AUTHORS,CORE_ABILITIES,CORE_BUILTIN_PACK,CORE_DEPS,CUSTOM_SCENARIO_FIELDS,ENCOUNTER_CARD,ENCOUNTER_CARD_CATEGORIES,ENCOUNTER_SIDE_SCHEME,ENGINE_ONLY_DSL_EXAMPLES,FRIENDLY_CHARACTER,GMW_BALANCED_FIELD,GMW_BALANCED_TOGGLES,GMW_CAMPAIGN_DEFINITION,INFINITES_GENE_POOL_THREAT_MAX,MOJO_CAMPAIGN_DEFINITION,MTS_CAMPAIGN_DEFINITION,NEXT_EVOL_CAMPAIGN_DEFINITION,NOT_READY_PACK_CODES,PAID_CARDS,PAID_IN_PLAY_CARDS,PLAYABLE_ABILITIES,PLAYABLE_DEPS,PLAYABLE_ENCOUNTER_SETS,PLAYABLE_SCENARIO_RECORDS,PLAYER_SIDE_SCHEME,RANDOM_VILLAIN,SHADOWLAND_CAMPAIGN_DEFINITION,SM_CAMPAIGN_DEFINITION,TEAM_UP_CARD,TRAIT,TRORS_CAMPAIGN_DEFINITION,UNSCRIPTED_ENCOUNTER_SET_IDS,VILLAIN_OR_VILLAINOUS,WAVE10_ABILITIES,WAVE10_BUILTIN_PACKS,WAVE10_CARDS,WAVE10_DEPS,WAVE10_GAME_ENCOUNTER_SETS,WAVE11_ABILITIES,WAVE11_BUILTIN_PACKS,WAVE11_CARDS,WAVE11_DEPS,WAVE11_GAME_ENCOUNTER_SETS,WAVE1_ABILITIES,WAVE1_BUILTIN_PACKS,WAVE1_DEPS,WAVE1_REPRINT_ABILITIES,WAVE2_ABILITIES,WAVE2_BUILTIN_PACKS,WAVE2_DEPS,WAVE2_REPRINT_ABILITIES,WAVE3_ABILITIES,WAVE3_BUILTIN_PACKS,WAVE3_CARDS,WAVE3_DEPS,WAVE3_REPRINT_ABILITIES,WAVE4_BUILTIN_PACKS,WAVE5_BUILTIN_PACKS,WAVE6_BUILTIN_PACKS,WAVE7_ABILITIES,WAVE7_BUILTIN_PACKS,WAVE7_CARDS,WAVE7_DEPS,WAVE8_ABILITIES,WAVE8_BUILTIN_PACKS,WAVE8_CARDS,WAVE8_DEPS,WAVE9_ABILITIES,WAVE9_BUILTIN_PACKS,WAVE9_CARDS,WAVE9_DEPS,YOUR_HERO,YOUR_IDENTITY,aDifferentCard,aScheme,abilitiesForCards,accelerationTokensOn,accusationWrongGuesses,accuse,accusedWrong,actingCharacter,action,activatesBeforeVillain,activatingEnemy,activationIs,activationOrderOf,addAccelerationToken,addCounters,addMainSchemeStageToVictoryDisplay,addToVictoryDisplay,addVillain,additionalAttackCost,additionalCostToPlay,additionalCostToReady,additionalPowerCost,additionalThwartCost,adjustBoostCount,advanceMainScheme,advanceToSetAsideVillain,after,afterNextCardPlayed,agile,allOf,allowUnlabeledAttack,alterEgoAction,alterEgoInterrupt,alterEgoResponse,amount,anAttackableEnemy,anEnemy,andThen,anyIn,anyNumberOfToughStatusCards,anyOf,anyOfCards,anyPlayerEliminated,applyAsBoostCard,applyRuleUntil,areaPlayersDefeated,assignDamage,atEndOfActivation,atEndOfAttack,atEndOfPhase,atEndOfRound,atEndOfThwart,atMost,attachCard,attachCost,attachInstruction,attack,attackAnEnemy,attackDamageDealt,attackExcessAsDealt,attackInProgress,attackInitiatedAgainst,attackPreventedAmount,attackPreventedTotal,attackResolvedLabeled,attackTarget,attackTotalAtk,attackUsedAtk,attackWasPrevented,attackableAsMinion,attackedBy,attackedPlayer,attackedThisPhase,attackingEnemy,attacksDealAdditionalDamage,attacksGainKeywords,attacksLoseKeywords,baseStatOf,baseStatsFromYourHero,basicPowerBy,basicPowerCost,basicPowerIs,basicPowerStatIs,basicThwartOnlyAgainst,basicThwartsIgnore,bindTargets,blankTextBoxForPlayers,blankTextBoxUntil,blanksTextBox,boost,boostAreaIconsOn,boostCardOf,boostCardsFromSet,boostIconsCount,boostIconsOn,buildScenarioDeck,buildWave11Scenario,builtinPackProblems,campaignDefinitionOf,campaignDefinitionProblems,campaignInstructionsOf,campaignLogAtLeast,campaignLogCardCounter,campaignLogCardRecorded,campaignLogCards,campaignLogHas,campaignLogIsSet,campaignLogValue,campaignModularPickProblem,canAttachTo,canAttachToCategory,canChangeForm,canEnterPlay,canFlip,canPayResources,canPlayFromHand,canRemoveThreatFrom,canSpendDifferentResources,canTakeStatus,canUseBasicPower,cancelBoostedActivation,cancelConsequentialDamage,cancelIt,cancelRevealedCard,cancelWhenRevealed,cannotActivate,cannotAttach,cannotBeAttachedUnlessInPlay,cannotBeCanceled,cannotBeDefeated,cannotBeHealed,cannotBeReadiedByPlayerCards,cannotChangeFormUntil,cannotChooseOption,cannotChooseToDiscard,cannotEnterPlay,cannotFlip,cannotHaveStatus,cannotLeavePlay,cannotMakeBasicAttacks,cannotReadyUntil,cannotRecover,cannotResolveTriggeredAbilities,cannotThwart,cardIdsIn,cards,cardsFrom,cardsOfComposedSets,centralMainScheme,changeAdditionalForm,changeForm,changeFormCost,changeToHeroFormNamed,changeToHeroFormWithTrait,changeToOtherHeroForm,changeVillainForm,characterDidThisPhase,checkModularPickCount,checkPlayableDifficultySets,choiceFoundNothing,chooseCardCost,chooseCardType,chooseCards,chooseEncounterCardType,chooseGroup,chooseMainSchemeStages,chooseNumber,chooseOne,chooseOneBy,chooseOptions,choosePlayer,choosePlayerWithEngaged,chooseTarget,chooseTargetCost,chosen,chosenGroup,chosenModularSetIds,chosenPlayer,chosenVillain,civilWarCompetitive,civilWarGameModes,civilWarModularSets,civilWarSidesOffer,communityDeckUrl,communityDecks,competitiveModularSetProblem,competitiveOnly,competitiveOnlyTexts,completeMainScheme,confuse,consideredToHaveHitPoints,consideredToHaveResourceIcon,constant,controllerOf2 as controllerOf,coreScenario,costIf,costModifier,costsPayableByAnyPlayer,countAmong,countBoostIcons,countOf,countTowardStartingHand,counterLimit,countersAsResource,countersOn,countsAs,coveredByEngineRule,createGameArea,createScenarioArea,createScenarioPlayArea,customContentProblems,customModularPickProblem,customModularSetChoices,customScenarioProblems,damageAnEnemy,damageCardsCost,damageOn,damageSharedVillain,damageThisCardCost,damagedAtLeast,dealAsEncounterCard,dealDamage,dealDamageCost,dealDamageToChosenCost,dealEncounterCard,dealEncounterCardsCost,dealEncounterCardsToChosenPlayerCost,dealHiddenPiles,dealIndirectDamage,dealPoolOneAtATime,dealtEncounterCards,dealtEncounterCount,deckCountOf,deckDiscardIconsCount,declareDefender,defeat,defeatExcessDamage,defeatExcessThreat,defeatedWithExcessConsequentialDamage,defeatedWithExcessDamage,defeatingPlayer,defenderDefForAttack,defendingCharacter,defendsWithoutExhausting,defineAbilities,defineBuiltinPack,detach,difficultySetAlternativesFor,discard,discardAtRandom,discardBoostCard,discardCardsCost,discardChosenFromEncounterDeckCost,discardDeckUntil,discardEncounterCards,discardEncounterUntil,discardFacedownBoostCards,discardFromHand,discardFromHandCombinedCost,discardFromHandCost,discardRandomFromHandCost,discardStatusCost,discardStatusesTokensAndAttachments,discardThis,discardTopOfDeckCost,discardTopOfEncounterDeckCost,discardTuckedCost,discardUpToTopOfDeckCost,distinctAspectsOf,distinctTraitsOf,divide,doesNotExhaustToDefend,doubleDamageTaken,doubleNextCardSpent,doubleStat,doublesResourcesGeneratedForThisCard,doublesResourcesWhilePayingFor,draw,drawUpTo,droneFromDeck,duringPlayerPhase,duringTurnOf,duringVillainPhaseStepOne,each,eachGroupInPod,eachPlayer,eachPlayerCost,eachTimeUntil,eitherCost,encounterCard,encounterCards,encounterCardsOf,encounterIconsInPlay,encounterLookDiscardCost,encounterSetAside,encounterSetOf,endGame,enemyActivates,enemyAttack,enemyAttacksEnemy,enemyAttacksYouCost,enemyCanAttackAnother,enemyLeader,enemyScheme,enemyTeam,enemyTeamChooses,enemyTeamFirstPlayer,enemyToAttack,engage,engagedPlayerOf,engineOnlyDslProblems,entersPlayExhausted,epicGroupScenario,eventAmount,eventDamageTaken,eventDamageTakenBy,eventDealt,eventKindIs,eventPlayer,eventResult,eventSource,eventSourceEnemy,eventTarget,eventTargetsTogether,exactlyDefeated,exactlyDefeatedByPower,excludedFromAllyLimit,excludedFromPlayerSideSchemeLimit,exhaust,exhaustCardsCost,exhaustEachCost,exhaustThis,exhaustYourHero,exists,expertSetReplaceable,extraBoostCardsForVillain,faceNamed,fieldsIn,finalStep,find,findCard,firstAttackThisTurn,firstPlayer,firstPlayerAction,firstPlayerPicksFromHand,firstRevealGainsSurge,firstThisRound,flatten,flipCard,flipCardsCost,flipThis,focusedMainScheme,forAnIdentityNotInThisGame,forEachCard,forEachPlayer,forEachPlayerInChosenOrder,forcedAction,forcedInterrupt,forcedResponse,formChangeCost,friendlyCharacterAttacks,fromAnyAspect,gainFromHiddenPile,gainKeywordUntil,gainTraitUntil,gainTraitsOfUntil,gainsAbility,gainsIcon,gainsKeyword,gainsKeywordX,gainsKeywordsOf,gainsTrait,gainsTraitsOf,gameAreasSplit,genePoolThreatOffer,generatesAmount,generatesPerCard,gets,giveBasicPowerBoostCard,giveBoostCard,giveBoostCardsCost,giveHeldBoostCard,giveStatus,giveStatusCost,giveTough,gmwBalancedHiddenFields,grantAdditionalMulligans,grantOwnedCards,grantedTo,grantingCard,grantsPreparation,groupPlayerCount,handCountOf,handSizeOf,hasAttachment,hasNamedResource,hasPrintedBoostAbility,hasStatus,hasTaggedAbility,hasTrait,heal,healCost,healYourIdentityCost,heroAction,heroInterrupt,heroNoCharacterIsTitledAs,heroResource,heroResponse,hiddenPileCount,highestStatAmong,hitPointsOf,holdMinion,horsemanSidesOffer,host,identifyMole,identityOf,ifElse,ifThen,ignoreAbilities,ignoreBoost,ignoreBoostAbilities,ignoreBoostForThisAttack,ignores,ignoresRetaliate,inAdditionalForm,inCampaign,inCampaignLogField,inCompetitiveMode,inDiscard,inEncounterSet,inForm,inGroup,inHand,inMode,inPlay,inPlayAreaOf,inScenarioPlayArea,inVictoryDisplay,increaseDamage,increaseDamageTaken,increaseNextCardCost,infinitesGenePoolThreatRecommendation,instead,interrupt,isAlterEgo,isAttached,isBaseEncounterSetId,isBaseScenarioId,isConfused,isHero,isModularChoice,isNotReadyCard,isScenarioSpecificSet,isStunned,joinGameArea,keepsExhausted,lastPlayedThisRound,leaderPlayerCardIds,leavingPlayLoses,limitPerPaidCard,logCardList,logCardRef,logFlag,logNumber,logOption,logText,lookAt,lookAtAndRearrange,lookAtTopOfScenarioDeckThenPlace,loseKeywordUntil,loseTraitUntil,losesIcon,losesKeyword,made,mainSchemeAdvancedBy,mainSchemeMarkedBy,mainSchemePicksOffer,mainSchemeStageGist,mainSchemeStageNumber,mainSchemeStagesOffer,mainSchemeStagesProblem,max,maxDamageTaken,maxOnePerTriggeringInstance,maxSustainedDamage,mayLookAtTopOfEncounterDeckUntil,mergeCosts,mergeRegistries,min,minDamageTaken,modifyAttack,modifyBasicPower,modifyCardEffect,modifyCardEffectsUntil,modifyConsequentialDamage,modifyStat,modifyStatOf,modifyThwart,modularPickCountProblem,modularPickCountRange,modularPickProblem,modularSetContents,mojoCheckedOffSets,mojoModularSetPicks,mostCommonHandTypeCount,moveActiveCounterToNextInRow,moveActiveCounterToNextVillain,moveBoostCards,moveCards,moveCardsInto,moveCounters,moveThreat,multiplyStat,named,namedByTeamUpOf,nextAfter,not,notCountedTowardHandSize,notMatching,notOfChosenCardType,obligation,ofChosenCardType,ofClassification,ofIdentitySetTitled,ofTeamUpSet,offersEasierStart,offersGenePoolThreat,on,onChosenMainScheme,oncePerPaidCard,oncePerPhase,oncePerPhasePerEventPlayer,oncePerRound,oncePerRoundPerPlayer,oneCopyOf,onlyCharacterRemovesThreat,onlySourceRemovesThreat,onlyThwartsRemoveThreat,opsOfKind,option,otherFaceOf,otherPlayers,outsideFact,overdefeated,overpaidWhenPlayed,ownScriptsOf,ownerOf,packScenarioOffer,paidCards,paidInPlayCards,paidType,paidTypeCount,paidUsingResourceFrom,paidWith,paidWithCard,paidWithOnly,paidWithResourceCard,pairCards,pairLimit,partOf,passEncounterCard,payPrintedCostOf,payingFor,perHero,placeCountersCost,placeDamage,placeOnTopOrBottom,placeOnTopOrBottomOfPlayerDeck,placeThreat,placeThreatOnSharedScheme,playFromDeckIgnoringCost,playFromDeckReducingCost,playFromDiscard,playFromHandIgnoringCost,playFromHandReducingCost,playFromSeparateDeck,playNote,playOnlyIf,playSetAside,playTuckedCard,playWithTopOfDeckFaceup,playWithTopOfEncounterDeckFaceup,playableAttachments,playableScenario,playableScenarioOffer,playableScenarioWithCustom,playableStarterDeckSetup,playableTopOfDeck,playableTucked,playedThisPhase,playedThisRound,playedThisTurn,playedVia,playerOrElse,playersCannotDiscard,playersWhere,preparation,preventAllDamageTo,preventConsequentialDamage,preventDamage,preventThreat,printedBoostAreaIconsOn,printedCostAtLeast,printedCostOf,printedForm,printedHpNumeralOf,printedHpOf,printedResourcesInHandAs,printedResourcesOf,printedStatOf,printsAbility,product,putIntoPlay,putIntoPlayAsHost,putIntoPlayFacedown,putIntoPlayFromSetAside,putLinkedAllyIntoPlay,putMainSchemeStageIntoPlay,query,raiseMoment,randomCivilWarScenario,reachableFromPod,reaching,readsAtkOf,readsPaymentTypesOf,ready,readyCardsCost,recordInCampaignLog,reduceCostOfCards,reduceCostToPlay,reduceDamage,reduceDamageTo,reduceNextCardCost,reducesAttackDamageTaken,refCount,refMatches,remainingHpCompare,remainingHpOf,removeAccelerationToken,removeAllCounters,removeAllCountersFrom,removeAnAccelerationToken,removeCounter,removeCountersAmong,removeCountersFrom,removeEachCounterFrom,removeFromCampaign,removeMainSchemeStage,removeMainSchemeStages,removeStatus,removeThreat,removeThreatCost,removeThreatFromAScheme,removeThreatFromChosenCost,removeThreatUpToCost,removeUpToCounters,removeVillain,removedFromGameCards,reorderCards,repeatTimes,repeatWhile,replaceAttachHost,replaceBoostCount,replaceLeaveDestination,replaceNextVillainPhaseWithPlayerPhase,replaceStatus,replaceTuckHost,reportFact,resetHitPoints,resolveAttackAgainst,resolveBoostAbilitiesOf,resolveForcedInterruptOf,resolveForcedResponseCost,resolveForcedResponseOf,resolveModes,resolveOneTagged,resolvePreparationsOf,resolveSetups,resolveSpecialCost,resolveSpecials,resolveSpecialsOf,resolveTagged,resolveWhenDefeatedOf,resolveWhenRevealedOf,resource,resourceTypesOf,resourcesGeneratedAsWild,resourcesPaidBy,response,restrictedLimit,retargetAttack,retargetPlayerAttack,returnEachToHandCost,returnToHandAfterResolving,returnToHandCost,revealCard,revealEncounterCard,revealFromSetAsideModularSet,revealHeldMinion,revealHiddenPile,revealInstead,revealMainSchemeStage,revealNextVillainStage,revealSetAside,revealTopOfScenarioDeck,revealTopOfSeparateDeck,revealedFromEncounterDeck,revealedPileCardCount,rotateEngagement,rule,sameClassificationAs,scaled,scenarioArea,scenarioAreaCount,scenarioDeck,scenarioGameSetIds,scenarioSideClause,scenarioWithVillain,schemeStartedByAttackBoost,schemeThreatOn,searchAndReveal,searchCollection,searchEncounterIntoPlayCost,seedHiddenPiles,selectCards,self,sentence,separateDeckCards,separateDeckCountOf,setActiveVillain,setAside,setAsideDestination,setAsideModularSetCount,setDefeatDestination,setRemainingHitPoints,setVar,setVillainAside,setVillainSide,setup,sharesTitleWith,sharesTraitWith,sharesTraitWithHeroOf,shuffleDeck,shuffleEncounterDeck,shuffleInSetAsideModularSet,shuffleIntoSeparateDeck,shuffleMainSchemeStageGroup,shuffleMainSchemeStages,shuffleSeparateDeck,shuffleTopOfSeparateDeckIntoEncounterDeck,sitOut,skipNextVillainPhase,skippedCommunityDecks,skirmishOffer,special,spend,spendChosen,spendDifferentResources,spendEqualTo,spendPrinted,spendResources,spendSameType,spendUpTo,spendX,spendXResources,spendableForAnyPlayer,spendableForPlayersWhere,spendableFromTucked,standardSetReplaceable,starIconsOn,starterDeckSetup,statCompare,statOf,stateCheck,stateCheckFromEntering,statusCount,statusLimit,staysInHand,stillCountedByDiscarder,stun,sum,superlative,superlativePlayer,surge,swapCards,swapIdentity,swapMainScheme,swapVillain,swapVillainByTrait,tagged,taggedAbilitiesOn,takeAnyDamageCost,takeControl,takeDamage,takeDamageCost,takeIndirectDamageCost,takeIntoHand,takesConsequentialDamage,takesDamageOnlyFrom,takesDamageOnlyFromAttacks,takesFirstTurn,teamUpCharacter,teamUpCharacters,textBoxCannotBeBlanked,thatAttackGainsKeywords,thatPlayer,theAccused,theAffectedCard,theMainScheme,theMole,theVillain,thisCardGenerates,thisGroup,threatAtLeast,threatOn,thwart,thwartAScheme,thwartInProgress,thwartTarget,titled,toScenarioDeck,topOfDeck,topOfDeckIsFaceup,topOfDeckMatches,topOfEncounterDeckIsFaceup,topOfEncounterDeckMatches,topOfEncounterDeckShowsIcons,topOfEncounterDeckShowsNoIcons,topOfYourDeckHas,totalPrintedCost,totalPrintedResources,totalStatOf,traitEncounterDeck,traitNumber,treatAsAlly,treatAsMinion,treatAttachedAllyAsMinion,treatAttachedHeroAsMinion,treatAttachedMinionAsAlly,treatAttachedVillainAsMinion,treatSelfAsAlly,tuckCards,tuckLimit,tuckedCount,tuckedUnder,tuckedUnderRef,turnFacedown,uncancellable,undefendedAttack,upgradesCannotBeRemoved,useActionAbility,useThwInsteadOfAtk,usingBasicPower,validateDefinition,valueAtLeast,valueAtMost,valueEquals,varAtLeast,varFor,varOf,victoryCondition,victoryDisplayCards,victoryDisplayCount,villainChoiceOf,villainChoiceOffer,villainOnSide,villainOptionOf,villainStageNumberOf,wave10Scenario,wave10StarterDeckSetup,wave11Scenario,wave11ScenarioRecord,wave11StarterDeckSetup,wave1ReprintPairs,wave1Scenario,wave1StarterDeckSetup,wave2ReprintPairs,wave2Scenario,wave2StarterDeckSetup,wave3ReprintPairs,wave3Scenario,wave3StarterDeckSetup,wave7Scenario,wave7StarterDeckSetup,wave8Scenario,wave8StarterDeckSetup,wave9Scenario,wave9StarterDeckSetup,when,whenCompleted,whenDefeated,whenRevealed,whenRevealedAlterEgo,whenRevealedHero,whenSpentGenerate,whileOnChosenMainScheme,whileTucked,withFewestCounters,withModularSetContents,withMostCounters,you,youAre,youAreNamed,youHaveTrait,yourIdentity,yourLeader,yourLeadersMainScheme,yourLeadersSetAsideCards,yourMainScheme,yourTeam,zone,zoneCountOf}from"./chunks/chunk-NHQRL3H2.js";export{ANY_ASPECT_CARD,ANY_NUMBER,ANY_RESOURCE,AOA_CAMPAIGN_DEFINITION,AOA_DEFEATED,AOA_MISSIONS,AOA_NOT_DEFEATED,AOA_OVERSEERS,AOA_PROTECT_THE_PROFESSOR,AOS_CAMPAIGN_DEFINITION,AS_DRONE,BUILTIN_PACKS,CAMPAIGNS,CAN_TAKE_THIS_ATTACK,COMMUNITY_DECK_AUTHORS,CORE_ABILITIES,CORE_BUILTIN_PACK,CORE_DEPS,CUSTOM_SCENARIO_FIELDS,ENCOUNTER_CARD,ENCOUNTER_CARD_CATEGORIES,ENCOUNTER_SIDE_SCHEME,ENGINE_ONLY_DSL_EXAMPLES,FRIENDLY_CHARACTER,GMW_BALANCED_FIELD,GMW_BALANCED_TOGGLES,GMW_CAMPAIGN_DEFINITION,INFINITES_GENE_POOL_THREAT_MAX,MOJO_CAMPAIGN_DEFINITION,MTS_CAMPAIGN_DEFINITION,NEXT_EVOL_CAMPAIGN_DEFINITION,NOT_READY_PACK_CODES,PACK_ABILITY_ID,PAID_CARDS,PAID_IN_PLAY_CARDS,PLAYABLE_ABILITIES,PLAYABLE_DEPS,PLAYABLE_ENCOUNTER_SETS,PLAYABLE_SCENARIO_RECORDS,PLAYER_SIDE_SCHEME,RANDOM_VILLAIN,REQUIRED_PACK_FILES,SHADOWLAND_CAMPAIGN_DEFINITION,SM_CAMPAIGN_DEFINITION,SUPPORTED_DSL_FEATURES,TEAM_UP_CARD,TRAIT,TRORS_CAMPAIGN_DEFINITION,UNSCRIPTED_ENCOUNTER_SET_IDS,VILLAIN_OR_VILLAINOUS,WAVE10_ABILITIES,WAVE10_BUILTIN_PACKS,WAVE10_CARDS,WAVE10_DEPS,WAVE10_GAME_ENCOUNTER_SETS,WAVE11_ABILITIES,WAVE11_BUILTIN_PACKS,WAVE11_CARDS,WAVE11_DEPS,WAVE11_GAME_ENCOUNTER_SETS,WAVE1_ABILITIES,WAVE1_BUILTIN_PACKS,WAVE1_DEPS,WAVE1_REPRINT_ABILITIES,WAVE2_ABILITIES,WAVE2_BUILTIN_PACKS,WAVE2_DEPS,WAVE2_REPRINT_ABILITIES,WAVE3_ABILITIES,WAVE3_BUILTIN_PACKS,WAVE3_CARDS,WAVE3_DEPS,WAVE3_REPRINT_ABILITIES,WAVE4_BUILTIN_PACKS,WAVE5_BUILTIN_PACKS,WAVE6_BUILTIN_PACKS,WAVE7_ABILITIES,WAVE7_BUILTIN_PACKS,WAVE7_CARDS,WAVE7_DEPS,WAVE8_ABILITIES,WAVE8_BUILTIN_PACKS,WAVE8_CARDS,WAVE8_DEPS,WAVE9_ABILITIES,WAVE9_BUILTIN_PACKS,WAVE9_CARDS,WAVE9_DEPS,YOUR_HERO,YOUR_IDENTITY,aDifferentCard,aScheme,abilitiesForCards,accelerationTokensOn,accusationWrongGuesses,accuse,accusedWrong,actingCharacter,action,activatesBeforeVillain,activatingEnemy,activationIs,activationOrderOf,addAccelerationToken,addCounters,addMainSchemeStageToVictoryDisplay,addToVictoryDisplay,addVillain,additionalAttackCost,additionalCostToPlay,additionalCostToReady,additionalPowerCost,additionalThwartCost,adjustBoostCount,advanceMainScheme,advanceToSetAsideVillain,after,afterNextCardPlayed,agile,allOf,allowUnlabeledAttack,alterEgoAction,alterEgoInterrupt,alterEgoResponse,amount,anAttackableEnemy,anEnemy,andThen,anyIn,anyNumberOfToughStatusCards,anyOf,anyOfCards,anyPlayerEliminated,applyAsBoostCard,applyRuleUntil,areaPlayersDefeated,assignDamage,atEndOfActivation,atEndOfAttack,atEndOfPhase,atEndOfRound,atEndOfThwart,atMost,attachCard,attachCost,attachInstruction,attack,attackAnEnemy,attackDamageDealt,attackExcessAsDealt,attackInProgress,attackInitiatedAgainst,attackPreventedAmount,attackPreventedTotal,attackResolvedLabeled,attackTarget,attackTotalAtk,attackUsedAtk,attackWasPrevented,attackableAsMinion,attackedBy,attackedPlayer,attackedThisPhase,attackingEnemy,attacksDealAdditionalDamage,attacksGainKeywords,attacksLoseKeywords,baseStatOf,baseStatsFromYourHero,basicPowerBy,basicPowerCost,basicPowerIs,basicPowerStatIs,basicThwartOnlyAgainst,basicThwartsIgnore,bindTargets,blankTextBoxForPlayers,blankTextBoxUntil,blanksTextBox,boost,boostAreaIconsOn,boostCardOf,boostCardsFromSet,boostIconsCount,boostIconsOn,buildScenarioDeck,buildWave11Scenario,builtinGameDeps,builtinPackProblems,campaignDefinitionOf,campaignDefinitionProblems,campaignDefinitionsOf,campaignDepsWithPacks,campaignGameWithPacks,campaignInstructionsOf,campaignLogAtLeast,campaignLogCardCounter,campaignLogCardRecorded,campaignLogCards,campaignLogHas,campaignLogIsSet,campaignLogValue,campaignModularPickProblem,canAttachTo,canAttachToCategory,canChangeForm,canEnterPlay,canFlip,canPayResources,canPlayFromHand,canRemoveThreatFrom,canSpendDifferentResources,canTakeStatus,canUseBasicPower,cancelBoostedActivation,cancelConsequentialDamage,cancelIt,cancelRevealedCard,cancelWhenRevealed,cannotActivate,cannotAttach,cannotBeAttachedUnlessInPlay,cannotBeCanceled,cannotBeDefeated,cannotBeHealed,cannotBeReadiedByPlayerCards,cannotChangeFormUntil,cannotChooseOption,cannotChooseToDiscard,cannotEnterPlay,cannotFlip,cannotHaveStatus,cannotLeavePlay,cannotMakeBasicAttacks,cannotReadyUntil,cannotRecover,cannotResolveTriggeredAbilities,cannotThwart,cardIdsIn,cardPoolWithPack,cardPoolWithPacks,cards,cardsFrom,cardsOfComposedSets,centralMainScheme,changeAdditionalForm,changeForm,changeFormCost,changeToHeroFormNamed,changeToHeroFormWithTrait,changeToOtherHeroForm,changeVillainForm,characterDidThisPhase,checkModularPickCount,checkPackCampaigns,checkPlayableDifficultySets,choiceFoundNothing,chooseCardCost,chooseCardType,chooseCards,chooseEncounterCardType,chooseGroup,chooseMainSchemeStages,chooseNumber,chooseOne,chooseOneBy,chooseOptions,choosePlayer,choosePlayerWithEngaged,chooseTarget,chooseTargetCost,chosen,chosenGroup,chosenModularSetIds,chosenPlayer,chosenVillain,civilWarCompetitive,civilWarGameModes,civilWarModularSets,civilWarSidesOffer,communityDeckUrl,communityDecks,competitiveModularSetProblem,competitiveOnly,competitiveOnlyTexts,completeMainScheme,confuse,consideredToHaveHitPoints,consideredToHaveResourceIcon,constant,controllerOf,coreScenario,costIf,costModifier,costsPayableByAnyPlayer,countAmong,countBoostIcons,countOf,countTowardStartingHand,counterLimit,countersAsResource,countersOn,countsAs,coveredByEngineRule,createGameArea,createScenarioArea,createScenarioPlayArea,customContentOfPacks,customContentProblems,customModularPickProblem,customModularSetChoices,customScenarioProblems,damageAnEnemy,damageCardsCost,damageOn,damageSharedVillain,damageThisCardCost,damagedAtLeast,dealAsEncounterCard,dealDamage,dealDamageCost,dealDamageToChosenCost,dealEncounterCard,dealEncounterCardsCost,dealEncounterCardsToChosenPlayerCost,dealHiddenPiles,dealIndirectDamage,dealPoolOneAtATime,dealtEncounterCards,dealtEncounterCount,deckCountOf,deckDiscardIconsCount,declareDefender,defeat,defeatExcessDamage,defeatExcessThreat,defeatedWithExcessConsequentialDamage,defeatedWithExcessDamage,defeatingPlayer,defenderDefForAttack,defendingCharacter,defendsWithoutExhausting,defineAbilities,defineBuiltinPack,definePackAbilities,detach,difficultySetAlternativesFor,discard,discardAtRandom,discardBoostCard,discardCardsCost,discardChosenFromEncounterDeckCost,discardDeckUntil,discardEncounterCards,discardEncounterUntil,discardFacedownBoostCards,discardFromHand,discardFromHandCombinedCost,discardFromHandCost,discardRandomFromHandCost,discardStatusCost,discardStatusesTokensAndAttachments,discardThis,discardTopOfDeckCost,discardTopOfEncounterDeckCost,discardTuckedCost,discardUpToTopOfDeckCost,distinctAspectsOf,distinctTraitsOf,divide,doesNotExhaustToDefend,doubleDamageTaken,doubleNextCardSpent,doubleStat,doublesResourcesGeneratedForThisCard,doublesResourcesWhilePayingFor,draw,drawUpTo,droneFromDeck,dslFeatures,duringPlayerPhase,duringTurnOf,duringVillainPhaseStepOne,each,eachGroupInPod,eachPlayer,eachPlayerCost,eachTimeUntil,eitherCost,encounterCard,encounterCards,encounterCardsOf,encounterIconsInPlay,encounterLookDiscardCost,encounterSetAside,encounterSetOf,endGame,enemyActivates,enemyAttack,enemyAttacksEnemy,enemyAttacksYouCost,enemyCanAttackAnother,enemyLeader,enemyScheme,enemyTeam,enemyTeamChooses,enemyTeamFirstPlayer,enemyToAttack,engage,engagedPlayerOf,engineOnlyDslProblems,entersPlayExhausted,epicGroupScenario,eventAmount,eventDamageTaken,eventDamageTakenBy,eventDealt,eventKindIs,eventPlayer,eventResult,eventSource,eventSourceEnemy,eventTarget,eventTargetsTogether,exactlyDefeated,exactlyDefeatedByPower,excludedFromAllyLimit,excludedFromPlayerSideSchemeLimit,exhaust,exhaustCardsCost,exhaustEachCost,exhaustThis,exhaustYourHero,exists,expertSetReplaceable,extraBoostCardsForVillain,faceNamed,fieldsIn,finalStep,find,findCard,firstAttackThisTurn,firstPlayer,firstPlayerAction,firstPlayerPicksFromHand,firstRevealGainsSurge,firstThisRound,flatten,flipCard,flipCardsCost,flipThis,focusedMainScheme,forAnIdentityNotInThisGame,forEachCard,forEachPlayer,forEachPlayerInChosenOrder,forcedAction,forcedInterrupt,forcedResponse,formChangeCost,friendlyCharacterAttacks,fromAnyAspect,gainFromHiddenPile,gainKeywordUntil,gainTraitUntil,gainTraitsOfUntil,gainsAbility,gainsIcon,gainsKeyword,gainsKeywordX,gainsKeywordsOf,gainsTrait,gainsTraitsOf,gameAreasSplit,gameDepsWithPack,gameDepsWithPacks,genePoolThreatOffer,generatesAmount,generatesPerCard,gets,giveBasicPowerBoostCard,giveBoostCard,giveBoostCardsCost,giveHeldBoostCard,giveStatus,giveStatusCost,giveTough,gmwBalancedHiddenFields,grantAdditionalMulligans,grantOwnedCards,grantedTo,grantingCard,grantsPreparation,groupPlayerCount,handCountOf,handSizeOf,hasAttachment,hasNamedResource,hasPrintedBoostAbility,hasStatus,hasTaggedAbility,hasTrait,heal,healCost,healYourIdentityCost,heroAction,heroInterrupt,heroNoCharacterIsTitledAs,heroResource,heroResponse,hiddenPileCount,highestStatAmong,hitPointsOf,holdMinion,horsemanSidesOffer,host,identifyMole,identityOf,ifElse,ifThen,ignoreAbilities,ignoreBoost,ignoreBoostAbilities,ignoreBoostForThisAttack,ignores,ignoresRetaliate,inAdditionalForm,inCampaign,inCampaignLogField,inCompetitiveMode,inDiscard,inEncounterSet,inForm,inGroup,inHand,inMode,inPlay,inPlayAreaOf,inScenarioPlayArea,inVictoryDisplay,increaseDamage,increaseDamageTaken,increaseNextCardCost,infinitesGenePoolThreatRecommendation,instead,interrupt,isAlterEgo,isAttached,isBaseEncounterSetId,isBaseScenarioId,isConfused,isHero,isModularChoice,isNotReadyCard,isPlainJson,isScenarioSpecificSet,isStunned,isUnscriptedAbilityIssue,joinGameArea,keepsExhausted,lastPlayedThisRound,leaderPlayerCardIds,leavingPlayLoses,limitPerPaidCard,logCardList,logCardRef,logFlag,logNumber,logOption,logText,lookAt,lookAtAndRearrange,lookAtTopOfScenarioDeckThenPlace,loseKeywordUntil,loseTraitUntil,losesIcon,losesKeyword,made,mainSchemeAdvancedBy,mainSchemeMarkedBy,mainSchemePicksOffer,mainSchemeStageGist,mainSchemeStageNumber,mainSchemeStagesOffer,mainSchemeStagesProblem,max,maxDamageTaken,maxOnePerTriggeringInstance,maxSustainedDamage,mayLookAtTopOfEncounterDeckUntil,mergeCosts,mergeRegistries,min,minDamageTaken,modifyAttack,modifyBasicPower,modifyCardEffect,modifyCardEffectsUntil,modifyConsequentialDamage,modifyStat,modifyStatOf,modifyThwart,modularPickCountProblem,modularPickCountRange,modularPickProblem,modularSetContents,mojoCheckedOffSets,mojoModularSetPicks,mostCommonHandTypeCount,moveActiveCounterToNextInRow,moveActiveCounterToNextVillain,moveBoostCards,moveCards,moveCardsInto,moveCounters,moveThreat,multiplyStat,named,namedByTeamUpOf,nextAfter,not,notCountedTowardHandSize,notMatching,notOfChosenCardType,obligation,ofChosenCardType,ofClassification,ofIdentitySetTitled,ofTeamUpSet,offersEasierStart,offersGenePoolThreat,on,onChosenMainScheme,oncePerPaidCard,oncePerPhase,oncePerPhasePerEventPlayer,oncePerRound,oncePerRoundPerPlayer,oneCopyOf,onlyCharacterRemovesThreat,onlySourceRemovesThreat,onlyThwartsRemoveThreat,opsOfKind,option,otherFaceOf,otherPlayers,outsideFact,overdefeated,overpaidWhenPlayed,ownScriptsOf,ownerOf,packCampaignDefinitionOf,packCampaignDefinitions,packCampaignRecords,packCampaignsOf,packEncounterSetRecords,packModularSetChoices,obligation as packObligation,packScenarioOffer,packScenarioRecords,paidCards,paidInPlayCards,paidType,paidTypeCount,paidUsingResourceFrom,paidWith,paidWithCard,paidWithOnly,paidWithResourceCard,pairCards,pairLimit,partOf,passEncounterCard,payPrintedCostOf,payingFor,perHero,placeCountersCost,placeDamage,placeOnTopOrBottom,placeOnTopOrBottomOfPlayerDeck,placeThreat,placeThreatOnSharedScheme,playFromDeckIgnoringCost,playFromDeckReducingCost,playFromDiscard,playFromHandIgnoringCost,playFromHandReducingCost,playFromSeparateDeck,playNote,playOnlyIf,playSetAside,playTuckedCard,playWithTopOfDeckFaceup,playWithTopOfEncounterDeckFaceup,playableAttachments,playableScenario,playableScenarioOffer,playableScenarioWithCustom,playableStarterDeckSetup,playableTopOfDeck,playableTucked,playedThisPhase,playedThisRound,playedThisTurn,playedVia,playerOrElse,playersCannotDiscard,playersWhere,preparation,preventAllDamageTo,preventConsequentialDamage,preventDamage,preventThreat,printedBoostAreaIconsOn,printedCostAtLeast,printedCostOf,printedForm,printedHpNumeralOf,printedHpOf,printedResourcesInHandAs,printedResourcesOf,printedStatOf,printsAbility,product,publishIssues,putIntoPlay,putIntoPlayAsHost,putIntoPlayFacedown,putIntoPlayFromSetAside,putLinkedAllyIntoPlay,putMainSchemeStageIntoPlay,query,raiseMoment,randomCivilWarScenario,reachableFromPod,reaching,readPackInput,readsAtkOf,readsPaymentTypesOf,ready,readyCardsCost,recordInCampaignLog,reduceCostOfCards,reduceCostToPlay,reduceDamage,reduceDamageTo,reduceNextCardCost,reducesAttackDamageTaken,refCount,refMatches,remainingHpCompare,remainingHpOf,removeAccelerationToken,removeAllCounters,removeAllCountersFrom,removeAnAccelerationToken,removeCounter,removeCountersAmong,removeCountersFrom,removeEachCounterFrom,removeFromCampaign,removeMainSchemeStage,removeMainSchemeStages,removeStatus,removeThreat,removeThreatCost,removeThreatFromAScheme,removeThreatFromChosenCost,removeThreatUpToCost,removeUpToCounters,removeVillain,removedFromGameCards,reorderCards,repeatTimes,repeatWhile,replaceAttachHost,replaceBoostCount,replaceLeaveDestination,replaceNextVillainPhaseWithPlayerPhase,replaceStatus,replaceTuckHost,reportFact,resetHitPoints,resolveAttackAgainst,resolveBoostAbilitiesOf,resolveForcedInterruptOf,resolveForcedResponseCost,resolveForcedResponseOf,resolveModes,resolveOneTagged,resolvePreparationsOf,resolveSetups,resolveSpecialCost,resolveSpecials,resolveSpecialsOf,resolveTagged,resolveWhenDefeatedOf,resolveWhenRevealedOf,resource,resourceTypesOf,resourcesGeneratedAsWild,resourcesPaidBy,response,restrictedLimit,retargetAttack,retargetPlayerAttack,returnEachToHandCost,returnToHandAfterResolving,returnToHandCost,revealCard,revealEncounterCard,revealFromSetAsideModularSet,revealHeldMinion,revealHiddenPile,revealInstead,revealMainSchemeStage,revealNextVillainStage,revealSetAside,revealTopOfScenarioDeck,revealTopOfSeparateDeck,revealedFromEncounterDeck,revealedPileCardCount,rotateEngagement,rule,sameClassificationAs,scaled,scenarioArea,scenarioAreaCount,scenarioDeck,scenarioGameSetIds,scenarioSideClause,scenarioWithPacks,scenarioWithVillain,schemeStartedByAttackBoost,schemeThreatOn,searchAndReveal,searchCollection,searchEncounterIntoPlayCost,seedHiddenPiles,selectCards,self,sentence,separateDeckCards,separateDeckCountOf,setActiveVillain,setAside,setAsideDestination,setAsideModularSetCount,setDefeatDestination,setRemainingHitPoints,setVar,setVillainAside,setVillainSide,setup,sha256Hex,sharesTitleWith,sharesTraitWith,sharesTraitWithHeroOf,shuffleDeck,shuffleEncounterDeck,shuffleInSetAsideModularSet,shuffleIntoSeparateDeck,shuffleMainSchemeStageGroup,shuffleMainSchemeStages,shuffleSeparateDeck,shuffleTopOfSeparateDeckIntoEncounterDeck,sitOut,skipNextVillainPhase,skippedCommunityDecks,skirmishOffer,special,spend,spendChosen,spendDifferentResources,spendEqualTo,spendPrinted,spendResources,spendSameType,spendUpTo,spendX,spendXResources,spendableForAnyPlayer,spendableForPlayersWhere,spendableFromTucked,splitIssues,standardSetReplaceable,starIconsOn,starterDeckSetup,statCompare,statOf,stateCheck,stateCheckFromEntering,statusCount,statusLimit,staysInHand,stillCountedByDiscarder,stun,sum,superlative,superlativePlayer,surge,swapCards,swapIdentity,swapMainScheme,swapVillain,swapVillainByTrait,tagged,taggedAbilitiesOn,takeAnyDamageCost,takeControl,takeDamage,takeDamageCost,takeIndirectDamageCost,takeIntoHand,takesConsequentialDamage,takesDamageOnlyFrom,takesDamageOnlyFromAttacks,takesFirstTurn,teamUpCharacter,teamUpCharacters,textBoxCannotBeBlanked,thatAttackGainsKeywords,thatPlayer,theAccused,theAffectedCard,theMainScheme,theMole,theVillain,thisCardGenerates,thisGroup,threatAtLeast,threatOn,thwart,thwartAScheme,thwartInProgress,thwartTarget,titled,toScenarioDeck,topOfDeck,topOfDeckIsFaceup,topOfDeckMatches,topOfEncounterDeckIsFaceup,topOfEncounterDeckMatches,topOfEncounterDeckShowsIcons,topOfEncounterDeckShowsNoIcons,topOfYourDeckHas,totalPrintedCost,totalPrintedResources,totalStatOf,traitEncounterDeck,traitNumber,treatAsAlly,treatAsMinion,treatAttachedAllyAsMinion,treatAttachedHeroAsMinion,treatAttachedMinionAsAlly,treatAttachedVillainAsMinion,treatSelfAsAlly,tuckCards,tuckLimit,tuckedCount,tuckedUnder,tuckedUnderRef,turnFacedown,uncancellable,undefendedAttack,upgradesCannotBeRemoved,useActionAbility,useThwInsteadOfAtk,usingBasicPower,validateBuiltinPack,validateDefinition,validatePack,valueAtLeast,valueAtMost,valueEquals,varAtLeast,varFor,varOf,victoryCondition,victoryDisplayCards,victoryDisplayCount,villainChoiceOf,villainChoiceOffer,villainOnSide,villainOptionOf,villainStageNumberOf,wave10Scenario,wave10StarterDeckSetup,wave11Scenario,wave11ScenarioRecord,wave11StarterDeckSetup,wave1ReprintPairs,wave1Scenario,wave1StarterDeckSetup,wave2ReprintPairs,wave2Scenario,wave2StarterDeckSetup,wave3ReprintPairs,wave3Scenario,wave3StarterDeckSetup,wave7Scenario,wave7StarterDeckSetup,wave8Scenario,wave8StarterDeckSetup,wave9Scenario,wave9StarterDeckSetup,when,whenCompleted,whenDefeated,whenRevealed,whenRevealedAlterEgo,whenRevealedHero,whenSpentGenerate,whileOnChosenMainScheme,whileTucked,withFewestCounters,withModularSetContents,withMostCounters,you,youAre,youAreNamed,youHaveTrait,yourIdentity,yourLeader,yourLeadersMainScheme,yourLeadersSetAsideCards,yourMainScheme,yourTeam,zone,zoneCountOf};
package/dist/mc-pack.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import{src_exports}from"./chunks/chunk-3YMCANI3.js";import{formatImportReport,importMarvelCdbPack}from"./chunks/chunk-DX44O32N.js";import{PackBuildError,assemblePack,buildPack,loadPackSource}from"./chunks/chunk-WFEXO5DU.js";import{publishIssues,readPackInput,splitIssues,validatePack}from"./chunks/chunk-3SR23UJ7.js";import{SMOKE_BASE_DECK,SMOKE_SCENARIOS,smokeTestPack}from"./chunks/chunk-7NRC6TLV.js";import"./chunks/chunk-S3JH4WL4.js";import"./chunks/chunk-ACT4TJXC.js";import{existsSync as existsSync2}from"node:fs";import{join as join2,resolve as resolve2}from"node:path";import{createJiti}from"jiti";function sdkModuleNames(){let published="@champions-digital-game/mod-sdk";return published&&published!=="@mc/mod-sdk"?["@mc/mod-sdk",published]:["@mc/mod-sdk"]}function packModuleImporter(){let virtualModules=Object.fromEntries(sdkModuleNames().map(name=>[name,src_exports]));return path=>createJiti(path,{virtualModules,fsCache:!1,moduleCache:!1,interopDefault:!1}).import(path)}import{spawnSync}from"node:child_process";import{existsSync,mkdtempSync,readFileSync,readdirSync,rmSync,statSync,writeFileSync}from"node:fs";import{createRequire}from"node:module";import{tmpdir}from"node:os";import{dirname,isAbsolute,join,relative,resolve,sep}from"node:path";import{fileURLToPath}from"node:url";var TypecheckUnavailableError=class extends Error{};function nearestPackage(from){for(let dir=from;;dir=dirname(dir)){let file=join(dir,"package.json");if(existsSync(file))return{dir,json:JSON.parse(readFileSync(file,"utf8"))};if(dirname(dir)===dir)return}}var HERE=dirname(fileURLToPath(import.meta.url));function sdkTypesEntry(){let pkg=nearestPackage(HERE),types=pkg?.json.types;if(!pkg||typeof types!="string")throw new TypecheckUnavailableError("cannot find the SDK's own type entry");let entry=join(pkg.dir,types);if(!existsSync(entry))throw new TypecheckUnavailableError(`the SDK's type entry ${entry} is missing`);return entry}function findTsc(packDir2){for(let from of[join(HERE,"package.json"),join(packDir2,"package.json")])try{let manifest=createRequire(from).resolve("typescript/package.json"),bin=JSON.parse(readFileSync(manifest,"utf8")).bin?.tsc;if(bin)return join(dirname(manifest),bin)}catch{}throw new TypecheckUnavailableError("TypeScript is not installed, so the pack's abilities cannot be type-checked: install the SDK's dependencies (npm ci), add typescript to the pack's devDependencies, or pass --skip-typecheck")}var hasTypeScript=dir=>readdirSync(dir).some(name=>{let full=join(dir,name);return statSync(full).isDirectory()?name!=="node_modules"&&hasTypeScript(full):/\.[cm]?ts$/.test(name)}),DIAGNOSTIC=/^(.+?)\((\d+),(\d+)\): error (TS\d+): (.*)$/,GLOBAL_ERROR=/^error (TS\d+): (.*)$/;function typecheckPack(packDir2,options={}){let root=resolve(packDir2),abilitiesDir=join(root,"abilities");if(!existsSync(abilitiesDir)||!hasTypeScript(abilitiesDir))return[];let tsc=options.tsc??findTsc(root),sdkTypes=options.sdkTypes??sdkTypesEntry(),slash=path=>path.split(sep).join("/"),work=mkdtempSync(join(tmpdir(),"mc-pack-typecheck-"));try{let config={compilerOptions:{target:"es2022",module:"preserve",moduleResolution:"bundler",lib:["es2023","dom"],strict:!0,noEmit:!0,allowImportingTsExtensions:!0,skipLibCheck:!0,types:[],paths:Object.fromEntries(sdkModuleNames().map(name=>[name,[slash(sdkTypes)]]))},include:[`${slash(abilitiesDir)}/**/*.ts`,`${slash(abilitiesDir)}/**/*.mts`,`${slash(abilitiesDir)}/**/*.cts`]},project=join(work,"tsconfig.json");writeFileSync(project,JSON.stringify(config,null,2));let run=spawnSync(process.execPath,[tsc,"-p",project,"--pretty","false"],{cwd:root,encoding:"utf8",maxBuffer:64*1024*1024});if(run.error)throw new TypecheckUnavailableError(`tsc failed to run: ${run.error.message}`);let lines=`${run.stdout??""}${run.stderr??""}`.split(/\r?\n/),issues=[],globals=[],open=-1;for(let line of lines){let diagnostic=DIAGNOSTIC.exec(line);if(diagnostic){let[,file,row,col,code,message]=diagnostic,rel=relative(root,resolve(root,file));open=!rel.startsWith("..")&&!isAbsolute(rel)&&!rel.split(sep).includes("node_modules")?issues.push({path:`${slash(rel)}:${row}:${col}`,message:`${code}: ${message}`})-1:-1;continue}let global=GLOBAL_ERROR.exec(line);if(global)globals.push(`${global[1]}: ${global[2]}`),open=-1;else if(open>=0&&/^\s+\S/.test(line)){let issue=issues[open];issues[open]={...issue,message:`${issue.message} ${line.trim()}`}}}if(globals.length>0)throw new TypecheckUnavailableError(`tsc could not check the pack: ${globals.join("; ")}`);if(run.status!==0&&!lines.some(line=>DIAGNOSTIC.test(line))){let head=lines.filter(Boolean).slice(0,5).join(" ");throw new TypecheckUnavailableError(`tsc exited ${run.status??run.signal}: ${head||"no output"}`)}return issues}finally{rmSync(work,{recursive:!0,force:!0})}}var EXIT_OK=0,EXIT_PACK_PROBLEM=1,EXIT_USAGE=2,consoleIo={out:line=>process.stdout.write(`${line}
2
+ import{src_exports}from"./chunks/chunk-SCRIASBU.js";import{formatImportReport,importMarvelCdbPack}from"./chunks/chunk-MRZL7PHD.js";import{PackBuildError,assemblePack,buildPack,loadPackSource}from"./chunks/chunk-RBTO2IFX.js";import{publishIssues,readPackInput,splitIssues,validatePack}from"./chunks/chunk-PHTEP3BC.js";import{SMOKE_BASE_DECK,SMOKE_SCENARIOS,smokeTestPack}from"./chunks/chunk-SG4DMEG6.js";import"./chunks/chunk-N2HMNYPQ.js";import"./chunks/chunk-NHQRL3H2.js";import{existsSync as existsSync2}from"node:fs";import{join as join2,resolve as resolve2}from"node:path";import{createJiti}from"jiti";function sdkModuleNames(){let published="@champions-digital-game/mod-sdk";return published&&published!=="@mc/mod-sdk"?["@mc/mod-sdk",published]:["@mc/mod-sdk"]}function packModuleImporter(){let virtualModules=Object.fromEntries(sdkModuleNames().map(name=>[name,src_exports]));return path=>createJiti(path,{virtualModules,fsCache:!1,moduleCache:!1,interopDefault:!1}).import(path)}import{spawnSync}from"node:child_process";import{existsSync,mkdtempSync,readFileSync,readdirSync,rmSync,statSync,writeFileSync}from"node:fs";import{createRequire}from"node:module";import{tmpdir}from"node:os";import{dirname,isAbsolute,join,relative,resolve,sep}from"node:path";import{fileURLToPath}from"node:url";var TypecheckUnavailableError=class extends Error{};function nearestPackage(from){for(let dir=from;;dir=dirname(dir)){let file=join(dir,"package.json");if(existsSync(file))return{dir,json:JSON.parse(readFileSync(file,"utf8"))};if(dirname(dir)===dir)return}}var HERE=dirname(fileURLToPath(import.meta.url));function sdkTypesEntry(){let pkg=nearestPackage(HERE),types=pkg?.json.types;if(!pkg||typeof types!="string")throw new TypecheckUnavailableError("cannot find the SDK's own type entry");let entry=join(pkg.dir,types);if(!existsSync(entry))throw new TypecheckUnavailableError(`the SDK's type entry ${entry} is missing`);return entry}function findTsc(packDir2){for(let from of[join(HERE,"package.json"),join(packDir2,"package.json")])try{let manifest=createRequire(from).resolve("typescript/package.json"),bin=JSON.parse(readFileSync(manifest,"utf8")).bin?.tsc;if(bin)return join(dirname(manifest),bin)}catch{}throw new TypecheckUnavailableError("TypeScript is not installed, so the pack's abilities cannot be type-checked: install the SDK's dependencies (npm ci), add typescript to the pack's devDependencies, or pass --skip-typecheck")}var hasTypeScript=dir=>readdirSync(dir).some(name=>{let full=join(dir,name);return statSync(full).isDirectory()?name!=="node_modules"&&hasTypeScript(full):/\.[cm]?ts$/.test(name)}),DIAGNOSTIC=/^(.+?)\((\d+),(\d+)\): error (TS\d+): (.*)$/,GLOBAL_ERROR=/^error (TS\d+): (.*)$/;function typecheckPack(packDir2,options={}){let root=resolve(packDir2),abilitiesDir=join(root,"abilities");if(!existsSync(abilitiesDir)||!hasTypeScript(abilitiesDir))return[];let tsc=options.tsc??findTsc(root),sdkTypes=options.sdkTypes??sdkTypesEntry(),slash=path=>path.split(sep).join("/"),work=mkdtempSync(join(tmpdir(),"mc-pack-typecheck-"));try{let config={compilerOptions:{target:"es2022",module:"preserve",moduleResolution:"bundler",lib:["es2023","dom"],strict:!0,noEmit:!0,allowImportingTsExtensions:!0,skipLibCheck:!0,types:[],paths:Object.fromEntries(sdkModuleNames().map(name=>[name,[slash(sdkTypes)]]))},include:[`${slash(abilitiesDir)}/**/*.ts`,`${slash(abilitiesDir)}/**/*.mts`,`${slash(abilitiesDir)}/**/*.cts`]},project=join(work,"tsconfig.json");writeFileSync(project,JSON.stringify(config,null,2));let run=spawnSync(process.execPath,[tsc,"-p",project,"--pretty","false"],{cwd:root,encoding:"utf8",maxBuffer:64*1024*1024});if(run.error)throw new TypecheckUnavailableError(`tsc failed to run: ${run.error.message}`);let lines=`${run.stdout??""}${run.stderr??""}`.split(/\r?\n/),issues=[],globals=[],open=-1;for(let line of lines){let diagnostic=DIAGNOSTIC.exec(line);if(diagnostic){let[,file,row,col,code,message]=diagnostic,rel=relative(root,resolve(root,file));open=!rel.startsWith("..")&&!isAbsolute(rel)&&!rel.split(sep).includes("node_modules")?issues.push({path:`${slash(rel)}:${row}:${col}`,message:`${code}: ${message}`})-1:-1;continue}let global=GLOBAL_ERROR.exec(line);if(global)globals.push(`${global[1]}: ${global[2]}`),open=-1;else if(open>=0&&/^\s+\S/.test(line)){let issue=issues[open];issues[open]={...issue,message:`${issue.message} ${line.trim()}`}}}if(globals.length>0)throw new TypecheckUnavailableError(`tsc could not check the pack: ${globals.join("; ")}`);if(run.status!==0&&!lines.some(line=>DIAGNOSTIC.test(line))){let head=lines.filter(Boolean).slice(0,5).join(" ");throw new TypecheckUnavailableError(`tsc exited ${run.status??run.signal}: ${head||"no output"}`)}return issues}finally{rmSync(work,{recursive:!0,force:!0})}}var EXIT_OK=0,EXIT_PACK_PROBLEM=1,EXIT_USAGE=2,consoleIo={out:line=>process.stdout.write(`${line}
3
3
  `),err:line=>process.stderr.write(`${line}
4
4
  `)},USAGE=`mc-pack: build, check and test Marvel Champions Digital content packs
5
5
 
@@ -25,4 +25,4 @@ validate, build and test run the pack's own code: they import its abilities/inde
25
25
  user's access to files, the network and the environment. Run them only on a pack you trust, or in a sandbox (a CI
26
26
  job with no secrets).
27
27
 
28
- Exit codes: 0 success, 1 the pack has a problem, 2 usage error.`,UsageError=class extends Error{},VALUE_FLAGS=new Set(["out","games","scenario","max-commands","id","app"]),BOOLEAN_FLAGS=new Set(["allow-unscripted","publish","skip-typecheck","help","version"]);function parseArgs(argv){let positional=[],flags=new Map;for(let i=0;i<argv.length;i++){let arg=argv[i];if(arg==="-h")flags.set("help",!0);else if(arg==="-v")flags.set("version",!0);else if(arg.startsWith("--")){let eq=arg.indexOf("="),name=eq<0?arg.slice(2):arg.slice(2,eq);if(BOOLEAN_FLAGS.has(name)){if(eq>=0)throw new UsageError(`--${name} takes no value`);flags.set(name,!0)}else if(VALUE_FLAGS.has(name)){let value2=eq>=0?arg.slice(eq+1):argv[++i];if(value2===void 0||value2==="")throw new UsageError(`--${name} needs a value`);flags.set(name,value2)}else throw new UsageError(`unknown option --${name}`)}else positional.push(arg)}return{positional,flags}}var value=(parsed,name)=>{let v=parsed.flags.get(name);return typeof v=="string"?v:void 0};function positiveInt(parsed,name){let raw=value(parsed,name);if(raw===void 0)return;let n=Number(raw);if(!Number.isInteger(n)||n<1)throw new UsageError(`--${name} must be a whole number of at least 1`);return n}function packDir(parsed,command){let[dir,...extra]=parsed.positional;if(dir===void 0)throw new UsageError(`${command} needs a folder`);if(extra.length>0)throw new UsageError(`${command} takes one folder, got ${parsed.positional.length}`);let full=resolve2(dir);if(!existsSync2(full))throw new UsageError(`${dir}: no such folder`);return full}function allowOnly(parsed,command,allowed){for(let name of parsed.flags.keys())if(!allowed.includes(name))throw new UsageError(`${command} does not take --${name}`)}var errorText=error=>error instanceof Error?error.message:String(error);async function loadBuilt(dir){let pack=assemblePack(await loadPackSource(dir,{importModule:packModuleImporter()}));return readPackInput(pack.manifest,pack.files)}function formatIssues(issues){let{defects,unscripted}=splitIssues(issues),lines=[];if(defects.length>0){lines.push(`${defects.length} problem${defects.length===1?"":"s"}:`);for(let issue of defects)lines.push(` ${issue.path}: ${issue.message}`)}if(unscripted.length>0){lines.push(`${unscripted.length} unscripted abilit${unscripted.length===1?"y":"ies"} (write them in abilities/):`);for(let issue of unscripted)lines.push(` ${issue.path}: ${issue.message}`)}return lines}async function validateCommand(parsed,io){allowOnly(parsed,"validate",["allow-unscripted","publish","skip-typecheck"]);let dir=packDir(parsed,"validate"),typeIssues=parsed.flags.has("skip-typecheck")?[]:typecheckPack(dir),pack;try{pack=await loadBuilt(dir)}catch(error){if(typeIssues.length===0)throw error;io.err(`mc-pack validate: ${errorText(error)}`);for(let line of formatIssues(typeIssues))io.err(line);return EXIT_PACK_PROBLEM}let publish=parsed.flags.has("publish"),draft=existsSync2(join2(dir,"DRAFT"));publish&&draft&&io.out(`${pack.manifest.id}: a DRAFT, never published; the publish check is skipped`);let issues=[...typeIssues,...validatePack(pack),...publish&&!draft?publishIssues(pack.manifest):[]],{defects,unscripted}=splitIssues(issues),name=`${pack.manifest.id}@${pack.manifest.version}`;if(issues.length===0)return io.out(`${name}: valid (${pack.cards.length} cards, ${Object.keys(pack.abilities).length} abilities)`),EXIT_OK;let lines=formatIssues(issues);if(defects.length===0&&parsed.flags.has("allow-unscripted")){io.out(`${name}: valid, ${unscripted.length} abilit${unscripted.length===1?"y":"ies"} to script`);for(let line of lines)io.out(line);return EXIT_OK}io.err(`${name}: invalid`);for(let line of lines)io.err(line);return EXIT_PACK_PROBLEM}async function buildCommand(parsed,io){allowOnly(parsed,"build",["out"]);let dir=packDir(parsed,"build"),out=value(parsed,"out");if(out===void 0)throw new UsageError("build needs --out <dir>");try{let result=await buildPack(dir,resolve2(out),{importModule:packModuleImporter()}),{manifest}=result;return io.out(`${manifest.id}@${manifest.version}: built ${result.zipPath}`),io.out(` ${result.zipBytes} bytes, sha256 ${result.zipSha256}`),io.out(` ${manifest.files.length} files, ${manifest.totalBytes} bytes unzipped`),io.out(` requires app ${manifest.requires.app}; DSL features: ${manifest.requires.dslFeatures.join(", ")||"none"}`),EXIT_OK}catch(error){if(!(error instanceof PackBuildError))throw error;io.err("build failed: the pack is invalid");for(let line of formatIssues(error.issues))io.err(line);return EXIT_PACK_PROBLEM}}var describeGame=game=>{let where=game.deck===SMOKE_BASE_DECK?` at ${game.campaign?`${game.campaign}/${game.node} (${game.scenario})`:game.scenario}${game.modularSet?` with ${game.modularSet}`:""}${game.difficulty?`, ${game.difficulty}`:""}`:"",head=` ${game.deck}${where} seed ${game.seed}: `;if(!game.ok)return`${head}FAILED: ${game.error??"unknown error"}`;let played=game.packCardsPlayed.length>0?`; pack cards played or revealed: ${game.packCardsPlayed.join(", ")}`:"";return`${head}${game.outcome??"ended"} in round ${game.rounds} (${game.commands} commands)${played}`};async function testCommand(parsed,io){allowOnly(parsed,"test",["games","scenario","max-commands"]);let dir=packDir(parsed,"test"),scenario=value(parsed,"scenario")??"rhino";if(!SMOKE_SCENARIOS.includes(scenario))throw new UsageError(`--scenario must be one of ${SMOKE_SCENARIOS.join(", ")}`);let games=positiveInt(parsed,"games")??3,maxCommands=positiveInt(parsed,"max-commands"),pack=await loadBuilt(dir),issues=validatePack(pack);if(issues.length>0){io.err(`${pack.manifest.id}: not tested, the pack is invalid (run mc-pack validate)`);for(let line of formatIssues(issues))io.err(line);return EXIT_PACK_PROBLEM}io.out(`${pack.manifest.id}@${pack.manifest.version}: ${games} game(s) per deck, scenario and modular set (Core scenario: ${scenario})`);let result=smokeTestPack(pack,{games,scenario,...maxCommands!==void 0?{maxCommands}:{},onGame:game=>(game.ok?io.out:io.err)(describeGame(game))});for(let note of result.notes)io.out(`note: ${note}`);let failed=result.games.filter(g=>!g.ok).length;return failed>0?(io.err(`${failed} of ${result.games.length} game(s) failed`),EXIT_PACK_PROBLEM):(io.out(`all ${result.games.length} game(s) passed`),EXIT_OK)}async function importCommand(parsed,io){allowOnly(parsed,"import-marvelcdb",["out","id","app"]);let src=packDir(parsed,"import-marvelcdb"),out=value(parsed,"out"),packId=value(parsed,"id"),app=value(parsed,"app"),report=await importMarvelCdbPack(src,{...out!==void 0?{outDir:resolve2(out)}:{},...packId!==void 0?{packId}:{},...app!==void 0?{app}:{}}),text=formatImportReport(report);if(!report.normalized||report.validationIssues.length>0)return io.err(text),EXIT_PACK_PROBLEM;if(io.out(text),report.unscriptedIssues.length>0){io.out(`${report.unscriptedIssues.length} abilities to script, listed in abilities/index.ts:`);for(let issue of report.unscriptedIssues)io.out(` ${issue.path}: ${issue.message}`)}return io.out(report.outDir?`written to ${report.outDir}`:"dry run: nothing written (pass --out <dir>)"),EXIT_OK}var COMMANDS={validate:validateCommand,build:buildCommand,test:testCommand,"import-marvelcdb":importCommand};async function runCli(argv,io=consoleIo){let[command,...rest]=argv;try{if(command===void 0||command==="--help"||command==="-h"||command==="help")return io.out(USAGE),command===void 0?EXIT_USAGE:EXIT_OK;if(command==="--version"||command==="-v")return io.out("0.54.0"),EXIT_OK;let run=COMMANDS[command];if(!run)throw new UsageError(`unknown command "${command}"`);let parsed=parseArgs(rest);return parsed.flags.has("help")?(io.out(USAGE),EXIT_OK):await run(parsed,io)}catch(error){return error instanceof UsageError?(io.err(`mc-pack: ${error.message}`),io.err("run mc-pack --help for usage"),EXIT_USAGE):(io.err(`mc-pack ${command}: ${errorText(error)}`),EXIT_PACK_PROBLEM)}}process.exitCode=await runCli(process.argv.slice(2));
28
+ Exit codes: 0 success, 1 the pack has a problem, 2 usage error.`,UsageError=class extends Error{},VALUE_FLAGS=new Set(["out","games","scenario","max-commands","id","app"]),BOOLEAN_FLAGS=new Set(["allow-unscripted","publish","skip-typecheck","help","version"]);function parseArgs(argv){let positional=[],flags=new Map;for(let i=0;i<argv.length;i++){let arg=argv[i];if(arg==="-h")flags.set("help",!0);else if(arg==="-v")flags.set("version",!0);else if(arg.startsWith("--")){let eq=arg.indexOf("="),name=eq<0?arg.slice(2):arg.slice(2,eq);if(BOOLEAN_FLAGS.has(name)){if(eq>=0)throw new UsageError(`--${name} takes no value`);flags.set(name,!0)}else if(VALUE_FLAGS.has(name)){let value2=eq>=0?arg.slice(eq+1):argv[++i];if(value2===void 0||value2==="")throw new UsageError(`--${name} needs a value`);flags.set(name,value2)}else throw new UsageError(`unknown option --${name}`)}else positional.push(arg)}return{positional,flags}}var value=(parsed,name)=>{let v=parsed.flags.get(name);return typeof v=="string"?v:void 0};function positiveInt(parsed,name){let raw=value(parsed,name);if(raw===void 0)return;let n=Number(raw);if(!Number.isInteger(n)||n<1)throw new UsageError(`--${name} must be a whole number of at least 1`);return n}function packDir(parsed,command){let[dir,...extra]=parsed.positional;if(dir===void 0)throw new UsageError(`${command} needs a folder`);if(extra.length>0)throw new UsageError(`${command} takes one folder, got ${parsed.positional.length}`);let full=resolve2(dir);if(!existsSync2(full))throw new UsageError(`${dir}: no such folder`);return full}function allowOnly(parsed,command,allowed){for(let name of parsed.flags.keys())if(!allowed.includes(name))throw new UsageError(`${command} does not take --${name}`)}var errorText=error=>error instanceof Error?error.message:String(error);async function loadBuilt(dir){let pack=assemblePack(await loadPackSource(dir,{importModule:packModuleImporter()}));return readPackInput(pack.manifest,pack.files)}function formatIssues(issues){let{defects,unscripted}=splitIssues(issues),lines=[];if(defects.length>0){lines.push(`${defects.length} problem${defects.length===1?"":"s"}:`);for(let issue of defects)lines.push(` ${issue.path}: ${issue.message}`)}if(unscripted.length>0){lines.push(`${unscripted.length} unscripted abilit${unscripted.length===1?"y":"ies"} (write them in abilities/):`);for(let issue of unscripted)lines.push(` ${issue.path}: ${issue.message}`)}return lines}async function validateCommand(parsed,io){allowOnly(parsed,"validate",["allow-unscripted","publish","skip-typecheck"]);let dir=packDir(parsed,"validate"),typeIssues=parsed.flags.has("skip-typecheck")?[]:typecheckPack(dir),pack;try{pack=await loadBuilt(dir)}catch(error){if(typeIssues.length===0)throw error;io.err(`mc-pack validate: ${errorText(error)}`);for(let line of formatIssues(typeIssues))io.err(line);return EXIT_PACK_PROBLEM}let publish=parsed.flags.has("publish"),draft=existsSync2(join2(dir,"DRAFT"));publish&&draft&&io.out(`${pack.manifest.id}: a DRAFT, never published; the publish check is skipped`);let issues=[...typeIssues,...validatePack(pack),...publish&&!draft?publishIssues(pack.manifest):[]],{defects,unscripted}=splitIssues(issues),name=`${pack.manifest.id}@${pack.manifest.version}`;if(issues.length===0)return io.out(`${name}: valid (${pack.cards.length} cards, ${Object.keys(pack.abilities).length} abilities)`),EXIT_OK;let lines=formatIssues(issues);if(defects.length===0&&parsed.flags.has("allow-unscripted")){io.out(`${name}: valid, ${unscripted.length} abilit${unscripted.length===1?"y":"ies"} to script`);for(let line of lines)io.out(line);return EXIT_OK}io.err(`${name}: invalid`);for(let line of lines)io.err(line);return EXIT_PACK_PROBLEM}async function buildCommand(parsed,io){allowOnly(parsed,"build",["out"]);let dir=packDir(parsed,"build"),out=value(parsed,"out");if(out===void 0)throw new UsageError("build needs --out <dir>");try{let result=await buildPack(dir,resolve2(out),{importModule:packModuleImporter()}),{manifest}=result;return io.out(`${manifest.id}@${manifest.version}: built ${result.zipPath}`),io.out(` ${result.zipBytes} bytes, sha256 ${result.zipSha256}`),io.out(` ${manifest.files.length} files, ${manifest.totalBytes} bytes unzipped`),io.out(` requires app ${manifest.requires.app}; DSL features: ${manifest.requires.dslFeatures.join(", ")||"none"}`),EXIT_OK}catch(error){if(!(error instanceof PackBuildError))throw error;io.err("build failed: the pack is invalid");for(let line of formatIssues(error.issues))io.err(line);return EXIT_PACK_PROBLEM}}var describeGame=game=>{let where=game.deck===SMOKE_BASE_DECK?` at ${game.campaign?`${game.campaign}/${game.node} (${game.scenario})`:game.scenario}${game.modularSet?` with ${game.modularSet}`:""}${game.difficulty?`, ${game.difficulty}`:""}`:"",head=` ${game.deck}${where} seed ${game.seed}: `;if(!game.ok)return`${head}FAILED: ${game.error??"unknown error"}`;let played=game.packCardsPlayed.length>0?`; pack cards played or revealed: ${game.packCardsPlayed.join(", ")}`:"";return`${head}${game.outcome??"ended"} in round ${game.rounds} (${game.commands} commands)${played}`};async function testCommand(parsed,io){allowOnly(parsed,"test",["games","scenario","max-commands"]);let dir=packDir(parsed,"test"),scenario=value(parsed,"scenario")??"rhino";if(!SMOKE_SCENARIOS.includes(scenario))throw new UsageError(`--scenario must be one of ${SMOKE_SCENARIOS.join(", ")}`);let games=positiveInt(parsed,"games")??3,maxCommands=positiveInt(parsed,"max-commands"),pack=await loadBuilt(dir),issues=validatePack(pack);if(issues.length>0){io.err(`${pack.manifest.id}: not tested, the pack is invalid (run mc-pack validate)`);for(let line of formatIssues(issues))io.err(line);return EXIT_PACK_PROBLEM}io.out(`${pack.manifest.id}@${pack.manifest.version}: ${games} game(s) per deck, scenario and modular set (Core scenario: ${scenario})`);let result=smokeTestPack(pack,{games,scenario,...maxCommands!==void 0?{maxCommands}:{},onGame:game=>(game.ok?io.out:io.err)(describeGame(game))});for(let note of result.notes)io.out(`note: ${note}`);let failed=result.games.filter(g=>!g.ok).length;return failed>0?(io.err(`${failed} of ${result.games.length} game(s) failed`),EXIT_PACK_PROBLEM):(io.out(`all ${result.games.length} game(s) passed`),EXIT_OK)}async function importCommand(parsed,io){allowOnly(parsed,"import-marvelcdb",["out","id","app"]);let src=packDir(parsed,"import-marvelcdb"),out=value(parsed,"out"),packId=value(parsed,"id"),app=value(parsed,"app"),report=await importMarvelCdbPack(src,{...out!==void 0?{outDir:resolve2(out)}:{},...packId!==void 0?{packId}:{},...app!==void 0?{app}:{}}),text=formatImportReport(report);if(!report.normalized||report.validationIssues.length>0)return io.err(text),EXIT_PACK_PROBLEM;if(io.out(text),report.unscriptedIssues.length>0){io.out(`${report.unscriptedIssues.length} abilities to script, listed in abilities/index.ts:`);for(let issue of report.unscriptedIssues)io.out(` ${issue.path}: ${issue.message}`)}return io.out(report.outDir?`written to ${report.outDir}`:"dry run: nothing written (pass --out <dir>)"),EXIT_OK}var COMMANDS={validate:validateCommand,build:buildCommand,test:testCommand,"import-marvelcdb":importCommand};async function runCli(argv,io=consoleIo){let[command,...rest]=argv;try{if(command===void 0||command==="--help"||command==="-h"||command==="help")return io.out(USAGE),command===void 0?EXIT_USAGE:EXIT_OK;if(command==="--version"||command==="-v")return io.out("1.0.0"),EXIT_OK;let run=COMMANDS[command];if(!run)throw new UsageError(`unknown command "${command}"`);let parsed=parseArgs(rest);return parsed.flags.has("help")?(io.out(USAGE),EXIT_OK):await run(parsed,io)}catch(error){return error instanceof UsageError?(io.err(`mc-pack: ${error.message}`),io.err("run mc-pack --help for usage"),EXIT_USAGE):(io.err(`mc-pack ${command}: ${errorText(error)}`),EXIT_PACK_PROBLEM)}}process.exitCode=await runCli(process.argv.slice(2));
package/dist/testing.js CHANGED
@@ -1 +1 @@
1
- import{SMOKE_BASE_DECK,SMOKE_SCENARIOS,playToOutcome,smokeTestPack}from"./chunks/chunk-7NRC6TLV.js";import"./chunks/chunk-S3JH4WL4.js";import"./chunks/chunk-ACT4TJXC.js";export{SMOKE_BASE_DECK,SMOKE_SCENARIOS,playToOutcome,smokeTestPack};
1
+ import{SMOKE_BASE_DECK,SMOKE_SCENARIOS,playToOutcome,smokeTestPack}from"./chunks/chunk-SG4DMEG6.js";import"./chunks/chunk-N2HMNYPQ.js";import"./chunks/chunk-NHQRL3H2.js";export{SMOKE_BASE_DECK,SMOKE_SCENARIOS,playToOutcome,smokeTestPack};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@champions-digital-game/mod-sdk",
3
- "version": "0.54.0",
3
+ "version": "1.0.0",
4
4
  "description": "The mod SDK for Marvel Champions Digital content packs: the pack schema, the ability DSL, and the mc-pack validate, build, test and import-marvelcdb tools.",
5
5
  "keywords": [
6
6
  "card-game",
@@ -2319,7 +2319,8 @@ export declare const on: {
2319
2319
  /**
2320
2320
  * "When/After the round ends": the villain phase's end, or the round's end alone when its villain phase was skipped
2321
2321
  * (`skipNextVillainPhase`, docs/phase7-wave11-hero-packs.md H3.7). `phaseEnding("villain")` is "when the villain phase
2322
- * ends", which a skipped phase never raises.
2322
+ * ends", which a skipped phase never raises. `"round"` is the round's end only (`resolve/triggers.ts` `endsRound`),
2323
+ * so with two teams it does not hear the first team's villain phase ending (MC56 p. 16, one shared round).
2323
2324
  */
2324
2325
  readonly roundEnding: () => EventPattern;
2325
2326
  /**
@@ -3281,7 +3282,8 @@ export declare const when: {
3281
3282
  /**
3282
3283
  * "When/After the round ends": the villain phase's end, or the round's end alone when its villain phase was skipped
3283
3284
  * (`skipNextVillainPhase`, docs/phase7-wave11-hero-packs.md H3.7). `phaseEnding("villain")` is "when the villain phase
3284
- * ends", which a skipped phase never raises.
3285
+ * ends", which a skipped phase never raises. `"round"` is the round's end only (`resolve/triggers.ts` `endsRound`),
3286
+ * so with two teams it does not hear the first team's villain phase ending (MC56 p. 16, one shared round).
3285
3287
  */
3286
3288
  readonly roundEnding: () => EventPattern;
3287
3289
  /**
@@ -4243,7 +4245,8 @@ export declare const after: {
4243
4245
  /**
4244
4246
  * "When/After the round ends": the villain phase's end, or the round's end alone when its villain phase was skipped
4245
4247
  * (`skipNextVillainPhase`, docs/phase7-wave11-hero-packs.md H3.7). `phaseEnding("villain")` is "when the villain phase
4246
- * ends", which a skipped phase never raises.
4248
+ * ends", which a skipped phase never raises. `"round"` is the round's end only (`resolve/triggers.ts` `endsRound`),
4249
+ * so with two teams it does not hear the first team's villain phase ending (MC56 p. 16, one shared round).
4247
4250
  */
4248
4251
  readonly roundEnding: () => EventPattern;
4249
4252
  /**
@@ -448,6 +448,8 @@ export declare const enemyScheme: (enemies: TargetRef, opts?: {
448
448
  * theirs alone. Works on a card that is not in play (a treachery's When Revealed).
449
449
  */
450
450
  readonly wouldPlaceThreat?: readonly EffectArg[];
451
+ /** "Do not give him a boost card for this activation." (The Futurist 56129): no boost card at all. */
452
+ readonly noBoost?: boolean;
451
453
  }) => EffectSpec;
452
454
  /**
453
455
  * "Venom activates against you" (Biting Retort, `sm` 27082): the enemies activate against the player the way the
@@ -535,9 +537,17 @@ export declare const basicPowerBy: (player: PlayerRef, powers: readonly ("attack
535
537
  };
536
538
  readonly terms?: BasicPowerTerms;
537
539
  }) => EffectSpec;
540
+ /**
541
+ * An enemy attacks another enemy (engine `EffectSpec enemyAttacksEnemy`). `boost: true` deals the attacker its boost card
542
+ * (a villain or villainous minion only) and turns any already on it; `boost: "held"` deals none and turns only those
543
+ * already on it ("do not give it a boost card", Excessive Force 56090). `atkBonus` and `keywords` are "+1 ATK for this
544
+ * attack and this attack gains piercing": carried by this attack only.
545
+ */
538
546
  export declare const enemyAttacksEnemy: (attacker: TargetRef, target: TargetRef, opts?: {
539
547
  readonly bind?: string;
540
- readonly boost?: true;
548
+ readonly boost?: true | "held";
549
+ readonly atkBonus?: Amount;
550
+ readonly keywords?: readonly AttackKeyword[];
541
551
  }) => EffectSpec;
542
552
  /**
543
553
  * "Choose a minion. That minion attacks another enemy of your choice." — both choices, then the attack. The first
@@ -1038,6 +1048,11 @@ export declare const encounterCards: (zones: readonly ("deck" | "discard")[], fi
1038
1048
  export declare const encounterSetAside: (filter?: TargetQuery, opts?: {
1039
1049
  readonly random?: Amount;
1040
1050
  }) => CardSelector;
1051
+ /**
1052
+ * "Your leader's set-aside player cards" (Now It's Personal, MC56 p. 16): the basic player cards of the effect's team's
1053
+ * own leader still set aside (`CardSelector encounterSetAside.yourLeadersCards`). None cooperatively (MC56 p. 6).
1054
+ */
1055
+ export declare const yourLeadersSetAsideCards: () => CardSelector;
1041
1056
  /** "Place the active counter on Wrecker" / "Move the active counter to …" (The Wrecking Crew insert). */
1042
1057
  export declare const setActiveVillain: (villain: TargetRef) => EffectSpec;
1043
1058
  /** The removed-from-game area: "search … set-aside area, and removed-from-game area for …" (Loose Ends, 27135). */
@@ -1584,7 +1599,11 @@ export declare const revealInstead: (target: TargetRef, player?: PlayerRef) => E
1584
1599
  * and stays the scenario's.
1585
1600
  */
1586
1601
  export declare const revealSetAside: (filter: TargetQuery, player?: PlayerRef, slot?: string) => EffectSpec[];
1587
- export declare const shuffleEncounterDeck: () => EffectSpec;
1602
+ /**
1603
+ * Shuffle "the encounter deck"; `deckOf` names another villain's deck where the card text does ("your leader's
1604
+ * encounter deck", after searching it with `encounterCards(…, deckOf)`).
1605
+ */
1606
+ export declare const shuffleEncounterDeck: (deckOf?: TargetRef) => EffectSpec;
1588
1607
  export declare const discardEncounterUntil: (filter: TargetQuery, bind: string) => EffectSpec;
1589
1608
  /**
1590
1609
  * "Discard cards from the top of your deck until you discard a Ms. Marvel card, then add that card to your hand"
@@ -1829,6 +1848,7 @@ export declare const countTowardStartingHand: (player: PlayerRef, count?: Amount
1829
1848
  export declare const spendResources: (resources: ResourceRequirement, bind: string, player?: PlayerRef, opts?: {
1830
1849
  readonly distinctTypes?: number;
1831
1850
  readonly required?: true;
1851
+ readonly times?: Amount;
1832
1852
  }) => EffectSpec;
1833
1853
  /**
1834
1854
  * "You may spend X [mental] resources to prevent X of that threat" (Battle of Wits, `aos` 50175; A.I.M. Interference
@@ -9,6 +9,11 @@ import type { AttachCategory, BasicPowerName, BasicPowerTerms, CardIcon, Form, P
9
9
  /** "You": the ability's controller; on encounter cards, the revealing/attacked/engaged player. */
10
10
  export declare const you: PlayerRef;
11
11
  export declare const firstPlayer: PlayerRef;
12
+ /**
13
+ * "The first player on the enemy team": the other team's first player token holder (MC56 p. 16), not who answers the
14
+ * enemy team's choices (`enemyTeamChooses`). The first player in a cooperative game (MC56 p. 6).
15
+ */
16
+ export declare const enemyTeamFirstPlayer: PlayerRef;
12
17
  export declare const eachPlayer: PlayerRef;
13
18
  /** "That player" inside `forEachPlayer`. */
14
19
  export declare const thatPlayer: PlayerRef;
@@ -153,6 +158,12 @@ export declare const attackedBy: (attacker?: TargetRef) => TargetRef;
153
158
  */
154
159
  export declare const activatingEnemy: TargetRef;
155
160
  export declare const theMainScheme: TargetRef;
161
+ /**
162
+ * "Your leader's main scheme" (Double Agent 56211, Spectacular! 56182, Neighborhood Hero 56183, Cloak 56194,
163
+ * Darkforce 56196): the main scheme of the game area your leader is in (MC56 p. 16). None in a cooperative game, where
164
+ * "your leader" cannot be resolved (MC56 p. 6).
165
+ */
166
+ export declare const yourLeadersMainScheme: TargetRef;
156
167
  /**
157
168
  * The central main scheme stage, outside every separate game area (docs/phase7-wave2.md §3.1): "place 1 set-aside
158
169
  * Kang's Dominion facedown under stage 4A" while game areas are still split. Distinct from `theMainScheme`, which
@@ -23,10 +23,11 @@ export { WAVE7_ABILITIES, WAVE7_CARDS, WAVE7_DEPS, wave7Scenario, wave7StarterDe
23
23
  export type { Wave7ScenarioOptions } from "./wave7/index.js";
24
24
  export { WAVE8_ABILITIES, WAVE8_CARDS, WAVE8_DEPS, wave8Scenario, wave8StarterDeckSetup } from "./wave8/index.js";
25
25
  export type { HorsemanSide, Wave8ScenarioOptions } from "./wave8/index.js";
26
- export { WAVE9_ABILITIES, WAVE9_CARDS, WAVE9_DEPS, wave9Scenario, wave9StarterDeckSetup } from "./wave9/index.js";
26
+ export { epicGroupScenario, WAVE9_ABILITIES, WAVE9_CARDS, WAVE9_DEPS, wave9Scenario, wave9StarterDeckSetup, type EpicGroupPlacement, } from "./wave9/index.js";
27
27
  export type { Wave9ScenarioOptions } from "./wave9/index.js";
28
28
  export { WAVE10_ABILITIES, WAVE10_CARDS, WAVE10_DEPS, WAVE10_GAME_ENCOUNTER_SETS, wave10Scenario, wave10StarterDeckSetup, } from "./wave10/index.js";
29
- export type { Wave10Difficulty, Wave10ScenarioOptions } from "./wave10/index.js";
29
+ export { civilWarCompetitive, competitiveModularSetProblem, leaderPlayerCardIds } from "./wave10/index.js";
30
+ export type { CivilWarCompetitiveOptions, CivilWarCompetitiveTeam, Wave10Difficulty, Wave10ScenarioOptions, } from "./wave10/index.js";
30
31
  export { WAVE11_ABILITIES, WAVE11_CARDS, WAVE11_DEPS } from "./wave11/index.js";
31
32
  export { WAVE11_GAME_ENCOUNTER_SETS, buildWave11Scenario, scenarioWithVillain, villainChoiceOf, villainOptionOf, wave11Scenario, wave11ScenarioRecord, wave11StarterDeckSetup, } from "./wave11/setup.js";
32
33
  export type { Wave11ScenarioOptions } from "./wave11/setup.js";
@@ -1,4 +1,4 @@
1
- import { type EngineDeps, type GameOutcome, type GameSession, type GameState } from "../../../engine/src/index.js";
1
+ import { type Command, type EngineDeps, type GameOutcome, type GameSession, type GameState } from "../../../engine/src/index.js";
2
2
  /**
3
3
  * A deterministic, greedy headless player for end-to-end tests. It knows no
4
4
  * card names: on its turn it tries, in order, to recover or change form, play
@@ -21,3 +21,18 @@ export interface DriverResult {
21
21
  readonly commands: number;
22
22
  }
23
23
  export declare function playToOutcome(initial: GameState, deps: EngineDeps, options?: DriverOptions): DriverResult;
24
+ interface TurnMemory {
25
+ key: string;
26
+ used: Set<string>;
27
+ commands: number;
28
+ readonly maxPerTurn: number;
29
+ }
30
+ /** What the driver remembers between commands of one game (`driverCommand`). One per game. */
31
+ export type DriverMemory = TurnMemory;
32
+ export declare const driverMemory: (maxCommandsPerTurn?: number) => DriverMemory;
33
+ /**
34
+ * The driver's next command for a game it does not run to the end itself (a pod of several games, interleaved by a
35
+ * harness): the answer to the pending choice, or the active player's next action. Throws when neither is due.
36
+ */
37
+ export declare const driverCommand: (state: GameState, deps: EngineDeps, memory: DriverMemory) => Command;
38
+ export {};
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Civil War's competitive mode as a setup config (docs/competitive-mode-plan.md §1.2, milestone M1): two teams, each
3
+ * building the scenario the other team faces, traded at the table.
4
+ *
5
+ * MC56 p. 14 (scenario rules override RRG per Golden Rule, RRG p. 4): "Each team chooses a different side … then builds
6
+ * a scenario for the enemy team … using the Standard PvP encounter set instead of the Standard encounter set", "Each
7
+ * team finds the four basic player cards for their chosen leader and sets them aside", "the teams trade scenarios".
8
+ * Owner decisions of 2026-11-20: teams of 1 or 2 players (Q14), one difficulty for the whole table (Q13 A), each area
9
+ * set up on its own, registration first (Q4 A).
10
+ */
11
+ import type { CardId } from "../../../content/src/index.js";
12
+ import type { GameSetupConfig } from "../../../engine/src/index.js";
13
+ import type { CorePlayer } from "../core/setup.js";
14
+ import { type Wave10Difficulty, type Wave10ScenarioOptions } from "./setup.js";
15
+ /** One team of a competitive game. */
16
+ export interface CivilWarCompetitiveTeam {
17
+ /**
18
+ * The team's chosen leader, of its own side, by its scenario id (`registration-iron-man`, …): the leader the **other**
19
+ * team fights, and whose four basic player cards this team may earn (MC56 p. 14).
20
+ */
21
+ readonly leaderScenarioId: string;
22
+ /** The scenario this team builds for the other team: modular sets and main scheme stages (MC56 pp. 4-5). */
23
+ readonly scenario?: Pick<Wave10ScenarioOptions, "modularSetIds" | "mainSchemeStageIds" | "extraModularSetIds">;
24
+ /** The team's seats, 1 or 2 (Q14). */
25
+ readonly players: readonly CorePlayer[];
26
+ /** Which of the team's seats starts with its first player token. Default its first. */
27
+ readonly firstPlayerIndex?: number;
28
+ }
29
+ export interface CivilWarCompetitiveOptions {
30
+ readonly seed: number;
31
+ /** The registration team, then the resistance team (MC56 p. 16: "The registration team always goes first"). */
32
+ readonly teams: readonly [CivilWarCompetitiveTeam, CivilWarCompetitiveTeam];
33
+ /** Standard or expert, for both scenarios (Q13 A per owner decision 2026-11-20). */
34
+ readonly difficulty?: Wave10Difficulty;
35
+ }
36
+ /** The four basic player cards of a leader (`specificTo.kind === "competitive"`, the leader's encounter set). */
37
+ export declare function leaderPlayerCardIds(leaderScenarioId: string): readonly CardId[];
38
+ /**
39
+ * The refusal for a modular set that is not of the scenario's own side. MC56 p. 5: "Modular sets from other products are
40
+ * cooperative-only; in competitive mode only registration or resistance sets are legal"; p. 4: sides are not mixed.
41
+ * Synthezoid Smackdown's sided sets join the pool locked to their side (owner decision N6, 2026-11-20).
42
+ */
43
+ export declare function competitiveModularSetProblem(side: string, setId: string): string | null;
44
+ /**
45
+ * A competitive Civil War game's `GameSetupConfig`: team one (registration) faces the scenario team two built around
46
+ * its leader, and the other way round. Throws for a choice the rules forbid: teams on the same side, a team of 0 or 3
47
+ * players, teams of different sizes, a modular choice a scenario refuses.
48
+ */
49
+ export declare function civilWarCompetitive(options: CivilWarCompetitiveOptions): GameSetupConfig;
@@ -2,11 +2,9 @@ import type { AbilityRegistry } from "../../../../../engine/src/index.js";
2
2
  /**
3
3
  * Competitive cards (docs/competitive-mode-plan.md section 4 task 11): the sixteen leader-specific basic player cards of
4
4
  * the Civil War box, four per leader (MC56 p. 3). The data marks them competitive-only and a cooperative deck holding one
5
- * is refused (`competitive_card`), so none can be played in a real game today. Every ref is scripted from the printed
6
- * text for when the mode arrives. Sentences the engine cannot yet run are `competitiveOnly` markers in the competitive
7
- * branch of `ifThen(inCompetitiveMode(), ...)`; each waits on plan milestone M3 (cross-area effects: the leader-versus-
8
- * leader attack, a leader scheming, a leader's main scheme, redirecting an attack onto a leader, a minion moving to
9
- * the other team's area).
5
+ * is refused (`competitive_card`), so they are played only in a competitive game. Every sentence is scripted (plan
6
+ * milestone M3: the leader-versus-leader attack, a leader scheming across the table, a leader's main scheme,
7
+ * redirecting an attack onto a leader, a minion moving to the other team's area).
10
8
  *
11
9
  * Cooperative reading, followed by every card (owner's answer to question 11 = A for the like case of Darkforce, 2026-10-11):
12
10
  * a sentence aimed at "your leader" does nothing, and the rest of the card resolves. So the leader attack events still
@@ -14,7 +12,7 @@ import type { AbilityRegistry } from "../../../../../engine/src/index.js";
14
12
  * A Forced ability whose instruction cannot be resolved still triggers and its "Discard this card" still happens.
15
13
  *
16
14
  * Iron Man
17
- * - 56129 The Futurist: marker "Your Iron Man leader schemes. Do not give him a boost card for this activation."
15
+ * - 56129 The Futurist: your Iron Man leader schemes in its own area, with no boost card.
18
16
  * - 56130 Target Lock: marker for the attack; "if you spent a [mental] resource" the discard of a Hero Response or Hero
19
17
  * Interrupt attachment on the enemy leader (`abilityTiming`).
20
18
  * - 56131 High-Tech Suit: attaches to your leader (card data), counts as a Tech attachment (the Iron Man leader counts Tech
@@ -22,7 +20,7 @@ import type { AbilityRegistry } from "../../../../../engine/src/index.js";
22
20
  * - 56132 Suit Up: after you spend it, give your Iron Man leader a tough status card.
23
21
  *
24
22
  * Captain Marvel
25
- * - 56133 Provoked Response: marker for the redirect and its 3-damage cap; discards itself.
23
+ * - 56133 Provoked Response: the redirect onto your leader, capped at 3 damage for that attack; discards itself.
26
24
  * - 56134 You Started This: marker for the attack; with [energy] paid, confuse the enemy leader.
27
25
  * - 56135 Alpha Flight Recruit: after energy counters are placed on your leader's Energy Channel, heal 1 from the ally.
28
26
  * - 56136 Raw Power: after you spend it, place 2 energy counters on your leader's Energy Channel.
@@ -6,9 +6,9 @@ import type { AbilityRegistry } from "../../../../../engine/src/index.js";
6
6
  * when the mode is built: each card once, registered under the registration code (56125 to 56128) and the resistance
7
7
  * code (56203 to 56206), the two printings being the same cards (plan question 15).
8
8
  *
9
- * Written with `enemyLeader`, `yourTeam` and `enemyTeamChooses`; the sentences the engine cannot yet run are
10
- * `competitiveOnly` markers under `inCompetitiveMode()`: Whatever It Takes's leader-versus-leader attack, and Now It's
11
- * Personal's set-aside player cards of a leader. Choosing Sides' damage cap names the villain for want of a leader query.
9
+ * Written with `enemyLeader`, `yourTeam` and `enemyTeamChooses`; the competitive sentences run under
10
+ * `inCompetitiveMode()`, Now It's Personal's reward included (`yourLeadersSetAsideCards`, plan M6). Choosing Sides'
11
+ * damage cap names the villain for want of a leader query.
12
12
  *
13
13
  * Cards (10):
14
14
  * - 56125 Righteous Cause (treachery)
@@ -6,8 +6,10 @@ import type { AbilityRegistry } from "../../../../../engine/src/index.js";
6
6
  *
7
7
  * **Energy Channel (56098)**: Permanent, holding energy counters. As corrected by RRG 1.8 (p. 70) the cost arrow is
8
8
  * gone: at 4 or more counters all of them are removed and Captain Marvel attacks that character, the attack gaining
9
- * overkill, whether or not the attacker is still in play. "A leader" (MC56 p. 20, competitive only) matches no attack
10
- * in a cooperative game: no leader attacks her, so only a hero or an ally is heard.
9
+ * overkill, whether or not the attacker is still in play. "A leader" is a villain attacker: in competitive play the
10
+ * other leader (MC56 p. 20), and in a cooperative game no villain attacks her, so only a hero or an ally is heard.
11
+ * Her attack on a leader follows the leader-attacks-leader steps (MC56 p. 16): a boost card from the deck in her area,
12
+ * turned by the first player of the team there, no defender.
11
13
  *
12
14
  * **Captain Marvel's Helmet (56099)**: unique, and it matches the Core upgrade 01016, so a revealed copy is discarded
13
15
  * and the player is dealt a facedown card when 01016 is in play (RRG 1.8 "Unique Icon", pp. 45-46; the Captain Marvel
@@ -1,33 +1,4 @@
1
1
  import type { AbilityRegistry } from "../../../../../engine/src/index.js";
2
- /**
3
- * Modular encounter set `dangerous_recruits` (Civil War, Registration side; docs/phase7-wave10.md sections 3.6, 3.10
4
- * and 3.23). Hinder 1[per_hero] on Dangerous Recruits is a data keyword. In a cooperative game there is no "your
5
- * leader" (MC56 p. 6), so each "Otherwise" sentence resolves; the sentence about your leader is written in full as a
6
- * competitive-only marker.
7
- *
8
- * **Venom (56087)**: his attacks gain piercing. When Revealed: "Venom attacks your leader" has no leader to attack
9
- * cooperatively, so he activates against you (a minion, so no boost card).
10
- *
11
- * **Bullseye (56088)**: When Revealed: "The enemy team discards an attachment from your leader" does nothing
12
- * cooperatively; you discard an upgrade you control (your choice; none, nothing).
13
- *
14
- * **Justice Like Lightning (56089)**: the same text as Street Defenders (56187 and 56192), the one shared definition.
15
- *
16
- * **Excessive Force (56090)**: When Revealed: 1 threat on the main scheme for each minion in play; with no minion in
17
- * play it gains surge. Boost: "The enemy leader attacks your leader" has no leader to attack and does nothing.
18
- *
19
- * **Dangerous Recruits (56091)**: Forced Interrupt: a defeated minion is given to the enemy leader as a facedown boost
20
- * card instead of going to the discard pile; it is turned up at the leader's next activation (RRG 1.8 "Boost, Boost
21
- * Icon", p. 11). A minion's own When Defeated resolves first (RRG 1.8 "When Defeated Abilities", p. 48). A non-villainous
22
- * minion gets no boost card of its own, but is still given to the leader.
23
- *
24
- * Cards (5):
25
- * - 56087 Venom (minion)
26
- * - 56088 Bullseye (minion)
27
- * - 56089 Justice Like Lightning (treachery)
28
- * - 56090 Excessive Force (treachery)
29
- * - 56091 Dangerous Recruits (side_scheme)
30
- */
31
2
  export declare const MODULAR_DANGEROUS_RECRUITS: AbilityRegistry;
32
3
  /** Refs of this module's cards deliberately left unscripted, each with its written reason. Delete a line as its ref is scripted. */
33
4
  export declare const MODULAR_DANGEROUS_RECRUITS_SKIPPED: Readonly<Record<string, string>>;
@@ -11,10 +11,9 @@ import type { AbilityRegistry } from "../../../../../engine/src/index.js";
11
11
  * `new-avengers.ts`, where question 10's switch lives).
12
12
  *
13
13
  * **Switching Sides (56158)**: When Revealed: the revealing player discards an ally they control; with none, no ally
14
- * leaves play and the card gains surge. The competitive sentence ("any player on the enemy team may spend resources
15
- * equal to that ally's cost to put it into play under their control") is written in full as a competitive-only
16
- * marker; it follows the discard, does nothing cooperatively, and the surge sentence (no ally was there to discard) reads
17
- * the same in both modes.
14
+ * leaves play and the card gains surge. In competitive mode the players of the enemy team are then offered the ally in
15
+ * player order: the first to spend resources equal to its cost puts it into play under their control (N1). The surge
16
+ * sentence (no ally was there to discard) reads the same in both modes.
18
17
  *
19
18
  * **Secret Avengers (56159)**: When Defeated: "the enemy team searches the top 5 cards of the encounter deck for a
20
19
  * card" is the first player's choice among them, in a prompt marked as the enemy team's (owner's answer to question 6