@firestone-hs/simulate-bgs-battle 1.1.638 → 1.1.639

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.
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.cardMappings = void 0;
5
5
  const azerite_empowerment_1 = require("./bg-spell/azerite-empowerment");
6
6
  const murkys_fish_1 = require("./bg-spell/murkys-fish");
7
+ const natural_blessing_1 = require("./bg-spell/natural-blessing");
7
8
  const sharing_is_caring_1 = require("./bg-spell/sharing-is-caring");
8
9
  const shiny_ring_1 = require("./bg-spell/shiny-ring");
9
10
  const fragrant_phylactery_1 = require("./hero-power/fragrant-phylactery");
@@ -577,6 +578,7 @@ const cards = [
577
578
  malorne_1.Malorne,
578
579
  lock_and_load_1.LoackAndLoad,
579
580
  zippers_1.Zippers,
581
+ natural_blessing_1.NaturalBlessing,
580
582
  ];
581
583
  exports.cardMappings = {};
582
584
  for (const card of cards) {
@@ -1 +1 @@
1
- {"version":3,"file":"_card-mappings.js","sourceRoot":"","sources":["../../../src/cards/impl/_card-mappings.ts"],"names":[],"mappings":";;;;AACA,wEAAoE;AACpE,wDAAoD;AACpD,oEAA+D;AAC/D,sDAAkD;AAClD,0EAAsE;AACtE,kGAA6F;AAC7F,gEAA4D;AAC5D,8DAA0D;AAC1D,8EAAyE;AACzE,gEAA2D;AAC3D,gDAA6C;AAC7C,0EAAsE;AACtE,4EAAuE;AACvE,sEAAiE;AACjE,gEAA4D;AAC5D,oDAAiD;AACjD,0DAAsD;AACtD,8DAA0D;AAC1D,8DAA0D;AAC1D,4DAAwD;AACxD,oFAA+E;AAC/E,gEAA4D;AAC5D,sEAAkE;AAClE,gDAA6C;AAC7C,oDAAiD;AACjD,0DAAuD;AACvD,4CAAyC;AACzC,gEAA4D;AAC5D,0DAAsD;AACtD,wDAAoD;AACpD,oDAAgD;AAChD,4DAAwD;AACxD,oEAAgE;AAChE,oDAAgD;AAChD,oD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,wCAAkB;IAClB,+DAA6B;IAC7B,oCAAgB;IAChB,gCAAc;IACd,oCAAgB;IAChB,wCAAkB;IAClB,qCAAgB;IAChB,wBAAU;IACV,wCAAkB;IAClB,iBAAO;IACP,4BAAY;IACZ,iBAAO;CACP,CAAC;AAEW,QAAA,YAAY,GAA+B,EAAE,CAAC;AAC3D,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;IACzB,MAAM,OAAO,GAAG,MAAA,IAAI,CAAC,OAAO,mCAAI,EAAE,CAAC;IACnC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;QAC7B,oBAAY,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;KAC5B;CACD","sourcesContent":["import { Card } from '../card.interface';\r\nimport { AzeriteEmpowerment } from './bg-spell/azerite-empowerment';\r\nimport { MurkysFish } from './bg-spell/murkys-fish';\r\nimport { SharingIsCaring } from './bg-spell/sharing-is-caring';\r\nimport { ShinyRing } from './bg-spell/shiny-ring';\r\nimport { FragrantPhylactery } from './hero-power/fragrant-phylactery';\r\nimport { FragrantPhylacteryEnchantment } from './hero-power/fragrant-phylactery-enchantment';\r\nimport { GloriousGloop } from './hero-power/glorious-gloop';\r\nimport { LoackAndLoad } from './hero-power/lock-and-load';\r\nimport { AdmiralElizaGoreblade } from './minion/admiral-eliza-goreblade';\r\nimport { AllSeeingElder } from './minion/all-seeing-elder';\r\nimport { Alleycat } from './minion/alleycat';\r\nimport { AmplifyingLightspawn } from './minion/amplifying-lightspawn';\r\nimport { AnubarakNerubianKing } from './minion/anubarak-nerubian-king';\r\nimport { ApprenticeOfSefin } from './minion/apprentice-of-sefin';\r\nimport { ArcaneCannoneer } from './minion/arcane-cannoneer';\r\nimport { Archimonde } from './minion/archimonde';\r\nimport { AridAtrocity } from './minion/arid-atrocity';\r\nimport { AshenCorruptor } from './minion/ashen-corruptor';\r\nimport { AssistantGuard } from './minion/assistant-guard';\r\nimport { AutoAssembler } from './minion/auto-assembler';\r\nimport { AutoAssemblerEnchantment } from './minion/auto-assembler-enchantment';\r\nimport { AvalancheCaller } from './minion/avalanche-caller';\r\nimport { AzsharanCutlassier } from './minion/azsharan-cutlassier';\r\nimport { Baneling } from './minion/baneling';\r\nimport { Bannerboar } from './minion/bannerboar';\r\nimport { Battlecruiser } from './minion/battlecruiser';\r\nimport { Beetle } from './minion/beetle';\r\nimport { BellowingTyrant } from './minion/bellowing-tyrant';\r\nimport { BigwigBandit } from './minion/bigwig-bandit';\r\nimport { BileSpitter } from './minion/bile-spitter';\r\nimport { BirdBuddy } from './minion/bird-buddy';\r\nimport { BlazingSkyfin } from './minion/blazing-skyfin';\r\nimport { BloodsnoutWarlord } from './minion/bloodsnout-warlord';\r\nimport { BlueWhelp } from './minion/blue-whelp';\r\nimport { BoarGamer } from './minion/boar-gamer';\r\nimport { BongoBopper } from './minion/bongo-bopper';\r\nimport { Bonker } from './minion/bonker';\r\nimport { BriarbackBookie } from './minion/briarback-bookie';\r\nimport { BronzeSteward } from './minion/bronze-steward';\r\nimport { BubbleGunner } from './minion/bubble-gunner';\r\nimport { BuzzingVermin } from './minion/buzzing-vermin';\r\nimport { CadaverCaretaker } from './minion/cadaver-caretaker';\r\nimport { CampfireShadow } from './minion/campfire-shadow';\r\nimport { CanopySwinger } from './minion/canopy-swinger';\r\nimport { CaptainBonerender } from './minion/captain-bonerender';\r\nimport { CarapaceRaiser } from './minion/carapace-raiser';\r\nimport { Carrier } from './minion/carrier';\r\nimport { ChampionOfThePrimus } from './minion/champion-of-the-primus';\r\nimport { Charlga } from './minion/charlga';\r\nimport { Charmwing } from './minion/charmwing';\r\nimport { ClunkerJunker } from './minion/clunker-junker';\r\nimport { CoilskarSapper } from './minion/coilskar-sapper';\r\nimport { ColdlightDiver } from './minion/coldlight-diver';\r\nimport { Colossus } from './minion/colossus';\r\nimport { CorruptedBristler } from './minion/corrupted-bristler';\r\nimport { CruiseController } from './minion/cruise-controller';\r\nimport { CrystalInfuserEnchantment } from './minion/crystal-infuser-enchantment';\r\nimport { CupcakePeddler } from './minion/cupcake-peddler';\r\nimport { DastardlyDrust } from './minion/dastardly-drust';\r\nimport { Deadstomper } from './minion/deadstomper';\r\nimport { DeathlyStriker } from './minion/deathly-striker';\r\nimport { DefiantShipwright } from './minion/defiant-shipwright';\r\nimport { DeflectoBot } from './minion/deflecto-bot';\r\nimport { DevoutHellcaller } from './minion/devout-hellcaller';\r\nimport { DivineSparkbot } from './minion/divine-sparkbot';\r\nimport { DrakkariEmbalmer } from './minion/drakkari-embalmer';\r\nimport { DreamingThornweaver } from './minion/dreaming-thornweaver';\r\nimport { DrustfallenButcher } from './minion/drustfallen-butcher';\r\nimport { EchoingRoar } from './minion/echoing-roar';\r\nimport { EfficientEngineer } from './minion/efficient-engineer';\r\nimport { ElectricSynthesizer } from './minion/electric-synthesizer';\r\nimport { EliteNavigator } from './minion/elite-navigator';\r\nimport { ExceptionalCaretaker } from './minion/exceptionnal-caretaker';\r\nimport { ExpertTechnician } from './minion/expert-technician';\r\nimport { FairyGillmother } from './minion/fairy-gillmother';\r\nimport { FaunaWhisperer } from './minion/fauna-whisperer';\r\nimport { FireForgedEvoker } from './minion/fire-forged-evoker';\r\nimport { FirescaleHoarder } from './minion/firescale-hoarder';\r\nimport { FireworksFanatic } from './minion/fireworks-fanatic';\r\nimport { FlightyScout } from './minion/flighty-scout';\r\nimport { FloatingWatcher } from './minion/floating-watcher';\r\nimport { FlotsamFlinger } from './minion/flotsam-flinger';\r\nimport { ForestRover } from './minion/forest-rover';\r\nimport { FountainChiller } from './minion/fountain-chiller';\r\nimport { FriendlyBouncer } from './minion/friendly-bouncer';\r\nimport { FriendlyGeist } from './minion/friendly-geist';\r\nimport { FrostwolfLieutenant } from './minion/frostwolf-lieutenant';\r\nimport { GearedGuard } from './minion/geared-guard';\r\nimport { GemRat } from './minion/gem-rat';\r\nimport { GemSmuggler } from './minion/gem-smuggler';\r\nimport { GeneralDrakkisath } from './minion/general-drakkisath';\r\nimport { GentleDjinni } from './minion/gentle-djinni';\r\nimport { GentleStag } from './minion/gentle-stag';\r\nimport { GleamingTrader } from './minion/gleaming-trader';\r\nimport { GlowgulletWarlord } from './minion/glowgullet-warlord';\r\nimport { GlowingCinder } from './minion/glowing-cinder';\r\nimport { GoldGrubber } from './minion/goldgrubber';\r\nimport { GoldrinnTheGreatWolf } from './minion/goldrinn-the-great-wolf';\r\nimport { GormlingGourmet } from './minion/gormling-gourmet';\r\nimport { GreaseBot } from './minion/grease-bot';\r\nimport { GreedySnaketongue } from './minion/greedy-snaketongue';\r\nimport { Greenskeeper } from './minion/greenskeeper';\r\nimport { GrimscaleElegist } from './minion/grimscale-elegist';\r\nimport { GrittyHeadhunter } from './minion/gritty-headhunter';\r\nimport { Hackerfin } from './minion/hackerfin';\r\nimport { HandlessForsaken } from './minion/handless-forsaken';\r\nimport { HarmlessBonehead } from './minion/harmless-bonehead';\r\nimport { HogWatcher } from './minion/hog-watcher';\r\nimport { HoloRover } from './minion/holo-rover';\r\nimport { HotSpringer } from './minion/hot-springer';\r\nimport { HummingBird } from './minion/humming-bird';\r\nimport { Humongozz } from './minion/humongozz';\r\nimport { HungrySnapjaw } from './minion/hungry-snapjaw';\r\nimport { HunterOfGatherers } from './minion/hunter-of-gatherers';\r\nimport { Hydralisk } from './minion/hydralisk';\r\nimport { IgnitionSpecialist } from './minion/ignition-specialist';\r\nimport { Immortal } from './minion/immortal';\r\nimport { ImplantSubject } from './minion/implant-subject';\r\nimport { ImposingPercussionist } from './minion/imposing-percussionist';\r\nimport { ImpulsiveTrickster } from './minion/impulsive-trickster';\r\nimport { IndomitableMount } from './minion/indomitable-mount';\r\nimport { InspiringUnderdog } from './minion/inspiring-underdog';\r\nimport { InterrogatorWhitemane } from './minion/interrogator-whitemane';\r\nimport { KalecgosArcaneAspect } from './minion/kalecgos-arcane-aspect';\r\nimport { KangorsApprentice } from './minion/kangors-apprentice';\r\nimport { KarmicChameleon } from './minion/karmic-chameleon';\r\nimport { KingBagurgle } from './minion/king-bagurgle';\r\nimport { LeeroyTheReckless } from './minion/leeroy-the-reckless';\r\nimport { LightfangEnforcer } from './minion/lightfang-enforcer';\r\nimport { LightfeatherScreecher } from './minion/lightfeather-screecher';\r\nimport { LokholarFrostforger } from './minion/lokholar-frostforger';\r\nimport { LordOfTheRuins } from './minion/lord-of-the-ruins';\r\nimport { LostCityLooter } from './minion/lost-city-looter';\r\nimport { LovesickBalladist } from './minion/lovesick-balladist';\r\nimport { LowFlier } from './minion/low-flier';\r\nimport { Lurker } from './minion/lurker';\r\nimport { MagicfinApprentice } from './minion/magicfin-apprentice';\r\nimport { Malorne } from './minion/malorne';\r\nimport { Manasaber } from './minion/manasaber';\r\nimport { MarqueeTicker } from './minion/marquee-ticker';\r\nimport { MasterGadrin } from './minion/master-gadrin';\r\nimport { MawCaster } from './minion/maw-caster';\r\nimport { MechaJaraxxus } from './minion/mecha-jaraxxus';\r\nimport { MechagnomeInterpreter } from './minion/mechagnome-interpreter';\r\nimport { MechanizedGiftHorse } from './minion/mechanized-gift-horse';\r\nimport { Mechorse } from './minion/mechorse';\r\nimport { MenagerieJug } from './minion/menagerie-jug';\r\nimport { MetallicHunter } from './minion/metallic-hunter';\r\nimport { MisfitDragonling } from './minion/misfit-dragonling';\r\nimport { Monstrosity } from './minion/monstrosity';\r\nimport { MonstrousMacaw } from './minion/monstrous-macaw';\r\nimport { MoonsteelJuggernaut } from './minion/moonsteel-juggernaut';\r\nimport { Mothership } from './minion/mothership';\r\nimport { Mummifier } from './minion/mummifier';\r\nimport { MurkbrineExpeditioner } from './minion/murkbrine-expeditioner';\r\nimport { Murky } from './minion/murky';\r\nimport { MurkySpashFisher } from './minion/murky-spash-fisher';\r\nimport { Mutalisk } from './minion/mutalisk';\r\nimport { MutatedLasher } from './minion/mutated-lasher';\r\nimport { MythraxTheUnraveler } from './minion/mythrax';\r\nimport { NeonAgent } from './minion/neon-agent';\r\nimport { NerubianDeathswarmer } from './minion/nerubian-deathswarmer';\r\nimport { NestSwarmer } from './minion/nest-swarmer';\r\nimport { NetherDrake } from './minion/nether-drake';\r\nimport { NightmareParTeaGuest } from './minion/nightmare-par-tea-guest';\r\nimport { NimbleHatchling } from './minion/nimble-hatchling';\r\nimport { Niuzao } from './minion/niuzao';\r\nimport { NoisulOfTheManyFaces } from './minion/noisul-of-the-many-faces';\r\nimport { OozelingGladiator } from './minion/oozeling-gladiator';\r\nimport { OperaticBelcher } from './minion/operatic-belcher';\r\nimport { OranomonosTheWilted } from './minion/oranomonos-the-wilted';\r\nimport { OutbackSmolderer } from './minion/outback-smolderer';\r\nimport { ParchedWanderer } from './minion/parched-wanderer';\r\nimport { PeggySturdybone } from './minion/peggy-sturdybone';\r\nimport { PilotTheShredder } from './minion/pilot-the-shredder';\r\nimport { PilotedWhirlOTron } from './minion/piloted-whirl-o-tron';\r\nimport { Poultron } from './minion/poultron';\r\nimport { PrimalfinLookout } from './minion/primalfin-lookout';\r\nimport { PrimevalMonstrosity } from './minion/primeval-monstrosity';\r\nimport { PrizedPromoDrake } from './minion/prized-promo-drake';\r\nimport { ProdigiousTusker } from './minion/prodigious-tusker';\r\nimport { RapscallionRecruiter } from './minion/rapscallion-recruiter';\r\nimport { RaptorElder } from './minion/raptor-elder';\r\nimport { RazorfenGeomancer } from './minion/razorfen-geomancer';\r\nimport { RazorfenVineweaver } from './minion/razorfen-vineweaver';\r\nimport { RazorgoreTheUntamed } from './minion/razorgore-the-untamed';\r\nimport { RecklessCliffdiver } from './minion/reckless-cliffdiver';\r\nimport { RicketyRepairbot } from './minion/rickety-repairbot';\r\nimport { RideOrDie } from './minion/ride-or-die';\r\nimport { RipsnarlCaptain } from './minion/ripsnarl-captain';\r\nimport { Roach } from './minion/roach';\r\nimport { Roadboar } from './minion/roadboar';\r\nimport { RodeoPerformer } from './minion/rodeo-performer';\r\nimport { RuinsRenovator } from './minion/ruins-renovator';\r\nimport { RunedProgenitor } from './minion/runed-progenitor';\r\nimport { RylakMetalhead } from './minion/rylak-metalhead';\r\nimport { SaltyHog } from './minion/salty-hog';\r\nimport { SandSwirler } from './minion/sand-swirler';\r\nimport { SanguineRefiner } from './minion/sanguine-refiner';\r\nimport { SanlaynScribe } from './minion/sanlayn-scribe';\r\nimport { Scallywag } from './minion/scallywag';\r\nimport { ScourgeHarvester } from './minion/scourge-harvester';\r\nimport { SelflessHero } from './minion/selfless-hero';\r\nimport { Shadowdancer } from './minion/shadowdancer';\r\nimport { ShadowConstruct } from './minion/shadowy-construct';\r\nimport { SharpEyedSabretooth } from './minion/sharp-eyed-sabretooth';\r\nimport { SharptoothSnapper } from './minion/sharptooth-snapper';\r\nimport { ShellCollector } from './minion/shell-collector';\r\nimport { ShipMasterEudora } from './minion/ship-master-eudora';\r\nimport { ShipwreckedRascal } from './minion/shipwrecked-rascal';\r\nimport { ShowyCyclist } from './minion/showy-cyclist';\r\nimport { SilentEnforcer } from './minion/silent-enforcer';\r\nimport { SilithidBurrower } from './minion/silithid-burrower';\r\nimport { SilkyShimmermoth } from './minion/silky-shimmermoth';\r\nimport { SilverHandedRecruit } from './minion/silver-handed-recruit';\r\nimport { SindoreiStraightShot } from './minion/sinodorei-straight-shot';\r\nimport { SkulkingBristlemane } from './minion/skulking-bristlemane';\r\nimport { SkyPirateFlagbearer } from './minion/sky-pirate-flagbearer';\r\nimport { SkyPirateFlagbearerEnchantment } from './minion/sky-pirate-flagbearer-enchantment';\r\nimport { SleepySupporter } from './minion/sleepy-supporter';\r\nimport { SlumberSorcerer } from './minion/slumber-sorcerer';\r\nimport { SlyRaptor } from './minion/sly-raptor';\r\nimport { Smolderwing } from './minion/smolderwing';\r\nimport { SnackVendor } from './minion/snack-vendor';\r\nimport { SoulRewinder } from './minion/soul-rewinder';\r\nimport { Spacefarer } from './minion/spacefarer';\r\nimport { SpiritedWhimsydrake } from './minion/spirited-whimsydrake';\r\nimport { SpringySpriggan } from './minion/springy-spriggan';\r\nimport { StitchedSalvager } from './minion/stitched-salvager';\r\nimport { StompingStegodon } from './minion/stomping-stegodon';\r\nimport { StompingStegodonEnchantment } from './minion/stomping-stegodon-enchantment';\r\nimport { StoneshellGuardian } from './minion/stoneshell-guardian';\r\nimport { StormpikeLieutenant } from './minion/stormpike-lieutenant';\r\nimport { StraySatyr } from './minion/stray-satyr';\r\nimport { SuperConstructor } from './minion/super-constructor';\r\nimport { SurfingSylvar } from './minion/surfing-slyvar';\r\nimport { Swampstriker } from './minion/swampstriker';\r\nimport { Tamuzo } from './minion/tamuzo';\r\nimport { Thorncaller } from './minion/thorncaller';\r\nimport { ThreeLilQuilboar } from './minion/three-lil-quilboar';\r\nimport { ThunderingAbomination } from './minion/thundering-abomination';\r\nimport { Tichondrius } from './minion/tichondrius';\r\nimport { TransmutedBramblewitch } from './minion/transmuted-bramblewitch';\r\nimport { TunnelBlaster } from './minion/tunnel-blaster';\r\nimport { TurquoiseSkitterer } from './minion/turquoise-skitterer';\r\nimport { TuskedCamper } from './minion/tusked-camper';\r\nimport { TwilightPrimordium } from './minion/twilight-primordium';\r\nimport { TwilightWatcher } from './minion/twilight-watcher';\r\nimport { Ultralisk } from './minion/ultralisk';\r\nimport { UltravioletAscendant } from './minion/ultraviolet-ascendant';\r\nimport { ValiantTiger } from './minion/valiant-tiger';\r\nimport { VengefulProtector } from './minion/vengeful-protector';\r\nimport { VoidEarl } from './minion/void-earl';\r\nimport { VoidRay } from './minion/void-ray';\r\nimport { VorkaiGuardian } from './minion/vorkai-guardian';\r\nimport { WanderingWight } from './minion/wandering-wight';\r\nimport { Weebomination } from './minion/weebomination';\r\nimport { WhelpSmuggler } from './minion/whelp-smuggler';\r\nimport { WhirringProtector } from './minion/whirring-protector';\r\nimport { WhirringProtectorEnchantment } from './minion/whirring-protector-enchantment';\r\nimport { WildfireElemental } from './minion/wildfire-elemental';\r\nimport { WispInTheShell } from './minion/wisp-in-the-shell';\r\nimport { WrathscaleRogue } from './minion/wrathscale-rogue';\r\nimport { YorikSmite } from './minion/yorik-smite';\r\nimport { YoungMurkEye } from './minion/young-murk-eye';\r\nimport { Yrel } from './minion/yrel';\r\nimport { Zergling } from './minion/zergling';\r\nimport { Zippers } from './minion/zippers';\r\nimport { RighteousCharge } from './quest-reward/righteous-charge';\r\nimport { AllPurposeKibble } from './trinket/all-purpose-kibble';\r\nimport { ArmOfTheEmpire } from './trinket/arm-of-the-empire';\r\nimport { ArtisanalUrn } from './trinket/artisanal-urn';\r\nimport { BalefulIncense } from './trinket/baleful-incense';\r\nimport { BassgillPortrait } from './trinket/bassgill-portrait';\r\nimport { BattleHorn } from './trinket/battle-horn';\r\nimport { BeetleBand } from './trinket/beetle-band';\r\nimport { BirdFeeder } from './trinket/bird-feeder';\r\nimport { CrochetedSungill } from './trinket/crocheted-sungill';\r\nimport { DivineSignet } from './trinket/divine-signet';\r\nimport { EclecticShrine } from './trinket/eclectic-shrine';\r\nimport { FaerieDragonScale } from './trinket/faerie-dragon-scale';\r\nimport { HeraldSticker } from './trinket/herald-sticker';\r\nimport { HogwashBasin } from './trinket/hogwash-basin';\r\nimport { StharaSticker } from './trinket/sthara-sticker';\r\nimport { UnholySanctum } from './trinket/unholy-sanctum';\r\nimport { VashjirAnemone } from './trinket/vashjir-anemone';\r\nimport { YulonSticker } from './trinket/yulon-sticker';\r\n\r\nconst cards = [\r\n\tShinyRing,\r\n\tMagicfinApprentice,\r\n\tRaptorElder,\r\n\tRighteousCharge,\r\n\tAvalancheCaller,\r\n\tBileSpitter,\r\n\tBigwigBandit,\r\n\tLostCityLooter,\r\n\tShipwreckedRascal,\r\n\tColdlightDiver,\r\n\tCanopySwinger,\r\n\tLightfeatherScreecher,\r\n\tHotSpringer,\r\n\tFlotsamFlinger,\r\n\tYoungMurkEye,\r\n\tYorikSmite,\r\n\tShipMasterEudora,\r\n\tOranomonosTheWilted,\r\n\tScourgeHarvester,\r\n\tSharpEyedSabretooth,\r\n\tCharmwing,\r\n\tStompingStegodon,\r\n\tGearedGuard,\r\n\tStompingStegodonEnchantment,\r\n\tTuskedCamper,\r\n\tNimbleHatchling,\r\n\tBlueWhelp,\r\n\tTwilightWatcher,\r\n\tVengefulProtector,\r\n\tPrimevalMonstrosity,\r\n\tProdigiousTusker,\r\n\tRoadboar,\r\n\tRazorfenVineweaver,\r\n\tHogWatcher,\r\n\tSanguineRefiner,\r\n\tBloodsnoutWarlord,\r\n\tSleepySupporter,\r\n\tGreedySnaketongue,\r\n\tDrakkariEmbalmer,\r\n\tFriendlyGeist,\r\n\tWrathscaleRogue,\r\n\tRideOrDie,\r\n\tAllSeeingElder,\r\n\tExceptionalCaretaker,\r\n\tYrel,\r\n\tRuinsRenovator,\r\n\tCampfireShadow,\r\n\tCarapaceRaiser,\r\n\tWhirringProtector,\r\n\tWhirringProtectorEnchantment,\r\n\tGleamingTrader,\r\n\tDevoutHellcaller,\r\n\tCupcakePeddler,\r\n\tSilentEnforcer,\r\n\tLordOfTheRuins,\r\n\tStraySatyr,\r\n\tVoidEarl,\r\n\tPoultron,\r\n\tFireworksFanatic,\r\n\tBassgillPortrait,\r\n\tApprenticeOfSefin,\r\n\tGormlingGourmet,\r\n\tFlightyScout,\r\n\tGrimscaleElegist,\r\n\tMurkbrineExpeditioner,\r\n\tDivineSignet,\r\n\tSilithidBurrower,\r\n\tCrochetedSungill,\r\n\tBeetleBand,\r\n\tHeraldSticker,\r\n\tAllPurposeKibble,\r\n\tSilkyShimmermoth,\r\n\tAlleycat,\r\n\tFaunaWhisperer,\r\n\tFloatingWatcher,\r\n\tSlumberSorcerer,\r\n\tCoilskarSapper,\r\n\tMonstrousMacaw,\r\n\tHogwashBasin,\r\n\tDreamingThornweaver,\r\n\tSkulkingBristlemane,\r\n\tSharptoothSnapper,\r\n\tValiantTiger,\r\n\tAmplifyingLightspawn,\r\n\tGlowingCinder,\r\n\tSandSwirler,\r\n\tBonker,\r\n\tThorncaller,\r\n\tVashjirAnemone,\r\n\tGlowgulletWarlord,\r\n\tCorruptedBristler,\r\n\tGreenskeeper,\r\n\tMawCaster,\r\n\tDastardlyDrust,\r\n\tEliteNavigator,\r\n\tSurfingSylvar,\r\n\tGoldGrubber,\r\n\tUnholySanctum,\r\n\tHumongozz,\r\n\tArtisanalUrn,\r\n\tDrustfallenButcher,\r\n\tNoisulOfTheManyFaces,\r\n\tFirescaleHoarder,\r\n\tIgnitionSpecialist,\r\n\tBalefulIncense,\r\n\tSpiritedWhimsydrake,\r\n\tBirdFeeder,\r\n\tFireForgedEvoker,\r\n\tBronzeSteward,\r\n\tMetallicHunter,\r\n\tYulonSticker,\r\n\tBattleHorn,\r\n\tFaerieDragonScale,\r\n\tSpringySpriggan,\r\n\tRicketyRepairbot,\r\n\tMechagnomeInterpreter,\r\n\tAutoAssembler,\r\n\tAutoAssemblerEnchantment,\r\n\tDeadstomper,\r\n\tArmOfTheEmpire,\r\n\tBattlecruiser,\r\n\tSharingIsCaring,\r\n\tLowFlier,\r\n\tZergling,\r\n\tHydralisk,\r\n\tBaneling,\r\n\tMutalisk,\r\n\tLurker,\r\n\tRoach,\r\n\tUltralisk,\r\n\tColossus,\r\n\tCarrier,\r\n\tImmortal,\r\n\tVoidRay,\r\n\tMothership,\r\n\tCaptainBonerender,\r\n\tGentleStag,\r\n\tBellowingTyrant,\r\n\tStitchedSalvager,\r\n\tMythraxTheUnraveler,\r\n\tWildfireElemental,\r\n\tHoloRover,\r\n\tForestRover,\r\n\tBeetle,\r\n\tBuzzingVermin,\r\n\tGemRat,\r\n\tNestSwarmer,\r\n\tRunedProgenitor,\r\n\tTurquoiseSkitterer,\r\n\tEfficientEngineer,\r\n\tNetherDrake,\r\n\tElectricSynthesizer,\r\n\tEclecticShrine,\r\n\tSelflessHero,\r\n\tNightmareParTeaGuest,\r\n\tVorkaiGuardian,\r\n\tOutbackSmolderer,\r\n\tRazorgoreTheUntamed,\r\n\tUltravioletAscendant,\r\n\tTwilightPrimordium,\r\n\tGentleDjinni,\r\n\tMoonsteelJuggernaut,\r\n\tMarqueeTicker,\r\n\tRecklessCliffdiver,\r\n\tFountainChiller,\r\n\tNeonAgent,\r\n\tLokholarFrostforger,\r\n\tImplantSubject,\r\n\tHackerfin,\r\n\tBubbleGunner,\r\n\tFairyGillmother,\r\n\tShowyCyclist,\r\n\tArcaneCannoneer,\r\n\tMutatedLasher,\r\n\tGloriousGloop,\r\n\tSilverHandedRecruit,\r\n\tSaltyHog,\r\n\tSpacefarer,\r\n\tGrittyHeadhunter,\r\n\tCrystalInfuserEnchantment,\r\n\tBoarGamer,\r\n\tBannerboar,\r\n\tWanderingWight,\r\n\tDeathlyStriker,\r\n\tWispInTheShell,\r\n\tHandlessForsaken,\r\n\tHarmlessBonehead,\r\n\tCadaverCaretaker,\r\n\tHungrySnapjaw,\r\n\tNiuzao,\r\n\tBirdBuddy,\r\n\tSlyRaptor,\r\n\tManasaber,\r\n\tRylakMetalhead,\r\n\tHummingBird,\r\n\tMechanizedGiftHorse,\r\n\tMechorse,\r\n\tIndomitableMount,\r\n\tKarmicChameleon,\r\n\tGoldrinnTheGreatWolf,\r\n\tImpulsiveTrickster,\r\n\tMechaJaraxxus,\r\n\tWhelpSmuggler,\r\n\tHunterOfGatherers,\r\n\tBlazingSkyfin,\r\n\tGeneralDrakkisath,\r\n\tSmolderwing,\r\n\tMisfitDragonling,\r\n\tKalecgosArcaneAspect,\r\n\tGreaseBot,\r\n\tClunkerJunker,\r\n\tKangorsApprentice,\r\n\tDeflectoBot,\r\n\tSwampstriker,\r\n\tMurky,\r\n\tOperaticBelcher,\r\n\tParchedWanderer,\r\n\tPrimalfinLookout,\r\n\tKingBagurgle,\r\n\tShellCollector,\r\n\tTunnelBlaster,\r\n\tLeeroyTheReckless,\r\n\tInterrogatorWhitemane,\r\n\tOozelingGladiator,\r\n\tRodeoPerformer,\r\n\tAssistantGuard,\r\n\tAridAtrocity,\r\n\tInspiringUnderdog,\r\n\tLightfangEnforcer,\r\n\tDefiantShipwright,\r\n\tPeggySturdybone,\r\n\tRapscallionRecruiter,\r\n\tLovesickBalladist,\r\n\tAdmiralElizaGoreblade,\r\n\tSkyPirateFlagbearer,\r\n\tSkyPirateFlagbearerEnchantment,\r\n\tCruiseController,\r\n\tRipsnarlCaptain,\r\n\tScallywag,\r\n\tRazorfenGeomancer,\r\n\tCharlga,\r\n\tGemSmuggler,\r\n\tBongoBopper,\r\n\tThreeLilQuilboar,\r\n\tAnubarakNerubianKing,\r\n\tNerubianDeathswarmer,\r\n\tSindoreiStraightShot,\r\n\tChampionOfThePrimus,\r\n\tMummifier,\r\n\tEchoingRoar,\r\n\tStharaSticker,\r\n\tMenagerieJug,\r\n\tThunderingAbomination,\r\n\tPrizedPromoDrake,\r\n\tTransmutedBramblewitch,\r\n\tFriendlyBouncer,\r\n\tImposingPercussionist,\r\n\tSoulRewinder,\r\n\tTichondrius,\r\n\tArchimonde,\r\n\tSanlaynScribe,\r\n\tBriarbackBookie,\r\n\tShadowdancer,\r\n\tAshenCorruptor,\r\n\tStoneshellGuardian,\r\n\tMasterGadrin,\r\n\tPilotedWhirlOTron,\r\n\tSnackVendor,\r\n\tShadowConstruct,\r\n\tTamuzo,\r\n\tWeebomination,\r\n\tMonstrosity,\r\n\tFrostwolfLieutenant,\r\n\tPilotTheShredder,\r\n\tStormpikeLieutenant,\r\n\tFragrantPhylactery,\r\n\tFragrantPhylacteryEnchantment,\r\n\tExpertTechnician,\r\n\tDivineSparkbot,\r\n\tSuperConstructor,\r\n\tAzsharanCutlassier,\r\n\tMurkySpashFisher,\r\n\tMurkysFish,\r\n\tAzeriteEmpowerment,\r\n\tMalorne,\r\n\tLoackAndLoad,\r\n\tZippers,\r\n];\r\n\r\nexport const cardMappings: { [cardId: string]: Card } = {};\r\nfor (const card of cards) {\r\n\tconst cardIds = card.cardIds ?? [];\r\n\tfor (const cardId of cardIds) {\r\n\t\tcardMappings[cardId] = card;\r\n\t}\r\n}\r\n"]}
1
+ {"version":3,"file":"_card-mappings.js","sourceRoot":"","sources":["../../../src/cards/impl/_card-mappings.ts"],"names":[],"mappings":";;;;AACA,wEAAoE;AACpE,wDAAoD;AACpD,kEAA8D;AAC9D,oEAA+D;AAC/D,sDAAkD;AA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AO;IACP,0BAAW;IACX,0BAAW;IACX,qCAAgB;IAChB,6CAAoB;IACpB,4CAAoB;IACpB,8CAAoB;IACpB,4CAAmB;IACnB,qBAAS;IACT,0BAAW;IACX,8BAAa;IACb,4BAAY;IACZ,8CAAqB;IACrB,qCAAgB;IAChB,gDAAsB;IACtB,kCAAe;IACf,8CAAqB;IACrB,4BAAY;IACZ,yBAAW;IACX,uBAAU;IACV,8BAAa;IACb,kCAAe;IACf,2BAAY;IACZ,gCAAc;IACd,wCAAkB;IAClB,4BAAY;IACZ,wCAAiB;IACjB,0BAAW;IACX,mCAAe;IACf,eAAM;IACN,6BAAa;IACb,yBAAW;IACX,0CAAmB;IACnB,qCAAgB;IAChB,0CAAmB;IACnB,wCAAkB;IAClB,+DAA6B;IAC7B,oCAAgB;IAChB,gCAAc;IACd,oCAAgB;IAChB,wCAAkB;IAClB,qCAAgB;IAChB,wBAAU;IACV,wCAAkB;IAClB,iBAAO;IACP,4BAAY;IACZ,iBAAO;IACP,kCAAe;CACf,CAAC;AAEW,QAAA,YAAY,GAA+B,EAAE,CAAC;AAC3D,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;IACzB,MAAM,OAAO,GAAG,MAAA,IAAI,CAAC,OAAO,mCAAI,EAAE,CAAC;IACnC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;QAC7B,oBAAY,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;KAC5B;CACD","sourcesContent":["import { Card } from '../card.interface';\r\nimport { AzeriteEmpowerment } from './bg-spell/azerite-empowerment';\r\nimport { MurkysFish } from './bg-spell/murkys-fish';\r\nimport { NaturalBlessing } from './bg-spell/natural-blessing';\r\nimport { SharingIsCaring } from './bg-spell/sharing-is-caring';\r\nimport { ShinyRing } from './bg-spell/shiny-ring';\r\nimport { FragrantPhylactery } from './hero-power/fragrant-phylactery';\r\nimport { FragrantPhylacteryEnchantment } from './hero-power/fragrant-phylactery-enchantment';\r\nimport { GloriousGloop } from './hero-power/glorious-gloop';\r\nimport { LoackAndLoad } from './hero-power/lock-and-load';\r\nimport { AdmiralElizaGoreblade } from './minion/admiral-eliza-goreblade';\r\nimport { AllSeeingElder } from './minion/all-seeing-elder';\r\nimport { Alleycat } from './minion/alleycat';\r\nimport { AmplifyingLightspawn } from './minion/amplifying-lightspawn';\r\nimport { AnubarakNerubianKing } from './minion/anubarak-nerubian-king';\r\nimport { ApprenticeOfSefin } from './minion/apprentice-of-sefin';\r\nimport { ArcaneCannoneer } from './minion/arcane-cannoneer';\r\nimport { Archimonde } from './minion/archimonde';\r\nimport { AridAtrocity } from './minion/arid-atrocity';\r\nimport { AshenCorruptor } from './minion/ashen-corruptor';\r\nimport { AssistantGuard } from './minion/assistant-guard';\r\nimport { AutoAssembler } from './minion/auto-assembler';\r\nimport { AutoAssemblerEnchantment } from './minion/auto-assembler-enchantment';\r\nimport { AvalancheCaller } from './minion/avalanche-caller';\r\nimport { AzsharanCutlassier } from './minion/azsharan-cutlassier';\r\nimport { Baneling } from './minion/baneling';\r\nimport { Bannerboar } from './minion/bannerboar';\r\nimport { Battlecruiser } from './minion/battlecruiser';\r\nimport { Beetle } from './minion/beetle';\r\nimport { BellowingTyrant } from './minion/bellowing-tyrant';\r\nimport { BigwigBandit } from './minion/bigwig-bandit';\r\nimport { BileSpitter } from './minion/bile-spitter';\r\nimport { BirdBuddy } from './minion/bird-buddy';\r\nimport { BlazingSkyfin } from './minion/blazing-skyfin';\r\nimport { BloodsnoutWarlord } from './minion/bloodsnout-warlord';\r\nimport { BlueWhelp } from './minion/blue-whelp';\r\nimport { BoarGamer } from './minion/boar-gamer';\r\nimport { BongoBopper } from './minion/bongo-bopper';\r\nimport { Bonker } from './minion/bonker';\r\nimport { BriarbackBookie } from './minion/briarback-bookie';\r\nimport { BronzeSteward } from './minion/bronze-steward';\r\nimport { BubbleGunner } from './minion/bubble-gunner';\r\nimport { BuzzingVermin } from './minion/buzzing-vermin';\r\nimport { CadaverCaretaker } from './minion/cadaver-caretaker';\r\nimport { CampfireShadow } from './minion/campfire-shadow';\r\nimport { CanopySwinger } from './minion/canopy-swinger';\r\nimport { CaptainBonerender } from './minion/captain-bonerender';\r\nimport { CarapaceRaiser } from './minion/carapace-raiser';\r\nimport { Carrier } from './minion/carrier';\r\nimport { ChampionOfThePrimus } from './minion/champion-of-the-primus';\r\nimport { Charlga } from './minion/charlga';\r\nimport { Charmwing } from './minion/charmwing';\r\nimport { ClunkerJunker } from './minion/clunker-junker';\r\nimport { CoilskarSapper } from './minion/coilskar-sapper';\r\nimport { ColdlightDiver } from './minion/coldlight-diver';\r\nimport { Colossus } from './minion/colossus';\r\nimport { CorruptedBristler } from './minion/corrupted-bristler';\r\nimport { CruiseController } from './minion/cruise-controller';\r\nimport { CrystalInfuserEnchantment } from './minion/crystal-infuser-enchantment';\r\nimport { CupcakePeddler } from './minion/cupcake-peddler';\r\nimport { DastardlyDrust } from './minion/dastardly-drust';\r\nimport { Deadstomper } from './minion/deadstomper';\r\nimport { DeathlyStriker } from './minion/deathly-striker';\r\nimport { DefiantShipwright } from './minion/defiant-shipwright';\r\nimport { DeflectoBot } from './minion/deflecto-bot';\r\nimport { DevoutHellcaller } from './minion/devout-hellcaller';\r\nimport { DivineSparkbot } from './minion/divine-sparkbot';\r\nimport { DrakkariEmbalmer } from './minion/drakkari-embalmer';\r\nimport { DreamingThornweaver } from './minion/dreaming-thornweaver';\r\nimport { DrustfallenButcher } from './minion/drustfallen-butcher';\r\nimport { EchoingRoar } from './minion/echoing-roar';\r\nimport { EfficientEngineer } from './minion/efficient-engineer';\r\nimport { ElectricSynthesizer } from './minion/electric-synthesizer';\r\nimport { EliteNavigator } from './minion/elite-navigator';\r\nimport { ExceptionalCaretaker } from './minion/exceptionnal-caretaker';\r\nimport { ExpertTechnician } from './minion/expert-technician';\r\nimport { FairyGillmother } from './minion/fairy-gillmother';\r\nimport { FaunaWhisperer } from './minion/fauna-whisperer';\r\nimport { FireForgedEvoker } from './minion/fire-forged-evoker';\r\nimport { FirescaleHoarder } from './minion/firescale-hoarder';\r\nimport { FireworksFanatic } from './minion/fireworks-fanatic';\r\nimport { FlightyScout } from './minion/flighty-scout';\r\nimport { FloatingWatcher } from './minion/floating-watcher';\r\nimport { FlotsamFlinger } from './minion/flotsam-flinger';\r\nimport { ForestRover } from './minion/forest-rover';\r\nimport { FountainChiller } from './minion/fountain-chiller';\r\nimport { FriendlyBouncer } from './minion/friendly-bouncer';\r\nimport { FriendlyGeist } from './minion/friendly-geist';\r\nimport { FrostwolfLieutenant } from './minion/frostwolf-lieutenant';\r\nimport { GearedGuard } from './minion/geared-guard';\r\nimport { GemRat } from './minion/gem-rat';\r\nimport { GemSmuggler } from './minion/gem-smuggler';\r\nimport { GeneralDrakkisath } from './minion/general-drakkisath';\r\nimport { GentleDjinni } from './minion/gentle-djinni';\r\nimport { GentleStag } from './minion/gentle-stag';\r\nimport { GleamingTrader } from './minion/gleaming-trader';\r\nimport { GlowgulletWarlord } from './minion/glowgullet-warlord';\r\nimport { GlowingCinder } from './minion/glowing-cinder';\r\nimport { GoldGrubber } from './minion/goldgrubber';\r\nimport { GoldrinnTheGreatWolf } from './minion/goldrinn-the-great-wolf';\r\nimport { GormlingGourmet } from './minion/gormling-gourmet';\r\nimport { GreaseBot } from './minion/grease-bot';\r\nimport { GreedySnaketongue } from './minion/greedy-snaketongue';\r\nimport { Greenskeeper } from './minion/greenskeeper';\r\nimport { GrimscaleElegist } from './minion/grimscale-elegist';\r\nimport { GrittyHeadhunter } from './minion/gritty-headhunter';\r\nimport { Hackerfin } from './minion/hackerfin';\r\nimport { HandlessForsaken } from './minion/handless-forsaken';\r\nimport { HarmlessBonehead } from './minion/harmless-bonehead';\r\nimport { HogWatcher } from './minion/hog-watcher';\r\nimport { HoloRover } from './minion/holo-rover';\r\nimport { HotSpringer } from './minion/hot-springer';\r\nimport { HummingBird } from './minion/humming-bird';\r\nimport { Humongozz } from './minion/humongozz';\r\nimport { HungrySnapjaw } from './minion/hungry-snapjaw';\r\nimport { HunterOfGatherers } from './minion/hunter-of-gatherers';\r\nimport { Hydralisk } from './minion/hydralisk';\r\nimport { IgnitionSpecialist } from './minion/ignition-specialist';\r\nimport { Immortal } from './minion/immortal';\r\nimport { ImplantSubject } from './minion/implant-subject';\r\nimport { ImposingPercussionist } from './minion/imposing-percussionist';\r\nimport { ImpulsiveTrickster } from './minion/impulsive-trickster';\r\nimport { IndomitableMount } from './minion/indomitable-mount';\r\nimport { InspiringUnderdog } from './minion/inspiring-underdog';\r\nimport { InterrogatorWhitemane } from './minion/interrogator-whitemane';\r\nimport { KalecgosArcaneAspect } from './minion/kalecgos-arcane-aspect';\r\nimport { KangorsApprentice } from './minion/kangors-apprentice';\r\nimport { KarmicChameleon } from './minion/karmic-chameleon';\r\nimport { KingBagurgle } from './minion/king-bagurgle';\r\nimport { LeeroyTheReckless } from './minion/leeroy-the-reckless';\r\nimport { LightfangEnforcer } from './minion/lightfang-enforcer';\r\nimport { LightfeatherScreecher } from './minion/lightfeather-screecher';\r\nimport { LokholarFrostforger } from './minion/lokholar-frostforger';\r\nimport { LordOfTheRuins } from './minion/lord-of-the-ruins';\r\nimport { LostCityLooter } from './minion/lost-city-looter';\r\nimport { LovesickBalladist } from './minion/lovesick-balladist';\r\nimport { LowFlier } from './minion/low-flier';\r\nimport { Lurker } from './minion/lurker';\r\nimport { MagicfinApprentice } from './minion/magicfin-apprentice';\r\nimport { Malorne } from './minion/malorne';\r\nimport { Manasaber } from './minion/manasaber';\r\nimport { MarqueeTicker } from './minion/marquee-ticker';\r\nimport { MasterGadrin } from './minion/master-gadrin';\r\nimport { MawCaster } from './minion/maw-caster';\r\nimport { MechaJaraxxus } from './minion/mecha-jaraxxus';\r\nimport { MechagnomeInterpreter } from './minion/mechagnome-interpreter';\r\nimport { MechanizedGiftHorse } from './minion/mechanized-gift-horse';\r\nimport { Mechorse } from './minion/mechorse';\r\nimport { MenagerieJug } from './minion/menagerie-jug';\r\nimport { MetallicHunter } from './minion/metallic-hunter';\r\nimport { MisfitDragonling } from './minion/misfit-dragonling';\r\nimport { Monstrosity } from './minion/monstrosity';\r\nimport { MonstrousMacaw } from './minion/monstrous-macaw';\r\nimport { MoonsteelJuggernaut } from './minion/moonsteel-juggernaut';\r\nimport { Mothership } from './minion/mothership';\r\nimport { Mummifier } from './minion/mummifier';\r\nimport { MurkbrineExpeditioner } from './minion/murkbrine-expeditioner';\r\nimport { Murky } from './minion/murky';\r\nimport { MurkySpashFisher } from './minion/murky-spash-fisher';\r\nimport { Mutalisk } from './minion/mutalisk';\r\nimport { MutatedLasher } from './minion/mutated-lasher';\r\nimport { MythraxTheUnraveler } from './minion/mythrax';\r\nimport { NeonAgent } from './minion/neon-agent';\r\nimport { NerubianDeathswarmer } from './minion/nerubian-deathswarmer';\r\nimport { NestSwarmer } from './minion/nest-swarmer';\r\nimport { NetherDrake } from './minion/nether-drake';\r\nimport { NightmareParTeaGuest } from './minion/nightmare-par-tea-guest';\r\nimport { NimbleHatchling } from './minion/nimble-hatchling';\r\nimport { Niuzao } from './minion/niuzao';\r\nimport { NoisulOfTheManyFaces } from './minion/noisul-of-the-many-faces';\r\nimport { OozelingGladiator } from './minion/oozeling-gladiator';\r\nimport { OperaticBelcher } from './minion/operatic-belcher';\r\nimport { OranomonosTheWilted } from './minion/oranomonos-the-wilted';\r\nimport { OutbackSmolderer } from './minion/outback-smolderer';\r\nimport { ParchedWanderer } from './minion/parched-wanderer';\r\nimport { PeggySturdybone } from './minion/peggy-sturdybone';\r\nimport { PilotTheShredder } from './minion/pilot-the-shredder';\r\nimport { PilotedWhirlOTron } from './minion/piloted-whirl-o-tron';\r\nimport { Poultron } from './minion/poultron';\r\nimport { PrimalfinLookout } from './minion/primalfin-lookout';\r\nimport { PrimevalMonstrosity } from './minion/primeval-monstrosity';\r\nimport { PrizedPromoDrake } from './minion/prized-promo-drake';\r\nimport { ProdigiousTusker } from './minion/prodigious-tusker';\r\nimport { RapscallionRecruiter } from './minion/rapscallion-recruiter';\r\nimport { RaptorElder } from './minion/raptor-elder';\r\nimport { RazorfenGeomancer } from './minion/razorfen-geomancer';\r\nimport { RazorfenVineweaver } from './minion/razorfen-vineweaver';\r\nimport { RazorgoreTheUntamed } from './minion/razorgore-the-untamed';\r\nimport { RecklessCliffdiver } from './minion/reckless-cliffdiver';\r\nimport { RicketyRepairbot } from './minion/rickety-repairbot';\r\nimport { RideOrDie } from './minion/ride-or-die';\r\nimport { RipsnarlCaptain } from './minion/ripsnarl-captain';\r\nimport { Roach } from './minion/roach';\r\nimport { Roadboar } from './minion/roadboar';\r\nimport { RodeoPerformer } from './minion/rodeo-performer';\r\nimport { RuinsRenovator } from './minion/ruins-renovator';\r\nimport { RunedProgenitor } from './minion/runed-progenitor';\r\nimport { RylakMetalhead } from './minion/rylak-metalhead';\r\nimport { SaltyHog } from './minion/salty-hog';\r\nimport { SandSwirler } from './minion/sand-swirler';\r\nimport { SanguineRefiner } from './minion/sanguine-refiner';\r\nimport { SanlaynScribe } from './minion/sanlayn-scribe';\r\nimport { Scallywag } from './minion/scallywag';\r\nimport { ScourgeHarvester } from './minion/scourge-harvester';\r\nimport { SelflessHero } from './minion/selfless-hero';\r\nimport { Shadowdancer } from './minion/shadowdancer';\r\nimport { ShadowConstruct } from './minion/shadowy-construct';\r\nimport { SharpEyedSabretooth } from './minion/sharp-eyed-sabretooth';\r\nimport { SharptoothSnapper } from './minion/sharptooth-snapper';\r\nimport { ShellCollector } from './minion/shell-collector';\r\nimport { ShipMasterEudora } from './minion/ship-master-eudora';\r\nimport { ShipwreckedRascal } from './minion/shipwrecked-rascal';\r\nimport { ShowyCyclist } from './minion/showy-cyclist';\r\nimport { SilentEnforcer } from './minion/silent-enforcer';\r\nimport { SilithidBurrower } from './minion/silithid-burrower';\r\nimport { SilkyShimmermoth } from './minion/silky-shimmermoth';\r\nimport { SilverHandedRecruit } from './minion/silver-handed-recruit';\r\nimport { SindoreiStraightShot } from './minion/sinodorei-straight-shot';\r\nimport { SkulkingBristlemane } from './minion/skulking-bristlemane';\r\nimport { SkyPirateFlagbearer } from './minion/sky-pirate-flagbearer';\r\nimport { SkyPirateFlagbearerEnchantment } from './minion/sky-pirate-flagbearer-enchantment';\r\nimport { SleepySupporter } from './minion/sleepy-supporter';\r\nimport { SlumberSorcerer } from './minion/slumber-sorcerer';\r\nimport { SlyRaptor } from './minion/sly-raptor';\r\nimport { Smolderwing } from './minion/smolderwing';\r\nimport { SnackVendor } from './minion/snack-vendor';\r\nimport { SoulRewinder } from './minion/soul-rewinder';\r\nimport { Spacefarer } from './minion/spacefarer';\r\nimport { SpiritedWhimsydrake } from './minion/spirited-whimsydrake';\r\nimport { SpringySpriggan } from './minion/springy-spriggan';\r\nimport { StitchedSalvager } from './minion/stitched-salvager';\r\nimport { StompingStegodon } from './minion/stomping-stegodon';\r\nimport { StompingStegodonEnchantment } from './minion/stomping-stegodon-enchantment';\r\nimport { StoneshellGuardian } from './minion/stoneshell-guardian';\r\nimport { StormpikeLieutenant } from './minion/stormpike-lieutenant';\r\nimport { StraySatyr } from './minion/stray-satyr';\r\nimport { SuperConstructor } from './minion/super-constructor';\r\nimport { SurfingSylvar } from './minion/surfing-slyvar';\r\nimport { Swampstriker } from './minion/swampstriker';\r\nimport { Tamuzo } from './minion/tamuzo';\r\nimport { Thorncaller } from './minion/thorncaller';\r\nimport { ThreeLilQuilboar } from './minion/three-lil-quilboar';\r\nimport { ThunderingAbomination } from './minion/thundering-abomination';\r\nimport { Tichondrius } from './minion/tichondrius';\r\nimport { TransmutedBramblewitch } from './minion/transmuted-bramblewitch';\r\nimport { TunnelBlaster } from './minion/tunnel-blaster';\r\nimport { TurquoiseSkitterer } from './minion/turquoise-skitterer';\r\nimport { TuskedCamper } from './minion/tusked-camper';\r\nimport { TwilightPrimordium } from './minion/twilight-primordium';\r\nimport { TwilightWatcher } from './minion/twilight-watcher';\r\nimport { Ultralisk } from './minion/ultralisk';\r\nimport { UltravioletAscendant } from './minion/ultraviolet-ascendant';\r\nimport { ValiantTiger } from './minion/valiant-tiger';\r\nimport { VengefulProtector } from './minion/vengeful-protector';\r\nimport { VoidEarl } from './minion/void-earl';\r\nimport { VoidRay } from './minion/void-ray';\r\nimport { VorkaiGuardian } from './minion/vorkai-guardian';\r\nimport { WanderingWight } from './minion/wandering-wight';\r\nimport { Weebomination } from './minion/weebomination';\r\nimport { WhelpSmuggler } from './minion/whelp-smuggler';\r\nimport { WhirringProtector } from './minion/whirring-protector';\r\nimport { WhirringProtectorEnchantment } from './minion/whirring-protector-enchantment';\r\nimport { WildfireElemental } from './minion/wildfire-elemental';\r\nimport { WispInTheShell } from './minion/wisp-in-the-shell';\r\nimport { WrathscaleRogue } from './minion/wrathscale-rogue';\r\nimport { YorikSmite } from './minion/yorik-smite';\r\nimport { YoungMurkEye } from './minion/young-murk-eye';\r\nimport { Yrel } from './minion/yrel';\r\nimport { Zergling } from './minion/zergling';\r\nimport { Zippers } from './minion/zippers';\r\nimport { RighteousCharge } from './quest-reward/righteous-charge';\r\nimport { AllPurposeKibble } from './trinket/all-purpose-kibble';\r\nimport { ArmOfTheEmpire } from './trinket/arm-of-the-empire';\r\nimport { ArtisanalUrn } from './trinket/artisanal-urn';\r\nimport { BalefulIncense } from './trinket/baleful-incense';\r\nimport { BassgillPortrait } from './trinket/bassgill-portrait';\r\nimport { BattleHorn } from './trinket/battle-horn';\r\nimport { BeetleBand } from './trinket/beetle-band';\r\nimport { BirdFeeder } from './trinket/bird-feeder';\r\nimport { CrochetedSungill } from './trinket/crocheted-sungill';\r\nimport { DivineSignet } from './trinket/divine-signet';\r\nimport { EclecticShrine } from './trinket/eclectic-shrine';\r\nimport { FaerieDragonScale } from './trinket/faerie-dragon-scale';\r\nimport { HeraldSticker } from './trinket/herald-sticker';\r\nimport { HogwashBasin } from './trinket/hogwash-basin';\r\nimport { StharaSticker } from './trinket/sthara-sticker';\r\nimport { UnholySanctum } from './trinket/unholy-sanctum';\r\nimport { VashjirAnemone } from './trinket/vashjir-anemone';\r\nimport { YulonSticker } from './trinket/yulon-sticker';\r\n\r\nconst cards = [\r\n\tShinyRing,\r\n\tMagicfinApprentice,\r\n\tRaptorElder,\r\n\tRighteousCharge,\r\n\tAvalancheCaller,\r\n\tBileSpitter,\r\n\tBigwigBandit,\r\n\tLostCityLooter,\r\n\tShipwreckedRascal,\r\n\tColdlightDiver,\r\n\tCanopySwinger,\r\n\tLightfeatherScreecher,\r\n\tHotSpringer,\r\n\tFlotsamFlinger,\r\n\tYoungMurkEye,\r\n\tYorikSmite,\r\n\tShipMasterEudora,\r\n\tOranomonosTheWilted,\r\n\tScourgeHarvester,\r\n\tSharpEyedSabretooth,\r\n\tCharmwing,\r\n\tStompingStegodon,\r\n\tGearedGuard,\r\n\tStompingStegodonEnchantment,\r\n\tTuskedCamper,\r\n\tNimbleHatchling,\r\n\tBlueWhelp,\r\n\tTwilightWatcher,\r\n\tVengefulProtector,\r\n\tPrimevalMonstrosity,\r\n\tProdigiousTusker,\r\n\tRoadboar,\r\n\tRazorfenVineweaver,\r\n\tHogWatcher,\r\n\tSanguineRefiner,\r\n\tBloodsnoutWarlord,\r\n\tSleepySupporter,\r\n\tGreedySnaketongue,\r\n\tDrakkariEmbalmer,\r\n\tFriendlyGeist,\r\n\tWrathscaleRogue,\r\n\tRideOrDie,\r\n\tAllSeeingElder,\r\n\tExceptionalCaretaker,\r\n\tYrel,\r\n\tRuinsRenovator,\r\n\tCampfireShadow,\r\n\tCarapaceRaiser,\r\n\tWhirringProtector,\r\n\tWhirringProtectorEnchantment,\r\n\tGleamingTrader,\r\n\tDevoutHellcaller,\r\n\tCupcakePeddler,\r\n\tSilentEnforcer,\r\n\tLordOfTheRuins,\r\n\tStraySatyr,\r\n\tVoidEarl,\r\n\tPoultron,\r\n\tFireworksFanatic,\r\n\tBassgillPortrait,\r\n\tApprenticeOfSefin,\r\n\tGormlingGourmet,\r\n\tFlightyScout,\r\n\tGrimscaleElegist,\r\n\tMurkbrineExpeditioner,\r\n\tDivineSignet,\r\n\tSilithidBurrower,\r\n\tCrochetedSungill,\r\n\tBeetleBand,\r\n\tHeraldSticker,\r\n\tAllPurposeKibble,\r\n\tSilkyShimmermoth,\r\n\tAlleycat,\r\n\tFaunaWhisperer,\r\n\tFloatingWatcher,\r\n\tSlumberSorcerer,\r\n\tCoilskarSapper,\r\n\tMonstrousMacaw,\r\n\tHogwashBasin,\r\n\tDreamingThornweaver,\r\n\tSkulkingBristlemane,\r\n\tSharptoothSnapper,\r\n\tValiantTiger,\r\n\tAmplifyingLightspawn,\r\n\tGlowingCinder,\r\n\tSandSwirler,\r\n\tBonker,\r\n\tThorncaller,\r\n\tVashjirAnemone,\r\n\tGlowgulletWarlord,\r\n\tCorruptedBristler,\r\n\tGreenskeeper,\r\n\tMawCaster,\r\n\tDastardlyDrust,\r\n\tEliteNavigator,\r\n\tSurfingSylvar,\r\n\tGoldGrubber,\r\n\tUnholySanctum,\r\n\tHumongozz,\r\n\tArtisanalUrn,\r\n\tDrustfallenButcher,\r\n\tNoisulOfTheManyFaces,\r\n\tFirescaleHoarder,\r\n\tIgnitionSpecialist,\r\n\tBalefulIncense,\r\n\tSpiritedWhimsydrake,\r\n\tBirdFeeder,\r\n\tFireForgedEvoker,\r\n\tBronzeSteward,\r\n\tMetallicHunter,\r\n\tYulonSticker,\r\n\tBattleHorn,\r\n\tFaerieDragonScale,\r\n\tSpringySpriggan,\r\n\tRicketyRepairbot,\r\n\tMechagnomeInterpreter,\r\n\tAutoAssembler,\r\n\tAutoAssemblerEnchantment,\r\n\tDeadstomper,\r\n\tArmOfTheEmpire,\r\n\tBattlecruiser,\r\n\tSharingIsCaring,\r\n\tLowFlier,\r\n\tZergling,\r\n\tHydralisk,\r\n\tBaneling,\r\n\tMutalisk,\r\n\tLurker,\r\n\tRoach,\r\n\tUltralisk,\r\n\tColossus,\r\n\tCarrier,\r\n\tImmortal,\r\n\tVoidRay,\r\n\tMothership,\r\n\tCaptainBonerender,\r\n\tGentleStag,\r\n\tBellowingTyrant,\r\n\tStitchedSalvager,\r\n\tMythraxTheUnraveler,\r\n\tWildfireElemental,\r\n\tHoloRover,\r\n\tForestRover,\r\n\tBeetle,\r\n\tBuzzingVermin,\r\n\tGemRat,\r\n\tNestSwarmer,\r\n\tRunedProgenitor,\r\n\tTurquoiseSkitterer,\r\n\tEfficientEngineer,\r\n\tNetherDrake,\r\n\tElectricSynthesizer,\r\n\tEclecticShrine,\r\n\tSelflessHero,\r\n\tNightmareParTeaGuest,\r\n\tVorkaiGuardian,\r\n\tOutbackSmolderer,\r\n\tRazorgoreTheUntamed,\r\n\tUltravioletAscendant,\r\n\tTwilightPrimordium,\r\n\tGentleDjinni,\r\n\tMoonsteelJuggernaut,\r\n\tMarqueeTicker,\r\n\tRecklessCliffdiver,\r\n\tFountainChiller,\r\n\tNeonAgent,\r\n\tLokholarFrostforger,\r\n\tImplantSubject,\r\n\tHackerfin,\r\n\tBubbleGunner,\r\n\tFairyGillmother,\r\n\tShowyCyclist,\r\n\tArcaneCannoneer,\r\n\tMutatedLasher,\r\n\tGloriousGloop,\r\n\tSilverHandedRecruit,\r\n\tSaltyHog,\r\n\tSpacefarer,\r\n\tGrittyHeadhunter,\r\n\tCrystalInfuserEnchantment,\r\n\tBoarGamer,\r\n\tBannerboar,\r\n\tWanderingWight,\r\n\tDeathlyStriker,\r\n\tWispInTheShell,\r\n\tHandlessForsaken,\r\n\tHarmlessBonehead,\r\n\tCadaverCaretaker,\r\n\tHungrySnapjaw,\r\n\tNiuzao,\r\n\tBirdBuddy,\r\n\tSlyRaptor,\r\n\tManasaber,\r\n\tRylakMetalhead,\r\n\tHummingBird,\r\n\tMechanizedGiftHorse,\r\n\tMechorse,\r\n\tIndomitableMount,\r\n\tKarmicChameleon,\r\n\tGoldrinnTheGreatWolf,\r\n\tImpulsiveTrickster,\r\n\tMechaJaraxxus,\r\n\tWhelpSmuggler,\r\n\tHunterOfGatherers,\r\n\tBlazingSkyfin,\r\n\tGeneralDrakkisath,\r\n\tSmolderwing,\r\n\tMisfitDragonling,\r\n\tKalecgosArcaneAspect,\r\n\tGreaseBot,\r\n\tClunkerJunker,\r\n\tKangorsApprentice,\r\n\tDeflectoBot,\r\n\tSwampstriker,\r\n\tMurky,\r\n\tOperaticBelcher,\r\n\tParchedWanderer,\r\n\tPrimalfinLookout,\r\n\tKingBagurgle,\r\n\tShellCollector,\r\n\tTunnelBlaster,\r\n\tLeeroyTheReckless,\r\n\tInterrogatorWhitemane,\r\n\tOozelingGladiator,\r\n\tRodeoPerformer,\r\n\tAssistantGuard,\r\n\tAridAtrocity,\r\n\tInspiringUnderdog,\r\n\tLightfangEnforcer,\r\n\tDefiantShipwright,\r\n\tPeggySturdybone,\r\n\tRapscallionRecruiter,\r\n\tLovesickBalladist,\r\n\tAdmiralElizaGoreblade,\r\n\tSkyPirateFlagbearer,\r\n\tSkyPirateFlagbearerEnchantment,\r\n\tCruiseController,\r\n\tRipsnarlCaptain,\r\n\tScallywag,\r\n\tRazorfenGeomancer,\r\n\tCharlga,\r\n\tGemSmuggler,\r\n\tBongoBopper,\r\n\tThreeLilQuilboar,\r\n\tAnubarakNerubianKing,\r\n\tNerubianDeathswarmer,\r\n\tSindoreiStraightShot,\r\n\tChampionOfThePrimus,\r\n\tMummifier,\r\n\tEchoingRoar,\r\n\tStharaSticker,\r\n\tMenagerieJug,\r\n\tThunderingAbomination,\r\n\tPrizedPromoDrake,\r\n\tTransmutedBramblewitch,\r\n\tFriendlyBouncer,\r\n\tImposingPercussionist,\r\n\tSoulRewinder,\r\n\tTichondrius,\r\n\tArchimonde,\r\n\tSanlaynScribe,\r\n\tBriarbackBookie,\r\n\tShadowdancer,\r\n\tAshenCorruptor,\r\n\tStoneshellGuardian,\r\n\tMasterGadrin,\r\n\tPilotedWhirlOTron,\r\n\tSnackVendor,\r\n\tShadowConstruct,\r\n\tTamuzo,\r\n\tWeebomination,\r\n\tMonstrosity,\r\n\tFrostwolfLieutenant,\r\n\tPilotTheShredder,\r\n\tStormpikeLieutenant,\r\n\tFragrantPhylactery,\r\n\tFragrantPhylacteryEnchantment,\r\n\tExpertTechnician,\r\n\tDivineSparkbot,\r\n\tSuperConstructor,\r\n\tAzsharanCutlassier,\r\n\tMurkySpashFisher,\r\n\tMurkysFish,\r\n\tAzeriteEmpowerment,\r\n\tMalorne,\r\n\tLoackAndLoad,\r\n\tZippers,\r\n\tNaturalBlessing,\r\n];\r\n\r\nexport const cardMappings: { [cardId: string]: Card } = {};\r\nfor (const card of cards) {\r\n\tconst cardIds = card.cardIds ?? [];\r\n\tfor (const cardId of cardIds) {\r\n\t\tcardMappings[cardId] = card;\r\n\t}\r\n}\r\n"]}
@@ -0,0 +1,2 @@
1
+ import { SpellCard } from '../../card.interface';
2
+ export declare const NaturalBlessing: SpellCard;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NaturalBlessing = void 0;
4
+ const reference_data_1 = require("@firestone-hs/reference-data");
5
+ const utils_1 = require("../../../services/utils");
6
+ const stats_1 = require("../../../simulation/stats");
7
+ exports.NaturalBlessing = {
8
+ cardIds: ["BG28_845"],
9
+ castSpell: (spellCardId, input) => {
10
+ const baseAttack = input.gameState.allCards.getCard(spellCardId).tags[reference_data_1.GameTag[reference_data_1.GameTag.TAG_SCRIPT_DATA_NUM_1]];
11
+ const baseHealth = input.gameState.allCards.getCard(spellCardId).tags[reference_data_1.GameTag[reference_data_1.GameTag.TAG_SCRIPT_DATA_NUM_2]];
12
+ const attack = baseAttack + input.hero.globalInfo.TavernSpellAttackBuff;
13
+ const health = baseHealth + input.hero.globalInfo.TavernSpellHealthBuff;
14
+ const allMinions = [...input.board, ...input.otherBoard];
15
+ const target = (0, utils_1.pickRandom)(allMinions);
16
+ const minionsSharingType = allMinions.filter((e) => doMinionsShareType(e, target, input.gameState.allCards));
17
+ for (const minion of minionsSharingType) {
18
+ (0, stats_1.modifyStats)(minion, input.source, attack, health, input.board, input.hero, input.gameState);
19
+ }
20
+ },
21
+ };
22
+ const doMinionsShareType = (minion, target, allCards) => {
23
+ var _a, _b;
24
+ const minionTypes = (_a = allCards.getCard(minion.cardId).races) !== null && _a !== void 0 ? _a : [];
25
+ const targetTypes = (_b = allCards.getCard(target.cardId).races) !== null && _b !== void 0 ? _b : [];
26
+ return minionTypes.some((type) => targetTypes.includes(type));
27
+ };
28
+ //# sourceMappingURL=natural-blessing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"natural-blessing.js","sourceRoot":"","sources":["../../../../src/cards/impl/bg-spell/natural-blessing.ts"],"names":[],"mappings":";;;AAAA,iEAAwE;AAGxE,mDAAqD;AACrD,qDAAwD;AAG3C,QAAA,eAAe,GAAc;IACzC,OAAO,EAAE,YAAkC;IAC3C,SAAS,EAAE,CAAC,WAAmB,EAAE,KAAqB,EAAE,EAAE;QACzD,MAAM,UAAU,GAAG,KAAK,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,wBAAO,CAAC,wBAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;QAC9G,MAAM,UAAU,GAAG,KAAK,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,wBAAO,CAAC,wBAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;QAC9G,MAAM,MAAM,GAAG,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,qBAAqB,CAAC;QACxE,MAAM,MAAM,GAAG,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,qBAAqB,CAAC;QAExE,MAAM,UAAU,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,IAAA,kBAAU,EAAC,UAAU,CAAC,CAAC;QACtC,MAAM,kBAAkB,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC7G,KAAK,MAAM,MAAM,IAAI,kBAAkB,EAAE;YACxC,IAAA,mBAAW,EAAC,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;SAC5F;IACF,CAAC;CACD,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,MAAmB,EAAE,MAAmB,EAAE,QAAyB,EAAE,EAAE;;IAClG,MAAM,WAAW,GAAG,MAAA,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,mCAAI,EAAE,CAAC;IAChE,MAAM,WAAW,GAAG,MAAA,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,mCAAI,EAAE,CAAC;IAChE,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;AAC/D,CAAC,CAAC","sourcesContent":["import { AllCardsService, GameTag } from '@firestone-hs/reference-data';\r\nimport { BoardEntity } from '../../../board-entity';\r\nimport { CardIds } from '../../../services/card-ids';\r\nimport { pickRandom } from '../../../services/utils';\r\nimport { modifyStats } from '../../../simulation/stats';\r\nimport { CastSpellInput, SpellCard } from '../../card.interface';\r\n\r\nexport const NaturalBlessing: SpellCard = {\r\n\tcardIds: [CardIds.NaturalBlessing_BG28_845],\r\n\tcastSpell: (spellCardId: string, input: CastSpellInput) => {\r\n\t\tconst baseAttack = input.gameState.allCards.getCard(spellCardId).tags[GameTag[GameTag.TAG_SCRIPT_DATA_NUM_1]];\r\n\t\tconst baseHealth = input.gameState.allCards.getCard(spellCardId).tags[GameTag[GameTag.TAG_SCRIPT_DATA_NUM_2]];\r\n\t\tconst attack = baseAttack + input.hero.globalInfo.TavernSpellAttackBuff;\r\n\t\tconst health = baseHealth + input.hero.globalInfo.TavernSpellHealthBuff;\r\n\r\n\t\tconst allMinions = [...input.board, ...input.otherBoard];\r\n\t\tconst target = pickRandom(allMinions);\r\n\t\tconst minionsSharingType = allMinions.filter((e) => doMinionsShareType(e, target, input.gameState.allCards));\r\n\t\tfor (const minion of minionsSharingType) {\r\n\t\t\tmodifyStats(minion, input.source, attack, health, input.board, input.hero, input.gameState);\r\n\t\t}\r\n\t},\r\n};\r\n\r\nconst doMinionsShareType = (minion: BoardEntity, target: BoardEntity, allCards: AllCardsService) => {\r\n\tconst minionTypes = allCards.getCard(minion.cardId).races ?? [];\r\n\tconst targetTypes = allCards.getCard(target.cardId).races ?? [];\r\n\treturn minionTypes.some((type) => targetTypes.includes(type));\r\n};\r\n"]}
@@ -9,7 +9,7 @@ exports.AnubarakNerubianKing = {
9
9
  const anubarakMultiplier = minion.cardId === "BG25_007_G" ? 2 : 1;
10
10
  const attackBonus = anubarakMultiplier * 1;
11
11
  input.boardWithDeadEntityHero.globalInfo.UndeadAttackBonus += attackBonus;
12
- (0, utils_1.addStatsToBoard)(minion, input.boardWithDeadEntity, input.boardWithDeadEntityHero, attackBonus, 0, input.gameState, reference_data_1.Race[reference_data_1.Race.UNDEAD], false);
12
+ (0, utils_1.addStatsToBoard)(minion, input.boardWithDeadEntity, input.boardWithDeadEntityHero, attackBonus, 0, input.gameState, reference_data_1.Race[reference_data_1.Race.UNDEAD], true);
13
13
  return [];
14
14
  },
15
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"anubarak-nerubian-king.js","sourceRoot":"","sources":["../../../../src/cards/impl/minion/anubarak-nerubian-king.ts"],"names":[],"mappings":";;;AACA,iEAAoD;AAGpD,0CAAiD;AAGpC,QAAA,oBAAoB,GAAyB;IACzD,OAAO,EAAE,0BAAgF;IACzF,gBAAgB,EAAE,CAAC,MAAmB,EAAE,KAAgC,EAAE,EAAE;QAC3E,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,iBAA4C,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7F,MAAM,WAAW,GAAG,kBAAkB,GAAG,CAAC,CAAC;QAC3C,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,iBAAiB,IAAI,WAAW,CAAC;QAC1E,IAAA,uBAAe,EACd,MAAM,EACN,KAAK,CAAC,mBAAmB,EACzB,KAAK,CAAC,uBAAuB,EAC7B,WAAW,EACX,CAAC,EACD,KAAK,CAAC,SAAS,EACf,qBAAI,CAAC,qBAAI,CAAC,MAAM,CAAC,EACjB,KAAK,CACL,CAAC;QACF,OAAO,EAAE,CAAC;IACX,CAAC;CACD,CAAC","sourcesContent":["import { CardIds } from '../../../services/card-ids';\nimport { Race } from '@firestone-hs/reference-data';\nimport { BoardEntity } from '../../../board-entity';\r\nimport { DeathrattleTriggeredInput } from '../../../simulation/deathrattle-on-trigger';\r\nimport { addStatsToBoard } from '../../../utils';\r\nimport { DeathrattleSpawnCard } from '../../card.interface';\r\n\r\nexport const AnubarakNerubianKing: DeathrattleSpawnCard = {\r\n\tcardIds: [CardIds.AnubarakNerubianKing_BG25_007, CardIds.AnubarakNerubianKing_BG25_007_G],\r\n\tdeathrattleSpawn: (minion: BoardEntity, input: DeathrattleTriggeredInput) => {\r\n\t\tconst anubarakMultiplier = minion.cardId === CardIds.AnubarakNerubianKing_BG25_007_G ? 2 : 1;\r\n\t\tconst attackBonus = anubarakMultiplier * 1;\r\n\t\tinput.boardWithDeadEntityHero.globalInfo.UndeadAttackBonus += attackBonus;\r\n\t\taddStatsToBoard(\r\n\t\t\tminion,\r\n\t\t\tinput.boardWithDeadEntity,\r\n\t\t\tinput.boardWithDeadEntityHero,\r\n\t\t\tattackBonus,\r\n\t\t\t0,\r\n\t\t\tinput.gameState,\r\n\t\t\tRace[Race.UNDEAD],\r\n\t\t\tfalse,\r\n\t\t);\r\n\t\treturn [];\r\n\t},\r\n};\r\n"]}
1
+ {"version":3,"file":"anubarak-nerubian-king.js","sourceRoot":"","sources":["../../../../src/cards/impl/minion/anubarak-nerubian-king.ts"],"names":[],"mappings":";;;AAAA,iEAAoD;AAIpD,0CAAiD;AAGpC,QAAA,oBAAoB,GAAyB;IACzD,OAAO,EAAE,0BAAgF;IACzF,gBAAgB,EAAE,CAAC,MAAmB,EAAE,KAAgC,EAAE,EAAE;QAC3E,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,iBAA4C,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7F,MAAM,WAAW,GAAG,kBAAkB,GAAG,CAAC,CAAC;QAC3C,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,iBAAiB,IAAI,WAAW,CAAC;QAC1E,IAAA,uBAAe,EACd,MAAM,EACN,KAAK,CAAC,mBAAmB,EACzB,KAAK,CAAC,uBAAuB,EAC7B,WAAW,EACX,CAAC,EACD,KAAK,CAAC,SAAS,EACf,qBAAI,CAAC,qBAAI,CAAC,MAAM,CAAC,EAGjB,IAAI,CACJ,CAAC;QACF,OAAO,EAAE,CAAC;IACX,CAAC;CACD,CAAC","sourcesContent":["import { Race } from '@firestone-hs/reference-data';\r\nimport { BoardEntity } from '../../../board-entity';\r\nimport { CardIds } from '../../../services/card-ids';\r\nimport { DeathrattleTriggeredInput } from '../../../simulation/deathrattle-on-trigger';\r\nimport { addStatsToBoard } from '../../../utils';\r\nimport { DeathrattleSpawnCard } from '../../card.interface';\r\n\r\nexport const AnubarakNerubianKing: DeathrattleSpawnCard = {\r\n\tcardIds: [CardIds.AnubarakNerubianKing_BG25_007, CardIds.AnubarakNerubianKing_BG25_007_G],\r\n\tdeathrattleSpawn: (minion: BoardEntity, input: DeathrattleTriggeredInput) => {\r\n\t\tconst anubarakMultiplier = minion.cardId === CardIds.AnubarakNerubianKing_BG25_007_G ? 2 : 1;\r\n\t\tconst attackBonus = anubarakMultiplier * 1;\r\n\t\tinput.boardWithDeadEntityHero.globalInfo.UndeadAttackBonus += attackBonus;\r\n\t\taddStatsToBoard(\r\n\t\t\tminion,\r\n\t\t\tinput.boardWithDeadEntity,\r\n\t\t\tinput.boardWithDeadEntityHero,\r\n\t\t\tattackBonus,\r\n\t\t\t0,\r\n\t\t\tinput.gameState,\r\n\t\t\tRace[Race.UNDEAD],\r\n\t\t\t// This causes Tentacle of C'Thun to gain stats\r\n\t\t\t// 33.6 https://replays.firestoneapp.com/?reviewId=4267ce35-80c7-47af-b0a0-33587fdc952c&turn=25&action=7\r\n\t\t\ttrue,\r\n\t\t);\r\n\t\treturn [];\r\n\t},\r\n};\r\n"]}
@@ -10,7 +10,7 @@ exports.MasterGadrin = {
10
10
  const leftNeighbour = minionIndex - 1 >= 0 ? input.playerBoard[minionIndex - 1] : null;
11
11
  const targets = minion.cardId === "BG20_HERO_201_Buddy_G"
12
12
  ? (0, attack_1.getNeighbours)(input.playerBoard, minion)
13
- : [leftNeighbour];
13
+ : [leftNeighbour].filter((e) => !!e);
14
14
  for (const target of targets) {
15
15
  (0, stats_1.modifyStats)(target, minion, 0, target.attack, input.playerBoard, input.playerEntity, input.gameState);
16
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"master-gadrin.js","sourceRoot":"","sources":["../../../../src/cards/impl/minion/master-gadrin.ts"],"names":[],"mappings":";;;AAEA,uDAA2D;AAE3D,qDAAwD;AAG3C,QAAA,YAAY,GAAsB;IAC9C,OAAO,EAAE,gDAAsF;IAC/F,aAAa,EAAE,CAAC,MAAmB,EAAE,KAAe,EAAE,EAAE;QACvD,MAAM,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACtD,MAAM,aAAa,GAAG,WAAW,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACvF,MAAM,OAAO,GACZ,MAAM,CAAC,MAAM,4BAA+C;YAC3D,CAAC,CAAC,IAAA,sBAAa,EAAC,KAAK,CAAC,WAAW,EAAE,MAAM,CAAC;YAC1C,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;QACpB,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;YAC7B,IAAA,mBAAW,EAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;SACtG;QACD,OAAO,IAAI,CAAC;IACb,CAAC;CACD,CAAC","sourcesContent":["import { BoardEntity } from '../../../board-entity';\r\nimport { CardIds } from '../../../services/card-ids';\r\nimport { getNeighbours } from '../../../simulation/attack';\r\nimport { SoCInput } from '../../../simulation/start-of-combat/start-of-combat-input';\r\nimport { modifyStats } from '../../../simulation/stats';\r\nimport { StartOfCombatCard } from '../../card.interface';\r\n\r\nexport const MasterGadrin: StartOfCombatCard = {\r\n\tcardIds: [CardIds.MasterGadrin_BG20_HERO_201_Buddy, CardIds.MasterGadrin_BG20_HERO_201_Buddy_G],\r\n\tstartOfCombat: (minion: BoardEntity, input: SoCInput) => {\r\n\t\tconst minionIndex = input.playerBoard.indexOf(minion);\r\n\t\tconst leftNeighbour = minionIndex - 1 >= 0 ? input.playerBoard[minionIndex - 1] : null;\r\n\t\tconst targets =\r\n\t\t\tminion.cardId === CardIds.MasterGadrin_BG20_HERO_201_Buddy_G\r\n\t\t\t\t? getNeighbours(input.playerBoard, minion)\r\n\t\t\t\t: [leftNeighbour];\r\n\t\tfor (const target of targets) {\r\n\t\t\tmodifyStats(target, minion, 0, target.attack, input.playerBoard, input.playerEntity, input.gameState);\r\n\t\t}\r\n\t\treturn true;\r\n\t},\r\n};\r\n"]}
1
+ {"version":3,"file":"master-gadrin.js","sourceRoot":"","sources":["../../../../src/cards/impl/minion/master-gadrin.ts"],"names":[],"mappings":";;;AAEA,uDAA2D;AAE3D,qDAAwD;AAG3C,QAAA,YAAY,GAAsB;IAC9C,OAAO,EAAE,gDAAsF;IAC/F,aAAa,EAAE,CAAC,MAAmB,EAAE,KAAe,EAAE,EAAE;QACvD,MAAM,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACtD,MAAM,aAAa,GAAG,WAAW,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACvF,MAAM,OAAO,GACZ,MAAM,CAAC,MAAM,4BAA+C;YAC3D,CAAC,CAAC,IAAA,sBAAa,EAAC,KAAK,CAAC,WAAW,EAAE,MAAM,CAAC;YAC1C,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACvC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;YAC7B,IAAA,mBAAW,EAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;SACtG;QACD,OAAO,IAAI,CAAC;IACb,CAAC;CACD,CAAC","sourcesContent":["import { BoardEntity } from '../../../board-entity';\r\nimport { CardIds } from '../../../services/card-ids';\r\nimport { getNeighbours } from '../../../simulation/attack';\r\nimport { SoCInput } from '../../../simulation/start-of-combat/start-of-combat-input';\r\nimport { modifyStats } from '../../../simulation/stats';\r\nimport { StartOfCombatCard } from '../../card.interface';\r\n\r\nexport const MasterGadrin: StartOfCombatCard = {\r\n\tcardIds: [CardIds.MasterGadrin_BG20_HERO_201_Buddy, CardIds.MasterGadrin_BG20_HERO_201_Buddy_G],\r\n\tstartOfCombat: (minion: BoardEntity, input: SoCInput) => {\r\n\t\tconst minionIndex = input.playerBoard.indexOf(minion);\r\n\t\tconst leftNeighbour = minionIndex - 1 >= 0 ? input.playerBoard[minionIndex - 1] : null;\r\n\t\tconst targets =\r\n\t\t\tminion.cardId === CardIds.MasterGadrin_BG20_HERO_201_Buddy_G\r\n\t\t\t\t? getNeighbours(input.playerBoard, minion)\r\n\t\t\t\t: [leftNeighbour].filter((e) => !!e);\r\n\t\tfor (const target of targets) {\r\n\t\t\tmodifyStats(target, minion, 0, target.attack, input.playerBoard, input.playerEntity, input.gameState);\r\n\t\t}\r\n\t\treturn true;\r\n\t},\r\n};\r\n"]}
@@ -36,10 +36,12 @@ exports.RaptorElder = {
36
36
  input.spawned.attack += attackBuff * baseBuff;
37
37
  input.spawned.health += healthBuff * baseBuff;
38
38
  }
39
- const allTargets = input.board.filter((e) => (0, utils_1.hasCorrectTribe)(e, input.hero, reference_data_1.Race.BEAST, input.gameState.anomalies, input.gameState.allCards));
40
- for (const target of allTargets) {
41
- target.attack += attackBuff * mult;
42
- target.health += healthBuff * mult;
39
+ if ((0, utils_1.hasCorrectTribe)(input.spawned, input.hero, reference_data_1.Race.BEAST, input.gameState.anomalies, input.gameState.allCards)) {
40
+ const allTargets = input.board.filter((e) => (0, utils_1.hasCorrectTribe)(e, input.hero, reference_data_1.Race.BEAST, input.gameState.anomalies, input.gameState.allCards));
41
+ for (const target of allTargets) {
42
+ target.attack += attackBuff * mult;
43
+ target.health += healthBuff * mult;
44
+ }
43
45
  }
44
46
  },
45
47
  };
@@ -1 +1 @@
1
- {"version":3,"file":"raptor-elder.js","sourceRoot":"","sources":["../../../../src/cards/impl/minion/raptor-elder.ts"],"names":[],"mappings":";;;AAAA,iEAAoD;AAIpD,0CAAiD;AAGjD,MAAM,UAAU,GAAG,CAAC,CAAC;AACrB,MAAM,UAAU,GAAG,CAAC,CAAC;AAER,QAAA,WAAW,GAAyD;IAChF,OAAO,EAAE,0BAA8D;IACvE,SAAS,EAAE,CAAC,MAAmB,EAAE,KAAmB,EAAE,EAAE;QACvD,MAAM,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M,IAAI,UAAU,GAAG,IAAI,CAAC;SACnC;IACF,CAAC;CACD,CAAC","sourcesContent":["import { Race } from '@firestone-hs/reference-data';\r\nimport { BoardEntity } from '../../../board-entity';\r\nimport { CardIds } from '../../../services/card-ids';\r\nimport { OnDespawnInput, OnOtherSpawnInput, OnSpawnInput } from '../../../simulation/add-minion-to-board';\r\nimport { hasCorrectTribe } from '../../../utils';\r\nimport { OnDespawnedCard, OnOtherSpawnedCard, OnSpawnedCard } from '../../card.interface';\r\n\r\nconst attackBuff = 3;\r\nconst healthBuff = 2;\r\n\r\nexport const RaptorElder: OnSpawnedCard & OnOtherSpawnedCard & OnDespawnedCard = {\r\n\tcardIds: [CardIds.RaptorElder_BG33_842, CardIds.RaptorElder_BG33_842_G],\r\n\tonSpawned: (minion: BoardEntity, input: OnSpawnInput) => {\r\n\t\tconst mult = minion.cardId === CardIds.RaptorElder_BG33_842_G ? 2 : 1;\r\n\t\tconst baseBuff = input.hero.globalInfo.BeastsSummonedThisCombat * mult;\r\n\t\tconst targets = input.board\r\n\t\t\t// .filter((e) => e !== minion)\r\n\t\t\t.filter((e) =>\r\n\t\t\t\thasCorrectTribe(e, input.hero, Race.BEAST, input.gameState.anomalies, input.gameState.allCards),\r\n\t\t\t);\r\n\t\tfor (const target of targets) {\r\n\t\t\ttarget.attack += attackBuff * baseBuff;\r\n\t\t\ttarget.health += healthBuff * baseBuff;\r\n\t\t}\r\n\t},\r\n\tonDespawned: (minion: BoardEntity, input: OnDespawnInput) => {\r\n\t\tconst mult = minion.cardId === CardIds.RaptorElder_BG33_842_G ? 2 : 1;\r\n\t\tconst baseBuff = input.hero.globalInfo.BeastsSummonedThisCombat * mult;\r\n\t\tconst targets = input.board\r\n\t\t\t.filter((e) => e !== minion)\r\n\t\t\t.filter((e) =>\r\n\t\t\t\thasCorrectTribe(e, input.hero, Race.BEAST, input.gameState.anomalies, input.gameState.allCards),\r\n\t\t\t);\r\n\t\tfor (const target of targets) {\r\n\t\t\ttarget.attack = Math.max(0, target.attack - attackBuff * baseBuff);\r\n\t\t\ttarget.health = Math.max(1, target.health - healthBuff * baseBuff);\r\n\t\t}\r\n\t},\r\n\tonOtherSpawned: (minion: BoardEntity, input: OnOtherSpawnInput) => {\r\n\t\tconst mult = minion.cardId === CardIds.RaptorElder_BG33_842_G ? 2 : 1;\r\n\t\tconst baseBuff = input.hero.globalInfo.BeastsSummonedThisCombat * mult;\r\n\t\t// First put the minion itself in the aura\r\n\t\tif (\r\n\t\t\tinput.applySelfAuras &&\r\n\t\t\thasCorrectTribe(input.spawned, input.hero, Race.BEAST, input.gameState.anomalies, input.gameState.allCards)\r\n\t\t) {\r\n\t\t\tinput.spawned.attack += attackBuff * baseBuff;\r\n\t\t\tinput.spawned.health += healthBuff * baseBuff;\r\n\t\t}\r\n\r\n\t\t// Then update the aura\r\n\t\tconst allTargets = input.board.filter((e) =>\r\n\t\t\thasCorrectTribe(e, input.hero, Race.BEAST, input.gameState.anomalies, input.gameState.allCards),\r\n\t\t);\r\n\t\tfor (const target of allTargets) {\r\n\t\t\t// Only the new spawn should increase the data, as we've already applied the aura before\r\n\t\t\ttarget.attack += attackBuff * mult;\r\n\t\t\ttarget.health += healthBuff * mult;\r\n\t\t}\r\n\t},\r\n};\r\n"]}
1
+ {"version":3,"file":"raptor-elder.js","sourceRoot":"","sources":["../../../../src/cards/impl/minion/raptor-elder.ts"],"names":[],"mappings":";;;AAAA,iEAAoD;AAIpD,0CAAiD;AAGjD,MAAM,UAAU,GAAG,CAAC,CAAC;AACrB,MAAM,UAAU,GAAG,CAAC,CAAC;AAER,QAAA,WAAW,GAAyD;IAChF,OAAO,EAAE,0BAA8D;IACvE,SAAS,EAAE,CAAC,MAAmB,EAAE,KAAmB,EAAE,EAAE;QACvD,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,iBAAmC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACtE,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CA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UAAU,GAAG,IAAI,CAAC;gBACnC,MAAM,CAAC,MAAM,IAAI,UAAU,GAAG,IAAI,CAAC;aACnC;SACD;IACF,CAAC;CACD,CAAC","sourcesContent":["import { Race } from '@firestone-hs/reference-data';\r\nimport { BoardEntity } from '../../../board-entity';\r\nimport { CardIds } from '../../../services/card-ids';\r\nimport { OnDespawnInput, OnOtherSpawnInput, OnSpawnInput } from '../../../simulation/add-minion-to-board';\r\nimport { hasCorrectTribe } from '../../../utils';\r\nimport { OnDespawnedCard, OnOtherSpawnedCard, OnSpawnedCard } from '../../card.interface';\r\n\r\nconst attackBuff = 3;\r\nconst healthBuff = 2;\r\n\r\nexport const RaptorElder: OnSpawnedCard & OnOtherSpawnedCard & OnDespawnedCard = {\r\n\tcardIds: [CardIds.RaptorElder_BG33_842, CardIds.RaptorElder_BG33_842_G],\r\n\tonSpawned: (minion: BoardEntity, input: OnSpawnInput) => {\r\n\t\tconst mult = minion.cardId === CardIds.RaptorElder_BG33_842_G ? 2 : 1;\r\n\t\tconst baseBuff = input.hero.globalInfo.BeastsSummonedThisCombat * mult;\r\n\t\tconst targets = input.board\r\n\t\t\t// .filter((e) => e !== minion)\r\n\t\t\t.filter((e) =>\r\n\t\t\t\thasCorrectTribe(e, input.hero, Race.BEAST, input.gameState.anomalies, input.gameState.allCards),\r\n\t\t\t);\r\n\t\tfor (const target of targets) {\r\n\t\t\ttarget.attack += attackBuff * baseBuff;\r\n\t\t\ttarget.health += healthBuff * baseBuff;\r\n\t\t}\r\n\t},\r\n\tonDespawned: (minion: BoardEntity, input: OnDespawnInput) => {\r\n\t\tconst mult = minion.cardId === CardIds.RaptorElder_BG33_842_G ? 2 : 1;\r\n\t\tconst baseBuff = input.hero.globalInfo.BeastsSummonedThisCombat * mult;\r\n\t\tconst targets = input.board\r\n\t\t\t.filter((e) => e !== minion)\r\n\t\t\t.filter((e) =>\r\n\t\t\t\thasCorrectTribe(e, input.hero, Race.BEAST, input.gameState.anomalies, input.gameState.allCards),\r\n\t\t\t);\r\n\t\tfor (const target of targets) {\r\n\t\t\ttarget.attack = Math.max(0, target.attack - attackBuff * baseBuff);\r\n\t\t\ttarget.health = Math.max(1, target.health - healthBuff * baseBuff);\r\n\t\t}\r\n\t},\r\n\tonOtherSpawned: (minion: BoardEntity, input: OnOtherSpawnInput) => {\r\n\t\tconst mult = minion.cardId === CardIds.RaptorElder_BG33_842_G ? 2 : 1;\r\n\t\tconst baseBuff = input.hero.globalInfo.BeastsSummonedThisCombat * mult;\r\n\t\t// First put the minion itself in the aura\r\n\t\tif (\r\n\t\t\tinput.applySelfAuras &&\r\n\t\t\thasCorrectTribe(input.spawned, input.hero, Race.BEAST, input.gameState.anomalies, input.gameState.allCards)\r\n\t\t) {\r\n\t\t\tinput.spawned.attack += attackBuff * baseBuff;\r\n\t\t\tinput.spawned.health += healthBuff * baseBuff;\r\n\t\t}\r\n\r\n\t\t// Then update the aura\r\n\t\tif (\r\n\t\t\thasCorrectTribe(input.spawned, input.hero, Race.BEAST, input.gameState.anomalies, input.gameState.allCards)\r\n\t\t) {\r\n\t\t\tconst allTargets = input.board.filter((e) =>\r\n\t\t\t\thasCorrectTribe(e, input.hero, Race.BEAST, input.gameState.anomalies, input.gameState.allCards),\r\n\t\t\t);\r\n\t\t\tfor (const target of allTargets) {\r\n\t\t\t\t// Only the new spawn should increase the data, as we've already applied the aura before\r\n\t\t\t\ttarget.attack += attackBuff * mult;\r\n\t\t\t\ttarget.health += healthBuff * mult;\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n};\r\n"]}
@@ -62,19 +62,26 @@ const setMissingAura = (board, minionCardId, enchantmentCardId, attack, health,
62
62
  }
63
63
  };
64
64
  const setImplicitDataHero = (hero, cardsData, isPlayer, entityIdContainer) => {
65
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11;
65
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12;
66
66
  for (const heroPower of hero.heroPowers) {
67
67
  const avengeValue = cardsData.avengeValue(heroPower.cardId);
68
68
  if (avengeValue > 0) {
69
69
  heroPower.avengeCurrent = avengeValue - ((_a = heroPower.scoreValue2) !== null && _a !== void 0 ? _a : 0);
70
70
  heroPower.avengeDefault = avengeValue;
71
71
  }
72
+ if ((_b = heroPower.info) === null || _b === void 0 ? void 0 : _b.health) {
73
+ const infoAvengeValue = cardsData.avengeValue(heroPower.info.cardId);
74
+ if (infoAvengeValue > 0) {
75
+ heroPower.info.avengeCurrent = infoAvengeValue;
76
+ heroPower.info.avengeDefault = infoAvengeValue;
77
+ }
78
+ }
72
79
  }
73
- if (!!((_b = hero.questRewards) === null || _b === void 0 ? void 0 : _b.length) && !Array.isArray(hero.questRewards)) {
80
+ if (!!((_c = hero.questRewards) === null || _c === void 0 ? void 0 : _c.length) && !Array.isArray(hero.questRewards)) {
74
81
  hero.questRewards = [hero.questRewards];
75
82
  }
76
83
  const heroPowerAsReward = null;
77
- hero.questRewards = [...((_c = hero.questRewards) !== null && _c !== void 0 ? _c : []), heroPowerAsReward].filter((e) => !!e);
84
+ hero.questRewards = [...((_d = hero.questRewards) !== null && _d !== void 0 ? _d : []), heroPowerAsReward].filter((e) => !!e);
78
85
  hero.questRewardEntities = hero.questRewardEntities
79
86
  ? hero.questRewardEntities.map((reward) => {
80
87
  var _a;
@@ -93,48 +100,48 @@ const setImplicitDataHero = (hero, cardsData, isPlayer, entityIdContainer) => {
93
100
  avengeDefault: cardsData.avengeValue(reward),
94
101
  scriptDataNum1: cardsData.defaultScriptDataNum(reward),
95
102
  }));
96
- hero.trinkets = ((_d = hero.trinkets) !== null && _d !== void 0 ? _d : []).map((trinket) => ({
103
+ hero.trinkets = ((_e = hero.trinkets) !== null && _e !== void 0 ? _e : []).map((trinket) => ({
97
104
  ...trinket,
98
105
  avengeDefault: cardsData.avengeValue(trinket.cardId),
99
106
  avengeCurrent: cardsData.avengeValue(trinket.cardId),
100
107
  scriptDataNum1: trinket.scriptDataNum1 || cardsData.defaultScriptDataNum(trinket.cardId),
101
108
  }));
102
109
  hero.entityId = hero.entityId || entityIdContainer.entityId--;
103
- hero.hand = (_e = hero.hand) !== null && _e !== void 0 ? _e : [];
110
+ hero.hand = (_f = hero.hand) !== null && _f !== void 0 ? _f : [];
104
111
  if (!hero.globalInfo) {
105
112
  hero.globalInfo = {};
106
113
  }
107
- hero.globalInfo.EternalKnightsDeadThisGame = (_f = hero.globalInfo.EternalKnightsDeadThisGame) !== null && _f !== void 0 ? _f : 0;
108
- hero.globalInfo.SanlaynScribesDeadThisGame = (_g = hero.globalInfo.SanlaynScribesDeadThisGame) !== null && _g !== void 0 ? _g : 0;
109
- hero.globalInfo.BeastsSummonedThisGame = (_h = hero.globalInfo.BeastsSummonedThisGame) !== null && _h !== void 0 ? _h : 0;
110
- hero.globalInfo.BeastsSummonedThisCombat = (_j = hero.globalInfo.BeastsSummonedThisCombat) !== null && _j !== void 0 ? _j : 0;
111
- hero.globalInfo.MagnetizedThisGame = (_k = hero.globalInfo.MagnetizedThisGame) !== null && _k !== void 0 ? _k : 0;
112
- hero.globalInfo.PiratesSummonedThisGame = (_l = hero.globalInfo.PiratesSummonedThisGame) !== null && _l !== void 0 ? _l : 0;
113
- hero.globalInfo.BattlecriesTriggeredThisGame = (_m = hero.globalInfo.BattlecriesTriggeredThisGame) !== null && _m !== void 0 ? _m : 0;
114
- hero.globalInfo.BeetleAttackBuff = (_o = hero.globalInfo.BeetleAttackBuff) !== null && _o !== void 0 ? _o : 0;
115
- hero.globalInfo.BeetleHealthBuff = (_p = hero.globalInfo.BeetleHealthBuff) !== null && _p !== void 0 ? _p : 0;
116
- hero.globalInfo.ElementalAttackBuff = (_q = hero.globalInfo.ElementalAttackBuff) !== null && _q !== void 0 ? _q : 0;
117
- hero.globalInfo.ElementalHealthBuff = (_r = hero.globalInfo.ElementalHealthBuff) !== null && _r !== void 0 ? _r : 0;
118
- hero.globalInfo.TavernSpellAttackBuff = (_s = hero.globalInfo.TavernSpellAttackBuff) !== null && _s !== void 0 ? _s : 0;
119
- hero.globalInfo.TavernSpellHealthBuff = (_t = hero.globalInfo.TavernSpellHealthBuff) !== null && _t !== void 0 ? _t : 0;
120
- hero.globalInfo.MutatedLasherAttackBuff = (_u = hero.globalInfo.MutatedLasherAttackBuff) !== null && _u !== void 0 ? _u : 0;
121
- hero.globalInfo.MutatedLasherHealthBuff = (_v = hero.globalInfo.MutatedLasherHealthBuff) !== null && _v !== void 0 ? _v : 0;
122
- hero.globalInfo.TavernSpellsCastThisGame = (_w = hero.globalInfo.TavernSpellsCastThisGame) !== null && _w !== void 0 ? _w : 0;
123
- hero.globalInfo.AdditionalAttack = (_x = hero.globalInfo.AdditionalAttack) !== null && _x !== void 0 ? _x : 0;
124
- hero.globalInfo.SpellsCastThisGame = (_y = hero.globalInfo.SpellsCastThisGame) !== null && _y !== void 0 ? _y : 0;
125
- hero.globalInfo.UndeadAttackBonus = (_z = hero.globalInfo.UndeadAttackBonus) !== null && _z !== void 0 ? _z : 0;
126
- hero.globalInfo.HauntedCarapaceAttackBonus = (_0 = hero.globalInfo.HauntedCarapaceAttackBonus) !== null && _0 !== void 0 ? _0 : 0;
127
- hero.globalInfo.HauntedCarapaceHealthBonus = (_1 = hero.globalInfo.HauntedCarapaceHealthBonus) !== null && _1 !== void 0 ? _1 : 0;
128
- hero.globalInfo.FrostlingBonus = (_2 = hero.globalInfo.FrostlingBonus) !== null && _2 !== void 0 ? _2 : 0;
114
+ hero.globalInfo.EternalKnightsDeadThisGame = (_g = hero.globalInfo.EternalKnightsDeadThisGame) !== null && _g !== void 0 ? _g : 0;
115
+ hero.globalInfo.SanlaynScribesDeadThisGame = (_h = hero.globalInfo.SanlaynScribesDeadThisGame) !== null && _h !== void 0 ? _h : 0;
116
+ hero.globalInfo.BeastsSummonedThisGame = (_j = hero.globalInfo.BeastsSummonedThisGame) !== null && _j !== void 0 ? _j : 0;
117
+ hero.globalInfo.BeastsSummonedThisCombat = (_k = hero.globalInfo.BeastsSummonedThisCombat) !== null && _k !== void 0 ? _k : 0;
118
+ hero.globalInfo.MagnetizedThisGame = (_l = hero.globalInfo.MagnetizedThisGame) !== null && _l !== void 0 ? _l : 0;
119
+ hero.globalInfo.PiratesSummonedThisGame = (_m = hero.globalInfo.PiratesSummonedThisGame) !== null && _m !== void 0 ? _m : 0;
120
+ hero.globalInfo.BattlecriesTriggeredThisGame = (_o = hero.globalInfo.BattlecriesTriggeredThisGame) !== null && _o !== void 0 ? _o : 0;
121
+ hero.globalInfo.BeetleAttackBuff = (_p = hero.globalInfo.BeetleAttackBuff) !== null && _p !== void 0 ? _p : 0;
122
+ hero.globalInfo.BeetleHealthBuff = (_q = hero.globalInfo.BeetleHealthBuff) !== null && _q !== void 0 ? _q : 0;
123
+ hero.globalInfo.ElementalAttackBuff = (_r = hero.globalInfo.ElementalAttackBuff) !== null && _r !== void 0 ? _r : 0;
124
+ hero.globalInfo.ElementalHealthBuff = (_s = hero.globalInfo.ElementalHealthBuff) !== null && _s !== void 0 ? _s : 0;
125
+ hero.globalInfo.TavernSpellAttackBuff = (_t = hero.globalInfo.TavernSpellAttackBuff) !== null && _t !== void 0 ? _t : 0;
126
+ hero.globalInfo.TavernSpellHealthBuff = (_u = hero.globalInfo.TavernSpellHealthBuff) !== null && _u !== void 0 ? _u : 0;
127
+ hero.globalInfo.MutatedLasherAttackBuff = (_v = hero.globalInfo.MutatedLasherAttackBuff) !== null && _v !== void 0 ? _v : 0;
128
+ hero.globalInfo.MutatedLasherHealthBuff = (_w = hero.globalInfo.MutatedLasherHealthBuff) !== null && _w !== void 0 ? _w : 0;
129
+ hero.globalInfo.TavernSpellsCastThisGame = (_x = hero.globalInfo.TavernSpellsCastThisGame) !== null && _x !== void 0 ? _x : 0;
130
+ hero.globalInfo.AdditionalAttack = (_y = hero.globalInfo.AdditionalAttack) !== null && _y !== void 0 ? _y : 0;
131
+ hero.globalInfo.SpellsCastThisGame = (_z = hero.globalInfo.SpellsCastThisGame) !== null && _z !== void 0 ? _z : 0;
132
+ hero.globalInfo.UndeadAttackBonus = (_0 = hero.globalInfo.UndeadAttackBonus) !== null && _0 !== void 0 ? _0 : 0;
133
+ hero.globalInfo.HauntedCarapaceAttackBonus = (_1 = hero.globalInfo.HauntedCarapaceAttackBonus) !== null && _1 !== void 0 ? _1 : 0;
134
+ hero.globalInfo.HauntedCarapaceHealthBonus = (_2 = hero.globalInfo.HauntedCarapaceHealthBonus) !== null && _2 !== void 0 ? _2 : 0;
135
+ hero.globalInfo.FrostlingBonus = (_3 = hero.globalInfo.FrostlingBonus) !== null && _3 !== void 0 ? _3 : 0;
129
136
  hero.globalInfo.BloodGemAttackBonus =
130
- ((_3 = hero.globalInfo.BloodGemAttackBonus) !== null && _3 !== void 0 ? _3 : 0) +
131
- ((_5 = (_4 = hero.questRewardEntities) === null || _4 === void 0 ? void 0 : _4.filter((e) => e.cardId === "BG27_Reward_815").length) !== null && _5 !== void 0 ? _5 : 0);
137
+ ((_4 = hero.globalInfo.BloodGemAttackBonus) !== null && _4 !== void 0 ? _4 : 0) +
138
+ ((_6 = (_5 = hero.questRewardEntities) === null || _5 === void 0 ? void 0 : _5.filter((e) => e.cardId === "BG27_Reward_815").length) !== null && _6 !== void 0 ? _6 : 0);
132
139
  hero.globalInfo.BloodGemHealthBonus =
133
- ((_6 = hero.globalInfo.BloodGemHealthBonus) !== null && _6 !== void 0 ? _6 : 0) +
134
- ((_8 = (_7 = hero.questRewardEntities) === null || _7 === void 0 ? void 0 : _7.filter((e) => e.cardId === "BG27_Reward_815").length) !== null && _8 !== void 0 ? _8 : 0);
135
- hero.globalInfo.GoldrinnBuffAtk = (_9 = hero.globalInfo.GoldrinnBuffAtk) !== null && _9 !== void 0 ? _9 : 0;
136
- hero.globalInfo.GoldrinnBuffHealth = (_10 = hero.globalInfo.GoldrinnBuffHealth) !== null && _10 !== void 0 ? _10 : 0;
137
- hero.globalInfo.GoldSpentThisGame = (_11 = hero.globalInfo.GoldSpentThisGame) !== null && _11 !== void 0 ? _11 : 0;
140
+ ((_7 = hero.globalInfo.BloodGemHealthBonus) !== null && _7 !== void 0 ? _7 : 0) +
141
+ ((_9 = (_8 = hero.questRewardEntities) === null || _8 === void 0 ? void 0 : _8.filter((e) => e.cardId === "BG27_Reward_815").length) !== null && _9 !== void 0 ? _9 : 0);
142
+ hero.globalInfo.GoldrinnBuffAtk = (_10 = hero.globalInfo.GoldrinnBuffAtk) !== null && _10 !== void 0 ? _10 : 0;
143
+ hero.globalInfo.GoldrinnBuffHealth = (_11 = hero.globalInfo.GoldrinnBuffHealth) !== null && _11 !== void 0 ? _11 : 0;
144
+ hero.globalInfo.GoldSpentThisGame = (_12 = hero.globalInfo.GoldSpentThisGame) !== null && _12 !== void 0 ? _12 : 0;
138
145
  };
139
146
  exports.setImplicitDataHero = setImplicitDataHero;
140
147
  const clearStealthIfNeeded = (board, hero, otherBoard, otherHero, gameState) => {
@@ -1 +1 @@
1
- {"version":3,"file":"auras.js","sourceRoot":"","sources":["../../src/simulation/auras.ts"],"names":[],"mappings":";;;AACA,iEAAqE;AAIrE,iDAAoD;AAEpD,oCAA2C;AAGpC,MAAM,eAAe,GAAG,CAC9B,KAAoB,EACpB,SAA0B,EAC1B,SAA4B,EAC5B,QAAyB,EAClB,EAAE;IACT,qBAAqB,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;IAC7D,IAAA,+BAAuB,EAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IAC1C,IAAA,6BAAqB,EAAC,KAAK,EAAE,SAAS,CAAC,CAAC;AACzC,CAAC,CAAC;AATW,QAAA,eAAe,mBAS1B;AAEK,MAAM,qBAAqB,GAAG,CAAC,KAAoB,EAAE,SAA0B,EAAQ,EAAE;;IAC/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,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC;KAC3F;AACF,CAAC,CAAC;AAlBW,QAAA,oBAAoB,wBAkB/B","sourcesContent":["/* eslint-disable @typescript-eslint/no-use-before-define */\r\nimport { AllCardsService, Race } from '@firestone-hs/reference-data';\r\nimport { BgsPlayerEntity } from '../bgs-player-entity';\r\nimport { BoardEntity } from '../board-entity';\r\nimport { CardsData } from '../cards/cards-data';\r\nimport { updateStealth } from '../keywords/stealth';\r\nimport { CardIds } from '../services/card-ids';\r\nimport { hasCorrectTribe } from '../utils';\r\nimport { FullGameState } from './internal-game-state';\r\n\r\nexport const setMissingAuras = (\r\n\tboard: BoardEntity[],\r\n\tboardHero: BgsPlayerEntity,\r\n\tanomalies: readonly string[],\r\n\tallCards: AllCardsService,\r\n): void => {\r\n\tsetMissingMinionsAura(board, boardHero, anomalies, allCards);\r\n\tsetMissingHeroPowerAura(board, boardHero);\r\n\tsetMissingTrinketAura(board, boardHero);\r\n};\r\n\r\nexport const setMissingTrinketAura = (board: BoardEntity[], boardHero: BgsPlayerEntity): void => {\r\n\tfor (const trinket of boardHero.trinkets ?? []) {\r\n\t\t// switch (trinket.cardId) {\r\n\t\t// \tcase CardIds.WindrunnerNecklace_BG30_MagicItem_997:\r\n\t\t// \tcase CardIds.WindrunnerNecklace_WindrunnerNecklaceToken_BG30_MagicItem_997t:\r\n\t\t// \t\tconst enchantment =\r\n\t\t// \t\t\ttrinket.cardId === CardIds.WindrunnerNecklace_BG30_MagicItem_997\r\n\t\t// \t\t\t\t? CardIds.WindrunnerNecklace_RunningLikeTheWindEnchantment_BG30_MagicItem_997e\r\n\t\t// \t\t\t\t: CardIds.WindrunnerNecklace_RunningLikeTheWindEnchantment_BG30_MagicItem_997e2;\r\n\t\t// \t\tconst buff = trinket.cardId === CardIds.WindrunnerNecklace_BG30_MagicItem_997 ? 8 : 20;\r\n\t\t// \t\tconst target = board[0];\r\n\t\t// \t\tif (!!target && !target.enchantments?.find((e) => e.cardId === enchantment)) {\r\n\t\t// \t\t\ttarget.attack += buff;\r\n\t\t// \t\t\ttarget.enchantments.push({\r\n\t\t// \t\t\t\tcardId: enchantment,\r\n\t\t// \t\t\t\toriginEntityId: trinket.entityId,\r\n\t\t// \t\t\t\ttiming: 0,\r\n\t\t// \t\t\t});\r\n\t\t// \t\t}\r\n\t\t// \t\tbreak;\r\n\t\t// }\r\n\t}\r\n};\r\n\r\nexport const setMissingHeroPowerAura = (board: BoardEntity[], boardHero: BgsPlayerEntity): void => {\r\n\tfor (const heroPower of boardHero.heroPowers) {\r\n\t\tif (heroPower.cardId === CardIds.TheSmokingGun) {\r\n\t\t\tboard\r\n\t\t\t\t.filter(\r\n\t\t\t\t\t(e) =>\r\n\t\t\t\t\t\t!e.enchantments.find(\r\n\t\t\t\t\t\t\t(ench) => ench.cardId === CardIds.TheSmokingGun_ArmedAndStillSmokingEnchantment,\r\n\t\t\t\t\t\t),\r\n\t\t\t\t)\r\n\t\t\t\t.forEach((e) => {\r\n\t\t\t\t\te.attack += 4;\r\n\t\t\t\t});\r\n\t\t}\r\n\t\tif (heroPower.cardId === CardIds.VolatileVenom) {\r\n\t\t\tboard\r\n\t\t\t\t.filter(\r\n\t\t\t\t\t(e) => !e.enchantments.find((ench) => ench.cardId === CardIds.VolatileVenom_VolatileEnchantment),\r\n\t\t\t\t)\r\n\t\t\t\t.forEach((e) => {\r\n\t\t\t\t\te.attack += 7;\r\n\t\t\t\t\te.health += 7;\r\n\t\t\t\t\te.enchantments.push({\r\n\t\t\t\t\t\tcardId: CardIds.VolatileVenom_VolatileEnchantment,\r\n\t\t\t\t\t\toriginEntityId: undefined,\r\n\t\t\t\t\t\ttiming: 0,\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t}\r\n\t}\r\n};\r\n\r\nconst setMissingMinionsAura = (\r\n\tboard: BoardEntity[],\r\n\tboardHero: BgsPlayerEntity,\r\n\tanomalies: readonly string[],\r\n\tallCards: AllCardsService,\r\n): void => {\r\n\tsetMissingAura(\r\n\t\tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.PIRATE, anomalies, allCards)),\r\n\t\tCardIds.SouthseaCaptainLegacy_BG_NEW1_027,\r\n\t\tCardIds.SouthseaCaptain_YarrrVanillaEnchantment,\r\n\t\t1,\r\n\t\t1,\r\n\t);\r\n\tsetMissingAura(\r\n\t\tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.PIRATE, anomalies, allCards)),\r\n\t\tCardIds.SouthseaCaptainLegacy_TB_BaconUps_136,\r\n\t\tCardIds.SouthseaCaptain_YarrrEnchantment,\r\n\t\t2,\r\n\t\t2,\r\n\t);\r\n\tsetMissingAura(\r\n\t\tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.MURLOC, anomalies, allCards)),\r\n\t\tCardIds.MurlocWarleaderLegacy_BG_EX1_507,\r\n\t\tCardIds.MurlocWarleader_MrgglaarglLegacyEnchantment,\r\n\t\t2,\r\n\t\t0,\r\n\t);\r\n\t// setMissingAura(\r\n\t// \tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.MURLOC, anomalies, allCards)),\r\n\t// \tCardIds.MurlocWarleaderLegacy_BG_EX1_507,\r\n\t// \tCardIds.MurlocWarleader_MrgglaarglEnchantment,\r\n\t// \t4,\r\n\t// \t0,\r\n\t// );\r\n\t// setMissingAura(\r\n\t// \tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.DEMON, anomalies, allCards)),\r\n\t// \tCardIds.Kathranatir_BG21_039,\r\n\t// \tCardIds.Kathranatir_GraspOfKathranatirEnchantment_BG21_039e,\r\n\t// \t2,\r\n\t// \t0,\r\n\t// );\r\n\t// setMissingAura(\r\n\t// \tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.DEMON, anomalies, allCards)),\r\n\t// \tCardIds.Kathranatir_BG21_039_G,\r\n\t// \tCardIds.Kathranatir_GraspOfKathranatirEnchantment_BG21_039_Ge,\r\n\t// \t4,\r\n\t// \t0,\r\n\t// );\r\n\tsetMissingAura(\r\n\t\tboard.filter((e) => e.divineShield),\r\n\t\tCardIds.CyborgDrake_BG25_043,\r\n\t\tCardIds.CyborgDrake_CyborgEnhancementEnchantment_BG25_043e,\r\n\t\t6,\r\n\t\t0,\r\n\t\tfalse,\r\n\t);\r\n\t// setMissingAura(\r\n\t// \tboard.filter((e) => e.divineShield),\r\n\t// \tCardIds.CyborgDrake_BG25_043_G,\r\n\t// \tCardIds.CyborgDrake_CyborgEnhancementEnchantment_BG25_043_Ge,\r\n\t// \t12,\r\n\t// \t0,\r\n\t// \tfalse,\r\n\t// );\r\n\tsetMissingAura(\r\n\t\tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.UNDEAD, anomalies, allCards)),\r\n\t\tCardIds.SoreLoser_BG27_030,\r\n\t\tCardIds.SoreLoser_NoImWinningEnchantment_BG27_030e,\r\n\t\tboardHero.tavernTier,\r\n\t\t0,\r\n\t);\r\n\tsetMissingAura(\r\n\t\tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.UNDEAD, anomalies, allCards)),\r\n\t\tCardIds.SoreLoser_BG27_030_G,\r\n\t\tCardIds.SoreLoser_NoImWinningEnchantment_BG27_030e,\r\n\t\t2 * boardHero.tavernTier,\r\n\t\t0,\r\n\t);\r\n};\r\n\r\nconst setMissingAura = (\r\n\tboard: BoardEntity[],\r\n\tminionCardId: string,\r\n\tenchantmentCardId: string,\r\n\tattack: number,\r\n\thealth: number,\r\n\tignoreSelf = true,\r\n\tallCards: AllCardsService = null,\r\n): void => {\r\n\tconst buffers = board.filter((e) => e.cardId === minionCardId);\r\n\tfor (const buffer of buffers) {\r\n\t\tboard\r\n\t\t\t.filter((e) => !e.enchantments.find((ench) => ench.cardId === enchantmentCardId))\r\n\t\t\t.filter((e) => (ignoreSelf ? e.entityId !== buffer.entityId : true))\r\n\t\t\t.forEach((e) => {\r\n\t\t\t\te.attack += attack;\r\n\t\t\t\te.health += health;\r\n\t\t\t});\r\n\t}\r\n};\r\n\r\nexport const setImplicitDataHero = (\r\n\thero: BgsPlayerEntity,\r\n\tcardsData: CardsData,\r\n\tisPlayer: boolean,\r\n\tentityIdContainer: { entityId: number },\r\n): void => {\r\n\tfor (const heroPower of hero.heroPowers) {\r\n\t\tconst avengeValue = cardsData.avengeValue(heroPower.cardId);\r\n\t\tif (avengeValue > 0) {\r\n\t\t\theroPower.avengeCurrent = avengeValue - (heroPower.scoreValue2 ?? 0);\r\n\t\t\theroPower.avengeDefault = avengeValue;\r\n\t\t}\r\n\t}\r\n\t// Backward compatibility\r\n\tif (!!hero.questRewards?.length && !Array.isArray(hero.questRewards)) {\r\n\t\thero.questRewards = [hero.questRewards as any];\r\n\t}\r\n\r\n\t// Because Denathrius can send a quest reward as its hero power (I think)\r\n\t// For now deactivating this, until I have a scenario where this matters. It feels like\r\n\t// this should be a display issue only, as quest rewards are also handled in the code\r\n\tconst heroPowerAsReward = null; // hero.cardId === CardIds.SireDenathrius_BG24_HERO_100 ? hero.heroPowers[0]?.cardId : null;\r\n\thero.questRewards = [...(hero.questRewards ?? []), heroPowerAsReward].filter((e) => !!e);\r\n\thero.questRewardEntities = hero.questRewardEntities\r\n\t\t? hero.questRewardEntities.map((reward: any) => ({\r\n\t\t\t\tcardId: reward.CardId,\r\n\t\t\t\tscriptDataNum1: reward.ScriptDataNum1 ?? 0,\r\n\t\t\t\tentityId: entityIdContainer.entityId--,\r\n\t\t\t\tavengeDefault: cardsData.avengeValue(reward.CardId),\r\n\t\t\t\tavengeCurrent: cardsData.avengeValue(reward.CardId),\r\n\t\t }))\r\n\t\t: hero.questRewards.map((reward) => ({\r\n\t\t\t\tcardId: reward,\r\n\t\t\t\tentityId: entityIdContainer.entityId--,\r\n\t\t\t\tavengeCurrent: cardsData.avengeValue(reward),\r\n\t\t\t\tavengeDefault: cardsData.avengeValue(reward),\r\n\t\t\t\tscriptDataNum1: cardsData.defaultScriptDataNum(reward),\r\n\t\t }));\r\n\thero.trinkets = (hero.trinkets ?? []).map((trinket) => ({\r\n\t\t...trinket,\r\n\t\tavengeDefault: cardsData.avengeValue(trinket.cardId),\r\n\t\tavengeCurrent: cardsData.avengeValue(trinket.cardId),\r\n\t\t// Use scriptDataNum1 to keep the info from the input\r\n\t\tscriptDataNum1: trinket.scriptDataNum1 || cardsData.defaultScriptDataNum(trinket.cardId),\r\n\t}));\r\n\t// 0 is not a valid entityId\r\n\thero.entityId = hero.entityId || entityIdContainer.entityId--;\r\n\thero.hand = hero.hand ?? [];\r\n\tif (!hero.globalInfo) {\r\n\t\thero.globalInfo = {};\r\n\t}\r\n\r\n\thero.globalInfo.EternalKnightsDeadThisGame = hero.globalInfo.EternalKnightsDeadThisGame ?? 0;\r\n\thero.globalInfo.SanlaynScribesDeadThisGame = hero.globalInfo.SanlaynScribesDeadThisGame ?? 0;\r\n\thero.globalInfo.BeastsSummonedThisGame = hero.globalInfo.BeastsSummonedThisGame ?? 0;\r\n\thero.globalInfo.BeastsSummonedThisCombat = hero.globalInfo.BeastsSummonedThisCombat ?? 0;\r\n\thero.globalInfo.MagnetizedThisGame = hero.globalInfo.MagnetizedThisGame ?? 0;\r\n\thero.globalInfo.PiratesSummonedThisGame = hero.globalInfo.PiratesSummonedThisGame ?? 0;\r\n\thero.globalInfo.BattlecriesTriggeredThisGame = hero.globalInfo.BattlecriesTriggeredThisGame ?? 0;\r\n\thero.globalInfo.BeetleAttackBuff = hero.globalInfo.BeetleAttackBuff ?? 0;\r\n\thero.globalInfo.BeetleHealthBuff = hero.globalInfo.BeetleHealthBuff ?? 0;\r\n\thero.globalInfo.ElementalAttackBuff = hero.globalInfo.ElementalAttackBuff ?? 0;\r\n\thero.globalInfo.ElementalHealthBuff = hero.globalInfo.ElementalHealthBuff ?? 0;\r\n\thero.globalInfo.TavernSpellAttackBuff = hero.globalInfo.TavernSpellAttackBuff ?? 0;\r\n\thero.globalInfo.TavernSpellHealthBuff = hero.globalInfo.TavernSpellHealthBuff ?? 0;\r\n\thero.globalInfo.MutatedLasherAttackBuff = hero.globalInfo.MutatedLasherAttackBuff ?? 0;\r\n\thero.globalInfo.MutatedLasherHealthBuff = hero.globalInfo.MutatedLasherHealthBuff ?? 0;\r\n\thero.globalInfo.TavernSpellsCastThisGame = hero.globalInfo.TavernSpellsCastThisGame ?? 0;\r\n\thero.globalInfo.AdditionalAttack = hero.globalInfo.AdditionalAttack ?? 0;\r\n\thero.globalInfo.SpellsCastThisGame = hero.globalInfo.SpellsCastThisGame ?? 0;\r\n\thero.globalInfo.UndeadAttackBonus = hero.globalInfo.UndeadAttackBonus ?? 0;\r\n\thero.globalInfo.HauntedCarapaceAttackBonus = hero.globalInfo.HauntedCarapaceAttackBonus ?? 0;\r\n\thero.globalInfo.HauntedCarapaceHealthBonus = hero.globalInfo.HauntedCarapaceHealthBonus ?? 0;\r\n\thero.globalInfo.FrostlingBonus = hero.globalInfo.FrostlingBonus ?? 0;\r\n\thero.globalInfo.BloodGemAttackBonus =\r\n\t\t(hero.globalInfo.BloodGemAttackBonus ?? 0) +\r\n\t\t// Not sure why, but this isn't reflected in the player enchant\r\n\t\t(hero.questRewardEntities?.filter((e) => e.cardId === CardIds.EndlessBloodMoon).length ?? 0);\r\n\thero.globalInfo.BloodGemHealthBonus =\r\n\t\t(hero.globalInfo.BloodGemHealthBonus ?? 0) +\r\n\t\t(hero.questRewardEntities?.filter((e) => e.cardId === CardIds.EndlessBloodMoon).length ?? 0);\r\n\thero.globalInfo.GoldrinnBuffAtk = hero.globalInfo.GoldrinnBuffAtk ?? 0;\r\n\thero.globalInfo.GoldrinnBuffHealth = hero.globalInfo.GoldrinnBuffHealth ?? 0;\r\n\thero.globalInfo.GoldSpentThisGame = hero.globalInfo.GoldSpentThisGame ?? 0;\r\n};\r\n\r\nexport const clearStealthIfNeeded = (\r\n\tboard: BoardEntity[],\r\n\thero: BgsPlayerEntity,\r\n\totherBoard: BoardEntity[],\r\n\totherHero: BgsPlayerEntity,\r\n\tgameState: FullGameState,\r\n): void => {\r\n\t// https://twitter.com/DCalkosz/status/1562194944688660481?s=20&t=100I8IVZmBKgYQWkdK8nIA\r\n\tif (board.every((entity) => entity.stealth && !entity.attack)) {\r\n\t\tboard.forEach((e) => updateStealth(e, false, board, hero, otherHero, gameState));\r\n\t}\r\n\tif (otherBoard.every((entity) => entity.stealth && !entity.attack)) {\r\n\t\totherBoard.forEach((e) => updateStealth(e, false, otherBoard, otherHero, hero, gameState));\r\n\t}\r\n\tif (board.every((e) => e.stealth) && otherBoard.every((e) => e.stealth)) {\r\n\t\tboard.forEach((e) => updateStealth(e, false, board, hero, otherHero, gameState));\r\n\t\totherBoard.forEach((e) => updateStealth(e, false, otherBoard, otherHero, hero, gameState));\r\n\t}\r\n};\r\n"]}
1
+ {"version":3,"file":"auras.js","sourceRoot":"","sources":["../../src/simulation/auras.ts"],"names":[],"mappings":";;;AACA,iEAAqE;AAIrE,iDAAoD;AAEpD,oCAA2C;AAGpC,MAAM,eAAe,GAAG,CAC9B,KAAoB,EACpB,SAA0B,EAC1B,SAA4B,EAC5B,QAAyB,EAClB,EAAE;IACT,qBAAqB,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;IAC7D,IAAA,+BAAuB,EAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IAC1C,IAAA,6BAAqB,EAAC,KAAK,EAAE,SAAS,CAAC,CAAC;AACzC,CAAC,CAAC;AATW,QAAA,eAAe,mBAS1B;AAEK,MAAM,qBAAqB,GAAG,CAAC,KAAoB,EAAE,SAA0B,EAAQ,EAAE;;IAC/F,KAAK,MAAM,OAAO,IAAI,MAAA,SAAS,CAAC,QAAQ,mCAAI,EAAE,EAAE;KAoB/C;AACF,CAAC,CAAC;AAtBW,QAAA,qBAAqB,yBAsBhC;AAEK,MAAM,uBAAuB,GAAG,CAAC,KAAoB,EAAE,SAA0B,EAAQ,EAAE;IACjG,KAAK,MAAM,SAAS,IAAI,SAAS,CAAC,UAAU,EAAE;QAC7C,IAAI,SAAS,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,CAAC,EAAE,EAAE,CAAC,IAAA,uBAAa,EAAC,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC;KAC3F;AACF,CAAC,CAAC;AAlBW,QAAA,oBAAoB,wBAkB/B","sourcesContent":["/* eslint-disable @typescript-eslint/no-use-before-define */\r\nimport { AllCardsService, Race } from '@firestone-hs/reference-data';\r\nimport { BgsPlayerEntity } from '../bgs-player-entity';\r\nimport { BoardEntity } from '../board-entity';\r\nimport { CardsData } from '../cards/cards-data';\r\nimport { updateStealth } from '../keywords/stealth';\r\nimport { CardIds } from '../services/card-ids';\r\nimport { hasCorrectTribe } from '../utils';\r\nimport { FullGameState } from './internal-game-state';\r\n\r\nexport const setMissingAuras = (\r\n\tboard: BoardEntity[],\r\n\tboardHero: BgsPlayerEntity,\r\n\tanomalies: readonly string[],\r\n\tallCards: AllCardsService,\r\n): void => {\r\n\tsetMissingMinionsAura(board, boardHero, anomalies, allCards);\r\n\tsetMissingHeroPowerAura(board, boardHero);\r\n\tsetMissingTrinketAura(board, boardHero);\r\n};\r\n\r\nexport const setMissingTrinketAura = (board: BoardEntity[], boardHero: BgsPlayerEntity): void => {\r\n\tfor (const trinket of boardHero.trinkets ?? []) {\r\n\t\t// switch (trinket.cardId) {\r\n\t\t// \tcase CardIds.WindrunnerNecklace_BG30_MagicItem_997:\r\n\t\t// \tcase CardIds.WindrunnerNecklace_WindrunnerNecklaceToken_BG30_MagicItem_997t:\r\n\t\t// \t\tconst enchantment =\r\n\t\t// \t\t\ttrinket.cardId === CardIds.WindrunnerNecklace_BG30_MagicItem_997\r\n\t\t// \t\t\t\t? CardIds.WindrunnerNecklace_RunningLikeTheWindEnchantment_BG30_MagicItem_997e\r\n\t\t// \t\t\t\t: CardIds.WindrunnerNecklace_RunningLikeTheWindEnchantment_BG30_MagicItem_997e2;\r\n\t\t// \t\tconst buff = trinket.cardId === CardIds.WindrunnerNecklace_BG30_MagicItem_997 ? 8 : 20;\r\n\t\t// \t\tconst target = board[0];\r\n\t\t// \t\tif (!!target && !target.enchantments?.find((e) => e.cardId === enchantment)) {\r\n\t\t// \t\t\ttarget.attack += buff;\r\n\t\t// \t\t\ttarget.enchantments.push({\r\n\t\t// \t\t\t\tcardId: enchantment,\r\n\t\t// \t\t\t\toriginEntityId: trinket.entityId,\r\n\t\t// \t\t\t\ttiming: 0,\r\n\t\t// \t\t\t});\r\n\t\t// \t\t}\r\n\t\t// \t\tbreak;\r\n\t\t// }\r\n\t}\r\n};\r\n\r\nexport const setMissingHeroPowerAura = (board: BoardEntity[], boardHero: BgsPlayerEntity): void => {\r\n\tfor (const heroPower of boardHero.heroPowers) {\r\n\t\tif (heroPower.cardId === CardIds.TheSmokingGun) {\r\n\t\t\tboard\r\n\t\t\t\t.filter(\r\n\t\t\t\t\t(e) =>\r\n\t\t\t\t\t\t!e.enchantments.find(\r\n\t\t\t\t\t\t\t(ench) => ench.cardId === CardIds.TheSmokingGun_ArmedAndStillSmokingEnchantment,\r\n\t\t\t\t\t\t),\r\n\t\t\t\t)\r\n\t\t\t\t.forEach((e) => {\r\n\t\t\t\t\te.attack += 4;\r\n\t\t\t\t});\r\n\t\t}\r\n\t\tif (heroPower.cardId === CardIds.VolatileVenom) {\r\n\t\t\tboard\r\n\t\t\t\t.filter(\r\n\t\t\t\t\t(e) => !e.enchantments.find((ench) => ench.cardId === CardIds.VolatileVenom_VolatileEnchantment),\r\n\t\t\t\t)\r\n\t\t\t\t.forEach((e) => {\r\n\t\t\t\t\te.attack += 7;\r\n\t\t\t\t\te.health += 7;\r\n\t\t\t\t\te.enchantments.push({\r\n\t\t\t\t\t\tcardId: CardIds.VolatileVenom_VolatileEnchantment,\r\n\t\t\t\t\t\toriginEntityId: undefined,\r\n\t\t\t\t\t\ttiming: 0,\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t}\r\n\t}\r\n};\r\n\r\nconst setMissingMinionsAura = (\r\n\tboard: BoardEntity[],\r\n\tboardHero: BgsPlayerEntity,\r\n\tanomalies: readonly string[],\r\n\tallCards: AllCardsService,\r\n): void => {\r\n\tsetMissingAura(\r\n\t\tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.PIRATE, anomalies, allCards)),\r\n\t\tCardIds.SouthseaCaptainLegacy_BG_NEW1_027,\r\n\t\tCardIds.SouthseaCaptain_YarrrVanillaEnchantment,\r\n\t\t1,\r\n\t\t1,\r\n\t);\r\n\tsetMissingAura(\r\n\t\tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.PIRATE, anomalies, allCards)),\r\n\t\tCardIds.SouthseaCaptainLegacy_TB_BaconUps_136,\r\n\t\tCardIds.SouthseaCaptain_YarrrEnchantment,\r\n\t\t2,\r\n\t\t2,\r\n\t);\r\n\tsetMissingAura(\r\n\t\tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.MURLOC, anomalies, allCards)),\r\n\t\tCardIds.MurlocWarleaderLegacy_BG_EX1_507,\r\n\t\tCardIds.MurlocWarleader_MrgglaarglLegacyEnchantment,\r\n\t\t2,\r\n\t\t0,\r\n\t);\r\n\t// setMissingAura(\r\n\t// \tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.MURLOC, anomalies, allCards)),\r\n\t// \tCardIds.MurlocWarleaderLegacy_BG_EX1_507,\r\n\t// \tCardIds.MurlocWarleader_MrgglaarglEnchantment,\r\n\t// \t4,\r\n\t// \t0,\r\n\t// );\r\n\t// setMissingAura(\r\n\t// \tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.DEMON, anomalies, allCards)),\r\n\t// \tCardIds.Kathranatir_BG21_039,\r\n\t// \tCardIds.Kathranatir_GraspOfKathranatirEnchantment_BG21_039e,\r\n\t// \t2,\r\n\t// \t0,\r\n\t// );\r\n\t// setMissingAura(\r\n\t// \tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.DEMON, anomalies, allCards)),\r\n\t// \tCardIds.Kathranatir_BG21_039_G,\r\n\t// \tCardIds.Kathranatir_GraspOfKathranatirEnchantment_BG21_039_Ge,\r\n\t// \t4,\r\n\t// \t0,\r\n\t// );\r\n\tsetMissingAura(\r\n\t\tboard.filter((e) => e.divineShield),\r\n\t\tCardIds.CyborgDrake_BG25_043,\r\n\t\tCardIds.CyborgDrake_CyborgEnhancementEnchantment_BG25_043e,\r\n\t\t6,\r\n\t\t0,\r\n\t\tfalse,\r\n\t);\r\n\t// setMissingAura(\r\n\t// \tboard.filter((e) => e.divineShield),\r\n\t// \tCardIds.CyborgDrake_BG25_043_G,\r\n\t// \tCardIds.CyborgDrake_CyborgEnhancementEnchantment_BG25_043_Ge,\r\n\t// \t12,\r\n\t// \t0,\r\n\t// \tfalse,\r\n\t// );\r\n\tsetMissingAura(\r\n\t\tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.UNDEAD, anomalies, allCards)),\r\n\t\tCardIds.SoreLoser_BG27_030,\r\n\t\tCardIds.SoreLoser_NoImWinningEnchantment_BG27_030e,\r\n\t\tboardHero.tavernTier,\r\n\t\t0,\r\n\t);\r\n\tsetMissingAura(\r\n\t\tboard.filter((e) => hasCorrectTribe(e, boardHero, Race.UNDEAD, anomalies, allCards)),\r\n\t\tCardIds.SoreLoser_BG27_030_G,\r\n\t\tCardIds.SoreLoser_NoImWinningEnchantment_BG27_030e,\r\n\t\t2 * boardHero.tavernTier,\r\n\t\t0,\r\n\t);\r\n};\r\n\r\nconst setMissingAura = (\r\n\tboard: BoardEntity[],\r\n\tminionCardId: string,\r\n\tenchantmentCardId: string,\r\n\tattack: number,\r\n\thealth: number,\r\n\tignoreSelf = true,\r\n\tallCards: AllCardsService = null,\r\n): void => {\r\n\tconst buffers = board.filter((e) => e.cardId === minionCardId);\r\n\tfor (const buffer of buffers) {\r\n\t\tboard\r\n\t\t\t.filter((e) => !e.enchantments.find((ench) => ench.cardId === enchantmentCardId))\r\n\t\t\t.filter((e) => (ignoreSelf ? e.entityId !== buffer.entityId : true))\r\n\t\t\t.forEach((e) => {\r\n\t\t\t\te.attack += attack;\r\n\t\t\t\te.health += health;\r\n\t\t\t});\r\n\t}\r\n};\r\n\r\nexport const setImplicitDataHero = (\r\n\thero: BgsPlayerEntity,\r\n\tcardsData: CardsData,\r\n\tisPlayer: boolean,\r\n\tentityIdContainer: { entityId: number },\r\n): void => {\r\n\tfor (const heroPower of hero.heroPowers) {\r\n\t\tconst avengeValue = cardsData.avengeValue(heroPower.cardId);\r\n\t\tif (avengeValue > 0) {\r\n\t\t\theroPower.avengeCurrent = avengeValue - (heroPower.scoreValue2 ?? 0);\r\n\t\t\theroPower.avengeDefault = avengeValue;\r\n\t\t}\r\n\t\tif ((heroPower.info as BoardEntity)?.health) {\r\n\t\t\tconst infoAvengeValue = cardsData.avengeValue((heroPower.info as BoardEntity).cardId);\r\n\t\t\tif (infoAvengeValue > 0) {\r\n\t\t\t\t(heroPower.info as BoardEntity).avengeCurrent = infoAvengeValue;\r\n\t\t\t\t(heroPower.info as BoardEntity).avengeDefault = infoAvengeValue;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t// Backward compatibility\r\n\tif (!!hero.questRewards?.length && !Array.isArray(hero.questRewards)) {\r\n\t\thero.questRewards = [hero.questRewards as any];\r\n\t}\r\n\r\n\t// Because Denathrius can send a quest reward as its hero power (I think)\r\n\t// For now deactivating this, until I have a scenario where this matters. It feels like\r\n\t// this should be a display issue only, as quest rewards are also handled in the code\r\n\tconst heroPowerAsReward = null; // hero.cardId === CardIds.SireDenathrius_BG24_HERO_100 ? hero.heroPowers[0]?.cardId : null;\r\n\thero.questRewards = [...(hero.questRewards ?? []), heroPowerAsReward].filter((e) => !!e);\r\n\thero.questRewardEntities = hero.questRewardEntities\r\n\t\t? hero.questRewardEntities.map((reward: any) => ({\r\n\t\t\t\tcardId: reward.CardId,\r\n\t\t\t\tscriptDataNum1: reward.ScriptDataNum1 ?? 0,\r\n\t\t\t\tentityId: entityIdContainer.entityId--,\r\n\t\t\t\tavengeDefault: cardsData.avengeValue(reward.CardId),\r\n\t\t\t\tavengeCurrent: cardsData.avengeValue(reward.CardId),\r\n\t\t }))\r\n\t\t: hero.questRewards.map((reward) => ({\r\n\t\t\t\tcardId: reward,\r\n\t\t\t\tentityId: entityIdContainer.entityId--,\r\n\t\t\t\tavengeCurrent: cardsData.avengeValue(reward),\r\n\t\t\t\tavengeDefault: cardsData.avengeValue(reward),\r\n\t\t\t\tscriptDataNum1: cardsData.defaultScriptDataNum(reward),\r\n\t\t }));\r\n\thero.trinkets = (hero.trinkets ?? []).map((trinket) => ({\r\n\t\t...trinket,\r\n\t\tavengeDefault: cardsData.avengeValue(trinket.cardId),\r\n\t\tavengeCurrent: cardsData.avengeValue(trinket.cardId),\r\n\t\t// Use scriptDataNum1 to keep the info from the input\r\n\t\tscriptDataNum1: trinket.scriptDataNum1 || cardsData.defaultScriptDataNum(trinket.cardId),\r\n\t}));\r\n\t// 0 is not a valid entityId\r\n\thero.entityId = hero.entityId || entityIdContainer.entityId--;\r\n\thero.hand = hero.hand ?? [];\r\n\tif (!hero.globalInfo) {\r\n\t\thero.globalInfo = {};\r\n\t}\r\n\r\n\thero.globalInfo.EternalKnightsDeadThisGame = hero.globalInfo.EternalKnightsDeadThisGame ?? 0;\r\n\thero.globalInfo.SanlaynScribesDeadThisGame = hero.globalInfo.SanlaynScribesDeadThisGame ?? 0;\r\n\thero.globalInfo.BeastsSummonedThisGame = hero.globalInfo.BeastsSummonedThisGame ?? 0;\r\n\thero.globalInfo.BeastsSummonedThisCombat = hero.globalInfo.BeastsSummonedThisCombat ?? 0;\r\n\thero.globalInfo.MagnetizedThisGame = hero.globalInfo.MagnetizedThisGame ?? 0;\r\n\thero.globalInfo.PiratesSummonedThisGame = hero.globalInfo.PiratesSummonedThisGame ?? 0;\r\n\thero.globalInfo.BattlecriesTriggeredThisGame = hero.globalInfo.BattlecriesTriggeredThisGame ?? 0;\r\n\thero.globalInfo.BeetleAttackBuff = hero.globalInfo.BeetleAttackBuff ?? 0;\r\n\thero.globalInfo.BeetleHealthBuff = hero.globalInfo.BeetleHealthBuff ?? 0;\r\n\thero.globalInfo.ElementalAttackBuff = hero.globalInfo.ElementalAttackBuff ?? 0;\r\n\thero.globalInfo.ElementalHealthBuff = hero.globalInfo.ElementalHealthBuff ?? 0;\r\n\thero.globalInfo.TavernSpellAttackBuff = hero.globalInfo.TavernSpellAttackBuff ?? 0;\r\n\thero.globalInfo.TavernSpellHealthBuff = hero.globalInfo.TavernSpellHealthBuff ?? 0;\r\n\thero.globalInfo.MutatedLasherAttackBuff = hero.globalInfo.MutatedLasherAttackBuff ?? 0;\r\n\thero.globalInfo.MutatedLasherHealthBuff = hero.globalInfo.MutatedLasherHealthBuff ?? 0;\r\n\thero.globalInfo.TavernSpellsCastThisGame = hero.globalInfo.TavernSpellsCastThisGame ?? 0;\r\n\thero.globalInfo.AdditionalAttack = hero.globalInfo.AdditionalAttack ?? 0;\r\n\thero.globalInfo.SpellsCastThisGame = hero.globalInfo.SpellsCastThisGame ?? 0;\r\n\thero.globalInfo.UndeadAttackBonus = hero.globalInfo.UndeadAttackBonus ?? 0;\r\n\thero.globalInfo.HauntedCarapaceAttackBonus = hero.globalInfo.HauntedCarapaceAttackBonus ?? 0;\r\n\thero.globalInfo.HauntedCarapaceHealthBonus = hero.globalInfo.HauntedCarapaceHealthBonus ?? 0;\r\n\thero.globalInfo.FrostlingBonus = hero.globalInfo.FrostlingBonus ?? 0;\r\n\thero.globalInfo.BloodGemAttackBonus =\r\n\t\t(hero.globalInfo.BloodGemAttackBonus ?? 0) +\r\n\t\t// Not sure why, but this isn't reflected in the player enchant\r\n\t\t(hero.questRewardEntities?.filter((e) => e.cardId === CardIds.EndlessBloodMoon).length ?? 0);\r\n\thero.globalInfo.BloodGemHealthBonus =\r\n\t\t(hero.globalInfo.BloodGemHealthBonus ?? 0) +\r\n\t\t(hero.questRewardEntities?.filter((e) => e.cardId === CardIds.EndlessBloodMoon).length ?? 0);\r\n\thero.globalInfo.GoldrinnBuffAtk = hero.globalInfo.GoldrinnBuffAtk ?? 0;\r\n\thero.globalInfo.GoldrinnBuffHealth = hero.globalInfo.GoldrinnBuffHealth ?? 0;\r\n\thero.globalInfo.GoldSpentThisGame = hero.globalInfo.GoldSpentThisGame ?? 0;\r\n};\r\n\r\nexport const clearStealthIfNeeded = (\r\n\tboard: BoardEntity[],\r\n\thero: BgsPlayerEntity,\r\n\totherBoard: BoardEntity[],\r\n\totherHero: BgsPlayerEntity,\r\n\tgameState: FullGameState,\r\n): void => {\r\n\t// https://twitter.com/DCalkosz/status/1562194944688660481?s=20&t=100I8IVZmBKgYQWkdK8nIA\r\n\tif (board.every((entity) => entity.stealth && !entity.attack)) {\r\n\t\tboard.forEach((e) => updateStealth(e, false, board, hero, otherHero, gameState));\r\n\t}\r\n\tif (otherBoard.every((entity) => entity.stealth && !entity.attack)) {\r\n\t\totherBoard.forEach((e) => updateStealth(e, false, otherBoard, otherHero, hero, gameState));\r\n\t}\r\n\tif (board.every((e) => e.stealth) && otherBoard.every((e) => e.stealth)) {\r\n\t\tboard.forEach((e) => updateStealth(e, false, board, hero, otherHero, gameState));\r\n\t\totherBoard.forEach((e) => updateStealth(e, false, otherBoard, otherHero, hero, gameState));\r\n\t}\r\n};\r\n"]}
@@ -276,6 +276,7 @@ const handleHeroAvenge = (deadEntity, heroPower, boardWithDeadEntity, boardWithD
276
276
  token.maxAttack = +heroPower.info;
277
277
  token.maxHealth = +heroPower.info;
278
278
  });
279
+ heroPower.info = +heroPower.info + 1;
279
280
  candidatesEntitiesSpawnedFromAvenge.push(...broodmotherTokens);
280
281
  break;
281
282
  }