azeroth-shell 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +138 -2
- package/bin/azsh.mjs +19 -0
- package/docs/aifid/eventai-texts.json +4414 -0
- package/docs/dungeons/atlas/atlas-rows-dungeons.json +8989 -0
- package/docs/dungeons/survey/pack-id-migration.json +2418 -0
- package/package.json +26 -4
- package/src/autopilot/bossSkip.ts +26 -0
- package/src/autopilot/combatRotation.ts +824 -0
- package/src/autopilot/config.ts +533 -0
- package/src/autopilot/consumables.ts +58 -0
- package/src/autopilot/encounterStand.ts +121 -0
- package/src/autopilot/objectGatePlan.ts +53 -0
- package/src/autopilot/pathEngage.ts +229 -0
- package/src/autopilot/plan.ts +1643 -0
- package/src/autopilot/questPolicy.ts +274 -0
- package/src/autopilot/routeStep.ts +69 -0
- package/src/autopilot/sessionReport.ts +88 -0
- package/src/autopilot/topOffPower.ts +26 -0
- package/src/autopilot/view.ts +476 -0
- package/src/cli/bootCheck.mjs +34 -0
- package/src/cli/bootData.mjs +57 -0
- package/src/cli/combatLogFilter.ts +153 -0
- package/src/cli/combatLogFormat.ts +613 -0
- package/src/cli/fileRepository.mjs +105 -0
- package/src/cli/gzLoader.mjs +31 -0
- package/src/cli/liveGauntletEscort.ts +978 -0
- package/src/cli/liveStratUndead.ts +305 -0
- package/src/cli/macroHostCombat.ts +545 -0
- package/src/cli/macroHostWorld.ts +330 -0
- package/src/cli/prefs.mjs +31 -0
- package/src/cli/register.mjs +4 -0
- package/src/cli/repl.mjs +693 -0
- package/src/cli/rotationText.mjs +226 -0
- package/src/cli/squad.mjs +105 -0
- package/src/cli/term.mjs +126 -0
- package/src/cli/text.mjs +122 -0
- package/src/cli/tui.mjs +626 -0
- package/src/cli/tuiArena.mjs +109 -0
- package/src/cli/tuiAutopilotSettings.mjs +93 -0
- package/src/cli/tuiBags.mjs +180 -0
- package/src/cli/tuiBars.mjs +133 -0
- package/src/cli/tuiBg.mjs +243 -0
- package/src/cli/tuiBulk.mjs +162 -0
- package/src/cli/tuiCheck.mjs +1882 -0
- package/src/cli/tuiCity.mjs +396 -0
- package/src/cli/tuiCompanionKit.mjs +300 -0
- package/src/cli/tuiCompanions.mjs +471 -0
- package/src/cli/tuiDev.mjs +62 -0
- package/src/cli/tuiDungeon.mjs +606 -0
- package/src/cli/tuiEnchantTarget.mjs +120 -0
- package/src/cli/tuiFight.mjs +577 -0
- package/src/cli/tuiFightPanes.mjs +228 -0
- package/src/cli/tuiFloor.mjs +506 -0
- package/src/cli/tuiGear.mjs +158 -0
- package/src/cli/tuiHonor.mjs +74 -0
- package/src/cli/tuiLoot.mjs +97 -0
- package/src/cli/tuiMacros.mjs +144 -0
- package/src/cli/tuiOutfitter.mjs +115 -0
- package/src/cli/tuiPet.mjs +116 -0
- package/src/cli/tuiProfessions.mjs +800 -0
- package/src/cli/tuiRaid.mjs +127 -0
- package/src/cli/tuiRep.mjs +65 -0
- package/src/cli/tuiSaves.mjs +69 -0
- package/src/cli/tuiSearch.mjs +363 -0
- package/src/cli/tuiSettings.mjs +151 -0
- package/src/cli/tuiSimLab.mjs +80 -0
- package/src/cli/tuiTalents.mjs +60 -0
- package/src/cli/tuiViews.mjs +1178 -0
- package/src/cli/tuiWiki.mjs +181 -0
- package/src/cli/tuiWorld.mjs +361 -0
- package/src/cli/wikiIndex.ts +259 -0
- package/src/cli/wikiSources.ts +355 -0
- package/src/data/alteracValley.ts +176 -0
- package/src/data/appearanceOptions.ts +534 -0
- package/src/data/applyLootChanceSanity.ts +21 -0
- package/src/data/createFlavor.ts +96 -0
- package/src/data/customItems.ts +33 -0
- package/src/data/dataStore.ts +1904 -0
- package/src/data/dungeonGameObjects.ts +84 -0
- package/src/data/dungeonPlateCover.ts +66 -0
- package/src/data/dungeonSpawns.ts +294 -0
- package/src/data/dungeons/alterac-valley.ts +135 -0
- package/src/data/dungeons/apply-dungeon-rooms.ts +29 -0
- package/src/data/dungeons/apply-encounter-outdoors.ts +72 -0
- package/src/data/dungeons/apply-instance-geometry.ts +65 -0
- package/src/data/dungeons/apply-spawn-placement.ts +171 -0
- package/src/data/dungeons/blackfathom-deeps.ts +539 -0
- package/src/data/dungeons/blackrock-depths.ts +1410 -0
- package/src/data/dungeons/blackwing-lair.ts +129 -0
- package/src/data/dungeons/boss-eventai.ts +8 -0
- package/src/data/dungeons/deadmines.ts +410 -0
- package/src/data/dungeons/dire-maul-east.ts +980 -0
- package/src/data/dungeons/dire-maul-north.ts +661 -0
- package/src/data/dungeons/dire-maul-west.ts +785 -0
- package/src/data/dungeons/dungeon-rooms.json +5479 -0
- package/src/data/dungeons/encounter-outdoors.json +359 -0
- package/src/data/dungeons/eventai/blackfathom-deeps.ts +308 -0
- package/src/data/dungeons/eventai/blackrock-depths.ts +1257 -0
- package/src/data/dungeons/eventai/deadmines.ts +264 -0
- package/src/data/dungeons/eventai/dire-maul-east.ts +320 -0
- package/src/data/dungeons/eventai/gnomeregan.ts +213 -0
- package/src/data/dungeons/eventai/helpers.ts +79 -0
- package/src/data/dungeons/eventai/index.ts +133 -0
- package/src/data/dungeons/eventai/lbrs.ts +372 -0
- package/src/data/dungeons/eventai/maraudon.ts +323 -0
- package/src/data/dungeons/eventai/ragefire-chasm.ts +108 -0
- package/src/data/dungeons/eventai/razorfen-downs.ts +207 -0
- package/src/data/dungeons/eventai/razorfen-kraul.ts +326 -0
- package/src/data/dungeons/eventai/scholomance.ts +680 -0
- package/src/data/dungeons/eventai/shadowfang-keep.ts +230 -0
- package/src/data/dungeons/eventai/sm-cathedral.ts +75 -0
- package/src/data/dungeons/eventai/sm-graveyard.ts +150 -0
- package/src/data/dungeons/eventai/sm-library.ts +55 -0
- package/src/data/dungeons/eventai/stratholme-undead.ts +127 -0
- package/src/data/dungeons/eventai/sunken-temple.ts +582 -0
- package/src/data/dungeons/eventai/the-stockade.ts +228 -0
- package/src/data/dungeons/eventai/ubrs.ts +225 -0
- package/src/data/dungeons/eventai/uldaman.ts +355 -0
- package/src/data/dungeons/eventai/wailing-caverns.ts +396 -0
- package/src/data/dungeons/eventai/zul-farrak.ts +591 -0
- package/src/data/dungeons/gnomeregan.ts +909 -0
- package/src/data/dungeons/index.ts +126 -0
- package/src/data/dungeons/instance-geometry.json +5233 -0
- package/src/data/dungeons/key-sources.json +169 -0
- package/src/data/dungeons/lbrs.ts +996 -0
- package/src/data/dungeons/maraudon.ts +786 -0
- package/src/data/dungeons/molten-core.ts +194 -0
- package/src/data/dungeons/naxxramas.ts +173 -0
- package/src/data/dungeons/onyxias-lair.ts +71 -0
- package/src/data/dungeons/pack-from-clusters.ts +1256 -0
- package/src/data/dungeons/ragefire-chasm.ts +238 -0
- package/src/data/dungeons/razorfen-downs.ts +698 -0
- package/src/data/dungeons/razorfen-kraul.ts +766 -0
- package/src/data/dungeons/ruins-of-ahnqiraj.ts +121 -0
- package/src/data/dungeons/scholomance.ts +1076 -0
- package/src/data/dungeons/shadowfang-keep.ts +740 -0
- package/src/data/dungeons/sm-armory.ts +266 -0
- package/src/data/dungeons/sm-cathedral.ts +430 -0
- package/src/data/dungeons/sm-graveyard.ts +482 -0
- package/src/data/dungeons/sm-library.ts +337 -0
- package/src/data/dungeons/stratholme-live.ts +808 -0
- package/src/data/dungeons/stratholme-undead.ts +1164 -0
- package/src/data/dungeons/sunken-temple.ts +931 -0
- package/src/data/dungeons/temple-of-ahnqiraj.ts +119 -0
- package/src/data/dungeons/the-stockade.ts +282 -0
- package/src/data/dungeons/ubrs.ts +1286 -0
- package/src/data/dungeons/uldaman.ts +685 -0
- package/src/data/dungeons/wailing-caverns.ts +356 -0
- package/src/data/dungeons/zul-farrak.ts +686 -0
- package/src/data/dungeons/zul-gurub.ts +142 -0
- package/src/data/dungeons.ts +42 -0
- package/src/data/fixtures.ts +446 -0
- package/src/data/gameobject-data.json.gz +0 -0
- package/src/data/item-data.json.gz +0 -0
- package/src/data/loot-data.json.gz +0 -0
- package/src/data/maps/atlas-approach-maps.json +1425 -0
- package/src/data/maps/atlas-landmarks.json +1711 -0
- package/src/data/maps/dungeon-viewports.json +392 -0
- package/src/data/materializeModDamagePercentTaken.ts +70 -0
- package/src/data/materializeModHealthRegen.ts +89 -0
- package/src/data/materializeSpellReputation.ts +26 -0
- package/src/data/pageTexts.ts +19 -0
- package/src/data/profession-data.json.gz +0 -0
- package/src/data/raid-plans/blackfathom-deeps.json +86 -0
- package/src/data/raid-plans/blackrock-depths.json +419 -0
- package/src/data/raid-plans/blackwing-lair.json +328 -0
- package/src/data/raid-plans/deadmines.json +55 -0
- package/src/data/raid-plans/dire-maul-east.json +94 -0
- package/src/data/raid-plans/dire-maul-north.json +70 -0
- package/src/data/raid-plans/dire-maul-west.json +75 -0
- package/src/data/raid-plans/gnomeregan.json +131 -0
- package/src/data/raid-plans/lbrs.json +176 -0
- package/src/data/raid-plans/maraudon.json +102 -0
- package/src/data/raid-plans/molten-core.json +169 -0
- package/src/data/raid-plans/naxxramas.json +354 -0
- package/src/data/raid-plans/onyxias-lair.json +18 -0
- package/src/data/raid-plans/ragefire-chasm.json +30 -0
- package/src/data/raid-plans/razorfen-downs.json +75 -0
- package/src/data/raid-plans/razorfen-kraul.json +53 -0
- package/src/data/raid-plans/ruins-of-ahnqiraj.json +110 -0
- package/src/data/raid-plans/scholomance.json +170 -0
- package/src/data/raid-plans/shadowfang-keep.json +87 -0
- package/src/data/raid-plans/sm-armory.json +53 -0
- package/src/data/raid-plans/sm-cathedral.json +72 -0
- package/src/data/raid-plans/sm-graveyard.json +63 -0
- package/src/data/raid-plans/sm-library.json +23 -0
- package/src/data/raid-plans/stratholme-live.json +129 -0
- package/src/data/raid-plans/stratholme-undead.json +73 -0
- package/src/data/raid-plans/sunken-temple.json +159 -0
- package/src/data/raid-plans/temple-of-ahnqiraj.json +163 -0
- package/src/data/raid-plans/the-stockade.json +42 -0
- package/src/data/raid-plans/ubrs.json +53 -0
- package/src/data/raid-plans/uldaman.json +131 -0
- package/src/data/raid-plans/wailing-caverns.json +90 -0
- package/src/data/raid-plans/zul-farrak.json +156 -0
- package/src/data/raid-plans/zul-gurub.json +307 -0
- package/src/data/raidInstanceCreatures.mjs +473 -0
- package/src/data/rotations/index.ts +152 -0
- package/src/data/rotations/layout.mjs +72 -0
- package/src/data/rotations/pve/druid/balance.json +754 -0
- package/src/data/rotations/pve/druid/feral-tank.json +2448 -0
- package/src/data/rotations/pve/druid/feral.json +2660 -0
- package/src/data/rotations/pve/druid/restoration.json +424 -0
- package/src/data/rotations/pve/hunter/beast-mastery.json +1288 -0
- package/src/data/rotations/pve/hunter/marksmanship.json +1260 -0
- package/src/data/rotations/pve/hunter/survival.json +1373 -0
- package/src/data/rotations/pve/mage/arcane-leveling.json +1798 -0
- package/src/data/rotations/pve/mage/fire-leveling.json +2003 -0
- package/src/data/rotations/pve/mage/frost-leveling.json +1912 -0
- package/src/data/rotations/pve/paladin/holy.json +755 -0
- package/src/data/rotations/pve/paladin/protection.json +962 -0
- package/src/data/rotations/pve/paladin/retribution.json +924 -0
- package/src/data/rotations/pve/priest/discipline.json +772 -0
- package/src/data/rotations/pve/priest/holy.json +707 -0
- package/src/data/rotations/pve/priest/shadow.json +787 -0
- package/src/data/rotations/pve/rogue/assassination.json +2477 -0
- package/src/data/rotations/pve/rogue/combat.json +2483 -0
- package/src/data/rotations/pve/rogue/subtlety.json +2523 -0
- package/src/data/rotations/pve/shaman/elemental.json +1157 -0
- package/src/data/rotations/pve/shaman/enhancement.json +1085 -0
- package/src/data/rotations/pve/shaman/restoration.json +592 -0
- package/src/data/rotations/pve/warlock/affliction.json +1185 -0
- package/src/data/rotations/pve/warlock/demonology.json +1165 -0
- package/src/data/rotations/pve/warlock/destruction.json +1177 -0
- package/src/data/rotations/pve/warrior/arms.json +3020 -0
- package/src/data/rotations/pve/warrior/fury.json +2996 -0
- package/src/data/rotations/pve/warrior/protection.json +2509 -0
- package/src/data/rotations/pvp/druid/balance.json +593 -0
- package/src/data/rotations/pvp/druid/feral.json +3276 -0
- package/src/data/rotations/pvp/druid/restoration.json +662 -0
- package/src/data/rotations/pvp/hunter/beast-mastery.json +665 -0
- package/src/data/rotations/pvp/hunter/marksmanship.json +2406 -0
- package/src/data/rotations/pvp/hunter/survival.json +635 -0
- package/src/data/rotations/pvp/mage/arcane.json +574 -0
- package/src/data/rotations/pvp/mage/fire.json +570 -0
- package/src/data/rotations/pvp/mage/frost.json +4048 -0
- package/src/data/rotations/pvp/paladin/holy.json +1498 -0
- package/src/data/rotations/pvp/paladin/protection.json +567 -0
- package/src/data/rotations/pvp/paladin/retribution.json +1110 -0
- package/src/data/rotations/pvp/priest/discipline.json +1848 -0
- package/src/data/rotations/pvp/priest/holy.json +6340 -0
- package/src/data/rotations/pvp/priest/shadow.json +2329 -0
- package/src/data/rotations/pvp/rogue/assassination.json +1322 -0
- package/src/data/rotations/pvp/rogue/combat.json +5258 -0
- package/src/data/rotations/pvp/rogue/subtlety.json +586 -0
- package/src/data/rotations/pvp/shaman/elemental.json +1404 -0
- package/src/data/rotations/pvp/shaman/enhancement.json +1277 -0
- package/src/data/rotations/pvp/shaman/restoration.json +2490 -0
- package/src/data/rotations/pvp/warlock/affliction.json +1017 -0
- package/src/data/rotations/pvp/warlock/demonology.json +1503 -0
- package/src/data/rotations/pvp/warlock/destruction.json +638 -0
- package/src/data/rotations/pvp/warrior/arms.json +5665 -0
- package/src/data/rotations/pvp/warrior/fury.json +850 -0
- package/src/data/rotations/pvp/warrior/protection.json +777 -0
- package/src/data/schema/bundle.ts +511 -0
- package/src/data/schema/constants.ts +49 -0
- package/src/data/schema/creature.ts +454 -0
- package/src/data/schema/encounter.ts +155 -0
- package/src/data/schema/faction.ts +48 -0
- package/src/data/schema/item.ts +297 -0
- package/src/data/schema/itemEnchant.ts +105 -0
- package/src/data/schema/npc.ts +44 -0
- package/src/data/schema/primitives.ts +295 -0
- package/src/data/schema/profession.ts +226 -0
- package/src/data/schema/quest.ts +154 -0
- package/src/data/schema/spell.ts +1149 -0
- package/src/data/schema/talent.ts +74 -0
- package/src/data/schema/world.ts +124 -0
- package/src/data/schema.ts +19 -0
- package/src/data/skinNodeGapFill.ts +68 -0
- package/src/data/spell-data.json.gz +0 -0
- package/src/data/spell-script-targets.json +1 -0
- package/src/data/tables/ahItemValues.json.gz +0 -0
- package/src/data/tables/alteracValley.json.gz +0 -0
- package/src/data/tables/areatriggerTeleports.json.gz +0 -0
- package/src/data/tables/botNames.json.gz +0 -0
- package/src/data/tables/botPopulation.json.gz +0 -0
- package/src/data/tables/botSpecs.json.gz +0 -0
- package/src/data/tables/classLevelStats.json.gz +0 -0
- package/src/data/tables/combatConditions.json.gz +0 -0
- package/src/data/tables/combatSkillMeta.json.gz +0 -0
- package/src/data/tables/conditions.json.gz +0 -0
- package/src/data/tables/createInfo.json.gz +0 -0
- package/src/data/tables/creatureAggroGroups.json.gz +0 -0
- package/src/data/tables/creatureClassLevelStats.json.gz +0 -0
- package/src/data/tables/creaturePatrolPacks.json.gz +0 -0
- package/src/data/tables/creatureWeapons.json.gz +0 -0
- package/src/data/tables/creatures.json.gz +0 -0
- package/src/data/tables/dbScripts.json.gz +0 -0
- package/src/data/tables/dungeonAuthoredRoutes.json.gz +0 -0
- package/src/data/tables/dungeonCensus.json.gz +0 -0
- package/src/data/tables/dungeonGameObjects.json.gz +0 -0
- package/src/data/tables/dungeonPacks.json.gz +0 -0
- package/src/data/tables/dungeonPlateCover.json.gz +0 -0
- package/src/data/tables/dungeonSpawns.json.gz +0 -0
- package/src/data/tables/dungeonSurvey.json.gz +0 -0
- package/src/data/tables/durabilityCosts.json.gz +0 -0
- package/src/data/tables/durabilityQuality.json.gz +0 -0
- package/src/data/tables/enchantApplicators.json.gz +0 -0
- package/src/data/tables/entranceYards.json.gz +0 -0
- package/src/data/tables/explorationBasexp.json.gz +0 -0
- package/src/data/tables/factionTemplates.json.gz +0 -0
- package/src/data/tables/factions.json.gz +0 -0
- package/src/data/tables/gameEvents.json.gz +0 -0
- package/src/data/tables/gameObjects.json.gz +0 -0
- package/src/data/tables/gossipMenus.json.gz +0 -0
- package/src/data/tables/graveyards.json.gz +0 -0
- package/src/data/tables/instanceMaps.json.gz +0 -0
- package/src/data/tables/itemEnchantmentTemplates.json.gz +0 -0
- package/src/data/tables/itemEnchants.json.gz +0 -0
- package/src/data/tables/itemRandomProperties.json.gz +0 -0
- package/src/data/tables/itemSets.json.gz +0 -0
- package/src/data/tables/items.json.gz +0 -0
- package/src/data/tables/levelStats.json.gz +0 -0
- package/src/data/tables/locks.json.gz +0 -0
- package/src/data/tables/map-pin-overrides.json.gz +0 -0
- package/src/data/tables/nonCombatTrash.json.gz +0 -0
- package/src/data/tables/npcTexts.json.gz +0 -0
- package/src/data/tables/pageTexts.json.gz +0 -0
- package/src/data/tables/petAbilityTP.json.gz +0 -0
- package/src/data/tables/petGenericSpells.json.gz +0 -0
- package/src/data/tables/petLevelStats.json.gz +0 -0
- package/src/data/tables/playerbot-weightscales.json.gz +0 -0
- package/src/data/tables/pools.json.gz +0 -0
- package/src/data/tables/quests.json.gz +0 -0
- package/src/data/tables/races.json.gz +0 -0
- package/src/data/tables/reputationRanks.json.gz +0 -0
- package/src/data/tables/reputationRates.json.gz +0 -0
- package/src/data/tables/reputationSpillover.json.gz +0 -0
- package/src/data/tables/ridingSpells.json.gz +0 -0
- package/src/data/tables/scriptTexts.json.gz +0 -0
- package/src/data/tables/soundClipVolume.json.gz +0 -0
- package/src/data/tables/spellChain.json.gz +0 -0
- package/src/data/tables/spellTeleports.json.gz +0 -0
- package/src/data/tables/spells.json.gz +0 -0
- package/src/data/tables/talents.json.gz +0 -0
- package/src/data/tables/tavernTriggers.json.gz +0 -0
- package/src/data/tables/taxiNodes.json.gz +0 -0
- package/src/data/tables/taxiRoutes.json.gz +0 -0
- package/src/data/tables/trainers.json.gz +0 -0
- package/src/data/tables/transports.json.gz +0 -0
- package/src/data/tables/travelAnchors.json.gz +0 -0
- package/src/data/tables/travelEdges.json.gz +0 -0
- package/src/data/tables/unitConditions.json.gz +0 -0
- package/src/data/tables/vendors.json.gz +0 -0
- package/src/data/tables/weaponEnchantProcs.json.gz +0 -0
- package/src/data/tables/xp.json.gz +0 -0
- package/src/data/tables/zoneWeather.json.gz +0 -0
- package/src/data/tables/zones.json.gz +0 -0
- package/src/data/world-data.ts +56 -0
- package/src/data/zone-music-sets.json +2751 -0
- package/src/dev/etl/lib/loot-chance-sanity.mjs +180 -0
- package/src/domain/audioQuality.mjs +145 -0
- package/src/domain/bg/ab.ts +433 -0
- package/src/domain/bg/arenaComps.ts +644 -0
- package/src/domain/bg/arenaLab.ts +695 -0
- package/src/domain/bg/arenaPace.ts +31 -0
- package/src/domain/bg/arenaRating.ts +110 -0
- package/src/domain/bg/av.ts +758 -0
- package/src/domain/bg/avEnemyPush.ts +219 -0
- package/src/domain/bg/avField.ts +283 -0
- package/src/domain/bg/avInstanceNodes.ts +197 -0
- package/src/domain/bg/avInstanceScore.ts +123 -0
- package/src/domain/bg/avQuestItems.ts +55 -0
- package/src/domain/bg/avQuests.ts +210 -0
- package/src/domain/bg/avSession.ts +196 -0
- package/src/domain/bg/bgConsumes.ts +269 -0
- package/src/domain/bg/bgPrebuff.ts +153 -0
- package/src/domain/bg/bgRest.ts +91 -0
- package/src/domain/bg/bgRoster.ts +305 -0
- package/src/domain/bg/bgTier.ts +61 -0
- package/src/domain/bg/bgWorld.ts +862 -0
- package/src/domain/bg/match.ts +215 -0
- package/src/domain/bg/strategies.ts +552 -0
- package/src/domain/bg/types.ts +291 -0
- package/src/domain/bg/wsg.ts +264 -0
- package/src/domain/bots/actionProviderSpec.ts +38 -0
- package/src/domain/bots/autoConsumables.ts +285 -0
- package/src/domain/bots/betweenPullRest.ts +239 -0
- package/src/domain/bots/botGear.ts +248 -0
- package/src/domain/bots/botInventory.ts +486 -0
- package/src/domain/bots/botPet.ts +535 -0
- package/src/domain/bots/botPool.ts +291 -0
- package/src/domain/bots/botProfessions.ts +334 -0
- package/src/domain/bots/companionActionBar.ts +209 -0
- package/src/domain/bots/companionHireCost.ts +236 -0
- package/src/domain/bots/companionMissions.ts +582 -0
- package/src/domain/bots/companionPrep.ts +254 -0
- package/src/domain/bots/companionQuests.ts +270 -0
- package/src/domain/bots/companionRep.ts +75 -0
- package/src/domain/bots/companionRotation.ts +708 -0
- package/src/domain/bots/companionXp.ts +66 -0
- package/src/domain/bots/consumableShare.ts +811 -0
- package/src/domain/bots/dpsMate.ts +1072 -0
- package/src/domain/bots/groupCompReport.ts +132 -0
- package/src/domain/bots/healthstoneSupply.ts +198 -0
- package/src/domain/bots/outfitter.ts +1056 -0
- package/src/domain/bots/paladinPrePull.ts +231 -0
- package/src/domain/bots/partyRole.ts +40 -0
- package/src/domain/bots/playerbotEquipCache.ts +412 -0
- package/src/domain/bots/playerbotItemEligibility.ts +60 -0
- package/src/domain/bots/playerbotStatWeight.ts +853 -0
- package/src/domain/bots/playerbotUnavailableItems.ts +147 -0
- package/src/domain/bots/prePullBuffs.ts +219 -0
- package/src/domain/bots/prePullStealth.ts +82 -0
- package/src/domain/bots/runSupply.ts +251 -0
- package/src/domain/bots/runSupplyPrefs.ts +28 -0
- package/src/domain/bots/sendTradeGoods.ts +394 -0
- package/src/domain/bots/soulShardCap.ts +35 -0
- package/src/domain/bots/squad.ts +842 -0
- package/src/domain/bots/squadRun.ts +81 -0
- package/src/domain/character/actionbar.ts +346 -0
- package/src/domain/character/appearance.ts +165 -0
- package/src/domain/character/buildCombatant.ts +1726 -0
- package/src/domain/character/character.ts +356 -0
- package/src/domain/character/characterName.ts +43 -0
- package/src/domain/character/characterRatings.ts +424 -0
- package/src/domain/character/characterSpells.ts +282 -0
- package/src/domain/character/characterStats.ts +1559 -0
- package/src/domain/character/characterTalents.ts +398 -0
- package/src/domain/character/combatSkills.ts +994 -0
- package/src/domain/character/displayForm.ts +72 -0
- package/src/domain/character/formTalentAuras.ts +171 -0
- package/src/domain/character/forms.ts +499 -0
- package/src/domain/character/races.ts +40 -0
- package/src/domain/character/resurrectionSickness.ts +49 -0
- package/src/domain/character/spellbook.ts +169 -0
- package/src/domain/character/stanceBar.ts +354 -0
- package/src/domain/character/stancePrereq.ts +70 -0
- package/src/domain/character/talentBuilds.ts +63 -0
- package/src/domain/character/talentImport.ts +130 -0
- package/src/domain/character/talentLink.ts +123 -0
- package/src/domain/character/talents.ts +201 -0
- package/src/domain/core/conditionSnapshot.ts +92 -0
- package/src/domain/core/hover.ts +14 -0
- package/src/domain/core/ids.ts +58 -0
- package/src/domain/core/internalNameTags.ts +5 -0
- package/src/domain/core/runtimeDataPatches.ts +357 -0
- package/src/domain/creature/aiTargeting.ts +588 -0
- package/src/domain/creature/combatCondition.ts +157 -0
- package/src/domain/creature/creatureAggro.ts +804 -0
- package/src/domain/creature/creatureAi.ts +206 -0
- package/src/domain/creature/creatureAiConstants.ts +661 -0
- package/src/domain/creature/creatureCastList.ts +1007 -0
- package/src/domain/creature/creatureEventAi.ts +1409 -0
- package/src/domain/creature/creatureGroups.ts +144 -0
- package/src/domain/creature/creatureLinking.ts +333 -0
- package/src/domain/creature/creatureScaling.ts +320 -0
- package/src/domain/creature/creatureTrigger.ts +53 -0
- package/src/domain/creature/creatureWander.ts +74 -0
- package/src/domain/creature/eventAiTexts.ts +145 -0
- package/src/domain/creature/faction.ts +287 -0
- package/src/domain/creature/forcedReaction.ts +48 -0
- package/src/domain/creature/outdoorHuntable.ts +74 -0
- package/src/domain/creature/patrolPacks.ts +210 -0
- package/src/domain/creature/reputation.ts +967 -0
- package/src/domain/creature/unitFlags.ts +74 -0
- package/src/domain/creature/worldBosses.ts +393 -0
- package/src/domain/dungeonMusic.mjs +48 -0
- package/src/domain/economy/auction.ts +282 -0
- package/src/domain/economy/auctionBot.ts +1060 -0
- package/src/domain/economy/honorPrice.ts +100 -0
- package/src/domain/economy/mail.ts +958 -0
- package/src/domain/economy/money.ts +42 -0
- package/src/domain/economy/syntheticClassTrainers.ts +62 -0
- package/src/domain/economy/trading.ts +296 -0
- package/src/domain/economy/vendorSellAll.ts +252 -0
- package/src/domain/economy/vendorStock.ts +146 -0
- package/src/domain/items/ammo.ts +817 -0
- package/src/domain/items/bank.ts +162 -0
- package/src/domain/items/consumableFamily.ts +205 -0
- package/src/domain/items/craftUpgrades.ts +83 -0
- package/src/domain/items/createItem.ts +93 -0
- package/src/domain/items/durability.ts +581 -0
- package/src/domain/items/equipment.ts +441 -0
- package/src/domain/items/equipmentHelper.ts +767 -0
- package/src/domain/items/inventory.ts +561 -0
- package/src/domain/items/itemBonding.ts +93 -0
- package/src/domain/items/itemContainer.ts +245 -0
- package/src/domain/items/itemDisplayName.ts +33 -0
- package/src/domain/items/itemInstance.ts +181 -0
- package/src/domain/items/itemRandomEnchantOutcomes.ts +315 -0
- package/src/domain/items/itemRandomProps.ts +77 -0
- package/src/domain/items/itemRestrictions.ts +329 -0
- package/src/domain/items/itemTeaches.ts +82 -0
- package/src/domain/items/itemUseCooldown.ts +52 -0
- package/src/domain/items/itemUseTarget.ts +90 -0
- package/src/domain/items/junkCategories.ts +174 -0
- package/src/domain/items/junkFilter.ts +368 -0
- package/src/domain/items/keyring.ts +131 -0
- package/src/domain/items/loot.ts +221 -0
- package/src/domain/items/mounts.ts +190 -0
- package/src/domain/items/onUsePayload.ts +102 -0
- package/src/domain/items/pendingLoot.ts +107 -0
- package/src/domain/items/relic.ts +105 -0
- package/src/domain/items/rocketBoots.ts +36 -0
- package/src/domain/items/sortContainer.ts +139 -0
- package/src/domain/items/spareContainers.ts +71 -0
- package/src/domain/items/spellReagentIndex.ts +131 -0
- package/src/domain/items/staleConsumables.ts +66 -0
- package/src/domain/items/weaponSpender.ts +110 -0
- package/src/domain/listDungeonIds.mjs +28 -0
- package/src/domain/macro/compose.ts +239 -0
- package/src/domain/macro/conditions.ts +260 -0
- package/src/domain/macro/creatureTypes.ts +40 -0
- package/src/domain/macro/describe.ts +169 -0
- package/src/domain/macro/icon.ts +60 -0
- package/src/domain/macro/index.ts +20 -0
- package/src/domain/macro/normalize.ts +112 -0
- package/src/domain/macro/parse.ts +316 -0
- package/src/domain/macro/plan.ts +288 -0
- package/src/domain/macro/rotation.ts +590 -0
- package/src/domain/macro/rotationEnv.ts +173 -0
- package/src/domain/macro/slots.ts +101 -0
- package/src/domain/macro/snapshot.ts +114 -0
- package/src/domain/macro/templates.ts +446 -0
- package/src/domain/macro/types.ts +70 -0
- package/src/domain/macro/units.ts +93 -0
- package/src/domain/macro/weaponTypes.ts +83 -0
- package/src/domain/nav/cityTeleports.ts +10 -0
- package/src/domain/nav/mounting.ts +113 -0
- package/src/domain/nav/nav.ts +43 -0
- package/src/domain/nav/navCollision.ts +606 -0
- package/src/domain/nav/navOutdoors.ts +91 -0
- package/src/domain/nav/navRegistry.ts +179 -0
- package/src/domain/nav/navRoomGraph.ts +302 -0
- package/src/domain/nav/navTypes.ts +43 -0
- package/src/domain/nav/navmesh.ts +1715 -0
- package/src/domain/nav/speed.ts +200 -0
- package/src/domain/nav/storey.ts +10 -0
- package/src/domain/nav/travel.ts +725 -0
- package/src/domain/nav/travelTypes.ts +75 -0
- package/src/domain/pet/pet.ts +1150 -0
- package/src/domain/pet/petActionBar.ts +180 -0
- package/src/domain/pet/petSpellbook.ts +39 -0
- package/src/domain/pet/petStable.ts +81 -0
- package/src/domain/professions/autoDisenchant.ts +236 -0
- package/src/domain/professions/characterEnchants.ts +176 -0
- package/src/domain/professions/craftCooldown.ts +52 -0
- package/src/domain/professions/enchantApply.ts +62 -0
- package/src/domain/professions/enchantTargets.ts +114 -0
- package/src/domain/professions/enchanting.ts +236 -0
- package/src/domain/professions/gatherFilter.ts +149 -0
- package/src/domain/professions/gearEnchant.ts +137 -0
- package/src/domain/professions/heldTools.ts +29 -0
- package/src/domain/professions/learnAllRecipes.ts +146 -0
- package/src/domain/professions/miningHarvest.ts +69 -0
- package/src/domain/professions/partyDisenchant.ts +294 -0
- package/src/domain/professions/partyWork.ts +83 -0
- package/src/domain/professions/pickpocket.ts +172 -0
- package/src/domain/professions/poisons.ts +240 -0
- package/src/domain/professions/professions.ts +677 -0
- package/src/domain/professions/rareNodes.ts +45 -0
- package/src/domain/professions/skinLoot.ts +27 -0
- package/src/domain/professions/vendorReagents.ts +152 -0
- package/src/domain/professions/weaponImbueHand.ts +171 -0
- package/src/domain/questFarmFilter.mjs +42 -0
- package/src/domain/quests/doQuest.ts +1204 -0
- package/src/domain/quests/gossip.ts +308 -0
- package/src/domain/quests/gossipTalk.ts +298 -0
- package/src/domain/quests/interpreter/canComplete.ts +150 -0
- package/src/domain/quests/interpreter/claim.ts +137 -0
- package/src/domain/quests/interpreter/dbscript/handlers.ts +1371 -0
- package/src/domain/quests/interpreter/dbscript/handlersBatch.ts +1251 -0
- package/src/domain/quests/interpreter/dbscript/hooks.ts +331 -0
- package/src/domain/quests/interpreter/dbscript/index.ts +212 -0
- package/src/domain/quests/interpreter/dbscript/opcodes.ts +257 -0
- package/src/domain/quests/interpreter/dbscript/registry.ts +1194 -0
- package/src/domain/quests/interpreter/dbscript/registryAreatriggerScripts.ts +539 -0
- package/src/domain/quests/interpreter/dbscript/registryAshenvale.ts +553 -0
- package/src/domain/quests/interpreter/dbscript/registryAzshara.ts +272 -0
- package/src/domain/quests/interpreter/dbscript/registryDarkshore.ts +637 -0
- package/src/domain/quests/interpreter/dbscript/registryDesolace.ts +501 -0
- package/src/domain/quests/interpreter/dbscript/registryDustwallowMarsh.ts +735 -0
- package/src/domain/quests/interpreter/dbscript/registryFelwood.ts +493 -0
- package/src/domain/quests/interpreter/dbscript/registryFeralas.ts +485 -0
- package/src/domain/quests/interpreter/dbscript/registryGoScripts.ts +203 -0
- package/src/domain/quests/interpreter/dbscript/registryMoonglade.ts +288 -0
- package/src/domain/quests/interpreter/dbscript/registryNpcProfessions.ts +230 -0
- package/src/domain/quests/interpreter/dbscript/registryNpcsSpecial.ts +545 -0
- package/src/domain/quests/interpreter/dbscript/registryRazorfenDowns.ts +293 -0
- package/src/domain/quests/interpreter/dbscript/registryRazorfenKraul.ts +221 -0
- package/src/domain/quests/interpreter/dbscript/registryRedridge.ts +112 -0
- package/src/domain/quests/interpreter/dbscript/registrySearingGorge.ts +125 -0
- package/src/domain/quests/interpreter/dbscript/registrySiblings.ts +51 -0
- package/src/domain/quests/interpreter/dbscript/registrySilverpineForest.ts +172 -0
- package/src/domain/quests/interpreter/dbscript/registryStonetalonMountains.ts +180 -0
- package/src/domain/quests/interpreter/dbscript/registryStormwindCity.ts +369 -0
- package/src/domain/quests/interpreter/dbscript/registryStranglethornVale.ts +115 -0
- package/src/domain/quests/interpreter/dbscript/registryStratholme.ts +146 -0
- package/src/domain/quests/interpreter/dbscript/registrySunkenTemple.ts +149 -0
- package/src/domain/quests/interpreter/dbscript/registrySwampOfSorrows.ts +163 -0
- package/src/domain/quests/interpreter/dbscript/registryTanaris.ts +318 -0
- package/src/domain/quests/interpreter/dbscript/registryTeldrassil.ts +120 -0
- package/src/domain/quests/interpreter/dbscript/registryTheBarrens.ts +603 -0
- package/src/domain/quests/interpreter/dbscript/registryThousandNeedles.ts +499 -0
- package/src/domain/quests/interpreter/dbscript/registryTirisfalGlades.ts +222 -0
- package/src/domain/quests/interpreter/dbscript/registryUngoroCrater.ts +291 -0
- package/src/domain/quests/interpreter/dbscript/registryWarEffort.ts +773 -0
- package/src/domain/quests/interpreter/dbscript/registryWesternPlaguelands.ts +206 -0
- package/src/domain/quests/interpreter/dbscript/registryWestfall.ts +190 -0
- package/src/domain/quests/interpreter/dbscript/registryWetlands.ts +186 -0
- package/src/domain/quests/interpreter/dbscript/registryWinterspring.ts +235 -0
- package/src/domain/quests/interpreter/dbscript/types.ts +817 -0
- package/src/domain/quests/interpreter/dbscript/vm.ts +171 -0
- package/src/domain/quests/interpreter/diff.ts +349 -0
- package/src/domain/quests/interpreter/fixtures/oracle-questlog-qi2.json +2417 -0
- package/src/domain/quests/interpreter/flags.ts +101 -0
- package/src/domain/quests/interpreter/index.ts +113 -0
- package/src/domain/quests/interpreter/live.ts +178 -0
- package/src/domain/quests/interpreter/types.ts +81 -0
- package/src/domain/quests/interpreter/updaters.ts +412 -0
- package/src/domain/quests/questCorpseUse.ts +155 -0
- package/src/domain/quests/questDialog.ts +43 -0
- package/src/domain/quests/questFight.ts +34 -0
- package/src/domain/quests/questObjectiveLabel.ts +39 -0
- package/src/domain/quests/questRewardChoice.ts +85 -0
- package/src/domain/quests/questScriptCredit.ts +26 -0
- package/src/domain/quests/questScriptItemUse.ts +74 -0
- package/src/domain/quests/questTameRods.ts +79 -0
- package/src/domain/quests/questlog.ts +1545 -0
- package/src/domain/quests/talkDeliver.ts +170 -0
- package/src/domain/raid/globalActionBar.ts +195 -0
- package/src/domain/raid/instanceRoster.ts +194 -0
- package/src/domain/raid/partySummon.ts +198 -0
- package/src/domain/raid/partyVault.ts +320 -0
- package/src/domain/raid/raidBossAbilities.ts +268 -0
- package/src/domain/raid/raidComp.ts +335 -0
- package/src/domain/raid/raidCustomRows.ts +453 -0
- package/src/domain/raid/raidEncounterGear.ts +298 -0
- package/src/domain/raid/raidEncounterTactics.ts +412 -0
- package/src/domain/raid/raidPlan.ts +509 -0
- package/src/domain/raid/raidPlanEdits.ts +98 -0
- package/src/domain/raid/raidPlanPacks.ts +480 -0
- package/src/domain/raid/raidRecovery.ts +183 -0
- package/src/domain/raid/raidRosterTemplate.ts +138 -0
- package/src/domain/rotation/auraSide.ts +68 -0
- package/src/domain/rotation/build.ts +3031 -0
- package/src/domain/rotation/classes/druid.ts +58 -0
- package/src/domain/rotation/classes/hooks.ts +59 -0
- package/src/domain/rotation/classes/hunter.ts +156 -0
- package/src/domain/rotation/classes/index.ts +104 -0
- package/src/domain/rotation/classes/mage.ts +99 -0
- package/src/domain/rotation/classes/paladin.ts +296 -0
- package/src/domain/rotation/classes/priest.ts +94 -0
- package/src/domain/rotation/classes/pullOpener.ts +92 -0
- package/src/domain/rotation/classes/rogue.ts +69 -0
- package/src/domain/rotation/classes/shaman.ts +29 -0
- package/src/domain/rotation/classes/supportSpec.ts +94 -0
- package/src/domain/rotation/classes/warlock.ts +81 -0
- package/src/domain/rotation/classes/warrior.ts +402 -0
- package/src/domain/rotation/classify.ts +1381 -0
- package/src/domain/rotation/condMetricPicker.ts +379 -0
- package/src/domain/rotation/consumables.ts +242 -0
- package/src/domain/rotation/evaluate.ts +1115 -0
- package/src/domain/rotation/finisherLadder.ts +145 -0
- package/src/domain/rotation/invent.ts +938 -0
- package/src/domain/rotation/killOrder.ts +30 -0
- package/src/domain/rotation/openerForm.ts +22 -0
- package/src/domain/rotation/paladinBuffs.ts +568 -0
- package/src/domain/rotation/prebuff.ts +283 -0
- package/src/domain/rotation/raidRowTuning.ts +34 -0
- package/src/domain/rotation/rotation.ts +11 -0
- package/src/domain/rotation/rotationProfiles.ts +180 -0
- package/src/domain/rotation/rotationSuggestions.ts +851 -0
- package/src/domain/rotation/ruleAfterChain.ts +49 -0
- package/src/domain/rotation/spec.ts +70 -0
- package/src/domain/rotation/spellPicker.ts +140 -0
- package/src/domain/rotation/stand.ts +143 -0
- package/src/domain/rotation/types.ts +718 -0
- package/src/domain/run/battlegroundRun.ts +111 -0
- package/src/domain/run/canEnterContext.ts +32 -0
- package/src/domain/run/death.ts +561 -0
- package/src/domain/run/deathRecovery.ts +289 -0
- package/src/domain/run/duel.ts +141 -0
- package/src/domain/run/dungeonRun.ts +344 -0
- package/src/domain/run/floorRest.ts +159 -0
- package/src/domain/run/honor.ts +557 -0
- package/src/domain/run/honorWeek.ts +180 -0
- package/src/domain/run/whenMap.ts +977 -0
- package/src/domain/scriptdev/arathiHighlands.ts +445 -0
- package/src/domain/scriptdev/ashenvale.ts +635 -0
- package/src/domain/scriptdev/ashenvaleHelpers.ts +1215 -0
- package/src/domain/scriptdev/azshara.ts +892 -0
- package/src/domain/scriptdev/blackfathomDeeps.ts +212 -0
- package/src/domain/scriptdev/blackrockDepths.ts +1434 -0
- package/src/domain/scriptdev/blackrockSpire.ts +730 -0
- package/src/domain/scriptdev/blackwingLair.ts +521 -0
- package/src/domain/scriptdev/burningSteppes.ts +62 -0
- package/src/domain/scriptdev/classFilter.ts +43 -0
- package/src/domain/scriptdev/darkshore.ts +817 -0
- package/src/domain/scriptdev/darkshoreHelpers.ts +853 -0
- package/src/domain/scriptdev/deadmines.ts +331 -0
- package/src/domain/scriptdev/desolace.ts +1239 -0
- package/src/domain/scriptdev/direMaul.ts +859 -0
- package/src/domain/scriptdev/durotar.ts +532 -0
- package/src/domain/scriptdev/dustwallowMarsh.ts +758 -0
- package/src/domain/scriptdev/dustwallowMarshHelpers.ts +994 -0
- package/src/domain/scriptdev/easternPlaguelands.ts +21 -0
- package/src/domain/scriptdev/felwood.ts +1055 -0
- package/src/domain/scriptdev/feralas.ts +571 -0
- package/src/domain/scriptdev/feralasHelpers.ts +838 -0
- package/src/domain/scriptdev/gnomeregan.ts +466 -0
- package/src/domain/scriptdev/guards.ts +616 -0
- package/src/domain/scriptdev/hinterlands.ts +693 -0
- package/src/domain/scriptdev/host.ts +1134 -0
- package/src/domain/scriptdev/index.ts +123 -0
- package/src/domain/scriptdev/instanceRaids.ts +136 -0
- package/src/domain/scriptdev/itemScripts.ts +37 -0
- package/src/domain/scriptdev/lochModan.ts +283 -0
- package/src/domain/scriptdev/maraudon.ts +232 -0
- package/src/domain/scriptdev/moltenCore.ts +831 -0
- package/src/domain/scriptdev/moonglade.ts +659 -0
- package/src/domain/scriptdev/moongladeHelpers.ts +933 -0
- package/src/domain/scriptdev/naxxramas.ts +577 -0
- package/src/domain/scriptdev/naxxramasConstruct.ts +364 -0
- package/src/domain/scriptdev/naxxramasFrostwyrm.ts +378 -0
- package/src/domain/scriptdev/naxxramasMilitary.ts +276 -0
- package/src/domain/scriptdev/npcProfessions.ts +1025 -0
- package/src/domain/scriptdev/npcsSpecial.ts +1379 -0
- package/src/domain/scriptdev/onyxiasLair.ts +313 -0
- package/src/domain/scriptdev/orgrimmar.ts +147 -0
- package/src/domain/scriptdev/professionSpecConsumer.ts +481 -0
- package/src/domain/scriptdev/razorfenDowns.ts +468 -0
- package/src/domain/scriptdev/razorfenKraul.ts +410 -0
- package/src/domain/scriptdev/redridgeMountains.ts +163 -0
- package/src/domain/scriptdev/registry.ts +945 -0
- package/src/domain/scriptdev/ruinsOfAhnqiraj.ts +356 -0
- package/src/domain/scriptdev/scarletMonastery.ts +713 -0
- package/src/domain/scriptdev/scholomance.ts +682 -0
- package/src/domain/scriptdev/searingGorge.ts +295 -0
- package/src/domain/scriptdev/shadowfangKeep.ts +181 -0
- package/src/domain/scriptdev/silithus.ts +71 -0
- package/src/domain/scriptdev/silverpineForest.ts +662 -0
- package/src/domain/scriptdev/stonetalonMountains.ts +493 -0
- package/src/domain/scriptdev/stormwindCity.ts +1192 -0
- package/src/domain/scriptdev/stranglethornVale.ts +402 -0
- package/src/domain/scriptdev/stratholme.ts +650 -0
- package/src/domain/scriptdev/stratholmeScripts.ts +505 -0
- package/src/domain/scriptdev/sunkenTemple.ts +736 -0
- package/src/domain/scriptdev/swampOfSorrows.ts +22 -0
- package/src/domain/scriptdev/tanaris.ts +391 -0
- package/src/domain/scriptdev/tanarisHelpers.ts +661 -0
- package/src/domain/scriptdev/teldrassil.ts +143 -0
- package/src/domain/scriptdev/templeOfAhnqiraj.ts +1013 -0
- package/src/domain/scriptdev/theBarrens.ts +709 -0
- package/src/domain/scriptdev/theBarrensHelpers.ts +1026 -0
- package/src/domain/scriptdev/thousandNeedles.ts +426 -0
- package/src/domain/scriptdev/thousandNeedlesHelpers.ts +566 -0
- package/src/domain/scriptdev/tirisfalGlades.ts +533 -0
- package/src/domain/scriptdev/types.ts +1026 -0
- package/src/domain/scriptdev/uldaman.ts +437 -0
- package/src/domain/scriptdev/ungoroCrater.ts +549 -0
- package/src/domain/scriptdev/ungoroCraterHelpers.ts +1006 -0
- package/src/domain/scriptdev/wailingCaverns.ts +700 -0
- package/src/domain/scriptdev/warEffort.ts +371 -0
- package/src/domain/scriptdev/westernPlaguelands.ts +952 -0
- package/src/domain/scriptdev/westfall.ts +767 -0
- package/src/domain/scriptdev/wetlands.ts +660 -0
- package/src/domain/scriptdev/winterspring.ts +482 -0
- package/src/domain/scriptdev/winterspringHelpers.ts +801 -0
- package/src/domain/scriptdev/worldBosses.ts +605 -0
- package/src/domain/scriptdev/zulfarrak.ts +478 -0
- package/src/domain/scriptdev/zulgurub.ts +1152 -0
- package/src/domain/sim/dummySim.ts +408 -0
- package/src/domain/sim/targetDummy.ts +29 -0
- package/src/domain/social/guild.ts +148 -0
- package/src/domain/spells/areaAuraMembership.ts +93 -0
- package/src/domain/spells/breakableStunCc.ts +166 -0
- package/src/domain/spells/cancelAura.ts +80 -0
- package/src/domain/spells/diminishing.ts +167 -0
- package/src/domain/spells/dispel.ts +149 -0
- package/src/domain/spells/dispelMechanic.ts +105 -0
- package/src/domain/spells/equipSpells.ts +247 -0
- package/src/domain/spells/learnOnTargets.ts +260 -0
- package/src/domain/spells/mergeSchoolImmunityFromRaw.ts +66 -0
- package/src/domain/spells/resurrectSpell.ts +124 -0
- package/src/domain/spells/spellPushback.ts +39 -0
- package/src/domain/spells/spellReflect.ts +43 -0
- package/src/domain/spells/stealth.ts +183 -0
- package/src/domain/spells/totem.ts +394 -0
- package/src/domain/spells/worldCast.ts +187 -0
- package/src/domain/world/areaTriggerLocks.ts +177 -0
- package/src/domain/world/dungeonMusic.ts +108 -0
- package/src/domain/world/gameEvents.ts +119 -0
- package/src/domain/world/gameObjects.ts +1030 -0
- package/src/domain/world/goEventFire.ts +234 -0
- package/src/domain/world/goMoTransport.ts +74 -0
- package/src/domain/world/goTransport.ts +81 -0
- package/src/domain/world/hazards.ts +459 -0
- package/src/domain/world/openLock.ts +398 -0
- package/src/domain/world/pools.ts +470 -0
- package/src/domain/world/restArea.ts +37 -0
- package/src/domain/world/weather.ts +201 -0
- package/src/domain/zoneAmbience.mjs +87 -0
- package/src/domain/zoneMusic.mjs +62 -0
- package/src/domain/zoneMusicQueue.mjs +7 -0
- package/src/engine/combat/activeSeal.ts +39 -0
- package/src/engine/combat/aiTargetResolve.ts +64 -0
- package/src/engine/combat/aoeCast.ts +289 -0
- package/src/engine/combat/applyConsumeAura.ts +74 -0
- package/src/engine/combat/applyDemonicSacrifice.ts +70 -0
- package/src/engine/combat/applyDispelMechanic.ts +30 -0
- package/src/engine/combat/applyHealEffect.ts +301 -0
- package/src/engine/combat/applySchoolAbsorb.ts +114 -0
- package/src/engine/combat/applySpell.ts +3169 -0
- package/src/engine/combat/applySpellLate.ts +2026 -0
- package/src/engine/combat/applySpellLateBag.ts +144 -0
- package/src/engine/combat/areaAura.ts +283 -0
- package/src/engine/combat/attackTable.ts +508 -0
- package/src/engine/combat/battleRez.ts +87 -0
- package/src/engine/combat/castAction.ts +36 -0
- package/src/engine/combat/castTargetGates.ts +75 -0
- package/src/engine/combat/castableKit.ts +68 -0
- package/src/engine/combat/ccMirrorUpgrade.ts +39 -0
- package/src/engine/combat/chainFan.ts +210 -0
- package/src/engine/combat/channel.ts +423 -0
- package/src/engine/combat/chaseCloseness.ts +95 -0
- package/src/engine/combat/cmangosCastGates.ts +129 -0
- package/src/engine/combat/combatFlag.ts +77 -0
- package/src/engine/combat/combatGeometry.ts +1329 -0
- package/src/engine/combat/combustion.ts +68 -0
- package/src/engine/combat/context.ts +730 -0
- package/src/engine/combat/createSession.ts +1165 -0
- package/src/engine/combat/creatureLeash.ts +38 -0
- package/src/engine/combat/crowdControl.ts +1259 -0
- package/src/engine/combat/dispelDuty.ts +54 -0
- package/src/engine/combat/dispelReflect.ts +609 -0
- package/src/engine/combat/displaceFloor.ts +113 -0
- package/src/engine/combat/duelBounds.ts +47 -0
- package/src/engine/combat/equippedItemGate.ts +297 -0
- package/src/engine/combat/evadeLifecycle.ts +63 -0
- package/src/engine/combat/eventAi.ts +2220 -0
- package/src/engine/combat/facing.ts +74 -0
- package/src/engine/combat/fearFlee.ts +137 -0
- package/src/engine/combat/fighterFactory.ts +1144 -0
- package/src/engine/combat/forceDespawnAction.ts +51 -0
- package/src/engine/combat/formulas.ts +807 -0
- package/src/engine/combat/friendlyFan.ts +55 -0
- package/src/engine/combat/groundPoolTick.ts +210 -0
- package/src/engine/combat/hazards.ts +114 -0
- package/src/engine/combat/healTargets.ts +226 -0
- package/src/engine/combat/heartbeatResist.ts +49 -0
- package/src/engine/combat/hostileItemUse.ts +75 -0
- package/src/engine/combat/interruptAuras.ts +66 -0
- package/src/engine/combat/itemRescue.ts +49 -0
- package/src/engine/combat/itemUse.ts +260 -0
- package/src/engine/combat/kitById.ts +23 -0
- package/src/engine/combat/knockBack.ts +201 -0
- package/src/engine/combat/leap.ts +89 -0
- package/src/engine/combat/mitigation.ts +587 -0
- package/src/engine/combat/modTaunt.ts +43 -0
- package/src/engine/combat/motionClaim.ts +268 -0
- package/src/engine/combat/motionGate.ts +150 -0
- package/src/engine/combat/motionGenerator.ts +27 -0
- package/src/engine/combat/navSight.ts +138 -0
- package/src/engine/combat/perfSink.ts +28 -0
- package/src/engine/combat/periodicDue.ts +55 -0
- package/src/engine/combat/petAuras.ts +86 -0
- package/src/engine/combat/pickAction.ts +3449 -0
- package/src/engine/combat/powerForm.ts +735 -0
- package/src/engine/combat/powerPools.ts +49 -0
- package/src/engine/combat/predicates.ts +538 -0
- package/src/engine/combat/procsDamage.ts +1823 -0
- package/src/engine/combat/reactiveGates.ts +135 -0
- package/src/engine/combat/roles.ts +389 -0
- package/src/engine/combat/rotationSubject.ts +78 -0
- package/src/engine/combat/ruleAfter.ts +106 -0
- package/src/engine/combat/seedDisplayAuras.ts +203 -0
- package/src/engine/combat/seedOocEffects.ts +317 -0
- package/src/engine/combat/seedSchoolImmunities.ts +45 -0
- package/src/engine/combat/session-types.ts +458 -0
- package/src/engine/combat/sessionApi.ts +1785 -0
- package/src/engine/combat/sessionCharge.ts +124 -0
- package/src/engine/combat/sessionChase.ts +869 -0
- package/src/engine/combat/sessionDeaths.ts +469 -0
- package/src/engine/combat/sessionFocus.ts +506 -0
- package/src/engine/combat/sessionFollow.ts +167 -0
- package/src/engine/combat/sessionGeometry.ts +188 -0
- package/src/engine/combat/sessionHome.ts +75 -0
- package/src/engine/combat/sessionInject.ts +719 -0
- package/src/engine/combat/sessionMechanicMove.ts +555 -0
- package/src/engine/combat/sessionMotion.ts +1553 -0
- package/src/engine/combat/sessionMotionKit.ts +247 -0
- package/src/engine/combat/sessionMoveIntent.ts +49 -0
- package/src/engine/combat/sessionMoveOrder.ts +200 -0
- package/src/engine/combat/sessionPathTo.ts +657 -0
- package/src/engine/combat/sessionPools.ts +688 -0
- package/src/engine/combat/sessionSteer.ts +144 -0
- package/src/engine/combat/sessionStepBack.ts +151 -0
- package/src/engine/combat/sessionStepWrap.ts +116 -0
- package/src/engine/combat/sessionView.ts +442 -0
- package/src/engine/combat/simEffects.ts +32 -0
- package/src/engine/combat/simFacade.ts +620 -0
- package/src/engine/combat/simPump.ts +264 -0
- package/src/engine/combat/simSnapshot.ts +165 -0
- package/src/engine/combat/simThreadPool.ts +35 -0
- package/src/engine/combat/skeramImages.ts +57 -0
- package/src/engine/combat/slowUpdate.ts +178 -0
- package/src/engine/combat/snapToFloor.ts +42 -0
- package/src/engine/combat/speedAura.ts +29 -0
- package/src/engine/combat/spellReagents.ts +71 -0
- package/src/engine/combat/stealthDetect.ts +93 -0
- package/src/engine/combat/stepBackMotion.ts +171 -0
- package/src/engine/combat/stepSession.ts +3102 -0
- package/src/engine/combat/summonCast.ts +243 -0
- package/src/engine/combat/thaddiusPolarity.ts +97 -0
- package/src/engine/combat/threat.ts +388 -0
- package/src/engine/combat/threatOps.ts +272 -0
- package/src/engine/combat/tickWorkerBody.ts +211 -0
- package/src/engine/combat/totemAuras.ts +122 -0
- package/src/engine/combat/triggerPayload.ts +42 -0
- package/src/engine/combat/triggeredCompanion.ts +63 -0
- package/src/engine/combat/types.ts +1897 -0
- package/src/engine/combat/useObjectTrap.ts +140 -0
- package/src/engine/combat/walkSurface.ts +54 -0
- package/src/engine/combat/weapon.ts +1248 -0
- package/src/engine/combat/worldFrame.ts +43 -0
- package/src/engine/combat.solo-golden.json +2242 -0
- package/src/engine/combat.ts +84 -0
- package/src/engine/core/detMath.ts +289 -0
- package/src/engine/core/events.ts +357 -0
- package/src/engine/core/rng.ts +36 -0
- package/src/engine/game/actionBars.ts +124 -0
- package/src/engine/game/activateObjectFromSpell.ts +320 -0
- package/src/engine/game/applyActiveObjectFromDbScript.ts +98 -0
- package/src/engine/game/applyDeathAndSpellScripts.ts +268 -0
- package/src/engine/game/applyDoorFromDbScript.ts +388 -0
- package/src/engine/game/applyEscortFromDbScript.ts +290 -0
- package/src/engine/game/applyGoSpellcasterCast.ts +40 -0
- package/src/engine/game/applyHoverFromDbScript.ts +110 -0
- package/src/engine/game/applyOocResurrect.ts +71 -0
- package/src/engine/game/applySpellDurability.ts +115 -0
- package/src/engine/game/applyTailFromDbScript.ts +478 -0
- package/src/engine/game/applyTerminateFromDbScript.ts +95 -0
- package/src/engine/game/auctionMail.ts +269 -0
- package/src/engine/game/bagOverflow.ts +130 -0
- package/src/engine/game/bank.ts +110 -0
- package/src/engine/game/barAutofill.ts +26 -0
- package/src/engine/game/battleground.ts +369 -0
- package/src/engine/game/combatEnemySpec.ts +216 -0
- package/src/engine/game/combatObjectTraps.ts +167 -0
- package/src/engine/game/combatSeed.ts +320 -0
- package/src/engine/game/combatSession.ts +3241 -0
- package/src/engine/game/combatSessionClock.ts +62 -0
- package/src/engine/game/companionQuestActions.ts +242 -0
- package/src/engine/game/companionTraining.ts +40 -0
- package/src/engine/game/consumables.ts +624 -0
- package/src/engine/game/context.ts +53 -0
- package/src/engine/game/createHealthstone.ts +45 -0
- package/src/engine/game/deathFlow.ts +127 -0
- package/src/engine/game/devGrant.ts +117 -0
- package/src/engine/game/dynamicObject.ts +365 -0
- package/src/engine/game/enchantItem.ts +177 -0
- package/src/engine/game/equipmentHelper.ts +806 -0
- package/src/engine/game/factionState.ts +108 -0
- package/src/engine/game/garmentsOoc.ts +69 -0
- package/src/engine/game/globalActionBar.ts +179 -0
- package/src/engine/game/goInteractQuestCredit.ts +51 -0
- package/src/engine/game/goMoTransportUse.ts +61 -0
- package/src/engine/game/goTransportUse.ts +60 -0
- package/src/engine/game/healthstoneUpkeep.ts +59 -0
- package/src/engine/game/killSkin.ts +124 -0
- package/src/engine/game/learnFromItem.ts +118 -0
- package/src/engine/game/loadReconcile.ts +551 -0
- package/src/engine/game/loot.ts +294 -0
- package/src/engine/game/macros.ts +125 -0
- package/src/engine/game/mail.ts +293 -0
- package/src/engine/game/meetingStoneQueue.ts +75 -0
- package/src/engine/game/meetingStoneUse.ts +54 -0
- package/src/engine/game/newGameState.ts +363 -0
- package/src/engine/game/oocAuraInterrupt.ts +92 -0
- package/src/engine/game/oocCast.ts +241 -0
- package/src/engine/game/oocCastEffects.ts +803 -0
- package/src/engine/game/oocCastMethods.ts +1077 -0
- package/src/engine/game/openLockFromSpell.ts +174 -0
- package/src/engine/game/outdoorPvp.ts +187 -0
- package/src/engine/game/outfitter.ts +644 -0
- package/src/engine/game/paladinBoard.ts +393 -0
- package/src/engine/game/partyAuras.ts +121 -0
- package/src/engine/game/persistCombatAuras.ts +91 -0
- package/src/engine/game/pets.ts +459 -0
- package/src/engine/game/prePullHealthstones.ts +154 -0
- package/src/engine/game/professions.ts +2227 -0
- package/src/engine/game/pruneStaleRuntime.ts +39 -0
- package/src/engine/game/questFightCredit.ts +36 -0
- package/src/engine/game/questItemOnCorpse.ts +166 -0
- package/src/engine/game/questItemOnCreature.ts +103 -0
- package/src/engine/game/questLog.ts +879 -0
- package/src/engine/game/questSpellComplete.ts +21 -0
- package/src/engine/game/questTurnIn.ts +598 -0
- package/src/engine/game/raidParty.ts +32 -0
- package/src/engine/game/reagentBuyIn.ts +39 -0
- package/src/engine/game/regenRest.ts +186 -0
- package/src/engine/game/rotation.ts +425 -0
- package/src/engine/game/runFullDungeon.ts +611 -0
- package/src/engine/game/runSupply.ts +80 -0
- package/src/engine/game/sanitizeDriftedItems.ts +135 -0
- package/src/engine/game/scriptDevGoUse.ts +397 -0
- package/src/engine/game/scriptDevInnkeeper.ts +150 -0
- package/src/engine/game/scriptDevProfessionSpec.ts +99 -0
- package/src/engine/game/sendEventFromSpell.ts +87 -0
- package/src/engine/game/sortContainers.ts +85 -0
- package/src/engine/game/spellReputation.ts +69 -0
- package/src/engine/game/squad/squadDungeonSeating.ts +197 -0
- package/src/engine/game/squadDungeon.ts +4222 -0
- package/src/engine/game/squadQuestShare.ts +260 -0
- package/src/engine/game/summonObjectSlot.ts +69 -0
- package/src/engine/game/summonObjectWild.ts +73 -0
- package/src/engine/game/summoningRitualUse.ts +141 -0
- package/src/engine/game/talents.ts +356 -0
- package/src/engine/game/tamingRodUse.ts +66 -0
- package/src/engine/game/tempSpawnCreature.ts +136 -0
- package/src/engine/game/tickDungeonPatrolScripts.ts +205 -0
- package/src/engine/game/tickTimedQuests.ts +28 -0
- package/src/engine/game/trade.ts +586 -0
- package/src/engine/game/travel.ts +1155 -0
- package/src/engine/game/types.ts +1855 -0
- package/src/engine/game/vendorOffers.ts +244 -0
- package/src/engine/game/weaponImbueItem.ts +281 -0
- package/src/engine/game/worldSession.ts +183 -0
- package/src/engine/game/worldState.ts +166 -0
- package/src/engine/game.ts +968 -0
- package/src/engine/spells/GAP.md +67 -0
- package/src/engine/spells/absorbs.ts +376 -0
- package/src/engine/spells/addTargetTrigger.ts +53 -0
- package/src/engine/spells/auraPerSecondCost.ts +50 -0
- package/src/engine/spells/auraStacking.ts +497 -0
- package/src/engine/spells/cmangos-special-cases-combustion.ts +13 -0
- package/src/engine/spells/cmangos-special-cases-s18.ts +445 -0
- package/src/engine/spells/cmangos-special-cases-s19.ts +324 -0
- package/src/engine/spells/cmangos-special-cases-s20.ts +385 -0
- package/src/engine/spells/cmangos-special-cases-s21.ts +116 -0
- package/src/engine/spells/cmangos-special-cases-s22.ts +24 -0
- package/src/engine/spells/cmangos-special-cases-s23.ts +52 -0
- package/src/engine/spells/cmangos-special-cases.ts +1570 -0
- package/src/engine/spells/conditions.ts +718 -0
- package/src/engine/spells/effects.ts +203 -0
- package/src/engine/spells/fixtures/oracle-effects-lock9a.json +1 -0
- package/src/engine/spells/immunity.ts +942 -0
- package/src/engine/spells/intentEffects.ts +351 -0
- package/src/engine/spells/interpreter/GAPS.md +21 -0
- package/src/engine/spells/interpreter/amount.ts +109 -0
- package/src/engine/spells/interpreter/class-scripts-kit.ts +478 -0
- package/src/engine/spells/interpreter/diff.ts +246 -0
- package/src/engine/spells/interpreter/duration.ts +90 -0
- package/src/engine/spells/interpreter/form-attrs.json +1 -0
- package/src/engine/spells/interpreter/form-attrs.ts +95 -0
- package/src/engine/spells/interpreter/handlers/aura-remove.ts +113 -0
- package/src/engine/spells/interpreter/handlers/auras-control.ts +1547 -0
- package/src/engine/spells/interpreter/handlers/auras-core.ts +1583 -0
- package/src/engine/spells/interpreter/handlers/auras-misc.ts +1774 -0
- package/src/engine/spells/interpreter/handlers/effect-disenchant.ts +17 -0
- package/src/engine/spells/interpreter/handlers/effect-skinning.ts +20 -0
- package/src/engine/spells/interpreter/handlers/effects-action-utility.ts +1455 -0
- package/src/engine/spells/interpreter/handlers/effects-core.ts +432 -0
- package/src/engine/spells/interpreter/handlers/effects-remainder.ts +105 -0
- package/src/engine/spells/interpreter/handlers/effects-summon-item.ts +687 -0
- package/src/engine/spells/interpreter/handlers/mod-increase-energy-percent.ts +36 -0
- package/src/engine/spells/interpreter/handlers/mod-increase-energy.ts +36 -0
- package/src/engine/spells/interpreter/handlers/periodic-trigger-zero.ts +327 -0
- package/src/engine/spells/interpreter/handlers/procs.ts +131 -0
- package/src/engine/spells/interpreter/handlers/registry.ts +975 -0
- package/src/engine/spells/interpreter/handlers/shared.ts +667 -0
- package/src/engine/spells/interpreter/handlers.ts +9 -0
- package/src/engine/spells/interpreter/hunter-kit.ts +202 -0
- package/src/engine/spells/interpreter/index.ts +525 -0
- package/src/engine/spells/interpreter/item-triggers.ts +1121 -0
- package/src/engine/spells/interpreter/lift-consume-energy.ts +37 -0
- package/src/engine/spells/interpreter/mage-portals.ts +37 -0
- package/src/engine/spells/interpreter/materialize-charm.ts +88 -0
- package/src/engine/spells/interpreter/materialize-dispel-mechanic.ts +25 -0
- package/src/engine/spells/interpreter/materialize-rating-buffs.ts +81 -0
- package/src/engine/spells/interpreter/materialize-speed.ts +109 -0
- package/src/engine/spells/interpreter/materialize-spell-magnet.ts +22 -0
- package/src/engine/spells/interpreter/opcodes.ts +789 -0
- package/src/engine/spells/interpreter/paladin-kit.ts +95 -0
- package/src/engine/spells/interpreter/paladin-seals.ts +499 -0
- package/src/engine/spells/interpreter/priest-warlock-kit.ts +135 -0
- package/src/engine/spells/interpreter/proc.ts +443 -0
- package/src/engine/spells/interpreter/registry/helpers.ts +16 -0
- package/src/engine/spells/interpreter/registry/index.ts +216 -0
- package/src/engine/spells/interpreter/registry/packs/class-abilities.ts +304 -0
- package/src/engine/spells/interpreter/registry/packs/dire-maul.ts +44 -0
- package/src/engine/spells/interpreter/registry/packs/dummy-script-tail.ts +1065 -0
- package/src/engine/spells/interpreter/registry/packs/ex-wave-m.ts +70 -0
- package/src/engine/spells/interpreter/registry/packs/life-tap.ts +107 -0
- package/src/engine/spells/interpreter/registry/packs/paladin.ts +246 -0
- package/src/engine/spells/interpreter/registry/packs/raid-script-summons.ts +26 -0
- package/src/engine/spells/interpreter/registry/packs/raid-threat-wipe.ts +22 -0
- package/src/engine/spells/interpreter/registry/packs/shaman.ts +214 -0
- package/src/engine/spells/interpreter/registry/packs/si4-dummy-generic-a.ts +269 -0
- package/src/engine/spells/interpreter/registry/packs/si4-dummy-generic-b.ts +370 -0
- package/src/engine/spells/interpreter/registry/packs/si4-dummy-generic-c.ts +172 -0
- package/src/engine/spells/interpreter/registry/packs/si4-dummy-hunter.ts +60 -0
- package/src/engine/spells/interpreter/registry/packs/si4-dummy-warrior.ts +31 -0
- package/src/engine/spells/interpreter/registry/packs/si4-script-generic-a.ts +114 -0
- package/src/engine/spells/interpreter/registry/packs/si4-script-generic-b.ts +249 -0
- package/src/engine/spells/interpreter/registry/packs/si4-script-generic-c.ts +233 -0
- package/src/engine/spells/interpreter/registry/types.ts +48 -0
- package/src/engine/spells/interpreter/talent-scripted.ts +329 -0
- package/src/engine/spells/interpreter/targeting.ts +90 -0
- package/src/engine/spells/interpreter/types-intent.ts +1501 -0
- package/src/engine/spells/interpreter/types.ts +419 -0
- package/src/engine/spells/interpreter/warrior-druid-kit.ts +314 -0
- package/src/engine/spells/interpreter/weapon-imbue-kit.ts +384 -0
- package/src/engine/spells/interrupt.ts +217 -0
- package/src/engine/spells/meleeAttackReset.ts +60 -0
- package/src/engine/spells/oocTriggerSpell.ts +49 -0
- package/src/engine/spells/overrideClassScripts.ts +319 -0
- package/src/engine/spells/parryHaste.ts +20 -0
- package/src/engine/spells/procs.ts +300 -0
- package/src/engine/spells/recovery.ts +203 -0
- package/src/engine/spells/scriptTargetDest.ts +76 -0
- package/src/engine/spells/scriptTargets.ts +85 -0
- package/src/engine/spells/singleTargetAura.ts +82 -0
- package/src/engine/spells/specialCasePayloads.ts +57 -0
- package/src/engine/spells/spellAttributes.ts +249 -0
- package/src/engine/spells/spellBonus.ts +143 -0
- package/src/engine/spells/spellModIntents.ts +419 -0
- package/src/engine/spells/spellMods.ts +283 -0
- package/src/engine/spells/spellRadius.ts +15 -0
- package/src/engine/spells/trapObjects.ts +26 -0
- package/src/json.d.ts +7 -0
- package/src/persistence/memoryRepository.ts +23 -0
- package/src/persistence/saveBackups.ts +162 -0
- package/src/persistence/saveFile.ts +68 -0
- package/src/persistence/saveRepository.ts +11 -0
- package/src/persistence/saveShape.ts +668 -0
- package/src/progression/leveling.ts +89 -0
- package/src/progression/rest.ts +1434 -0
- package/src/progression/training.ts +226 -0
- package/src/progression/xpGain.ts +369 -0
- package/src/quests/quests.ts +1580 -0
- package/src/world/aoePull.ts +198 -0
- package/src/world/areaTableDbc.ts +39 -0
- package/src/world/areaTableMapIdPairs.ts +141 -0
- package/src/world/bakeSlug.ts +43 -0
- package/src/world/continuousDungeon.ts +1250 -0
- package/src/world/dungeonBakeProjection.ts +190 -0
- package/src/world/dungeonMapDensity.ts +342 -0
- package/src/world/dungeonMapProjection.ts +135 -0
- package/src/world/dungeonNav.ts +904 -0
- package/src/world/dungeonNpcSim.ts +147 -0
- package/src/world/dungeonObjectives.ts +234 -0
- package/src/world/dungeonPreset.ts +35 -0
- package/src/world/dungeonRoute.ts +311 -0
- package/src/world/dungeonRouteGeometry.ts +732 -0
- package/src/world/dungeonRouteOrder.ts +1037 -0
- package/src/world/dungeonWingRooms.ts +426 -0
- package/src/world/escort.ts +296 -0
- package/src/world/goPoolRoll.ts +75 -0
- package/src/world/instanceObjects.ts +785 -0
- package/src/world/instances.ts +1572 -0
- package/src/world/meetingStones.ts +56 -0
- package/src/world/navmeshFloors.ts +145 -0
- package/src/world/nearGrid.ts +167 -0
- package/src/world/packBudget.ts +613 -0
- package/src/world/rareRoll.ts +335 -0
- package/src/world/routeAuthoring.ts +132 -0
- package/src/world/routeEdit.ts +209 -0
- package/src/world/world.ts +812 -0
- package/src/world/zoneHazards.ts +47 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
// Zul'Gurub (map 309) — InstanceDef graph. All eight kits come from the bake via creature_spell_list;
|
|
2
|
+
// Venoxis, Jeklik and Arlokk also have IRs, which own their schedule and suppress the list merge.
|
|
3
|
+
|
|
4
|
+
import type { EncounterDef, InstanceDef } from '../schema.ts';
|
|
5
|
+
import {
|
|
6
|
+
entranceForInstance,
|
|
7
|
+
interleaveTrashAndBosses,
|
|
8
|
+
surveyBossPos,
|
|
9
|
+
trashFromClusters,
|
|
10
|
+
} from './pack-from-clusters.ts';
|
|
11
|
+
|
|
12
|
+
const ENTRY = {
|
|
13
|
+
venoxis: 14507,
|
|
14
|
+
jeklik: 14517,
|
|
15
|
+
marli: 14510,
|
|
16
|
+
mandokir: 11382,
|
|
17
|
+
thekal: 14509,
|
|
18
|
+
arlokk: 14515,
|
|
19
|
+
jindo: 11380,
|
|
20
|
+
hakkar: 14834,
|
|
21
|
+
} as const;
|
|
22
|
+
|
|
23
|
+
// Arlokk has no `creature` spawn row — the Gong of Bethekk summons her, and these are the summon
|
|
24
|
+
// coordinates: gameobject_template 180526 data2 = event 9066, dbscripts_on_event 9066 TEMP_SUMMON.
|
|
25
|
+
const ARLOKK_SUMMON_POS = { x: -11540.7, y: -1627.71, z: 41.27 };
|
|
26
|
+
|
|
27
|
+
// Jeklik fights from a LEDGE the navmesh does not connect, so CMaNGOS flies her off it on aggro.
|
|
28
|
+
// This is the cave floor the party stands on to pull her: 6.05 yd from her spawn in plan.
|
|
29
|
+
const JEKLIK_APPROACH_POS = { x: -12287.29, y: -1384.0, z: 133.84 };
|
|
30
|
+
|
|
31
|
+
// ...and this is where her BODY stands. Left on the ledge she was visible-only, 11 yd straight up
|
|
32
|
+
// with no path. 3.48 yd from the point the C++ flies her to. Cite: boss_jeklik.cpp:124-127.
|
|
33
|
+
const JEKLIK_GROUND_POS = { x: -12284.85, y: -1394.03, z: 131.58 };
|
|
34
|
+
|
|
35
|
+
/** Her `creature` row (dungeonSpawns map 309) and the floor pose the encounter uses. */
|
|
36
|
+
export const ZG_JEKLIK_GROUND = {
|
|
37
|
+
bossEntry: ENTRY.jeklik,
|
|
38
|
+
spawnGuid: 3090595,
|
|
39
|
+
pos: JEKLIK_GROUND_POS,
|
|
40
|
+
} as const;
|
|
41
|
+
|
|
42
|
+
// Mandokir is NOT summoned by a kill — he stands on his balcony and RUNS DOWN when the Vilebranch
|
|
43
|
+
// Speaker 11391 dies, via ACID row 1139104 SET_INST_DATA. Cite: zulgurub.cpp:139-147.
|
|
44
|
+
export const ZG_MANDOKIR_DOWNSTAIRS = {
|
|
45
|
+
/** zulgurub.h:17 TYPE_OHGAN. */
|
|
46
|
+
field: 5,
|
|
47
|
+
/** sc_instance.h SPECIAL. */
|
|
48
|
+
special: 4,
|
|
49
|
+
bossEntry: 11382,
|
|
50
|
+
/** dungeonSpawns map 309 - his one `creature` row. */
|
|
51
|
+
spawnGuid: 3090529,
|
|
52
|
+
speakerEntry: 11391,
|
|
53
|
+
/** zulgurub.h:45 aMandokirDownstairsPos. */
|
|
54
|
+
pos: { x: -12196.3, y: -1948.37, z: 130.31 },
|
|
55
|
+
} as const;
|
|
56
|
+
|
|
57
|
+
/** True once the Speaker's death has written TYPE_OHGAN = SPECIAL on this run. */
|
|
58
|
+
export function mandokirCalledDownstairs(
|
|
59
|
+
scriptInstanceData: Readonly<Record<number, number>> | undefined,
|
|
60
|
+
): boolean {
|
|
61
|
+
return (scriptInstanceData?.[ZG_MANDOKIR_DOWNSTAIRS.field] ?? 0) === ZG_MANDOKIR_DOWNSTAIRS.special;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export const ZUL_GURUB_STRIP = new Set<number>(Object.values(ENTRY));
|
|
65
|
+
|
|
66
|
+
function bossPos(entry: number): { x: number; y: number; z?: number } {
|
|
67
|
+
const p = surveyBossPos(309, entry);
|
|
68
|
+
if (!p) throw new Error(`zul-gurub: missing survey boss pos for entry ${entry}`);
|
|
69
|
+
return p.z != null ? { x: p.x, y: p.y, z: p.z } : { x: p.x, y: p.y };
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function boss(id: string, name: string, creatureEntry: number, intro: string): EncounterDef {
|
|
73
|
+
return { id, name, kind: 'boss', creatureEntry, intro };
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function buildEncounters(): EncounterDef[] {
|
|
77
|
+
const entrance = entranceForInstance('zul-gurub');
|
|
78
|
+
if (!entrance) throw new Error('zul-gurub: missing areatrigger entrance');
|
|
79
|
+
const trash = trashFromClusters({ mapId: 309, stripEntries: ZUL_GURUB_STRIP, entrance });
|
|
80
|
+
return interleaveTrashAndBosses(
|
|
81
|
+
trash,
|
|
82
|
+
[
|
|
83
|
+
{
|
|
84
|
+
encounter: boss('high-priestess-jeklik', 'High Priestess Jeklik', ENTRY.jeklik,
|
|
85
|
+
'The bat priestess fights from the air until half health, then lands.'),
|
|
86
|
+
pos: JEKLIK_APPROACH_POS,
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
encounter: boss('high-priest-venoxis', 'High Priest Venoxis', ENTRY.venoxis,
|
|
90
|
+
'A troll priest until 50 %, then a serpent that trades healing for poison.'),
|
|
91
|
+
pos: bossPos(ENTRY.venoxis),
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
encounter: boss('high-priestess-marli', "High Priestess Mar'li", ENTRY.marli,
|
|
95
|
+
'Spider eggs hatch across the platform while she casts.'),
|
|
96
|
+
pos: bossPos(ENTRY.marli),
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
encounter: boss('bloodlord-mandokir', 'Bloodlord Mandokir', ENTRY.mandokir,
|
|
100
|
+
'Mandokir and his raptor Ohgan - he watches one player and punishes them.'),
|
|
101
|
+
pos: bossPos(ENTRY.mandokir),
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
encounter: boss('high-priest-thekal', 'High Priest Thekal', ENTRY.thekal,
|
|
105
|
+
"Thekal fights with Zealots Lor'Khan and Zath; all three must fall together."),
|
|
106
|
+
pos: bossPos(ENTRY.thekal),
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
encounter: boss('high-priestess-arlokk', "High Priestess Arlokk", ENTRY.arlokk,
|
|
110
|
+
'She toggles between troll and panther on a clock while her prowlers stalk the pit.'),
|
|
111
|
+
pos: ARLOKK_SUMMON_POS,
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
encounter: boss('jindo-the-hexxer', "Jin'do the Hexxer", ENTRY.jindo,
|
|
115
|
+
'Jin\'do hexes and shackles; his brittle skeletons keep the raid busy.'),
|
|
116
|
+
pos: bossPos(ENTRY.jindo),
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
encounter: boss('hakkar', 'Hakkar', ENTRY.hakkar,
|
|
120
|
+
'The Soulflayer. Every high priest left alive feeds him.'),
|
|
121
|
+
pos: bossPos(ENTRY.hakkar),
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
entrance,
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export const ZUL_GURUB: InstanceDef = {
|
|
129
|
+
id: 'zul-gurub',
|
|
130
|
+
mapId: 309,
|
|
131
|
+
name: "Zul'Gurub",
|
|
132
|
+
portalZone: 'stranglethorn',
|
|
133
|
+
// areatrigger_teleport 3928: level 50, no quest or item — ZG has no attunement.
|
|
134
|
+
entranceTriggerId: 3928,
|
|
135
|
+
minLevel: 50,
|
|
136
|
+
// instance_template 309 maxPlayers = 20, reset_delay = 3 days. Cite: mangos.sql:2545-2577.
|
|
137
|
+
maxPlayers: 20,
|
|
138
|
+
levelRange: [58, 63],
|
|
139
|
+
lockoutMs: 3 * 24 * 60 * 60 * 1000,
|
|
140
|
+
description: '',
|
|
141
|
+
encounters: buildEncounters(),
|
|
142
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// Instanced-dungeon content merged into the committed bundle at boot by `withDungeons()`. Creatures,
|
|
2
|
+
// items, loot and quests for real dungeons come from the bake, not from placeholders here.
|
|
3
|
+
|
|
4
|
+
import type {
|
|
5
|
+
DataBundle, CreatureDef, ItemDef, LootTableDef, QuestDef, SpellDef, InstanceDef,
|
|
6
|
+
} from './schema.ts';
|
|
7
|
+
import { DUNGEON_INSTANCES } from './dungeons/index.ts';
|
|
8
|
+
|
|
9
|
+
export interface DungeonContent {
|
|
10
|
+
instances: InstanceDef[];
|
|
11
|
+
/** @deprecated Empty — dungeon creatures are in the bake. Kept for API stability. */
|
|
12
|
+
creatures: CreatureDef[];
|
|
13
|
+
/** @deprecated Empty — dungeon items are in the bake. */
|
|
14
|
+
items: ItemDef[];
|
|
15
|
+
/** @deprecated Empty — dungeon loot is in loot-data.json. */
|
|
16
|
+
loot: LootTableDef[];
|
|
17
|
+
/** @deprecated Empty — dungeon quests are in the bake. */
|
|
18
|
+
quests: QuestDef[];
|
|
19
|
+
/** @deprecated Empty — boss spells are in spell-data / creature.spells. */
|
|
20
|
+
spells: SpellDef[];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/** Registry instances only; no synthetic creatures/items/spells/quests. */
|
|
24
|
+
export const DUNGEON_CONTENT: DungeonContent = {
|
|
25
|
+
instances: DUNGEON_INSTANCES,
|
|
26
|
+
creatures: [],
|
|
27
|
+
items: [],
|
|
28
|
+
loot: [],
|
|
29
|
+
quests: [],
|
|
30
|
+
spells: [],
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
// Merge authored dungeon instance graphs into a data bundle, called at boot before the DataStore is
|
|
34
|
+
// built. Does not re-inject placeholder creatures — real dungeon NPCs already live in the bake.
|
|
35
|
+
export function withDungeons(b: DataBundle): DataBundle {
|
|
36
|
+
return {
|
|
37
|
+
...b,
|
|
38
|
+
instances: [...(b.instances ?? []), ...DUNGEON_INSTANCES],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { DUNGEON_INSTANCES } from './dungeons/index.ts';
|
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
// Hand-authored stand-in dataset so the engine and UI are playable before the ETL exists. Roughly
|
|
2
|
+
// classic-1.12-shaped but NOT authoritative; some reqLevels are lowered into the 1-6 MVP band.
|
|
3
|
+
|
|
4
|
+
import type { DataBundle } from './schema.ts';
|
|
5
|
+
import { RACE, CLASS } from './schema.ts';
|
|
6
|
+
|
|
7
|
+
const H = RACE.HUMAN;
|
|
8
|
+
const W = CLASS.WARRIOR;
|
|
9
|
+
const M = CLASS.MAGE;
|
|
10
|
+
|
|
11
|
+
export const FIXTURE_BUNDLE: DataBundle = {
|
|
12
|
+
spells: [
|
|
13
|
+
// Give new active fixture abilities an `icon`, mirroring the real bake. No longer load-bearing
|
|
14
|
+
// for hidden-spell detection, but the UI still renders a question mark without one.
|
|
15
|
+
{
|
|
16
|
+
id: 133, name: 'Fireball', rank: 1, school: 'fire', powerType: 'mana', cost: 30,
|
|
17
|
+
castTimeMs: 1500, cooldownMs: 0, gcdMs: 1500, rangeMax: 30, reqLevel: 1, role: 'nuke',
|
|
18
|
+
effects: [{ kind: 'direct_damage', school: 'fire', min: 14, max: 22 }], icon: 'spell_fire_flamebolt',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: 168, name: 'Frost Armor', rank: 1, school: 'frost', powerType: 'mana', cost: 25,
|
|
22
|
+
castTimeMs: 0, cooldownMs: 0, gcdMs: 1500, rangeMax: 0, reqLevel: 1, role: 'buff',
|
|
23
|
+
outOfCombatOnly: true,
|
|
24
|
+
effects: [{ kind: 'buff', mod: 'armor', amount: 30, durationMs: 1_800_000 }],
|
|
25
|
+
},
|
|
26
|
+
// Synthetic elixir buff spell for fixture tests of useBuff consumables (correct duration from DB model).
|
|
27
|
+
{
|
|
28
|
+
id: 9100001, name: "Elixir of Lion's Strength", rank: 1, school: 'physical', powerType: 'mana', cost: 0,
|
|
29
|
+
castTimeMs: 0, cooldownMs: 0, gcdMs: 0, rangeMax: 0, reqLevel: 1, role: 'buff',
|
|
30
|
+
outOfCombatOnly: true,
|
|
31
|
+
effects: [{ kind: 'buff', mod: 'strength', amount: 4, durationMs: 3600_000 }],
|
|
32
|
+
icon: 'inv_potion_56',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
id: 5504, name: 'Conjure Water', rank: 1, school: 'arcane', powerType: 'mana', cost: 30,
|
|
36
|
+
castTimeMs: 3000, cooldownMs: 0, gcdMs: 1500, rangeMax: 0, reqLevel: 1, role: 'conjure',
|
|
37
|
+
outOfCombatOnly: true, effects: [{ kind: 'conjure', item: 5350, count: 2 }],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
id: 587, name: 'Conjure Food', rank: 1, school: 'arcane', powerType: 'mana', cost: 30,
|
|
41
|
+
castTimeMs: 3000, cooldownMs: 0, gcdMs: 1500, rangeMax: 0, reqLevel: 1, role: 'conjure',
|
|
42
|
+
outOfCombatOnly: true, effects: [{ kind: 'conjure', item: 5349, count: 2 }],
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 116, name: 'Frostbolt', rank: 1, school: 'frost', powerType: 'mana', cost: 25,
|
|
46
|
+
castTimeMs: 1500, cooldownMs: 0, gcdMs: 1500, rangeMax: 30, reqLevel: 4, role: 'nuke',
|
|
47
|
+
effects: [{ kind: 'direct_damage', school: 'frost', min: 18, max: 20 }], icon: 'spell_frost_frostbolt02',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
id: 2136, name: 'Fire Blast', rank: 1, school: 'fire', powerType: 'mana', cost: 40,
|
|
51
|
+
castTimeMs: 0, cooldownMs: 8000, gcdMs: 1500, rangeMax: 20, reqLevel: 6, role: 'instant_nuke',
|
|
52
|
+
effects: [{ kind: 'direct_damage', school: 'fire', min: 27, max: 35 }], icon: 'spell_fire_fireball',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
// Real Frost Nova is learned at 10; lowered to 6 so the MVP band can enjoy it.
|
|
56
|
+
id: 122, name: 'Frost Nova', rank: 1, school: 'frost', powerType: 'mana', cost: 55,
|
|
57
|
+
castTimeMs: 0, cooldownMs: 25000, gcdMs: 1500, rangeMax: 0, reqLevel: 6, role: 'control',
|
|
58
|
+
effects: [
|
|
59
|
+
{ kind: 'root', durationMs: 8000 },
|
|
60
|
+
{ kind: 'direct_damage', school: 'frost', min: 19, max: 21 },
|
|
61
|
+
], icon: 'spell_frost_freezingbreath',
|
|
62
|
+
},
|
|
63
|
+
// --- Warrior -----------------------------------------------------------
|
|
64
|
+
{
|
|
65
|
+
id: 78, name: 'Heroic Strike', rank: 1, school: 'physical', powerType: 'rage', cost: 15,
|
|
66
|
+
castTimeMs: 0, cooldownMs: 0, gcdMs: 1500, rangeMax: 5, reqLevel: 1, role: 'strike',
|
|
67
|
+
strikeBonus: 11, effects: [],
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
id: 100, name: 'Charge', rank: 1, school: 'physical', powerType: 'rage', cost: 0,
|
|
71
|
+
castTimeMs: 0, cooldownMs: 15000, gcdMs: 1500, rangeMax: 25, reqLevel: 1, role: 'charge',
|
|
72
|
+
rageGenerated: 15, effects: [{ kind: 'direct_damage', school: 'physical', min: 3, max: 5 }], icon: 'ability_warrior_charge',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: 6673, name: 'Battle Shout', rank: 1, school: 'physical', powerType: 'rage', cost: 10,
|
|
76
|
+
castTimeMs: 0, cooldownMs: 0, gcdMs: 1500, rangeMax: 0, reqLevel: 1, role: 'buff',
|
|
77
|
+
effects: [{ kind: 'buff', mod: 'attack_power', amount: 30, durationMs: 120000, applyTo: 'party' }],
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: 772, name: 'Rend', rank: 1, school: 'physical', powerType: 'rage', cost: 10,
|
|
81
|
+
castTimeMs: 0, cooldownMs: 0, gcdMs: 1500, rangeMax: 5, reqLevel: 4, role: 'dot',
|
|
82
|
+
effects: [{ kind: 'dot', school: 'physical', min: 4, max: 4, durationMs: 21000, tickMs: 3000 }],
|
|
83
|
+
},
|
|
84
|
+
// A passive (Block): never castable, must be hidden from the spellbook/action bars.
|
|
85
|
+
{
|
|
86
|
+
id: 107, name: 'Block', rank: 0, school: 'physical', powerType: 'rage', cost: 0,
|
|
87
|
+
castTimeMs: 0, cooldownMs: 0, gcdMs: 0, rangeMax: 0, reqLevel: 1, passive: true, effects: [],
|
|
88
|
+
},
|
|
89
|
+
// Weapon proficiency (passive): trained at weapon masters; grants combat skill via combatSkillMeta.
|
|
90
|
+
{
|
|
91
|
+
id: 200, name: 'Polearms', rank: 0, school: 'physical', powerType: 'mana', cost: 0,
|
|
92
|
+
castTimeMs: 0, cooldownMs: 0, gcdMs: 0, rangeMax: 0, reqLevel: 1, passive: true, effects: [],
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: 201, name: 'One-Handed Swords', rank: 0, school: 'physical', powerType: 'mana', cost: 0,
|
|
96
|
+
castTimeMs: 0, cooldownMs: 0, gcdMs: 0, rangeMax: 0, reqLevel: 1, passive: true, effects: [],
|
|
97
|
+
},
|
|
98
|
+
// --- Boss ability (Phase 5): cost 0 so the enemy AI always affords it -----
|
|
99
|
+
{
|
|
100
|
+
id: 950000, name: 'Testing Cleave', rank: 0, school: 'physical', powerType: 'mana', cost: 0,
|
|
101
|
+
castTimeMs: 0, cooldownMs: 2000, gcdMs: 1500, rangeMax: 5, reqLevel: 0, role: 'instant_nuke',
|
|
102
|
+
effects: [{ kind: 'direct_damage', school: 'physical', min: 3, max: 5 }], icon: 'ability_warrior_cleave',
|
|
103
|
+
},
|
|
104
|
+
// E1 test data: creature-cast spell, proc effect spell, set-bonus spell (fixtures only).
|
|
105
|
+
{
|
|
106
|
+
id: 999003, name: 'Creature Firebolt', rank: 0, school: 'fire', powerType: 'mana', cost: 15,
|
|
107
|
+
castTimeMs: 1500, cooldownMs: 3000, gcdMs: 1500, rangeMax: 30, reqLevel: 0, role: 'nuke',
|
|
108
|
+
effects: [{ kind: 'direct_damage', school: 'fire', min: 8, max: 12 }], icon: 'spell_fire_firebolt',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: 999001, name: 'Proc Nuke', rank: 0, school: 'fire', powerType: 'mana', cost: 0,
|
|
112
|
+
castTimeMs: 0, cooldownMs: 0, gcdMs: 0, rangeMax: 30, reqLevel: 0,
|
|
113
|
+
effects: [{ kind: 'direct_damage', school: 'fire', min: 6, max: 6 }], icon: 'spell_fire_firebolt02',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
id: 999002, name: 'Set Bonus Might', rank: 0, school: 'physical', powerType: 'mana', cost: 0,
|
|
117
|
+
castTimeMs: 0, cooldownMs: 0, gcdMs: 0, rangeMax: 0, reqLevel: 0, role: 'buff',
|
|
118
|
+
effects: [{ kind: 'buff', mod: 'attack_power', amount: 20, durationMs: 30000 }],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
|
|
122
|
+
creatures: [
|
|
123
|
+
{
|
|
124
|
+
entry: 6981, name: 'Kobold Vermin', level: 1, hpMin: 42, hpMax: 48, dmgMin: 3, dmgMax: 4, attackTimeMs: 1900, armor: 30,
|
|
125
|
+
lootId: 6981, minGold: 0, maxGold: 3, xp: 42, spells: [999003],
|
|
126
|
+
// Wave 4B: same faction + CallForHelp for pack-assist fixtures (CanAssistTo).
|
|
127
|
+
factionId: 25, callForHelpRadius: 5,
|
|
128
|
+
// System 9 sample: detection + structured cast (fixture spell 999003)
|
|
129
|
+
detectionRange: 18,
|
|
130
|
+
creatureCasts: [{ spellId: 999003, eventType: 0, initialMinMs: 0, initialMaxMs: 0, repeatMinMs: 5000, repeatMaxMs: 5000 }],
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
entry: 6982, name: 'Kobold Laborer', level: 2, hpMin: 55, hpMax: 64, dmgMin: 4, dmgMax: 6, attackTimeMs: 2000, armor: 40,
|
|
134
|
+
lootId: 6982, minGold: 1, maxGold: 6, xp: 55,
|
|
135
|
+
factionId: 25, callForHelpRadius: 5,
|
|
136
|
+
},
|
|
137
|
+
{ entry: 299, name: 'Young Forest Wolf', level: 3, hpMin: 70, hpMax: 82, dmgMin: 6, dmgMax: 9, attackTimeMs: 2000, armor: 45, lootId: 299, minGold: 0, maxGold: 4, xp: 70, creatureType: 1, family: 1, tameable: true },
|
|
138
|
+
{ entry: 448, name: 'Defias Bandit', level: 4, hpMin: 90, hpMax: 105, dmgMin: 8, dmgMax: 12, attackTimeMs: 2000, armor: 60, lootId: 448, minGold: 4, maxGold: 12, xp: 95 },
|
|
139
|
+
],
|
|
140
|
+
|
|
141
|
+
items: [
|
|
142
|
+
// entry 25: itemLevel/itemClass/itemSubclass for DBC repair-cost (Player.cpp:4656) from
|
|
143
|
+
// live bake. maxDurability left unset so fixture tests keep the slot heuristic max (80).
|
|
144
|
+
{ entry: 25, name: 'Worn Shortsword', quality: 1, requiredLevel: 1, sellPrice: 1, buyPrice: 7, stackable: 1, slot: 'mainhand', weapon: { dmgMin: 3, dmgMax: 5, delayMs: 1900, school: 'physical' }, weaponSubclass: 7, typeName: 'Sword', itemLevel: 2, itemClass: 2, itemSubclass: 7 },
|
|
145
|
+
{ entry: 35, name: 'Worn Dagger', quality: 1, requiredLevel: 1, sellPrice: 1, buyPrice: 5, stackable: 1, slot: 'mainhand', weapon: { dmgMin: 2, dmgMax: 4, delayMs: 1600, school: 'physical' }, weaponSubclass: 15, typeName: 'Dagger' },
|
|
146
|
+
{ entry: 2299, name: "Bandit's Dagger", quality: 2, requiredLevel: 4, sellPrice: 24, buyPrice: 120, stackable: 1, slot: 'mainhand', weapon: { dmgMin: 5, dmgMax: 9, delayMs: 1800, school: 'physical' }, stats: [{ stat: 'agi', value: 2 }] },
|
|
147
|
+
// Equippable armor/off-hand/ranged/two-hand fixtures for the equipment tests.
|
|
148
|
+
{ entry: 942, name: 'Bronze Band', quality: 1, requiredLevel: 1, sellPrice: 5, buyPrice: 25, stackable: 1, slot: 'finger', stats: [{ stat: 'str', value: 1 }], setId: 42, procs: [{ spell: 999001, trigger: 2, chancePct: 15 }] },
|
|
149
|
+
// Second piece for 2-piece set bonus test (E1)
|
|
150
|
+
{ entry: 999100, name: 'Bronze Signet', quality: 1, requiredLevel: 1, sellPrice: 5, buyPrice: 25, stackable: 1, slot: 'finger', stats: [{ stat: 'agi', value: 1 }], setId: 42 },
|
|
151
|
+
// 1364/2362/15906: DBC repair fields from item-data (no maxDurability — keep heuristic max).
|
|
152
|
+
{ entry: 1364, name: 'Ragged Leather Vest', quality: 0, requiredLevel: 1, sellPrice: 8, buyPrice: 41, stackable: 1, slot: 'chest', armor: 31, typeName: 'Leather', armorSubclass: 2, itemLevel: 5, itemClass: 4, itemSubclass: 2 },
|
|
153
|
+
{ entry: 2362, name: 'Worn Wooden Shield', quality: 1, requiredLevel: 1, sellPrice: 3, buyPrice: 17, stackable: 1, slot: 'offhand', armor: 20, typeName: 'Shield', armorSubclass: 6, itemLevel: 1, itemClass: 4, itemSubclass: 6 },
|
|
154
|
+
// Off-hand weapon (INVTYPE_WEAPONOFFHAND) for dual-wield path tests — not a shield.
|
|
155
|
+
{ entry: 15906, name: 'Left-Handed Brass Knuckles', quality: 1, requiredLevel: 1, sellPrice: 4, buyPrice: 20, stackable: 1, slot: 'offhand', weapon: { dmgMin: 6, dmgMax: 13, delayMs: 1400, school: 'physical' }, typeName: 'Fist Weapon', weaponSubclass: 13, itemLevel: 15, itemClass: 2, itemSubclass: 13 },
|
|
156
|
+
{ entry: 2178, name: 'Battleworn Greatsword', quality: 1, requiredLevel: 3, sellPrice: 30, buyPrice: 150, stackable: 1, slot: 'twohand', weapon: { dmgMin: 8, dmgMax: 14, delayMs: 3200, school: 'physical' }, typeName: 'Two-Handed Sword', weaponSubclass: 8 },
|
|
157
|
+
// Polearm for weapon-master train → equip gate tests (no create skill for warriors here).
|
|
158
|
+
{ entry: 1406, name: 'Pearl-encrusted Spear', quality: 1, requiredLevel: 1, sellPrice: 10, buyPrice: 50, stackable: 1, slot: 'twohand', weapon: { dmgMin: 5, dmgMax: 8, delayMs: 2800, school: 'physical' }, typeName: 'Polearm', weaponSubclass: 6 },
|
|
159
|
+
{ entry: 4536, name: 'Freshly Baked Bread', quality: 1, requiredLevel: 1, sellPrice: 0, buyPrice: 1, stackable: 20, consumable: { effect: 'food', amountPerTick: 4, tickMs: 3000, durationMs: 21000, reqLevel: 1 } },
|
|
160
|
+
{ entry: 159, name: 'Refreshing Spring Water', quality: 1, requiredLevel: 1, sellPrice: 0, buyPrice: 1, stackable: 20, consumable: { effect: 'drink', amountPerTick: 8, tickMs: 3000, durationMs: 21000, reqLevel: 1 } },
|
|
161
|
+
{ entry: 5349, name: 'Conjured Muffin', quality: 1, requiredLevel: 1, sellPrice: 0, buyPrice: 0, stackable: 20, consumable: { effect: 'food', amountPerTick: 8, tickMs: 3000, durationMs: 21000, reqLevel: 1 } },
|
|
162
|
+
{ entry: 5350, name: 'Conjured Water', quality: 1, requiredLevel: 1, sellPrice: 0, buyPrice: 0, stackable: 20, consumable: { effect: 'drink', amountPerTick: 12, tickMs: 3000, durationMs: 21000, reqLevel: 1 } },
|
|
163
|
+
// useBuff consumables (from items): correct duration + data from DB-mapped spell effect.
|
|
164
|
+
// These demonstrate elixirs/scrolls that apply buffs (plan option 1a useBuff).
|
|
165
|
+
{ entry: 2454, name: "Elixir of Lion's Strength", quality: 1, requiredLevel: 1, sellPrice: 20, buyPrice: 100, stackable: 20, useBuff: { mod: 'strength', amount: 4, durationMs: 3600_000, reqLevel: 1 } },
|
|
166
|
+
{ entry: 118, name: 'Minor Healing Potion', quality: 1, requiredLevel: 1, sellPrice: 5, buyPrice: 20, stackable: 5, useInCombat: { effect: 'restore_health', min: 50, max: 70, reqLevel: 1 } },
|
|
167
|
+
{ entry: 2589, name: 'Linen Cloth', quality: 1, requiredLevel: 0, sellPrice: 1, buyPrice: 0, stackable: 10 },
|
|
168
|
+
{ entry: 2672, name: 'Stringy Wolf Meat', quality: 1, requiredLevel: 0, sellPrice: 1, buyPrice: 0, stackable: 5 },
|
|
169
|
+
// Bags: equipping one into a bag slot adds `bagSlots` to the backpack (or bank) capacity.
|
|
170
|
+
{ entry: 805, name: 'Small Red Pouch', quality: 1, requiredLevel: 0, sellPrice: 250, buyPrice: 1000, stackable: 1, slot: 'bag', bagSlots: 6 },
|
|
171
|
+
{ entry: 4500, name: 'Traveler\'s Backpack', quality: 1, requiredLevel: 0, sellPrice: 1000, buyPrice: 5000, stackable: 1, slot: 'bag', bagSlots: 16 },
|
|
172
|
+
],
|
|
173
|
+
|
|
174
|
+
loot: [
|
|
175
|
+
{ lootId: 6981, entries: [
|
|
176
|
+
{ item: 2589, chance: 25, groupId: 0, minCount: 1, maxCount: 1 },
|
|
177
|
+
{ item: 4536, chance: 12, groupId: 0, minCount: 1, maxCount: 1 },
|
|
178
|
+
] },
|
|
179
|
+
{ lootId: 6982, entries: [
|
|
180
|
+
{ item: 2589, chance: 30, groupId: 0, minCount: 1, maxCount: 2 },
|
|
181
|
+
{ item: 159, chance: 10, groupId: 0, minCount: 1, maxCount: 1 },
|
|
182
|
+
] },
|
|
183
|
+
{ lootId: 299, entries: [
|
|
184
|
+
{ item: 2672, chance: 45, groupId: 0, minCount: 1, maxCount: 2 },
|
|
185
|
+
{ item: 4536, chance: 10, groupId: 0, minCount: 1, maxCount: 1 },
|
|
186
|
+
] },
|
|
187
|
+
{ lootId: 448, entries: [
|
|
188
|
+
{ item: 2589, chance: 40, groupId: 0, minCount: 1, maxCount: 2 },
|
|
189
|
+
{ item: 2299, chance: 8, groupId: 0, minCount: 1, maxCount: 1 },
|
|
190
|
+
] },
|
|
191
|
+
],
|
|
192
|
+
|
|
193
|
+
quests: [
|
|
194
|
+
{ entry: 7, title: 'Kobold Camp Cleanup', questLevel: 1, minLevel: 1,
|
|
195
|
+
detailsText: 'Kobolds have overrun the mines around Northshire. Beat back ten of their vermin.',
|
|
196
|
+
objectivesText: 'Slay 10 Kobold Vermin.',
|
|
197
|
+
killTargets: [{ creatureEntry: 6981, count: 10 }], itemTargets: [], objectTargets: [], rewMoney: 38, rewXP: 45, rewItems: [],
|
|
198
|
+
// prevQuest 700 is a talk-only intro the ETL prunes (no kill/item objective), and a pruned
|
|
199
|
+
// prerequisite must be treated as satisfied so this chain still starts — see prereqMet.
|
|
200
|
+
starterName: 'Marshal McBride', enderName: 'Marshal McBride', prevQuest: 700, nextQuest: 37 },
|
|
201
|
+
{ entry: 37, title: 'Echo Ridge', questLevel: 2, minLevel: 2,
|
|
202
|
+
detailsText: 'The laborers dig ever deeper. Put a stop to them inside the mine.',
|
|
203
|
+
objectivesText: 'Slay 8 Kobold Laborers.',
|
|
204
|
+
killTargets: [{ creatureEntry: 6982, count: 8 }], itemTargets: [], objectTargets: [], rewMoney: 60, rewXP: 70, rewItems: [],
|
|
205
|
+
starterName: 'Marshal McBride', enderName: 'Marshal McBride', nextQuest: 62 },
|
|
206
|
+
{ entry: 62, title: 'Wolves Across the Border', questLevel: 4, minLevel: 3,
|
|
207
|
+
detailsText: 'The wolf packs south of Goldshire grow bold. Thin their numbers.',
|
|
208
|
+
objectivesText: 'Slay 6 Young Forest Wolves.',
|
|
209
|
+
killTargets: [{ creatureEntry: 299, count: 6 }], itemTargets: [], objectTargets: [], rewMoney: 90, rewXP: 110, rewItems: [],
|
|
210
|
+
starterName: 'Marshal Dughan', enderName: 'Marshal Dughan', nextQuest: 87 },
|
|
211
|
+
{ entry: 87, title: 'The Defias Threat', questLevel: 5, minLevel: 4,
|
|
212
|
+
detailsText: 'The Defias Brotherhood plagues the roads. Cut down their bandits.',
|
|
213
|
+
objectivesText: 'Slay 5 Defias Bandits.',
|
|
214
|
+
killTargets: [{ creatureEntry: 448, count: 5 }], itemTargets: [], objectTargets: [], rewMoney: 150, rewXP: 150,
|
|
215
|
+
rewItems: [{ item: 2299, count: 1 }],
|
|
216
|
+
// Chain follow-up to quest 62: only offerable once 62 has been turned in.
|
|
217
|
+
starterName: 'Marshal Dughan', enderName: 'Marshal Dughan', prevQuest: 62 },
|
|
218
|
+
// Dungeon quest for the Test Delve instance (Phase 5): kill its boss.
|
|
219
|
+
{ entry: 950, title: 'Into the Delve', questLevel: 4, minLevel: 1,
|
|
220
|
+
detailsText: 'Clear the delve and slay the overseer leading the kobolds within.',
|
|
221
|
+
objectivesText: 'Slay the Delve Warlord.',
|
|
222
|
+
killTargets: [{ creatureEntry: 6982, count: 1 }], itemTargets: [], objectTargets: [], rewMoney: 100, rewXP: 120, rewItems: [],
|
|
223
|
+
starterName: 'Marshal Dughan', enderName: 'Marshal Dughan' },
|
|
224
|
+
|
|
225
|
+
// Lane H objective-kind fixtures (for source-item, spell-cast, rep, timed, objective-less, unbaked-target)
|
|
226
|
+
// objective-less: talk/deliver style — still satisfiable on turn-in (vacuously complete)
|
|
227
|
+
{ entry: 9901, title: 'Just a Talk', questLevel: 1, minLevel: 1,
|
|
228
|
+
detailsText: 'Go speak to someone.', objectivesText: 'Speak to the contact.',
|
|
229
|
+
killTargets: [], itemTargets: [], objectTargets: [], sourceItemTargets: [], spellCastTargets: [],
|
|
230
|
+
repObjective: undefined, limitTime: undefined,
|
|
231
|
+
rewMoney: 10, rewXP: 10, rewItems: [], starterName: 'Talker', enderName: 'Talker' },
|
|
232
|
+
// source-item behaves like gather: check inventory
|
|
233
|
+
{ entry: 9902, title: 'Source Linen', questLevel: 1, minLevel: 1,
|
|
234
|
+
detailsText: 'Bring source linen.', objectivesText: 'Acquire 2 linen.',
|
|
235
|
+
killTargets: [], itemTargets: [], objectTargets: [], sourceItemTargets: [{ item: 2589, count: 2 }], spellCastTargets: [],
|
|
236
|
+
repObjective: undefined, limitTime: undefined,
|
|
237
|
+
rewMoney: 5, rewXP: 5, rewItems: [], starterName: 'Sourcer', enderName: 'Sourcer' },
|
|
238
|
+
// spell-cast: data-only, do not affect complete
|
|
239
|
+
{ entry: 9903, title: 'Cast Test', questLevel: 1, minLevel: 1,
|
|
240
|
+
detailsText: 'Cast something.', objectivesText: 'Cast the spell.',
|
|
241
|
+
killTargets: [], itemTargets: [], objectTargets: [], sourceItemTargets: [], spellCastTargets: [{ spell: 133, count: 1 }],
|
|
242
|
+
repObjective: undefined, limitTime: undefined,
|
|
243
|
+
rewMoney: 5, rewXP: 5, rewItems: [], starterName: 'Caster', enderName: 'Caster' },
|
|
244
|
+
// reputation requirement: expose, do NOT auto-complete (pure rep case)
|
|
245
|
+
{ entry: 9904, title: 'Earn Rep', questLevel: 1, minLevel: 1,
|
|
246
|
+
detailsText: 'Gain standing.', objectivesText: 'Raise rep with a faction.',
|
|
247
|
+
killTargets: [], itemTargets: [], objectTargets: [], sourceItemTargets: [], spellCastTargets: [],
|
|
248
|
+
repObjective: { faction: 72, value: 100 }, limitTime: undefined,
|
|
249
|
+
rewMoney: 5, rewXP: 5, rewItems: [], starterName: 'Repper', enderName: 'Repper' },
|
|
250
|
+
// timed: surface limit but never fail a run / block complete on it
|
|
251
|
+
{ entry: 9905, title: 'Timed Errand', questLevel: 1, minLevel: 1,
|
|
252
|
+
detailsText: 'Do it quickly.', objectivesText: 'Finish within time.',
|
|
253
|
+
killTargets: [], itemTargets: [], objectTargets: [], sourceItemTargets: [], spellCastTargets: [],
|
|
254
|
+
repObjective: undefined, limitTime: 300,
|
|
255
|
+
rewMoney: 5, rewXP: 5, rewItems: [], starterName: 'Timer', enderName: 'Timer' },
|
|
256
|
+
// unbaked required target (non-existent item id): must NOT be falsely marked complete
|
|
257
|
+
{ entry: 9906, title: 'Unbaked Source', questLevel: 1, minLevel: 1,
|
|
258
|
+
detailsText: 'Need phantom item.', objectivesText: 'Get the phantom.',
|
|
259
|
+
killTargets: [], itemTargets: [], objectTargets: [], sourceItemTargets: [{ item: 99999999, count: 1 }], spellCastTargets: [],
|
|
260
|
+
repObjective: undefined, limitTime: undefined,
|
|
261
|
+
rewMoney: 0, rewXP: 0, rewItems: [], starterName: 'Ghost', enderName: 'Ghost' },
|
|
262
|
+
// Multi-item collect: 2589 drops from local kobolds, 88888 from nothing huntable here. With
|
|
263
|
+
// only 2589 collected this must NOT read as "huntable here", or the autopilot picks it blind.
|
|
264
|
+
{ entry: 9910, title: 'Blood Sausages', questLevel: 1, minLevel: 1,
|
|
265
|
+
detailsText: 'Gather the makings for sausages.', objectivesText: 'Collect 2 linen and 1 phantom relish.',
|
|
266
|
+
killTargets: [], itemTargets: [{ item: 2589, count: 2 }, { item: 88888, count: 1 }], objectTargets: [],
|
|
267
|
+
sourceItemTargets: [], spellCastTargets: [], repObjective: undefined, limitTime: undefined,
|
|
268
|
+
rewMoney: 5, rewXP: 10, rewItems: [], starterName: 'Sausage Cook', enderName: 'Sausage Cook' },
|
|
269
|
+
],
|
|
270
|
+
|
|
271
|
+
trainers: [
|
|
272
|
+
{ entry: 200, name: 'Khelden Bremen', spells: [
|
|
273
|
+
{ spell: 168, cost: 10, reqLevel: 1, reqSkill: 0, reqSkillValue: 0 },
|
|
274
|
+
{ spell: 5504, cost: 10, reqLevel: 1, reqSkill: 0, reqSkillValue: 0 },
|
|
275
|
+
{ spell: 587, cost: 10, reqLevel: 1, reqSkill: 0, reqSkillValue: 0 },
|
|
276
|
+
{ spell: 116, cost: 100, reqLevel: 4, reqSkill: 0, reqSkillValue: 0 },
|
|
277
|
+
{ spell: 2136, cost: 250, reqLevel: 6, reqSkill: 0, reqSkillValue: 0 },
|
|
278
|
+
{ spell: 122, cost: 250, reqLevel: 6, reqSkill: 0, reqSkillValue: 0 },
|
|
279
|
+
] },
|
|
280
|
+
{ entry: 201, name: 'Llane Beshere', spells: [
|
|
281
|
+
{ spell: 100, cost: 10, reqLevel: 1, reqSkill: 0, reqSkillValue: 0 },
|
|
282
|
+
{ spell: 6673, cost: 10, reqLevel: 1, reqSkill: 0, reqSkillValue: 0 },
|
|
283
|
+
{ spell: 772, cost: 100, reqLevel: 4, reqSkill: 0, reqSkillValue: 0 },
|
|
284
|
+
] },
|
|
285
|
+
// Weapon master (TrainerType=2): teaches Polearms proficiency → grants combat skill 229.
|
|
286
|
+
{ entry: 11867, name: 'Woo Ping', subname: 'Weapon Master', spells: [
|
|
287
|
+
{ spell: 200, cost: 1000, reqLevel: 1, reqSkill: 0, reqSkillValue: 0 },
|
|
288
|
+
] },
|
|
289
|
+
],
|
|
290
|
+
|
|
291
|
+
vendors: [
|
|
292
|
+
// A general-goods merchant per zone: provisions plus a few cheap basics.
|
|
293
|
+
{ entry: 300, name: 'Erma Squerkins', items: [4536, 159, 25, 2362, 1364] },
|
|
294
|
+
{ entry: 301, name: 'Corina Steele', items: [4536, 159, 35, 2299, 2178] },
|
|
295
|
+
],
|
|
296
|
+
|
|
297
|
+
createInfo: [
|
|
298
|
+
// skills mirror playercreateinfo_skills (skill id + step). Warrior: swords + armor materials + defense.
|
|
299
|
+
{ race: H, cls: W, startZone: 'northshire', spells: [78], items: [{ item: 25, amount: 1 }, { item: 4536, amount: 4 }],
|
|
300
|
+
skills: [
|
|
301
|
+
{ skill: 43, step: 0 }, { skill: 55, step: 0 }, // swords + 2H swords (equip tests)
|
|
302
|
+
{ skill: 95, step: 0 }, { skill: 162, step: 0 },
|
|
303
|
+
{ skill: 26, step: 0 }, { skill: 256, step: 0 }, { skill: 257, step: 0 },
|
|
304
|
+
{ skill: 415, step: 0 }, { skill: 414, step: 0 }, { skill: 413, step: 0 }, { skill: 433, step: 0 },
|
|
305
|
+
{ skill: 473, step: 0 }, // fist weapons proficiency
|
|
306
|
+
] },
|
|
307
|
+
// Mage starts with a weapon AND a ring, so the "auto-equip the whole starter kit" path is covered.
|
|
308
|
+
{ race: H, cls: M, startZone: 'northshire', spells: [133], items: [{ item: 35, amount: 1 }, { item: 942, amount: 1 }, { item: 4536, amount: 4 }, { item: 159, amount: 4 }],
|
|
309
|
+
skills: [{ skill: 173, step: 0 }, { skill: 95, step: 0 }, { skill: 162, step: 0 }, { skill: 6, step: 0 }, { skill: 8, step: 0 }, { skill: 415, step: 0 }] },
|
|
310
|
+
],
|
|
311
|
+
|
|
312
|
+
// Combat skill meta: SkillLineAbility learnOnGetSkill → spell grants weapon/armor skills.
|
|
313
|
+
// Cite: Player.cpp UpdateSpellTrainedSkills; SkillLineAbility.learnOnGetSkill = 2.
|
|
314
|
+
combatSkillMeta: {
|
|
315
|
+
spellGrants: {
|
|
316
|
+
201: 43, // One-Handed Swords → SWORDS
|
|
317
|
+
200: 229, // Polearms → POLEARMS
|
|
318
|
+
750: 293, // Plate Mail → PLATE
|
|
319
|
+
15590: 473, // Fist Weapons → FIST
|
|
320
|
+
},
|
|
321
|
+
// SkillLineAbility classMask (vanilla): sourced masks for train gating tests.
|
|
322
|
+
// 200 Polearms classMask 7 = Warrior|Paladin|Hunter; 201 1H Swords 399 = War|Pal|Hunt|Rog|Mage|Lock.
|
|
323
|
+
spellAbilities: {
|
|
324
|
+
200: [{ skillId: 229, raceMask: 0, classMask: 7 }],
|
|
325
|
+
201: [{ skillId: 43, raceMask: 0, classMask: 399 }],
|
|
326
|
+
15590: [{ skillId: 473, raceMask: 0, classMask: 1101 }],
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
|
|
330
|
+
// A minimal two-faction race table. `racials` reference real fixture spells so racialSpells()
|
|
331
|
+
// resolves, and Undead has a narrower class list to exercise the race/class matrix.
|
|
332
|
+
races: [
|
|
333
|
+
{ id: 1, name: 'Human', faction: 'alliance', startZone: 'northshire', city: 'Stormwind', classes: [W, M], racials: [78] },
|
|
334
|
+
{ id: 5, name: 'Undead', faction: 'horde', startZone: 'northshire', city: 'Undercity', classes: [M], racials: [133] },
|
|
335
|
+
],
|
|
336
|
+
|
|
337
|
+
levelStats: [
|
|
338
|
+
// Warrior (Human)
|
|
339
|
+
{ race: H, cls: W, level: 1, stats: { str: 23, agi: 20, sta: 22, int: 20, spi: 20 } },
|
|
340
|
+
{ race: H, cls: W, level: 2, stats: { str: 24, agi: 20, sta: 23, int: 20, spi: 20 } },
|
|
341
|
+
{ race: H, cls: W, level: 3, stats: { str: 25, agi: 21, sta: 24, int: 20, spi: 20 } },
|
|
342
|
+
{ race: H, cls: W, level: 4, stats: { str: 26, agi: 21, sta: 25, int: 20, spi: 21 } },
|
|
343
|
+
{ race: H, cls: W, level: 5, stats: { str: 27, agi: 22, sta: 27, int: 20, spi: 21 } },
|
|
344
|
+
{ race: H, cls: W, level: 6, stats: { str: 29, agi: 22, sta: 28, int: 20, spi: 21 } },
|
|
345
|
+
// Mage (Human)
|
|
346
|
+
{ race: H, cls: M, level: 1, stats: { str: 20, agi: 20, sta: 20, int: 23, spi: 21 } },
|
|
347
|
+
{ race: H, cls: M, level: 2, stats: { str: 20, agi: 20, sta: 20, int: 24, spi: 21 } },
|
|
348
|
+
{ race: H, cls: M, level: 3, stats: { str: 20, agi: 21, sta: 21, int: 25, spi: 22 } },
|
|
349
|
+
{ race: H, cls: M, level: 4, stats: { str: 21, agi: 21, sta: 21, int: 27, spi: 22 } },
|
|
350
|
+
{ race: H, cls: M, level: 5, stats: { str: 21, agi: 21, sta: 22, int: 28, spi: 23 } },
|
|
351
|
+
{ race: H, cls: M, level: 6, stats: { str: 21, agi: 22, sta: 22, int: 30, spi: 23 } },
|
|
352
|
+
],
|
|
353
|
+
|
|
354
|
+
classLevelStats: [
|
|
355
|
+
{ cls: W, level: 1, baseHp: 40, baseMana: 0 },
|
|
356
|
+
{ cls: W, level: 2, baseHp: 52, baseMana: 0 },
|
|
357
|
+
{ cls: W, level: 3, baseHp: 64, baseMana: 0 },
|
|
358
|
+
{ cls: W, level: 4, baseHp: 78, baseMana: 0 },
|
|
359
|
+
{ cls: W, level: 5, baseHp: 92, baseMana: 0 },
|
|
360
|
+
{ cls: W, level: 6, baseHp: 106, baseMana: 0 },
|
|
361
|
+
{ cls: M, level: 1, baseHp: 30, baseMana: 100 },
|
|
362
|
+
{ cls: M, level: 2, baseHp: 38, baseMana: 115 },
|
|
363
|
+
{ cls: M, level: 3, baseHp: 46, baseMana: 130 },
|
|
364
|
+
{ cls: M, level: 4, baseHp: 55, baseMana: 150 },
|
|
365
|
+
{ cls: M, level: 5, baseHp: 64, baseMana: 170 },
|
|
366
|
+
{ cls: M, level: 6, baseHp: 73, baseMana: 190 },
|
|
367
|
+
],
|
|
368
|
+
|
|
369
|
+
xp: [
|
|
370
|
+
{ level: 1, toNext: 400 },
|
|
371
|
+
{ level: 2, toNext: 900 },
|
|
372
|
+
{ level: 3, toNext: 1400 },
|
|
373
|
+
{ level: 4, toNext: 2100 },
|
|
374
|
+
{ level: 5, toNext: 2800 },
|
|
375
|
+
{ level: 6, toNext: 3600 },
|
|
376
|
+
],
|
|
377
|
+
|
|
378
|
+
zones: [
|
|
379
|
+
// Northshire carries compact fixture spawns so spatial pull tests need no ETL. Coords are yards
|
|
380
|
+
// in a toy map, and areaId 12 is the Elwynn stand-in for weather-by-zone tests.
|
|
381
|
+
{ id: 'northshire', name: 'Northshire Valley', levelRange: [1, 5],
|
|
382
|
+
areaId: 12,
|
|
383
|
+
description: '',
|
|
384
|
+
quests: [7, 37], huntable: [6981, 6982],
|
|
385
|
+
trainers: [{ cls: M, entry: 200 }, { cls: W, entry: 201 }], weaponTrainers: [11867], vendors: [300], neighbors: ['goldshire'],
|
|
386
|
+
spawns: [
|
|
387
|
+
{ entry: 6981, map: 0, x: 0, y: 0 },
|
|
388
|
+
{ entry: 6982, map: 0, x: 8, y: 0 },
|
|
389
|
+
{ entry: 6982, map: 0, x: 80, y: 0 },
|
|
390
|
+
] },
|
|
391
|
+
{ id: 'goldshire', name: 'Goldshire', levelRange: [4, 10],
|
|
392
|
+
description: '',
|
|
393
|
+
quests: [62, 87], huntable: [299, 448],
|
|
394
|
+
trainers: [{ cls: M, entry: 200 }, { cls: W, entry: 201 }], vendors: [301], neighbors: ['northshire'] },
|
|
395
|
+
],
|
|
396
|
+
|
|
397
|
+
// P-after-E slim game_weather row keyed by AreaTable id (northshire.areaId = 12).
|
|
398
|
+
zoneWeather: [
|
|
399
|
+
{
|
|
400
|
+
zone: 12,
|
|
401
|
+
spring: { rain: 70, snow: 0, storm: 5 },
|
|
402
|
+
summer: { rain: 40, snow: 0, storm: 10 },
|
|
403
|
+
fall: { rain: 50, snow: 5, storm: 5 },
|
|
404
|
+
winter: { rain: 20, snow: 40, storm: 5 },
|
|
405
|
+
},
|
|
406
|
+
],
|
|
407
|
+
|
|
408
|
+
// Phase 5: one small instance for the framework tests — trash pull then a boss
|
|
409
|
+
// with a cost-0 ability, reachable from Northshire, offering a dungeon quest.
|
|
410
|
+
instances: [
|
|
411
|
+
{ id: 'testdelve', name: 'Test Delve', portalZone: 'northshire', minLevel: 1,
|
|
412
|
+
// Fake high id per the 95xxxx placeholder convention — this delve has no real Map.dbc row.
|
|
413
|
+
mapId: 950001,
|
|
414
|
+
levelRange: [2, 4], lockoutMs: 0,
|
|
415
|
+
description: '',
|
|
416
|
+
quests: [950],
|
|
417
|
+
encounters: [
|
|
418
|
+
{ id: 'pull', name: 'Vermin Nest', kind: 'trash', creatureEntry: 6981 },
|
|
419
|
+
{ id: 'warlord', name: 'Delve Warlord', kind: 'boss', creatureEntry: 6982, bossSpells: [950000],
|
|
420
|
+
intro: 'The kobold overseer draws a rusted blade.' },
|
|
421
|
+
] },
|
|
422
|
+
],
|
|
423
|
+
|
|
424
|
+
// Talents (Phase A): fixture has none so pre-talent code paths + tests continue to work.
|
|
425
|
+
talents: [],
|
|
426
|
+
// R8b sounds absent in fixture (tests use procedural fallbacks)
|
|
427
|
+
spellSounds: {},
|
|
428
|
+
creatureSounds: {},
|
|
429
|
+
// E1: item sets (for set-bonus spell application in character derivation + combat)
|
|
430
|
+
itemSets: [
|
|
431
|
+
{ id: 42, name: 'Bronze Test Set', items: [942, 999100], bonuses: [{ pieces: 2, spell: 999002 }] },
|
|
432
|
+
],
|
|
433
|
+
// D3.5: tiny slice of the ike3 ai_playerbot_names pool (seed-bot-names.mjs bakes the full one)
|
|
434
|
+
botNames: {
|
|
435
|
+
male: ['Aalart', 'Abantes', 'Bramm', 'Cedrik'],
|
|
436
|
+
female: ['Abbie', 'Adela', 'Brenna', 'Caris'],
|
|
437
|
+
},
|
|
438
|
+
// Tiny slice of the premade playerbot specs (seed-bot-specs.mjs bakes the full set). Fixture has no
|
|
439
|
+
// talents, so links resolve to empty talent maps — spec/role picking and persistence stay testable.
|
|
440
|
+
botSpecs: {
|
|
441
|
+
1: [
|
|
442
|
+
{ name: 'pve arms', prob: 100, role: 'dps', stages: [{ level: 60, link: '303050213520105001-0505300502' }] },
|
|
443
|
+
{ name: 'pve prot', prob: 100, role: 'tank', stages: [{ level: 60, link: '05005001-05-55250110530101051' }] },
|
|
444
|
+
],
|
|
445
|
+
},
|
|
446
|
+
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|