playlist-data-engine 1.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/LICENSE +21 -0
- package/README.md +352 -0
- package/dist/__vite-browser-external-DYxpcVy9.js +4 -0
- package/dist/constants/DefaultClasses.d.ts +46 -0
- package/dist/constants/DefaultClasses.d.ts.map +1 -0
- package/dist/constants/DefaultEnchantments.d.ts +337 -0
- package/dist/constants/DefaultEnchantments.d.ts.map +1 -0
- package/dist/constants/DefaultEnemies.d.ts +83 -0
- package/dist/constants/DefaultEnemies.d.ts.map +1 -0
- package/dist/constants/DefaultEquipment.d.ts +23 -0
- package/dist/constants/DefaultEquipment.d.ts.map +1 -0
- package/dist/constants/DefaultFeatures.d.ts +22 -0
- package/dist/constants/DefaultFeatures.d.ts.map +1 -0
- package/dist/constants/DefaultRaces.d.ts +102 -0
- package/dist/constants/DefaultRaces.d.ts.map +1 -0
- package/dist/constants/DefaultSkills.d.ts +26 -0
- package/dist/constants/DefaultSkills.d.ts.map +1 -0
- package/dist/constants/DefaultSpells.d.ts +41 -0
- package/dist/constants/DefaultSpells.d.ts.map +1 -0
- package/dist/constants/EncounterBalance.d.ts +208 -0
- package/dist/constants/EncounterBalance.d.ts.map +1 -0
- package/dist/constants/EnemyEquipment.d.ts +71 -0
- package/dist/constants/EnemyEquipment.d.ts.map +1 -0
- package/dist/constants/EnemyRarity.d.ts +79 -0
- package/dist/constants/EnemyRarity.d.ts.map +1 -0
- package/dist/constants/EnemyTemplates/Construct.d.ts +63 -0
- package/dist/constants/EnemyTemplates/Construct.d.ts.map +1 -0
- package/dist/constants/EnemyTemplates/Dragon.d.ts +68 -0
- package/dist/constants/EnemyTemplates/Dragon.d.ts.map +1 -0
- package/dist/constants/EnemyTemplates/Elemental.d.ts +64 -0
- package/dist/constants/EnemyTemplates/Elemental.d.ts.map +1 -0
- package/dist/constants/EnemyTemplates/Fiend.d.ts +62 -0
- package/dist/constants/EnemyTemplates/Fiend.d.ts.map +1 -0
- package/dist/constants/EnemyTemplates/Monstrosity.d.ts +63 -0
- package/dist/constants/EnemyTemplates/Monstrosity.d.ts.map +1 -0
- package/dist/constants/EnemyTemplates/Undead.d.ts +61 -0
- package/dist/constants/EnemyTemplates/Undead.d.ts.map +1 -0
- package/dist/constants/ItemTemplates.d.ts +40 -0
- package/dist/constants/ItemTemplates.d.ts.map +1 -0
- package/dist/constants/MagicItems.d.ts +30 -0
- package/dist/constants/MagicItems.d.ts.map +1 -0
- package/dist/constants/SpellSlots.d.ts +30 -0
- package/dist/constants/SpellSlots.d.ts.map +1 -0
- package/dist/constants/StatScaling.d.ts +113 -0
- package/dist/constants/StatScaling.d.ts.map +1 -0
- package/dist/core/analysis/AudioAnalyzer.d.ts +599 -0
- package/dist/core/analysis/AudioAnalyzer.d.ts.map +1 -0
- package/dist/core/analysis/ColorExtractor.d.ts +64 -0
- package/dist/core/analysis/ColorExtractor.d.ts.map +1 -0
- package/dist/core/analysis/EssentiaPitchDetector.d.ts +282 -0
- package/dist/core/analysis/EssentiaPitchDetector.d.ts.map +1 -0
- package/dist/core/analysis/LevelSerializer.d.ts +265 -0
- package/dist/core/analysis/LevelSerializer.d.ts.map +1 -0
- package/dist/core/analysis/MelodyContourAnalyzer.d.ts +283 -0
- package/dist/core/analysis/MelodyContourAnalyzer.d.ts.map +1 -0
- package/dist/core/analysis/MultiBandAnalyzer.d.ts +214 -0
- package/dist/core/analysis/MultiBandAnalyzer.d.ts.map +1 -0
- package/dist/core/analysis/MusicClassifier.d.ts +524 -0
- package/dist/core/analysis/MusicClassifier.d.ts.map +1 -0
- package/dist/core/analysis/PitchAnalyzer.d.ts +266 -0
- package/dist/core/analysis/PitchAnalyzer.d.ts.map +1 -0
- package/dist/core/analysis/PitchDetector.d.ts +251 -0
- package/dist/core/analysis/PitchDetector.d.ts.map +1 -0
- package/dist/core/analysis/SpectrumScanner.d.ts +52 -0
- package/dist/core/analysis/SpectrumScanner.d.ts.map +1 -0
- package/dist/core/analysis/beat/BeatInterpolator.d.ts +477 -0
- package/dist/core/analysis/beat/BeatInterpolator.d.ts.map +1 -0
- package/dist/core/analysis/beat/BeatMapGenerator.d.ts +170 -0
- package/dist/core/analysis/beat/BeatMapGenerator.d.ts.map +1 -0
- package/dist/core/analysis/beat/BeatStream.d.ts +316 -0
- package/dist/core/analysis/beat/BeatStream.d.ts.map +1 -0
- package/dist/core/analysis/beat/BeatSubdivider.d.ts +205 -0
- package/dist/core/analysis/beat/BeatSubdivider.d.ts.map +1 -0
- package/dist/core/analysis/beat/BeatTracker.d.ts +137 -0
- package/dist/core/analysis/beat/BeatTracker.d.ts.map +1 -0
- package/dist/core/analysis/beat/CompositeStreamGenerator.d.ts +180 -0
- package/dist/core/analysis/beat/CompositeStreamGenerator.d.ts.map +1 -0
- package/dist/core/analysis/beat/DensityAnalyzer.d.ts +246 -0
- package/dist/core/analysis/beat/DensityAnalyzer.d.ts.map +1 -0
- package/dist/core/analysis/beat/DifficultyVariantGenerator.d.ts +1082 -0
- package/dist/core/analysis/beat/DifficultyVariantGenerator.d.ts.map +1 -0
- package/dist/core/analysis/beat/GrooveAnalyzer.d.ts +192 -0
- package/dist/core/analysis/beat/GrooveAnalyzer.d.ts.map +1 -0
- package/dist/core/analysis/beat/OnsetStrengthEnvelope.d.ts +133 -0
- package/dist/core/analysis/beat/OnsetStrengthEnvelope.d.ts.map +1 -0
- package/dist/core/analysis/beat/PhraseAnalyzer.d.ts +230 -0
- package/dist/core/analysis/beat/PhraseAnalyzer.d.ts.map +1 -0
- package/dist/core/analysis/beat/RhythmQuantizer.d.ts +399 -0
- package/dist/core/analysis/beat/RhythmQuantizer.d.ts.map +1 -0
- package/dist/core/analysis/beat/RhythmicBalancer.d.ts +262 -0
- package/dist/core/analysis/beat/RhythmicBalancer.d.ts.map +1 -0
- package/dist/core/analysis/beat/StreamScorer.d.ts +275 -0
- package/dist/core/analysis/beat/StreamScorer.d.ts.map +1 -0
- package/dist/core/analysis/beat/TempoAwareQuantizer.d.ts +256 -0
- package/dist/core/analysis/beat/TempoAwareQuantizer.d.ts.map +1 -0
- package/dist/core/analysis/beat/TempoDetector.d.ts +220 -0
- package/dist/core/analysis/beat/TempoDetector.d.ts.map +1 -0
- package/dist/core/analysis/beat/TransientDetector.d.ts +303 -0
- package/dist/core/analysis/beat/TransientDetector.d.ts.map +1 -0
- package/dist/core/analysis/beat/beatKeyHelpers.d.ts +180 -0
- package/dist/core/analysis/beat/beatKeyHelpers.d.ts.map +1 -0
- package/dist/core/analysis/beat/index.d.ts +41 -0
- package/dist/core/analysis/beat/index.d.ts.map +1 -0
- package/dist/core/analysis/beat/utils/audioUtils.d.ts +204 -0
- package/dist/core/analysis/beat/utils/audioUtils.d.ts.map +1 -0
- package/dist/core/analysis/beat/utils/beatInterpolationDebug.d.ts +404 -0
- package/dist/core/analysis/beat/utils/beatInterpolationDebug.d.ts.map +1 -0
- package/dist/core/analysis/beat/utils/subdivideBeatMap.d.ts +61 -0
- package/dist/core/analysis/beat/utils/subdivideBeatMap.d.ts.map +1 -0
- package/dist/core/analysis/beat/utils/unifyBeatMap.d.ts +33 -0
- package/dist/core/analysis/beat/utils/unifyBeatMap.d.ts.map +1 -0
- package/dist/core/analysis/index.d.ts +18 -0
- package/dist/core/analysis/index.d.ts.map +1 -0
- package/dist/core/combat/AI/AICombatRunner.d.ts +108 -0
- package/dist/core/combat/AI/AICombatRunner.d.ts.map +1 -0
- package/dist/core/combat/AI/CombatAI.d.ts +179 -0
- package/dist/core/combat/AI/CombatAI.d.ts.map +1 -0
- package/dist/core/combat/AI/CombatMetricsTracker.d.ts +30 -0
- package/dist/core/combat/AI/CombatMetricsTracker.d.ts.map +1 -0
- package/dist/core/combat/Analysis/BalanceValidator.d.ts +170 -0
- package/dist/core/combat/Analysis/BalanceValidator.d.ts.map +1 -0
- package/dist/core/combat/Analysis/ComparativeAnalyzer.d.ts +231 -0
- package/dist/core/combat/Analysis/ComparativeAnalyzer.d.ts.map +1 -0
- package/dist/core/combat/Analysis/DifficultyCalculator.d.ts +203 -0
- package/dist/core/combat/Analysis/DifficultyCalculator.d.ts.map +1 -0
- package/dist/core/combat/Analysis/ParameterSweep.d.ts +201 -0
- package/dist/core/combat/Analysis/ParameterSweep.d.ts.map +1 -0
- package/dist/core/combat/AttackResolver.d.ts +220 -0
- package/dist/core/combat/AttackResolver.d.ts.map +1 -0
- package/dist/core/combat/CombatEngine.d.ts +388 -0
- package/dist/core/combat/CombatEngine.d.ts.map +1 -0
- package/dist/core/combat/DiceRoller.d.ts +115 -0
- package/dist/core/combat/DiceRoller.d.ts.map +1 -0
- package/dist/core/combat/InitiativeRoller.d.ts +62 -0
- package/dist/core/combat/InitiativeRoller.d.ts.map +1 -0
- package/dist/core/combat/PartyAnalyzer.d.ts +215 -0
- package/dist/core/combat/PartyAnalyzer.d.ts.map +1 -0
- package/dist/core/combat/SeededDiceRoller.d.ts +120 -0
- package/dist/core/combat/SeededDiceRoller.d.ts.map +1 -0
- package/dist/core/combat/Simulation/CombatSimulator.d.ts +366 -0
- package/dist/core/combat/Simulation/CombatSimulator.d.ts.map +1 -0
- package/dist/core/combat/SpellCaster.d.ts +113 -0
- package/dist/core/combat/SpellCaster.d.ts.map +1 -0
- package/dist/core/config/index.d.ts +24 -0
- package/dist/core/config/index.d.ts.map +1 -0
- package/dist/core/config/progressionConfig.d.ts +73 -0
- package/dist/core/config/progressionConfig.d.ts.map +1 -0
- package/dist/core/config/sensorConfig.d.ts +134 -0
- package/dist/core/config/sensorConfig.d.ts.map +1 -0
- package/dist/core/equipment/BoxOpener.d.ts +175 -0
- package/dist/core/equipment/BoxOpener.d.ts.map +1 -0
- package/dist/core/equipment/EquipmentEffectApplier.d.ts +189 -0
- package/dist/core/equipment/EquipmentEffectApplier.d.ts.map +1 -0
- package/dist/core/equipment/EquipmentModifier.d.ts +327 -0
- package/dist/core/equipment/EquipmentModifier.d.ts.map +1 -0
- package/dist/core/equipment/EquipmentSpawnHelper.d.ts +246 -0
- package/dist/core/equipment/EquipmentSpawnHelper.d.ts.map +1 -0
- package/dist/core/equipment/EquipmentValidator.d.ts +173 -0
- package/dist/core/equipment/EquipmentValidator.d.ts.map +1 -0
- package/dist/core/extensions/ExtensionManager.d.ts +517 -0
- package/dist/core/extensions/ExtensionManager.d.ts.map +1 -0
- package/dist/core/extensions/WeightedSelector.d.ts +156 -0
- package/dist/core/extensions/WeightedSelector.d.ts.map +1 -0
- package/dist/core/extensions/index.d.ts +11 -0
- package/dist/core/extensions/index.d.ts.map +1 -0
- package/dist/core/extensions/initializeDefaults.d.ts +170 -0
- package/dist/core/extensions/initializeDefaults.d.ts.map +1 -0
- package/dist/core/features/FeatureEffectApplier.d.ts +102 -0
- package/dist/core/features/FeatureEffectApplier.d.ts.map +1 -0
- package/dist/core/features/FeatureQuery.d.ts +368 -0
- package/dist/core/features/FeatureQuery.d.ts.map +1 -0
- package/dist/core/features/FeatureTypes.d.ts +199 -0
- package/dist/core/features/FeatureTypes.d.ts.map +1 -0
- package/dist/core/features/FeatureValidator.d.ts +149 -0
- package/dist/core/features/FeatureValidator.d.ts.map +1 -0
- package/dist/core/features/index.d.ts +12 -0
- package/dist/core/features/index.d.ts.map +1 -0
- package/dist/core/generation/AbilityScoreCalculator.d.ts +83 -0
- package/dist/core/generation/AbilityScoreCalculator.d.ts.map +1 -0
- package/dist/core/generation/AppearanceGenerator.d.ts +32 -0
- package/dist/core/generation/AppearanceGenerator.d.ts.map +1 -0
- package/dist/core/generation/BeatConverter.d.ts +127 -0
- package/dist/core/generation/BeatConverter.d.ts.map +1 -0
- package/dist/core/generation/ButtonMapper.d.ts +346 -0
- package/dist/core/generation/ButtonMapper.d.ts.map +1 -0
- package/dist/core/generation/ButtonPatternLibrary.d.ts +92 -0
- package/dist/core/generation/ButtonPatternLibrary.d.ts.map +1 -0
- package/dist/core/generation/CRLevelConverter.d.ts +242 -0
- package/dist/core/generation/CRLevelConverter.d.ts.map +1 -0
- package/dist/core/generation/CharacterGenerator.d.ts +194 -0
- package/dist/core/generation/CharacterGenerator.d.ts.map +1 -0
- package/dist/core/generation/ClassSuggester.d.ts +184 -0
- package/dist/core/generation/ClassSuggester.d.ts.map +1 -0
- package/dist/core/generation/EnemyEquipmentGenerator.d.ts +151 -0
- package/dist/core/generation/EnemyEquipmentGenerator.d.ts.map +1 -0
- package/dist/core/generation/EnemyGenerator.d.ts +595 -0
- package/dist/core/generation/EnemyGenerator.d.ts.map +1 -0
- package/dist/core/generation/EquipmentGenerator.d.ts +204 -0
- package/dist/core/generation/EquipmentGenerator.d.ts.map +1 -0
- package/dist/core/generation/LegendaryGenerator.d.ts +213 -0
- package/dist/core/generation/LegendaryGenerator.d.ts.map +1 -0
- package/dist/core/generation/LevelGenerator.d.ts +390 -0
- package/dist/core/generation/LevelGenerator.d.ts.map +1 -0
- package/dist/core/generation/NamingEngine.d.ts +136 -0
- package/dist/core/generation/NamingEngine.d.ts.map +1 -0
- package/dist/core/generation/PitchBeatLinker.d.ts +150 -0
- package/dist/core/generation/PitchBeatLinker.d.ts.map +1 -0
- package/dist/core/generation/RaceSelector.d.ts +58 -0
- package/dist/core/generation/RaceSelector.d.ts.map +1 -0
- package/dist/core/generation/RhythmGenerator.d.ts +597 -0
- package/dist/core/generation/RhythmGenerator.d.ts.map +1 -0
- package/dist/core/generation/SkillAssigner.d.ts +78 -0
- package/dist/core/generation/SkillAssigner.d.ts.map +1 -0
- package/dist/core/generation/SpellManager.d.ts +132 -0
- package/dist/core/generation/SpellManager.d.ts.map +1 -0
- package/dist/core/generation/SpellcastingGenerator.d.ts +255 -0
- package/dist/core/generation/SpellcastingGenerator.d.ts.map +1 -0
- package/dist/core/generation/index.d.ts +41 -0
- package/dist/core/generation/index.d.ts.map +1 -0
- package/dist/core/parser/MetadataExtractor.d.ts +66 -0
- package/dist/core/parser/MetadataExtractor.d.ts.map +1 -0
- package/dist/core/parser/PlaylistParser.d.ts +45 -0
- package/dist/core/parser/PlaylistParser.d.ts.map +1 -0
- package/dist/core/playback/SubdivisionPlaybackController.d.ts +333 -0
- package/dist/core/playback/SubdivisionPlaybackController.d.ts.map +1 -0
- package/dist/core/playback/index.d.ts +5 -0
- package/dist/core/playback/index.d.ts.map +1 -0
- package/dist/core/progression/CharacterUpdater.d.ts +203 -0
- package/dist/core/progression/CharacterUpdater.d.ts.map +1 -0
- package/dist/core/progression/LevelUpProcessor.d.ts +234 -0
- package/dist/core/progression/LevelUpProcessor.d.ts.map +1 -0
- package/dist/core/progression/PrestigeSystem.d.ts +217 -0
- package/dist/core/progression/PrestigeSystem.d.ts.map +1 -0
- package/dist/core/progression/RhythmXPCalculator.d.ts +182 -0
- package/dist/core/progression/RhythmXPCalculator.d.ts.map +1 -0
- package/dist/core/progression/SessionTracker.d.ts +169 -0
- package/dist/core/progression/SessionTracker.d.ts.map +1 -0
- package/dist/core/progression/XPCalculator.d.ts +128 -0
- package/dist/core/progression/XPCalculator.d.ts.map +1 -0
- package/dist/core/progression/stat/StatIncreaseStrategy.d.ts +97 -0
- package/dist/core/progression/stat/StatIncreaseStrategy.d.ts.map +1 -0
- package/dist/core/progression/stat/StatManager.d.ts +179 -0
- package/dist/core/progression/stat/StatManager.d.ts.map +1 -0
- package/dist/core/sensors/EnvironmentalSensors.d.ts +301 -0
- package/dist/core/sensors/EnvironmentalSensors.d.ts.map +1 -0
- package/dist/core/sensors/GamingPlatformSensors.d.ts +162 -0
- package/dist/core/sensors/GamingPlatformSensors.d.ts.map +1 -0
- package/dist/core/sensors/GeolocationProvider.d.ts +156 -0
- package/dist/core/sensors/GeolocationProvider.d.ts.map +1 -0
- package/dist/core/sensors/MotionDetector.d.ts +58 -0
- package/dist/core/sensors/MotionDetector.d.ts.map +1 -0
- package/dist/core/sensors/SteamAPIClient.d.ts +108 -0
- package/dist/core/sensors/SteamAPIClient.d.ts.map +1 -0
- package/dist/core/sensors/WeatherAPIClient.d.ts +360 -0
- package/dist/core/sensors/WeatherAPIClient.d.ts.map +1 -0
- package/dist/core/sensors/schemas/weather.schema.d.ts +144 -0
- package/dist/core/sensors/schemas/weather.schema.d.ts.map +1 -0
- package/dist/core/skills/SkillQuery.d.ts +159 -0
- package/dist/core/skills/SkillQuery.d.ts.map +1 -0
- package/dist/core/skills/SkillTypes.d.ts +233 -0
- package/dist/core/skills/SkillTypes.d.ts.map +1 -0
- package/dist/core/skills/SkillValidator.d.ts +146 -0
- package/dist/core/skills/SkillValidator.d.ts.map +1 -0
- package/dist/core/skills/index.d.ts +11 -0
- package/dist/core/skills/index.d.ts.map +1 -0
- package/dist/core/spells/SpellQuery.d.ts +194 -0
- package/dist/core/spells/SpellQuery.d.ts.map +1 -0
- package/dist/core/spells/SpellTypes.d.ts +71 -0
- package/dist/core/spells/SpellTypes.d.ts.map +1 -0
- package/dist/core/spells/SpellValidator.d.ts +129 -0
- package/dist/core/spells/SpellValidator.d.ts.map +1 -0
- package/dist/core/spells/index.d.ts +11 -0
- package/dist/core/spells/index.d.ts.map +1 -0
- package/dist/core/types/AudioProfile.d.ts +143 -0
- package/dist/core/types/AudioProfile.d.ts.map +1 -0
- package/dist/core/types/BeatMap.d.ts +1825 -0
- package/dist/core/types/BeatMap.d.ts.map +1 -0
- package/dist/core/types/ButtonMapping.d.ts +345 -0
- package/dist/core/types/ButtonMapping.d.ts.map +1 -0
- package/dist/core/types/Character.d.ts +397 -0
- package/dist/core/types/Character.d.ts.map +1 -0
- package/dist/core/types/ChartedBeatMap.d.ts +169 -0
- package/dist/core/types/ChartedBeatMap.d.ts.map +1 -0
- package/dist/core/types/Combat.d.ts +268 -0
- package/dist/core/types/Combat.d.ts.map +1 -0
- package/dist/core/types/CombatAI.d.ts +143 -0
- package/dist/core/types/CombatAI.d.ts.map +1 -0
- package/dist/core/types/Enemy.d.ts +447 -0
- package/dist/core/types/Enemy.d.ts.map +1 -0
- package/dist/core/types/Environmental.d.ts +213 -0
- package/dist/core/types/Environmental.d.ts.map +1 -0
- package/dist/core/types/Equipment.d.ts +309 -0
- package/dist/core/types/Equipment.d.ts.map +1 -0
- package/dist/core/types/ISessionTracker.d.ts +48 -0
- package/dist/core/types/ISessionTracker.d.ts.map +1 -0
- package/dist/core/types/LevelExport.d.ts +366 -0
- package/dist/core/types/LevelExport.d.ts.map +1 -0
- package/dist/core/types/Playlist.d.ts +70 -0
- package/dist/core/types/Playlist.d.ts.map +1 -0
- package/dist/core/types/Prestige.d.ts +94 -0
- package/dist/core/types/Prestige.d.ts.map +1 -0
- package/dist/core/types/Progression.d.ts +214 -0
- package/dist/core/types/Progression.d.ts.map +1 -0
- package/dist/core/types/RhythmXP.d.ts +398 -0
- package/dist/core/types/RhythmXP.d.ts.map +1 -0
- package/dist/core/utils/AbilityConstants.d.ts +31 -0
- package/dist/core/utils/AbilityConstants.d.ts.map +1 -0
- package/dist/core/utils/EffectApplierUtils.d.ts +56 -0
- package/dist/core/utils/EffectApplierUtils.d.ts.map +1 -0
- package/dist/core/utils/ImageValidator.d.ts +66 -0
- package/dist/core/utils/ImageValidator.d.ts.map +1 -0
- package/dist/core/utils/PrerequisiteValidator.d.ts +88 -0
- package/dist/core/utils/PrerequisiteValidator.d.ts.map +1 -0
- package/dist/essentia-wasm.es-BUEnKUts.js +2990 -0
- package/dist/essentia.js-model.es-CGA0xotH.js +306 -0
- package/dist/index.d.ts +176 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/playlist-data-engine.js +124 -0
- package/dist/playlist-data-engine.mjs +49251 -0
- package/dist/utils/EnchantmentLibrary.d.ts +378 -0
- package/dist/utils/EnchantmentLibrary.d.ts.map +1 -0
- package/dist/utils/arweaveGatewayManager.d.ts +485 -0
- package/dist/utils/arweaveGatewayManager.d.ts.map +1 -0
- package/dist/utils/arweaveUtils.d.ts +118 -0
- package/dist/utils/arweaveUtils.d.ts.map +1 -0
- package/dist/utils/constants.d.ts +439 -0
- package/dist/utils/constants.d.ts.map +1 -0
- package/dist/utils/equipmentConstants.d.ts +60 -0
- package/dist/utils/equipmentConstants.d.ts.map +1 -0
- package/dist/utils/hash.d.ts +33 -0
- package/dist/utils/hash.d.ts.map +1 -0
- package/dist/utils/logger.d.ts +192 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/magicItemExamples.d.ts +46 -0
- package/dist/utils/magicItemExamples.d.ts.map +1 -0
- package/dist/utils/playlistUtils.d.ts +149 -0
- package/dist/utils/playlistUtils.d.ts.map +1 -0
- package/dist/utils/random.d.ts +34 -0
- package/dist/utils/random.d.ts.map +1 -0
- package/dist/utils/sensorDashboard.d.ts +60 -0
- package/dist/utils/sensorDashboard.d.ts.map +1 -0
- package/dist/utils/validators.d.ts +189 -0
- package/dist/utils/validators.d.ts.map +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +82 -0
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enchantment Library Class
|
|
3
|
+
*
|
|
4
|
+
* A utility class for accessing enchantments and curses that can be applied to equipment.
|
|
5
|
+
* This class provides static methods for looking up enchantments by ID, retrieving all
|
|
6
|
+
* enchantments of a specific type, and creating stat-boosting enchantments.
|
|
7
|
+
*
|
|
8
|
+
* The actual enchantment data is stored in `ENCHANTMENT_LIBRARY` in src/constants/DefaultEnchantments.ts,
|
|
9
|
+
* organized by category:
|
|
10
|
+
* - WEAPON_ENCHANTMENTS: Individual weapon enchantments (+1, flaming, frost, etc.)
|
|
11
|
+
* - ARMOR_ENCHANTMENTS: Individual armor enchantments (+1, +2)
|
|
12
|
+
* - RESISTANCE_ENCHANTMENTS: Individual resistance enchantments (fire, cold, etc.)
|
|
13
|
+
* - COMBO_ENCHANTMENTS: Special multi-effect enchantments (Holy Avenger, Dragon Slayer, etc.)
|
|
14
|
+
* - CURSES: All curses (penalties, stat curses, vulnerabilities, special curses)
|
|
15
|
+
* - ALL_ENCHANTMENTS: Flattened combination of WEAPON + ARMOR + RESISTANCE + COMBO
|
|
16
|
+
*
|
|
17
|
+
* Usage:
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import { EnchantmentLibrary } from './utils/EnchantmentLibrary.js';
|
|
20
|
+
* import { ENCHANTMENT_LIBRARY } from './utils/equipmentConstants.js';
|
|
21
|
+
*
|
|
22
|
+
* // Lookup by ID (searches ALL_ENCHANTMENTS)
|
|
23
|
+
* const plusOne = EnchantmentLibrary.getEnchantment('plus_one');
|
|
24
|
+
* const curse = EnchantmentLibrary.getCurse('berserker');
|
|
25
|
+
*
|
|
26
|
+
* // Get by type
|
|
27
|
+
* const weapons = EnchantmentLibrary.getEnchantmentsByType('weapon');
|
|
28
|
+
*
|
|
29
|
+
* // Get all as arrays
|
|
30
|
+
* const allEnchantments = EnchantmentLibrary.getAllEnchantments();
|
|
31
|
+
* const allCurses = EnchantmentLibrary.getAllCurses();
|
|
32
|
+
*
|
|
33
|
+
* // Create stat-boosting enchantments
|
|
34
|
+
* const strEnchant = EnchantmentLibrary.createStrengthEnchantment(2);
|
|
35
|
+
*
|
|
36
|
+
* // Direct access (import ENCHANTMENT_LIBRARY from equipmentConstants)
|
|
37
|
+
* const direct = ENCHANTMENT_LIBRARY.WEAPON_ENCHANTMENTS.plusOne;
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @module utils/EnchantmentLibrary
|
|
41
|
+
*/
|
|
42
|
+
import type { EquipmentModification } from '../core/types/Equipment.js';
|
|
43
|
+
/**
|
|
44
|
+
* Enchantment Library Class
|
|
45
|
+
*
|
|
46
|
+
* Provides static methods for accessing enchantments and curses from the centralized
|
|
47
|
+
* ENCHANTMENT_LIBRARY (re-exported from src/constants/DefaultEnchantments.ts).
|
|
48
|
+
*/
|
|
49
|
+
export declare class EnchantmentLibrary {
|
|
50
|
+
/**
|
|
51
|
+
* Private constructor to prevent instantiation.
|
|
52
|
+
* This is a utility class with only static methods.
|
|
53
|
+
*
|
|
54
|
+
* @throws {Error} Always - instantiation is not allowed
|
|
55
|
+
*/
|
|
56
|
+
private constructor();
|
|
57
|
+
/**
|
|
58
|
+
* Get enchantment by ID
|
|
59
|
+
*
|
|
60
|
+
* Searches ALL_ENCHANTMENTS for an enchantment matching the given ID.
|
|
61
|
+
* The ALL_ENCHANTMENTS collection includes WEAPON, ARMOR, RESISTANCE, and COMBO enchantments.
|
|
62
|
+
*
|
|
63
|
+
* @param id - The enchantment ID to look up (e.g., 'plus_one', 'flaming', 'berserker')
|
|
64
|
+
* @returns The enchantment if found, undefined otherwise
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```typescript
|
|
68
|
+
* const plusOne = EnchantmentLibrary.getEnchantment('plus_one');
|
|
69
|
+
* const flaming = EnchantmentLibrary.getEnchantment('flaming');
|
|
70
|
+
* const holyAvenger = EnchantmentLibrary.getEnchantment('holy_avenger');
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
static getEnchantment(id: string): EquipmentModification | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* Get curse by ID
|
|
76
|
+
*
|
|
77
|
+
* Searches the CURSES collection for a curse matching the given ID.
|
|
78
|
+
*
|
|
79
|
+
* @param id - The curse ID to look up (e.g., 'minus_one', 'berserker', 'weakness')
|
|
80
|
+
* @returns The curse if found, undefined otherwise
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* ```typescript
|
|
84
|
+
* const curse = EnchantmentLibrary.getCurse('berserker');
|
|
85
|
+
* const weakness = EnchantmentLibrary.getCurse('weakness');
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
static getCurse(id: string): EquipmentModification | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* Get all enchantments
|
|
91
|
+
*
|
|
92
|
+
* Returns all enchantments as an array, excluding curses.
|
|
93
|
+
* Includes WEAPON, ARMOR, RESISTANCE, and COMBO enchantments.
|
|
94
|
+
*
|
|
95
|
+
* @returns Array of all enchantments
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* ```typescript
|
|
99
|
+
* const allEnchantments = EnchantmentLibrary.getAllEnchantments();
|
|
100
|
+
* console.log(`Total enchantments: ${allEnchantments.length}`);
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
static getAllEnchantments(): EquipmentModification[];
|
|
104
|
+
/**
|
|
105
|
+
* Get all curses
|
|
106
|
+
*
|
|
107
|
+
* Returns all curses as an array.
|
|
108
|
+
*
|
|
109
|
+
* @returns Array of all curses
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* ```typescript
|
|
113
|
+
* const allCurses = EnchantmentLibrary.getAllCurses();
|
|
114
|
+
* console.log(`Total curses: ${allCurses.length}`);
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
static getAllCurses(): EquipmentModification[];
|
|
118
|
+
/**
|
|
119
|
+
* Get enchantments by type
|
|
120
|
+
*
|
|
121
|
+
* Returns all enchantments of a specific type as an array.
|
|
122
|
+
*
|
|
123
|
+
* @param type - The type of enchantments to retrieve
|
|
124
|
+
* @returns Array of enchantments of the specified type, or empty array if type is invalid
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* ```typescript
|
|
128
|
+
* const weaponEnchantments = EnchantmentLibrary.getEnchantmentsByType('weapon');
|
|
129
|
+
* const armorEnchantments = EnchantmentLibrary.getEnchantmentsByType('armor');
|
|
130
|
+
* const resistanceEnchantments = EnchantmentLibrary.getEnchantmentsByType('resistance');
|
|
131
|
+
* const comboEnchantments = EnchantmentLibrary.getEnchantmentsByType('combo');
|
|
132
|
+
* ```
|
|
133
|
+
*/
|
|
134
|
+
static getEnchantmentsByType(type: 'weapon' | 'armor' | 'resistance' | 'combo'): EquipmentModification[];
|
|
135
|
+
/**
|
|
136
|
+
* Create a Strength boosting enchantment
|
|
137
|
+
*
|
|
138
|
+
* Creates an enchantment that adds a bonus to the Strength ability score.
|
|
139
|
+
*
|
|
140
|
+
* @param bonus - The bonus amount (1-4)
|
|
141
|
+
* @returns A new EquipmentModification for the Strength boost
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* ```typescript
|
|
145
|
+
* const strPlus2 = EnchantmentLibrary.createStrengthEnchantment(2);
|
|
146
|
+
* // Returns: { id: 'strength_2', name: 'Strength +2', ... }
|
|
147
|
+
* ```
|
|
148
|
+
*/
|
|
149
|
+
static createStrengthEnchantment(bonus: 1 | 2 | 3 | 4): EquipmentModification;
|
|
150
|
+
/**
|
|
151
|
+
* Create a Dexterity boosting enchantment
|
|
152
|
+
*
|
|
153
|
+
* Creates an enchantment that adds a bonus to the Dexterity ability score.
|
|
154
|
+
*
|
|
155
|
+
* @param bonus - The bonus amount (1-4)
|
|
156
|
+
* @returns A new EquipmentModification for the Dexterity boost
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* ```typescript
|
|
160
|
+
* const dexPlus2 = EnchantmentLibrary.createDexterityEnchantment(2);
|
|
161
|
+
* // Returns: { id: 'dexterity_2', name: 'Dexterity +2', ... }
|
|
162
|
+
* ```
|
|
163
|
+
*/
|
|
164
|
+
static createDexterityEnchantment(bonus: 1 | 2 | 3 | 4): EquipmentModification;
|
|
165
|
+
/**
|
|
166
|
+
* Create a Constitution boosting enchantment
|
|
167
|
+
*
|
|
168
|
+
* Creates an enchantment that adds a bonus to the Constitution ability score.
|
|
169
|
+
*
|
|
170
|
+
* @param bonus - The bonus amount (1-4)
|
|
171
|
+
* @returns A new EquipmentModification for the Constitution boost
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* ```typescript
|
|
175
|
+
* const conPlus2 = EnchantmentLibrary.createConstitutionEnchantment(2);
|
|
176
|
+
* // Returns: { id: 'constitution_2', name: 'Constitution +2', ... }
|
|
177
|
+
* ```
|
|
178
|
+
*/
|
|
179
|
+
static createConstitutionEnchantment(bonus: 1 | 2 | 3 | 4): EquipmentModification;
|
|
180
|
+
/**
|
|
181
|
+
* Create an Intelligence boosting enchantment
|
|
182
|
+
*
|
|
183
|
+
* Creates an enchantment that adds a bonus to the Intelligence ability score.
|
|
184
|
+
*
|
|
185
|
+
* @param bonus - The bonus amount (1-4)
|
|
186
|
+
* @returns A new EquipmentModification for the Intelligence boost
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* ```typescript
|
|
190
|
+
* const intPlus2 = EnchantmentLibrary.createIntelligenceEnchantment(2);
|
|
191
|
+
* // Returns: { id: 'intelligence_2', name: 'Intelligence +2', ... }
|
|
192
|
+
* ```
|
|
193
|
+
*/
|
|
194
|
+
static createIntelligenceEnchantment(bonus: 1 | 2 | 3 | 4): EquipmentModification;
|
|
195
|
+
/**
|
|
196
|
+
* Create a Wisdom boosting enchantment
|
|
197
|
+
*
|
|
198
|
+
* Creates an enchantment that adds a bonus to the Wisdom ability score.
|
|
199
|
+
*
|
|
200
|
+
* @param bonus - The bonus amount (1-4)
|
|
201
|
+
* @returns A new EquipmentModification for the Wisdom boost
|
|
202
|
+
*
|
|
203
|
+
* @example
|
|
204
|
+
* ```typescript
|
|
205
|
+
* const wisPlus2 = EnchantmentLibrary.createWisdomEnchantment(2);
|
|
206
|
+
* // Returns: { id: 'wisdom_2', name: 'Wisdom +2', ... }
|
|
207
|
+
* ```
|
|
208
|
+
*/
|
|
209
|
+
static createWisdomEnchantment(bonus: 1 | 2 | 3 | 4): EquipmentModification;
|
|
210
|
+
/**
|
|
211
|
+
* Create a Charisma boosting enchantment
|
|
212
|
+
*
|
|
213
|
+
* Creates an enchantment that adds a bonus to the Charisma ability score.
|
|
214
|
+
*
|
|
215
|
+
* @param bonus - The bonus amount (1-4)
|
|
216
|
+
* @returns A new EquipmentModification for the Charisma boost
|
|
217
|
+
*
|
|
218
|
+
* @example
|
|
219
|
+
* ```typescript
|
|
220
|
+
* const chaPlus2 = EnchantmentLibrary.createCharismaEnchantment(2);
|
|
221
|
+
* // Returns: { id: 'charisma_2', name: 'Charisma +2', ... }
|
|
222
|
+
* ```
|
|
223
|
+
*/
|
|
224
|
+
static createCharismaEnchantment(bonus: 1 | 2 | 3 | 4): EquipmentModification;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Re-export individual enchantment collections for backward compatibility.
|
|
228
|
+
*
|
|
229
|
+
* These are re-exported from ENCHANTMENT_LIBRARY in equipmentConstants.ts.
|
|
230
|
+
* Direct import from equipmentConstants.ts is recommended for new code.
|
|
231
|
+
*/
|
|
232
|
+
export declare const WEAPON_ENCHANTMENTS: {
|
|
233
|
+
readonly plusOne: EquipmentModification;
|
|
234
|
+
readonly plusTwo: EquipmentModification;
|
|
235
|
+
readonly plusThree: EquipmentModification;
|
|
236
|
+
readonly flaming: EquipmentModification;
|
|
237
|
+
readonly frost: EquipmentModification;
|
|
238
|
+
readonly shocking: EquipmentModification;
|
|
239
|
+
readonly thundering: EquipmentModification;
|
|
240
|
+
readonly acidic: EquipmentModification;
|
|
241
|
+
readonly poison: EquipmentModification;
|
|
242
|
+
readonly holy: EquipmentModification;
|
|
243
|
+
readonly vampiric: EquipmentModification;
|
|
244
|
+
readonly vorpalEdge: EquipmentModification;
|
|
245
|
+
readonly keenEdge: EquipmentModification;
|
|
246
|
+
readonly mighty: EquipmentModification;
|
|
247
|
+
readonly returning: EquipmentModification;
|
|
248
|
+
readonly lifestealing: EquipmentModification;
|
|
249
|
+
};
|
|
250
|
+
export declare const ARMOR_ENCHANTMENTS: {
|
|
251
|
+
readonly plusOne: EquipmentModification;
|
|
252
|
+
readonly plusTwo: EquipmentModification;
|
|
253
|
+
};
|
|
254
|
+
export declare const RESISTANCE_ENCHANTMENTS: {
|
|
255
|
+
readonly fire: EquipmentModification;
|
|
256
|
+
readonly cold: EquipmentModification;
|
|
257
|
+
readonly lightning: EquipmentModification;
|
|
258
|
+
readonly acid: EquipmentModification;
|
|
259
|
+
readonly poison: EquipmentModification;
|
|
260
|
+
readonly necrotic: EquipmentModification;
|
|
261
|
+
readonly radiant: EquipmentModification;
|
|
262
|
+
readonly thunder: EquipmentModification;
|
|
263
|
+
readonly all: EquipmentModification;
|
|
264
|
+
};
|
|
265
|
+
export declare const CURSES: {
|
|
266
|
+
readonly minusOne: EquipmentModification;
|
|
267
|
+
readonly minusTwo: EquipmentModification;
|
|
268
|
+
readonly weakness: EquipmentModification;
|
|
269
|
+
readonly feeblemind: EquipmentModification;
|
|
270
|
+
readonly clumsiness: EquipmentModification;
|
|
271
|
+
readonly frailty: EquipmentModification;
|
|
272
|
+
readonly foolishness: EquipmentModification;
|
|
273
|
+
readonly repulsiveness: EquipmentModification;
|
|
274
|
+
readonly fireVulnerability: EquipmentModification;
|
|
275
|
+
readonly coldVulnerability: EquipmentModification;
|
|
276
|
+
readonly lifesteal: EquipmentModification;
|
|
277
|
+
readonly attunement: EquipmentModification;
|
|
278
|
+
readonly berserker: EquipmentModification;
|
|
279
|
+
readonly heavyBurden: EquipmentModification;
|
|
280
|
+
readonly lightSensitivity: EquipmentModification;
|
|
281
|
+
readonly invisibility: EquipmentModification;
|
|
282
|
+
readonly hallucinations: EquipmentModification;
|
|
283
|
+
readonly bloodMoney: EquipmentModification;
|
|
284
|
+
};
|
|
285
|
+
export declare const ALL_ENCHANTMENTS: Record<string, EquipmentModification>;
|
|
286
|
+
/**
|
|
287
|
+
* Re-export utility functions as standalone functions for backward compatibility.
|
|
288
|
+
*
|
|
289
|
+
* New code should use the class methods: `EnchantmentLibrary.getEnchantment(...)`
|
|
290
|
+
* Legacy code can continue using: `getEnchantment(...)`
|
|
291
|
+
*/
|
|
292
|
+
export declare const getEnchantment: (id: string) => EquipmentModification | undefined;
|
|
293
|
+
export declare const getCurse: (id: string) => EquipmentModification | undefined;
|
|
294
|
+
export declare const getAllEnchantments: () => EquipmentModification[];
|
|
295
|
+
export declare const getAllCurses: () => EquipmentModification[];
|
|
296
|
+
export declare const getEnchantmentsByType: (type: "weapon" | "armor" | "resistance" | "combo") => EquipmentModification[];
|
|
297
|
+
/**
|
|
298
|
+
* Re-export stat boosting factory functions for backward compatibility.
|
|
299
|
+
*
|
|
300
|
+
* New code should use the class methods: `EnchantmentLibrary.createStrengthEnchantment(...)`
|
|
301
|
+
* Legacy code can continue using: `createStrengthEnchantment(...)`
|
|
302
|
+
*/
|
|
303
|
+
export declare const createStrengthEnchantment: (bonus: 1 | 2 | 3 | 4) => EquipmentModification;
|
|
304
|
+
export declare const createDexterityEnchantment: (bonus: 1 | 2 | 3 | 4) => EquipmentModification;
|
|
305
|
+
export declare const createConstitutionEnchantment: (bonus: 1 | 2 | 3 | 4) => EquipmentModification;
|
|
306
|
+
export declare const createIntelligenceEnchantment: (bonus: 1 | 2 | 3 | 4) => EquipmentModification;
|
|
307
|
+
export declare const createWisdomEnchantment: (bonus: 1 | 2 | 3 | 4) => EquipmentModification;
|
|
308
|
+
export declare const createCharismaEnchantment: (bonus: 1 | 2 | 3 | 4) => EquipmentModification;
|
|
309
|
+
declare const _default: {
|
|
310
|
+
EnchantmentLibrary: typeof EnchantmentLibrary;
|
|
311
|
+
WEAPON_ENCHANTMENTS: {
|
|
312
|
+
readonly plusOne: EquipmentModification;
|
|
313
|
+
readonly plusTwo: EquipmentModification;
|
|
314
|
+
readonly plusThree: EquipmentModification;
|
|
315
|
+
readonly flaming: EquipmentModification;
|
|
316
|
+
readonly frost: EquipmentModification;
|
|
317
|
+
readonly shocking: EquipmentModification;
|
|
318
|
+
readonly thundering: EquipmentModification;
|
|
319
|
+
readonly acidic: EquipmentModification;
|
|
320
|
+
readonly poison: EquipmentModification;
|
|
321
|
+
readonly holy: EquipmentModification;
|
|
322
|
+
readonly vampiric: EquipmentModification;
|
|
323
|
+
readonly vorpalEdge: EquipmentModification;
|
|
324
|
+
readonly keenEdge: EquipmentModification;
|
|
325
|
+
readonly mighty: EquipmentModification;
|
|
326
|
+
readonly returning: EquipmentModification;
|
|
327
|
+
readonly lifestealing: EquipmentModification;
|
|
328
|
+
};
|
|
329
|
+
ARMOR_ENCHANTMENTS: {
|
|
330
|
+
readonly plusOne: EquipmentModification;
|
|
331
|
+
readonly plusTwo: EquipmentModification;
|
|
332
|
+
};
|
|
333
|
+
RESISTANCE_ENCHANTMENTS: {
|
|
334
|
+
readonly fire: EquipmentModification;
|
|
335
|
+
readonly cold: EquipmentModification;
|
|
336
|
+
readonly lightning: EquipmentModification;
|
|
337
|
+
readonly acid: EquipmentModification;
|
|
338
|
+
readonly poison: EquipmentModification;
|
|
339
|
+
readonly necrotic: EquipmentModification;
|
|
340
|
+
readonly radiant: EquipmentModification;
|
|
341
|
+
readonly thunder: EquipmentModification;
|
|
342
|
+
readonly all: EquipmentModification;
|
|
343
|
+
};
|
|
344
|
+
CURSES: {
|
|
345
|
+
readonly minusOne: EquipmentModification;
|
|
346
|
+
readonly minusTwo: EquipmentModification;
|
|
347
|
+
readonly weakness: EquipmentModification;
|
|
348
|
+
readonly feeblemind: EquipmentModification;
|
|
349
|
+
readonly clumsiness: EquipmentModification;
|
|
350
|
+
readonly frailty: EquipmentModification;
|
|
351
|
+
readonly foolishness: EquipmentModification;
|
|
352
|
+
readonly repulsiveness: EquipmentModification;
|
|
353
|
+
readonly fireVulnerability: EquipmentModification;
|
|
354
|
+
readonly coldVulnerability: EquipmentModification;
|
|
355
|
+
readonly lifesteal: EquipmentModification;
|
|
356
|
+
readonly attunement: EquipmentModification;
|
|
357
|
+
readonly berserker: EquipmentModification;
|
|
358
|
+
readonly heavyBurden: EquipmentModification;
|
|
359
|
+
readonly lightSensitivity: EquipmentModification;
|
|
360
|
+
readonly invisibility: EquipmentModification;
|
|
361
|
+
readonly hallucinations: EquipmentModification;
|
|
362
|
+
readonly bloodMoney: EquipmentModification;
|
|
363
|
+
};
|
|
364
|
+
ALL_ENCHANTMENTS: Record<string, EquipmentModification>;
|
|
365
|
+
getEnchantment: (id: string) => EquipmentModification | undefined;
|
|
366
|
+
getCurse: (id: string) => EquipmentModification | undefined;
|
|
367
|
+
getAllEnchantments: () => EquipmentModification[];
|
|
368
|
+
getAllCurses: () => EquipmentModification[];
|
|
369
|
+
getEnchantmentsByType: (type: "weapon" | "armor" | "resistance" | "combo") => EquipmentModification[];
|
|
370
|
+
createStrengthEnchantment: (bonus: 1 | 2 | 3 | 4) => EquipmentModification;
|
|
371
|
+
createDexterityEnchantment: (bonus: 1 | 2 | 3 | 4) => EquipmentModification;
|
|
372
|
+
createConstitutionEnchantment: (bonus: 1 | 2 | 3 | 4) => EquipmentModification;
|
|
373
|
+
createIntelligenceEnchantment: (bonus: 1 | 2 | 3 | 4) => EquipmentModification;
|
|
374
|
+
createWisdomEnchantment: (bonus: 1 | 2 | 3 | 4) => EquipmentModification;
|
|
375
|
+
createCharismaEnchantment: (bonus: 1 | 2 | 3 | 4) => EquipmentModification;
|
|
376
|
+
};
|
|
377
|
+
export default _default;
|
|
378
|
+
//# sourceMappingURL=EnchantmentLibrary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnchantmentLibrary.d.ts","sourceRoot":"","sources":["../../src/utils/EnchantmentLibrary.ts"],"names":[],"mappings":"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"}
|