blacktrigram 0.7.43 → 0.7.45
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/lib/audio/AudioManager.d.ts +26 -0
- package/lib/audio/AudioManager.d.ts.map +1 -1
- package/lib/audio/AudioManager.js +26 -0
- package/lib/audio/AudioManager.js.map +1 -1
- package/lib/audio/AudioPool.js +3 -0
- package/lib/audio/AudioPool.js.map +1 -1
- package/lib/audio/index.d.ts.map +1 -1
- package/lib/audio/index.js.map +1 -1
- package/lib/audio/types.d.ts +18 -2
- package/lib/audio/types.d.ts.map +1 -1
- package/lib/audio/types.js +1 -0
- package/lib/audio/types.js.map +1 -1
- package/lib/components/effects/WindParticles3D.d.ts.map +1 -1
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js.map +1 -1
- package/lib/components/screens/combat/CombatScreen3D.d.ts.map +1 -1
- package/lib/components/screens/combat/CombatScreen3D.js.map +1 -1
- package/lib/components/screens/combat/components/controls/KeyboardHints.d.ts +0 -1
- package/lib/components/screens/combat/components/controls/KeyboardHints.d.ts.map +1 -1
- package/lib/components/screens/combat/components/controls/KeyboardHints.js +0 -1
- package/lib/components/screens/combat/components/controls/KeyboardHints.js.map +1 -1
- package/lib/components/screens/combat/components/controls/PauseMenu.d.ts.map +1 -1
- package/lib/components/screens/combat/components/controls/PauseMenu.js.map +1 -1
- package/lib/components/screens/combat/components/effects/ArterialSpray3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/BloodDecals3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/BloodDecals3D.js.map +1 -1
- package/lib/components/screens/combat/components/effects/BloodLossOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/BloodLossOverlayHtml.js.map +1 -1
- package/lib/components/screens/combat/components/effects/BloodParticles3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/BloodParticles3D.js.map +1 -1
- package/lib/components/screens/combat/components/effects/BloodViscosity3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/BloodViscosity3D.js.map +1 -1
- package/lib/components/screens/combat/components/effects/BoneCrackParticles3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/CombatParticleEffects3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/CombatParticleEffects3D.js.map +1 -1
- package/lib/components/screens/combat/components/effects/ConsciousnessBlur.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/ConsciousnessBlur.js.map +1 -1
- package/lib/components/screens/combat/components/effects/DustClouds3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/EarthCrackEffect3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/EarthHealingEffect3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/ImpactSparks3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/InternalDamage3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/InternalDamage3D.js.map +1 -1
- package/lib/components/screens/combat/components/effects/LiPrecisionTargetingOverlay.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/NerveStrikeParticles3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/PainVignette.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/PainVignette.js.map +1 -1
- package/lib/components/screens/combat/components/effects/ParticleAudio3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/ParticleAudio3D.js.map +1 -1
- package/lib/components/screens/combat/components/effects/TraumaOverlay3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/TraumaOverlay3D.js.map +1 -1
- package/lib/components/screens/combat/components/effects/WaterRipple3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/WaterWave3D.d.ts.map +1 -1
- package/lib/components/screens/combat/components/effects/index.d.ts.map +1 -1
- package/lib/components/screens/combat/components/feedback/MatchCountdown.d.ts.map +1 -1
- package/lib/components/screens/combat/components/feedback/MatchCountdown.js.map +1 -1
- package/lib/components/screens/combat/components/feedback/RoundAnnouncementOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/combat/components/feedback/RoundAnnouncementOverlayHtml.js.map +1 -1
- package/lib/components/screens/combat/components/feedback/RoundStartAnnouncementOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/combat/components/feedback/RoundStartAnnouncementOverlayHtml.js.map +1 -1
- package/lib/components/screens/combat/components/hud/CombatBottomHUD.d.ts.map +1 -1
- package/lib/components/screens/combat/components/hud/CombatBottomHUD.js.map +1 -1
- package/lib/components/screens/combat/components/hud/CombatLeftHUD.d.ts.map +1 -1
- package/lib/components/screens/combat/components/hud/CombatLeftHUD.js.map +1 -1
- package/lib/components/screens/combat/components/hud/CombatPortraitStatusStrip.d.ts.map +1 -1
- package/lib/components/screens/combat/components/hud/CombatPortraitStatusStrip.js.map +1 -1
- package/lib/components/screens/combat/components/hud/CombatRightHUD.d.ts.map +1 -1
- package/lib/components/screens/combat/components/hud/CombatRightHUD.js.map +1 -1
- package/lib/components/screens/combat/components/hud/CombatTopHUD.d.ts.map +1 -1
- package/lib/components/screens/combat/components/hud/CombatTopHUD.js.map +1 -1
- package/lib/components/screens/combat/components/hud/DifficultyIndicator.d.ts.map +1 -1
- package/lib/components/screens/combat/components/hud/DifficultyIndicator.js.map +1 -1
- package/lib/components/screens/combat/components/hud/FPSMonitor.d.ts.map +1 -1
- package/lib/components/screens/combat/components/hud/FPSMonitor.js.map +1 -1
- package/lib/components/screens/combat/components/hud/PlayerStateOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/combat/components/hud/PlayerStateOverlayHtml.js.map +1 -1
- package/lib/components/screens/combat/components/indicators/BalanceIndicator.d.ts.map +1 -1
- package/lib/components/screens/combat/components/indicators/BalanceIndicator.js.map +1 -1
- package/lib/components/screens/combat/components/indicators/InputBufferDisplay.d.ts +0 -1
- package/lib/components/screens/combat/components/indicators/InputBufferDisplay.d.ts.map +1 -1
- package/lib/components/screens/combat/components/indicators/InputBufferDisplay.js +0 -1
- package/lib/components/screens/combat/components/indicators/InputBufferDisplay.js.map +1 -1
- package/lib/components/screens/combat/components/indicators/StaminaWarning.d.ts.map +1 -1
- package/lib/components/screens/combat/components/indicators/StaminaWarning.js.map +1 -1
- package/lib/components/screens/combat/components/indicators/TechniqueNameDisplay.d.ts +0 -2
- package/lib/components/screens/combat/components/indicators/TechniqueNameDisplay.d.ts.map +1 -1
- package/lib/components/screens/combat/components/indicators/TechniqueNameDisplay.js +0 -1
- package/lib/components/screens/combat/components/indicators/TechniqueNameDisplay.js.map +1 -1
- package/lib/components/screens/combat/helpers/AnimationUpdater.d.ts.map +1 -1
- package/lib/components/screens/combat/helpers/AnimationUpdater.js.map +1 -1
- package/lib/components/screens/combat/helpers/combatHelpers.d.ts.map +1 -1
- package/lib/components/screens/combat/helpers/combatHelpers.js.map +1 -1
- package/lib/components/screens/combat/hooks/useAICombat.d.ts.map +1 -1
- package/lib/components/screens/combat/hooks/useAICombat.js.map +1 -1
- package/lib/components/screens/combat/hooks/useCombatActions.d.ts.map +1 -1
- package/lib/components/screens/combat/hooks/useCombatActions.js.map +1 -1
- package/lib/components/screens/combat/hooks/useCombatAttackMovement.d.ts.map +1 -1
- package/lib/components/screens/combat/hooks/useCombatAttackMovement.js.map +1 -1
- package/lib/components/screens/combat/hooks/useCombatAudio.d.ts.map +1 -1
- package/lib/components/screens/combat/hooks/useCombatAudio.js.map +1 -1
- package/lib/components/screens/combat/hooks/useCombatLayout.d.ts.map +1 -1
- package/lib/components/screens/combat/hooks/useCombatLayout.js.map +1 -1
- package/lib/components/screens/combat/hooks/useCombatState.d.ts.map +1 -1
- package/lib/components/screens/combat/hooks/useCombatState.js.map +1 -1
- package/lib/components/screens/combat/hooks/useGrapplingAudio.d.ts.map +1 -1
- package/lib/components/screens/combat/hooks/usePreloadCombatAudio.d.ts.map +1 -1
- package/lib/components/screens/controls/ControlsScreen3D.d.ts.map +1 -1
- package/lib/components/screens/controls/ControlsScreen3D.js.map +1 -1
- package/lib/components/screens/controls/components/ControlBindingsOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/controls/components/ControlBindingsOverlayHtml.js.map +1 -1
- package/lib/components/screens/controls/components/GamepadVisualization3D.d.ts.map +1 -1
- package/lib/components/screens/controls/components/GamepadVisualization3D.js.map +1 -1
- package/lib/components/screens/controls/components/InteractiveControlDemoOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/controls/components/InteractiveControlDemoOverlayHtml.js.map +1 -1
- package/lib/components/screens/controls/components/Key3D.d.ts.map +1 -1
- package/lib/components/screens/controls/components/Key3D.js.map +1 -1
- package/lib/components/screens/controls/components/VisualKeyboard3D.d.ts.map +1 -1
- package/lib/components/screens/controls/components/VisualKeyboard3D.js.map +1 -1
- package/lib/components/screens/controls/constants/ControlsConstants.d.ts.map +1 -1
- package/lib/components/screens/controls/constants/ControlsConstants.js.map +1 -1
- package/lib/components/screens/controls/hooks/useControlsState.d.ts.map +1 -1
- package/lib/components/screens/controls/hooks/useControlsState.js.map +1 -1
- package/lib/components/screens/endscreen/EndScreen3D.d.ts.map +1 -1
- package/lib/components/screens/endscreen/EndScreen3D.js.map +1 -1
- package/lib/components/screens/endscreen/components/DefeatAnimation3D.d.ts.map +1 -1
- package/lib/components/screens/endscreen/components/DefeatAnimation3D.js.map +1 -1
- package/lib/components/screens/endscreen/components/NavigationButtonsOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/endscreen/components/NavigationButtonsOverlayHtml.js.map +1 -1
- package/lib/components/screens/endscreen/components/PerformanceBreakdownOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/endscreen/components/PerformanceBreakdownOverlayHtml.js.map +1 -1
- package/lib/components/screens/endscreen/components/PerformanceRatingOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/endscreen/components/PerformanceRatingOverlayHtml.js.map +1 -1
- package/lib/components/screens/endscreen/components/VictoryAnimation3D.d.ts.map +1 -1
- package/lib/components/screens/endscreen/components/VictoryAnimation3D.js.map +1 -1
- package/lib/components/screens/endscreen/components/WinnerDisplayOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/endscreen/components/WinnerDisplayOverlayHtml.js.map +1 -1
- package/lib/components/screens/endscreen/components/index.d.ts.map +1 -1
- package/lib/components/screens/endscreen/index.d.ts.map +1 -1
- package/lib/components/screens/intro/IntroScreen3D.d.ts.map +1 -1
- package/lib/components/screens/intro/IntroScreen3D.js +1 -1
- package/lib/components/screens/intro/IntroScreen3D.js.map +1 -1
- package/lib/components/screens/intro/components/AbilityListOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/intro/components/AbilityListOverlayHtml.js.map +1 -1
- package/lib/components/screens/intro/components/ArchetypeCardGridOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/intro/components/ArchetypeCardGridOverlayHtml.js.map +1 -1
- package/lib/components/screens/intro/components/ArchetypeCardOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/intro/components/ArchetypeCardOverlayHtml.js.map +1 -1
- package/lib/components/screens/intro/components/ArchetypeDisplayOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/intro/components/ArchetypeDisplayOverlayHtml.js.map +1 -1
- package/lib/components/screens/intro/components/EnhancedArchetypeDisplayOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/intro/components/EnhancedArchetypeDisplayOverlayHtml.js.map +1 -1
- package/lib/components/screens/intro/components/MenuButtonsOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/intro/components/MenuButtonsOverlayHtml.js.map +1 -1
- package/lib/components/screens/intro/components/MenuSectionOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/intro/components/MenuSectionOverlayHtml.js.map +1 -1
- package/lib/components/screens/intro/components/StatBarOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/intro/components/StatBarOverlayHtml.js.map +1 -1
- package/lib/components/screens/philosophy/PhilosophyScreen3D.d.ts.map +1 -1
- package/lib/components/screens/philosophy/PhilosophyScreen3D.js.map +1 -1
- package/lib/components/screens/philosophy/components/InteractiveTrigramGridOverlayHtml.d.ts +0 -1
- package/lib/components/screens/philosophy/components/InteractiveTrigramGridOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/philosophy/components/PhilosophyNavigationOverlayHtml.d.ts +0 -1
- package/lib/components/screens/philosophy/components/PhilosophyNavigationOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/philosophy/components/PhilosophySectionOverlayHtml.d.ts +0 -1
- package/lib/components/screens/philosophy/components/PhilosophySectionOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/philosophy/components/PhilosophyTextOverlayHtml.d.ts +0 -1
- package/lib/components/screens/philosophy/components/PhilosophyTextOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/philosophy/components/TrigramSymbol3D.d.ts +0 -1
- package/lib/components/screens/philosophy/components/TrigramSymbol3D.d.ts.map +1 -1
- package/lib/components/screens/philosophy/components/TrigramVisualization3D.d.ts +0 -1
- package/lib/components/screens/philosophy/components/TrigramVisualization3D.d.ts.map +1 -1
- package/lib/components/screens/philosophy/hooks/usePhilosophyState.d.ts +0 -1
- package/lib/components/screens/philosophy/hooks/usePhilosophyState.d.ts.map +1 -1
- package/lib/components/screens/training/TrainingScreen3D.d.ts.map +1 -1
- package/lib/components/screens/training/TrainingScreen3D.js.map +1 -1
- package/lib/components/screens/training/components/AnatomyControlsOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/training/components/AnatomyControlsOverlayHtml.js.map +1 -1
- package/lib/components/screens/training/components/AnatomyOverlay3D.d.ts.map +1 -1
- package/lib/components/screens/training/components/AnatomyOverlay3D.js.map +1 -1
- package/lib/components/screens/training/components/DamageNumber3D.d.ts.map +1 -1
- package/lib/components/screens/training/components/FootPlacementMarkers3D.d.ts.map +1 -1
- package/lib/components/screens/training/components/FootPlacementMarkers3D.js.map +1 -1
- package/lib/components/screens/training/components/FootworkDrillsOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/training/components/FootworkDrillsOverlayHtml.js.map +1 -1
- package/lib/components/screens/training/components/HitFeedbackEffect3D.d.ts.map +1 -1
- package/lib/components/screens/training/components/HitFeedbackEffect3D.js.map +1 -1
- package/lib/components/screens/training/components/TrainingAICharacter3D.d.ts.map +1 -1
- package/lib/components/screens/training/components/TrainingArena3D.d.ts.map +1 -1
- package/lib/components/screens/training/components/TrainingControlsOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/training/components/TrainingControlsOverlayHtml.js.map +1 -1
- package/lib/components/screens/training/components/TrainingDummy3D.d.ts.map +1 -1
- package/lib/components/screens/training/components/TrainingDummy3D.js.map +1 -1
- package/lib/components/screens/training/components/TrainingFeedbackOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/training/components/TrainingFeedbackOverlayHtml.js.map +1 -1
- package/lib/components/screens/training/components/TrainingHitEffects3D.d.ts.map +1 -1
- package/lib/components/screens/training/components/TrainingModeSelectorOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/training/components/TrainingModeSelectorOverlayHtml.js.map +1 -1
- package/lib/components/screens/training/components/TrainingStatsOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/training/components/TrainingStatsOverlayHtml.js.map +1 -1
- package/lib/components/screens/training/components/VitalPointMarker3D.d.ts.map +1 -1
- package/lib/components/screens/training/components/VitalPointMarker3D.js.map +1 -1
- package/lib/components/screens/training/components/VitalPointTrainingOverlayHtml.d.ts.map +1 -1
- package/lib/components/screens/training/components/VitalPointTrainingOverlayHtml.js.map +1 -1
- package/lib/components/screens/training/components/hud/TrainingBottomHUD.d.ts.map +1 -1
- package/lib/components/screens/training/components/hud/TrainingBottomHUD.js.map +1 -1
- package/lib/components/screens/training/components/hud/TrainingLeftHUD.d.ts.map +1 -1
- package/lib/components/screens/training/components/hud/TrainingLeftHUD.js.map +1 -1
- package/lib/components/screens/training/components/hud/TrainingRightHUD.d.ts.map +1 -1
- package/lib/components/screens/training/components/hud/TrainingRightHUD.js.map +1 -1
- package/lib/components/screens/training/components/hud/TrainingTopHUD.d.ts.map +1 -1
- package/lib/components/screens/training/components/hud/TrainingTopHUD.js.map +1 -1
- package/lib/components/screens/training/components/index.d.ts.map +1 -1
- package/lib/components/screens/training/hooks/useAttackMovement.d.ts.map +1 -1
- package/lib/components/screens/training/hooks/useAttackMovement.js.map +1 -1
- package/lib/components/screens/training/hooks/useTrainingActions.d.ts.map +1 -1
- package/lib/components/screens/training/hooks/useTrainingActions.js.map +1 -1
- package/lib/components/screens/training/hooks/useTrainingLayout.d.ts.map +1 -1
- package/lib/components/screens/training/hooks/useTrainingLayout.js.map +1 -1
- package/lib/components/screens/training/hooks/useTrainingState.d.ts.map +1 -1
- package/lib/components/screens/training/hooks/useTrainingState.js.map +1 -1
- package/lib/components/shared/base/AccessibilityProvider.d.ts.map +1 -1
- package/lib/components/shared/base/BaseButton.d.ts.map +1 -1
- package/lib/components/shared/base/BaseButton.js.map +1 -1
- package/lib/components/shared/base/BaseButtonOverlayHtml.d.ts.map +1 -1
- package/lib/components/shared/base/BaseButtonOverlayHtml.js.map +1 -1
- package/lib/components/shared/base/BasePanel.d.ts.map +1 -1
- package/lib/components/shared/base/BasePanel.js.map +1 -1
- package/lib/components/shared/base/BaseText.d.ts.map +1 -1
- package/lib/components/shared/base/BaseText.js.map +1 -1
- package/lib/components/shared/base/ResponsiveContainer.d.ts.map +1 -1
- package/lib/components/shared/base/index.d.ts.map +1 -1
- package/lib/components/shared/base/useKoreanTheme.d.ts.map +1 -1
- package/lib/components/shared/base/useKoreanTheme.js.map +1 -1
- package/lib/components/shared/debug/PerformanceDebugOverlayHtml.d.ts.map +1 -1
- package/lib/components/shared/debug/PerformanceDebugOverlayHtml.js.map +1 -1
- package/lib/components/shared/effects/ScreenFlash.d.ts.map +1 -1
- package/lib/components/shared/mobile/ActionButtons.d.ts.map +1 -1
- package/lib/components/shared/mobile/ActionButtons.js +0 -1
- package/lib/components/shared/mobile/ActionButtons.js.map +1 -1
- package/lib/components/shared/mobile/GestureRecognizerPure.d.ts +0 -1
- package/lib/components/shared/mobile/GestureRecognizerPure.d.ts.map +1 -1
- package/lib/components/shared/mobile/GestureRecognizerPure.js +0 -1
- package/lib/components/shared/mobile/GestureRecognizerPure.js.map +1 -1
- package/lib/components/shared/mobile/HapticController.d.ts +0 -13
- package/lib/components/shared/mobile/HapticController.d.ts.map +1 -1
- package/lib/components/shared/mobile/HapticController.js +0 -10
- package/lib/components/shared/mobile/HapticController.js.map +1 -1
- package/lib/components/shared/mobile/MobileControlsPure.d.ts.map +1 -1
- package/lib/components/shared/mobile/MobileControlsPure.js.map +1 -1
- package/lib/components/shared/mobile/PerformanceMonitor.d.ts +0 -15
- package/lib/components/shared/mobile/PerformanceMonitor.d.ts.map +1 -1
- package/lib/components/shared/mobile/StanceWheelPure.d.ts +0 -1
- package/lib/components/shared/mobile/StanceWheelPure.d.ts.map +1 -1
- package/lib/components/shared/mobile/StanceWheelPure.js +0 -1
- package/lib/components/shared/mobile/StanceWheelPure.js.map +1 -1
- package/lib/components/shared/mobile/TouchOptimizer.d.ts +0 -4
- package/lib/components/shared/mobile/TouchOptimizer.d.ts.map +1 -1
- package/lib/components/shared/mobile/TouchOptimizer.js +0 -3
- package/lib/components/shared/mobile/TouchOptimizer.js.map +1 -1
- package/lib/components/shared/mobile/VirtualDPad.d.ts.map +1 -1
- package/lib/components/shared/mobile/VirtualDPad.js +0 -1
- package/lib/components/shared/mobile/VirtualDPad.js.map +1 -1
- package/lib/components/shared/mobile/index.d.ts.map +1 -1
- package/lib/components/shared/three/anatomy/BodySurface.d.ts.map +1 -1
- package/lib/components/shared/three/anatomy/BodySurface.js.map +1 -1
- package/lib/components/shared/three/anatomy/BoneAttachedMuscles.d.ts.map +1 -1
- package/lib/components/shared/three/anatomy/BoneAttachedMuscles.js.map +1 -1
- package/lib/components/shared/three/anatomy/BoneClothing.d.ts.map +1 -1
- package/lib/components/shared/three/anatomy/BoneClothing.js.map +1 -1
- package/lib/components/shared/three/anatomy/BoneRenderer.d.ts +0 -1
- package/lib/components/shared/three/anatomy/BoneRenderer.d.ts.map +1 -1
- package/lib/components/shared/three/anatomy/BoneRenderer.js.map +1 -1
- package/lib/components/shared/three/anatomy/Face3D.d.ts.map +1 -1
- package/lib/components/shared/three/anatomy/Face3D.js.map +1 -1
- package/lib/components/shared/three/anatomy/Foot3D.d.ts +0 -1
- package/lib/components/shared/three/anatomy/Foot3D.d.ts.map +1 -1
- package/lib/components/shared/three/anatomy/Foot3D.js.map +1 -1
- package/lib/components/shared/three/anatomy/Hand3D.d.ts +0 -1
- package/lib/components/shared/three/anatomy/Hand3D.d.ts.map +1 -1
- package/lib/components/shared/three/anatomy/Hand3D.js.map +1 -1
- package/lib/components/shared/three/effects/ActionFeedback.d.ts.map +1 -1
- package/lib/components/shared/three/effects/ActionFeedback.js.map +1 -1
- package/lib/components/shared/three/effects/DamageNumbers.d.ts.map +1 -1
- package/lib/components/shared/three/effects/DamageNumbers.js.map +1 -1
- package/lib/components/shared/three/effects/ExplosiveBurstEffect3D.d.ts.map +1 -1
- package/lib/components/shared/three/effects/GrapplingIndicator3D.d.ts.map +1 -1
- package/lib/components/shared/three/effects/HitEffects3D.d.ts.map +1 -1
- package/lib/components/shared/three/effects/HitEffects3D.js.map +1 -1
- package/lib/components/shared/three/effects/LimbExposureIndicator3D.d.ts.map +1 -1
- package/lib/components/shared/three/effects/NerveDisruptionEffect3D.d.ts.map +1 -1
- package/lib/components/shared/three/effects/PlayerStateIndicators.d.ts.map +1 -1
- package/lib/components/shared/three/effects/PlayerStateIndicators.js.map +1 -1
- package/lib/components/shared/three/effects/StanceSymbol3D.d.ts.map +1 -1
- package/lib/components/shared/three/effects/StanceSymbol3D.js.map +1 -1
- package/lib/components/shared/three/effects/StanceTransitionEffect.d.ts.map +1 -1
- package/lib/components/shared/three/effects/StanceTransitionEffect.js.map +1 -1
- package/lib/components/shared/three/effects/ThunderEffect3D.d.ts.map +1 -1
- package/lib/components/shared/three/effects/VitalPointMarkers3D.d.ts.map +1 -1
- package/lib/components/shared/three/effects/VitalPointMarkers3D.js.map +1 -1
- package/lib/components/shared/three/index.d.ts.map +1 -1
- package/lib/components/shared/three/indicators/ElementalColorSystem.d.ts +0 -6
- package/lib/components/shared/three/indicators/ElementalColorSystem.d.ts.map +1 -1
- package/lib/components/shared/three/indicators/ElementalColorSystem.js +0 -4
- package/lib/components/shared/three/indicators/ElementalColorSystem.js.map +1 -1
- package/lib/components/shared/three/indicators/GuardIndicator.d.ts +0 -1
- package/lib/components/shared/three/indicators/GuardIndicator.d.ts.map +1 -1
- package/lib/components/shared/three/indicators/GuardIndicator.js +0 -1
- package/lib/components/shared/three/indicators/GuardIndicator.js.map +1 -1
- package/lib/components/shared/three/indicators/HapticFeedback.d.ts +0 -7
- package/lib/components/shared/three/indicators/HapticFeedback.d.ts.map +1 -1
- package/lib/components/shared/three/indicators/HapticFeedback.js +0 -2
- package/lib/components/shared/three/indicators/HapticFeedback.js.map +1 -1
- package/lib/components/shared/three/indicators/StanceChangeIndicator.d.ts +0 -1
- package/lib/components/shared/three/indicators/StanceChangeIndicator.d.ts.map +1 -1
- package/lib/components/shared/three/indicators/StanceChangeIndicator.js +0 -1
- package/lib/components/shared/three/indicators/StanceChangeIndicator.js.map +1 -1
- package/lib/components/shared/three/indicators/TrigramSymbol3D.d.ts +0 -1
- package/lib/components/shared/three/indicators/TrigramSymbol3D.d.ts.map +1 -1
- package/lib/components/shared/three/models/Player3DWithTransitions.d.ts.map +1 -1
- package/lib/components/shared/three/models/Player3DWithTransitions.js.map +1 -1
- package/lib/components/shared/three/models/SkeletalPlayer3D.d.ts.map +1 -1
- package/lib/components/shared/three/models/SkeletalPlayer3D.js.map +1 -1
- package/lib/components/shared/three/optimization/AdaptiveQuality.d.ts.map +1 -1
- package/lib/components/shared/three/optimization/AdaptiveQuality.js.map +1 -1
- package/lib/components/shared/three/optimization/InstancedGeometry.d.ts.map +1 -1
- package/lib/components/shared/three/optimization/LODSystem.d.ts.map +1 -1
- package/lib/components/shared/three/scene/AtmosphericParticles3D.d.ts.map +1 -1
- package/lib/components/shared/three/scene/AtmosphericParticles3D.js.map +1 -1
- package/lib/components/shared/three/scene/BackgroundScene3D.d.ts.map +1 -1
- package/lib/components/shared/three/scene/BackgroundScene3D.js.map +1 -1
- package/lib/components/shared/three/scene/CombatArena3D.d.ts.map +1 -1
- package/lib/components/shared/three/scene/CombatArena3D.js.map +1 -1
- package/lib/components/shared/three/scene/DebugCollision.d.ts +0 -2
- package/lib/components/shared/three/scene/DebugCollision.d.ts.map +1 -1
- package/lib/components/shared/three/scene/KoreanSignage3D.d.ts.map +1 -1
- package/lib/components/shared/three/scene/KoreanSignage3D.js.map +1 -1
- package/lib/components/shared/three/ui/ArchetypeCard.d.ts.map +1 -1
- package/lib/components/shared/three/ui/ArchetypeCard.js.map +1 -1
- package/lib/components/shared/three/ui/BodyPartHealthDisplay.d.ts.map +1 -1
- package/lib/components/shared/three/ui/BodyPartHealthDisplay.js.map +1 -1
- package/lib/components/shared/three/ui/BreathingIndicator.d.ts.map +1 -1
- package/lib/components/shared/three/ui/BreathingIndicator2.js.map +1 -1
- package/lib/components/shared/three/ui/CombatReadinessBar.d.ts.map +1 -1
- package/lib/components/shared/three/ui/CombatReadinessBar.js.map +1 -1
- package/lib/components/shared/three/ui/ComboCounter.d.ts.map +1 -1
- package/lib/components/shared/three/ui/ComboCounter.js.map +1 -1
- package/lib/components/shared/three/ui/HealthBar.d.ts.map +1 -1
- package/lib/components/shared/three/ui/HealthBar.js.map +1 -1
- package/lib/components/shared/three/ui/KoreanButton.d.ts.map +1 -1
- package/lib/components/shared/three/ui/KoreanButton.js.map +1 -1
- package/lib/components/shared/three/ui/KoreanPanel.d.ts.map +1 -1
- package/lib/components/shared/three/ui/KoreanPanel.js.map +1 -1
- package/lib/components/shared/three/ui/KoreanText.d.ts.map +1 -1
- package/lib/components/shared/three/ui/KoreanText.js.map +1 -1
- package/lib/components/shared/three/ui/MenuList.d.ts.map +1 -1
- package/lib/components/shared/three/ui/MenuList.js.map +1 -1
- package/lib/components/shared/three/ui/PlayerHUD.d.ts.map +1 -1
- package/lib/components/shared/three/ui/PlayerHUD.js.map +1 -1
- package/lib/components/shared/three/ui/ProgressBar.d.ts.map +1 -1
- package/lib/components/shared/three/ui/ProgressBar.js.map +1 -1
- package/lib/components/shared/three/ui/SpeedIndicatorHUD.d.ts +0 -1
- package/lib/components/shared/three/ui/SpeedIndicatorHUD.d.ts.map +1 -1
- package/lib/components/shared/three/ui/SpeedIndicatorHUD.js +0 -1
- package/lib/components/shared/three/ui/SpeedIndicatorHUD.js.map +1 -1
- package/lib/components/shared/three/ui/StaminaBar.d.ts.map +1 -1
- package/lib/components/shared/three/ui/StaminaBar.js.map +1 -1
- package/lib/components/shared/three/ui/TechniqueBar.d.ts.map +1 -1
- package/lib/components/shared/three/ui/TechniqueBar.js.map +1 -1
- package/lib/components/shared/three/ui/TechniqueBarContainer.d.ts.map +1 -1
- package/lib/components/shared/three/ui/TechniqueCard.d.ts.map +1 -1
- package/lib/components/shared/three/ui/TechniqueCard.js.map +1 -1
- package/lib/components/shared/three/ui/VitalPointOverlayControlsHtml.d.ts.map +1 -1
- package/lib/components/shared/three/ui/VitalPointOverlayControlsHtml.js.map +1 -1
- package/lib/components/shared/three/ui/VulnerabilityWindowHUD.d.ts.map +1 -1
- package/lib/components/shared/ui/BaseHUDContainer.d.ts.map +1 -1
- package/lib/components/shared/ui/BaseHUDContainer.js.map +1 -1
- package/lib/components/shared/ui/CombatTimer.d.ts.map +1 -1
- package/lib/components/shared/ui/CombatTimer.js.map +1 -1
- package/lib/components/shared/ui/ErrorBoundary.d.ts.map +1 -1
- package/lib/components/shared/ui/ErrorModal.d.ts.map +1 -1
- package/lib/components/shared/ui/ErrorModal.js.map +1 -1
- package/lib/components/shared/ui/HUDSection.d.ts.map +1 -1
- package/lib/components/shared/ui/LoadingState.d.ts.map +1 -1
- package/lib/components/shared/ui/LoadingState.js.map +1 -1
- package/lib/components/shared/ui/MobileHUDLayout.d.ts +0 -1
- package/lib/components/shared/ui/MobileHUDLayout.d.ts.map +1 -1
- package/lib/components/shared/ui/ResponsiveContainer.d.ts +0 -1
- package/lib/components/shared/ui/ResponsiveContainer.d.ts.map +1 -1
- package/lib/components/shared/ui/SplashScreen.d.ts.map +1 -1
- package/lib/components/shared/ui/SplashScreen.js +2 -2
- package/lib/components/shared/ui/SplashScreen.js.map +1 -1
- package/lib/components/shared/ui/StyledHUDPanel.d.ts.map +1 -1
- package/lib/components/shared/ui/VitalPointOverlayControlsPure.d.ts.map +1 -1
- package/lib/components/shared/ui/VitalPointOverlayControlsPure.js.map +1 -1
- package/lib/components/shared/ui/VolumeControl.d.ts.map +1 -1
- package/lib/components/shared/ui/VolumeControl.js.map +1 -1
- package/lib/components/shared/ui/shared/ConfirmDialog.d.ts.map +1 -1
- package/lib/components/shared/ui/shared/ConfirmDialog.js.map +1 -1
- package/lib/components/test/Hello3D.d.ts.map +1 -1
- package/lib/components/ui/combat/BalanceIndicatorOverlayHtml.d.ts.map +1 -1
- package/lib/components/ui/combat/BalanceIndicatorOverlayHtml.js.map +1 -1
- package/lib/components/ui/combat/ComboCounter.d.ts.map +1 -1
- package/lib/components/ui/combat/PressureMeter.d.ts.map +1 -1
- package/lib/systems/CombatSystem.d.ts +0 -6
- package/lib/systems/CombatSystem.d.ts.map +1 -1
- package/lib/systems/CombatSystem.js +0 -6
- package/lib/systems/CombatSystem.js.map +1 -1
- package/lib/systems/EffectCalculator.d.ts +0 -7
- package/lib/systems/EffectCalculator.d.ts.map +1 -1
- package/lib/systems/EffectCalculator.js +0 -4
- package/lib/systems/EffectCalculator.js.map +1 -1
- package/lib/systems/LayoutSystem.d.ts +0 -1
- package/lib/systems/LayoutSystem.d.ts.map +1 -1
- package/lib/systems/LayoutSystem.js +0 -1
- package/lib/systems/LayoutSystem.js.map +1 -1
- package/lib/systems/PlayerEffectManager.d.ts +0 -10
- package/lib/systems/PlayerEffectManager.d.ts.map +1 -1
- package/lib/systems/PlayerEffectManager.js +0 -3
- package/lib/systems/PlayerEffectManager.js.map +1 -1
- package/lib/systems/ResponsiveScaling.d.ts +0 -12
- package/lib/systems/ResponsiveScaling.d.ts.map +1 -1
- package/lib/systems/ResponsiveScaling.js +0 -12
- package/lib/systems/ResponsiveScaling.js.map +1 -1
- package/lib/systems/TrigramSystem.d.ts +0 -13
- package/lib/systems/TrigramSystem.d.ts.map +1 -1
- package/lib/systems/TrigramSystem.js +0 -13
- package/lib/systems/TrigramSystem.js.map +1 -1
- package/lib/systems/VitalPointSystem.d.ts +0 -10
- package/lib/systems/VitalPointSystem.d.ts.map +1 -1
- package/lib/systems/VitalPointSystem.js +0 -10
- package/lib/systems/VitalPointSystem.js.map +1 -1
- package/lib/systems/animation/builders/KeyframeInterpolation.d.ts +0 -4
- package/lib/systems/animation/builders/KeyframeInterpolation.d.ts.map +1 -1
- package/lib/systems/animation/builders/KeyframeInterpolation.js +0 -1
- package/lib/systems/animation/builders/KeyframeInterpolation.js.map +1 -1
- package/lib/systems/animation/builders/SkeletonRig.d.ts +0 -4
- package/lib/systems/animation/builders/SkeletonRig.d.ts.map +1 -1
- package/lib/systems/animation/builders/SkeletonRig.js +0 -3
- package/lib/systems/animation/builders/SkeletonRig.js.map +1 -1
- package/lib/systems/animation/catalogs/RecoveryAnimations.d.ts +0 -5
- package/lib/systems/animation/catalogs/RecoveryAnimations.d.ts.map +1 -1
- package/lib/systems/animation/catalogs/RecoveryAnimations.js +0 -5
- package/lib/systems/animation/catalogs/RecoveryAnimations.js.map +1 -1
- package/lib/systems/animation/core/AnimationHitTiming.d.ts +0 -6
- package/lib/systems/animation/core/AnimationHitTiming.d.ts.map +1 -1
- package/lib/systems/animation/core/AnimationHitTiming.js +0 -4
- package/lib/systems/animation/core/AnimationHitTiming.js.map +1 -1
- package/lib/systems/animation/core/AnimationStateMachine.js +1 -0
- package/lib/systems/animation/core/AnimationStateMachine.js.map +1 -1
- package/lib/systems/animation/core/AnimationTransitions.d.ts +0 -3
- package/lib/systems/animation/core/AnimationTransitions.d.ts.map +1 -1
- package/lib/systems/animation/core/AnimationTransitions.js.map +1 -1
- package/lib/systems/animation/core/LateralityTransform.d.ts +0 -3
- package/lib/systems/animation/core/LateralityTransform.d.ts.map +1 -1
- package/lib/systems/animation/core/LateralityTransform.js +0 -1
- package/lib/systems/animation/core/LateralityTransform.js.map +1 -1
- package/lib/systems/animation/core/RecoveryPhaseEnhancer.d.ts +0 -1
- package/lib/systems/animation/core/RecoveryPhaseEnhancer.d.ts.map +1 -1
- package/lib/systems/animation/core/RecoveryPhaseEnhancer.js.map +1 -1
- package/lib/systems/animation/core/TechniqueAnimationMapper.d.ts +0 -10
- package/lib/systems/animation/core/TechniqueAnimationMapper.d.ts.map +1 -1
- package/lib/systems/animation/core/TechniqueAnimationMapper.js +0 -8
- package/lib/systems/animation/core/TechniqueAnimationMapper.js.map +1 -1
- package/lib/systems/animation/core/TrigramAnimationMapping.d.ts +0 -10
- package/lib/systems/animation/core/TrigramAnimationMapping.d.ts.map +1 -1
- package/lib/systems/animation/core/TrigramStanceTransitions.d.ts +0 -2
- package/lib/systems/animation/core/TrigramStanceTransitions.d.ts.map +1 -1
- package/lib/systems/animation/core/types.d.ts +0 -39
- package/lib/systems/animation/core/types.d.ts.map +1 -1
- package/lib/systems/animation/core/types.js +0 -9
- package/lib/systems/animation/core/types.js.map +1 -1
- package/lib/systems/animation/systems/AdvancedJointMovements.d.ts +0 -27
- package/lib/systems/animation/systems/AdvancedJointMovements.d.ts.map +1 -1
- package/lib/systems/animation/systems/AdvancedJointMovements.js +0 -1
- package/lib/systems/animation/systems/AdvancedJointMovements.js.map +1 -1
- package/lib/systems/animation/systems/BodyFacingSystem.d.ts +0 -19
- package/lib/systems/animation/systems/BodyFacingSystem.d.ts.map +1 -1
- package/lib/systems/animation/systems/BodyFacingSystem.js +0 -14
- package/lib/systems/animation/systems/BodyFacingSystem.js.map +1 -1
- package/lib/systems/animation/systems/FacialExpressions.d.ts +0 -10
- package/lib/systems/animation/systems/FacialExpressions.d.ts.map +1 -1
- package/lib/systems/animation/systems/FacialExpressions.js +0 -2
- package/lib/systems/animation/systems/FacialExpressions.js.map +1 -1
- package/lib/systems/animation/systems/FallAnimations.d.ts +0 -4
- package/lib/systems/animation/systems/FallAnimations.d.ts.map +1 -1
- package/lib/systems/animation/systems/FallAnimations.js +0 -2
- package/lib/systems/animation/systems/FallAnimations.js.map +1 -1
- package/lib/systems/animation/systems/HeadMovements.d.ts +0 -10
- package/lib/systems/animation/systems/HeadMovements.d.ts.map +1 -1
- package/lib/systems/bodypart/BodyPartDamageIntegration.d.ts +0 -7
- package/lib/systems/bodypart/BodyPartDamageIntegration.d.ts.map +1 -1
- package/lib/systems/bodypart/BodyPartDamageIntegration.js +0 -7
- package/lib/systems/bodypart/BodyPartDamageIntegration.js.map +1 -1
- package/lib/systems/bodypart/BodyPartHealthSystem.d.ts +0 -13
- package/lib/systems/bodypart/BodyPartHealthSystem.d.ts.map +1 -1
- package/lib/systems/bodypart/BodyPartHealthSystem.js +0 -13
- package/lib/systems/bodypart/BodyPartHealthSystem.js.map +1 -1
- package/lib/systems/bodypart/BodyPartPositionMapping.d.ts +0 -6
- package/lib/systems/bodypart/BodyPartPositionMapping.d.ts.map +1 -1
- package/lib/systems/bodypart/BodyPartPositionMapping.js +0 -6
- package/lib/systems/bodypart/BodyPartPositionMapping.js.map +1 -1
- package/lib/systems/bodypart/CombatInjuryIntegration.d.ts +0 -10
- package/lib/systems/bodypart/CombatInjuryIntegration.d.ts.map +1 -1
- package/lib/systems/bodypart/CombatInjuryIntegration.js +0 -8
- package/lib/systems/bodypart/CombatInjuryIntegration.js.map +1 -1
- package/lib/systems/bodypart/InjuryIntegration.d.ts +0 -2
- package/lib/systems/bodypart/InjuryIntegration.d.ts.map +1 -1
- package/lib/systems/bodypart/InjuryIntegration.js +0 -2
- package/lib/systems/bodypart/InjuryIntegration.js.map +1 -1
- package/lib/systems/bodypart/InjuryTracker.d.ts +0 -14
- package/lib/systems/bodypart/InjuryTracker.d.ts.map +1 -1
- package/lib/systems/bodypart/InjuryTracker.js +0 -12
- package/lib/systems/bodypart/InjuryTracker.js.map +1 -1
- package/lib/systems/bodypart/MovementPenaltySystem.d.ts +0 -8
- package/lib/systems/bodypart/MovementPenaltySystem.d.ts.map +1 -1
- package/lib/systems/bodypart/MovementPenaltySystem.js +0 -8
- package/lib/systems/bodypart/MovementPenaltySystem.js.map +1 -1
- package/lib/systems/bodypart/PlayerInjuryTrackingManager.d.ts +0 -8
- package/lib/systems/bodypart/PlayerInjuryTrackingManager.d.ts.map +1 -1
- package/lib/systems/bodypart/PlayerInjuryTrackingManager.js +0 -8
- package/lib/systems/bodypart/PlayerInjuryTrackingManager.js.map +1 -1
- package/lib/systems/bodypart/types.d.ts +0 -13
- package/lib/systems/bodypart/types.d.ts.map +1 -1
- package/lib/systems/bodypart/types.js +0 -5
- package/lib/systems/bodypart/types.js.map +1 -1
- package/lib/systems/breathing/BreathingDisruptionSystem.d.ts +0 -3
- package/lib/systems/breathing/BreathingDisruptionSystem.d.ts.map +1 -1
- package/lib/systems/breathing/BreathingDisruptionSystem.js +0 -2
- package/lib/systems/breathing/BreathingDisruptionSystem.js.map +1 -1
- package/lib/systems/combat/BalanceSystem.d.ts +0 -25
- package/lib/systems/combat/BalanceSystem.d.ts.map +1 -1
- package/lib/systems/combat/BalanceSystem.js +0 -25
- package/lib/systems/combat/BalanceSystem.js.map +1 -1
- package/lib/systems/combat/BreakingStatusEffects.d.ts +0 -4
- package/lib/systems/combat/BreakingStatusEffects.d.ts.map +1 -1
- package/lib/systems/combat/BreakingStatusEffects.js +0 -3
- package/lib/systems/combat/BreakingStatusEffects.js.map +1 -1
- package/lib/systems/combat/CombatStateSystem.d.ts +0 -9
- package/lib/systems/combat/CombatStateSystem.d.ts.map +1 -1
- package/lib/systems/combat/CombatStateSystem.js +0 -9
- package/lib/systems/combat/CombatStateSystem.js.map +1 -1
- package/lib/systems/combat/ConsciousnessSystem.d.ts +0 -16
- package/lib/systems/combat/ConsciousnessSystem.d.ts.map +1 -1
- package/lib/systems/combat/ConsciousnessSystem.js +0 -16
- package/lib/systems/combat/ConsciousnessSystem.js.map +1 -1
- package/lib/systems/combat/FallIntegration.d.ts +0 -3
- package/lib/systems/combat/FallIntegration.d.ts.map +1 -1
- package/lib/systems/combat/FallIntegration.js +0 -3
- package/lib/systems/combat/FallIntegration.js.map +1 -1
- package/lib/systems/combat/GrappleSystem.d.ts +0 -2
- package/lib/systems/combat/GrappleSystem.d.ts.map +1 -1
- package/lib/systems/combat/GrappleSystem.js +0 -2
- package/lib/systems/combat/GrappleSystem.js.map +1 -1
- package/lib/systems/combat/LimbExposureSystem.d.ts +0 -7
- package/lib/systems/combat/LimbExposureSystem.d.ts.map +1 -1
- package/lib/systems/combat/LimbExposureSystem.js +0 -7
- package/lib/systems/combat/LimbExposureSystem.js.map +1 -1
- package/lib/systems/combat/PainResponseSystem.d.ts +0 -11
- package/lib/systems/combat/PainResponseSystem.d.ts.map +1 -1
- package/lib/systems/combat/PainResponseSystem.js +0 -11
- package/lib/systems/combat/PainResponseSystem.js.map +1 -1
- package/lib/systems/combat/painConsciousnessUtils.d.ts +0 -7
- package/lib/systems/combat/painConsciousnessUtils.d.ts.map +1 -1
- package/lib/systems/combat/painConsciousnessUtils.js +0 -7
- package/lib/systems/combat/painConsciousnessUtils.js.map +1 -1
- package/lib/systems/effects.d.ts +11 -0
- package/lib/systems/effects.d.ts.map +1 -1
- package/lib/systems/effects.js +10 -0
- package/lib/systems/effects.js.map +1 -1
- package/lib/systems/game.d.ts +16 -0
- package/lib/systems/game.d.ts.map +1 -1
- package/lib/systems/game.js +1 -0
- package/lib/systems/game.js.map +1 -1
- package/lib/systems/index.d.ts +5 -1
- package/lib/systems/index.d.ts.map +1 -1
- package/lib/systems/index.js.map +1 -1
- package/lib/systems/movement/InjuryMovementModifier.d.ts +0 -10
- package/lib/systems/movement/InjuryMovementModifier.d.ts.map +1 -1
- package/lib/systems/movement/InjuryMovementModifier.js +0 -7
- package/lib/systems/movement/InjuryMovementModifier.js.map +1 -1
- package/lib/systems/movement/integration.d.ts +0 -3
- package/lib/systems/movement/integration.d.ts.map +1 -1
- package/lib/systems/movement/integration.js +0 -3
- package/lib/systems/movement/integration.js.map +1 -1
- package/lib/systems/physics/AttackMovementPhysics.d.ts +0 -9
- package/lib/systems/physics/AttackMovementPhysics.d.ts.map +1 -1
- package/lib/systems/physics/AttackMovementPhysics.js +0 -7
- package/lib/systems/physics/AttackMovementPhysics.js.map +1 -1
- package/lib/systems/physics/CollisionDetection.d.ts +0 -6
- package/lib/systems/physics/CollisionDetection.d.ts.map +1 -1
- package/lib/systems/physics/CollisionDetection.js +0 -6
- package/lib/systems/physics/CollisionDetection.js.map +1 -1
- package/lib/systems/physics/CoordinateMapper.d.ts +0 -1
- package/lib/systems/physics/CoordinateMapper.d.ts.map +1 -1
- package/lib/systems/physics/CoordinateMapper.js +0 -1
- package/lib/systems/physics/CoordinateMapper.js.map +1 -1
- package/lib/systems/physics/KnockbackPhysics.d.ts +0 -11
- package/lib/systems/physics/KnockbackPhysics.d.ts.map +1 -1
- package/lib/systems/physics/KnockbackPhysics.js +0 -8
- package/lib/systems/physics/KnockbackPhysics.js.map +1 -1
- package/lib/systems/physics/MovementPhysics.d.ts +0 -10
- package/lib/systems/physics/MovementPhysics.d.ts.map +1 -1
- package/lib/systems/physics/MovementPhysics.js +0 -8
- package/lib/systems/physics/MovementPhysics.js.map +1 -1
- package/lib/systems/physics/PhysicalReachCalculator.d.ts +0 -6
- package/lib/systems/physics/PhysicalReachCalculator.d.ts.map +1 -1
- package/lib/systems/physics/PhysicalReachCalculator.js +0 -5
- package/lib/systems/physics/PhysicalReachCalculator.js.map +1 -1
- package/lib/systems/physics/SpeedModifierSystem.d.ts +0 -5
- package/lib/systems/physics/SpeedModifierSystem.d.ts.map +1 -1
- package/lib/systems/physics/SpeedModifierSystem.js +0 -4
- package/lib/systems/physics/SpeedModifierSystem.js.map +1 -1
- package/lib/systems/player.d.ts +0 -5
- package/lib/systems/player.d.ts.map +1 -1
- package/lib/systems/trigram/TrigramCalculator.d.ts +0 -1
- package/lib/systems/trigram/TrigramCalculator.d.ts.map +1 -1
- package/lib/systems/trigram/TrigramCalculator.js +0 -1
- package/lib/systems/trigram/TrigramCalculator.js.map +1 -1
- package/lib/systems/trigram/types.d.ts +0 -4
- package/lib/systems/trigram/types.d.ts.map +1 -1
- package/lib/systems/trigram/types.js +0 -2
- package/lib/systems/trigram/types.js.map +1 -1
- package/lib/systems/types.d.ts +7 -2
- package/lib/systems/types.d.ts.map +1 -1
- package/lib/systems/types.js.map +1 -1
- package/lib/systems/vitalpoint/DamageCalculator.d.ts +0 -3
- package/lib/systems/vitalpoint/DamageCalculator.d.ts.map +1 -1
- package/lib/systems/vitalpoint/DamageCalculator.js +0 -3
- package/lib/systems/vitalpoint/DamageCalculator.js.map +1 -1
- package/lib/systems/vitalpoint/KoreanVitalPoints.d.ts +0 -8
- package/lib/systems/vitalpoint/KoreanVitalPoints.d.ts.map +1 -1
- package/lib/systems/vitalpoint/KoreanVitalPoints.js +0 -8
- package/lib/systems/vitalpoint/KoreanVitalPoints.js.map +1 -1
- package/lib/systems/vitalpoint/VitalPointsData.d.ts +0 -3
- package/lib/systems/vitalpoint/VitalPointsData.d.ts.map +1 -1
- package/lib/systems/vitalpoint/VitalPointsData.js +0 -1
- package/lib/systems/vitalpoint/VitalPointsData.js.map +1 -1
- package/lib/types/PhysicsTypes.d.ts +21 -78
- package/lib/types/PhysicsTypes.d.ts.map +1 -1
- package/lib/types/PhysicsTypes.js +17 -63
- package/lib/types/PhysicsTypes.js.map +1 -1
- package/lib/types/clothing.d.ts +0 -9
- package/lib/types/clothing.d.ts.map +1 -1
- package/lib/types/constants/animations.d.ts +35 -1
- package/lib/types/constants/animations.d.ts.map +1 -1
- package/lib/types/constants/animations.js +12 -1
- package/lib/types/constants/animations.js.map +1 -1
- package/lib/types/constants/colors.d.ts +28 -2
- package/lib/types/constants/colors.d.ts.map +1 -1
- package/lib/types/constants/colors.js +30 -4
- package/lib/types/constants/colors.js.map +1 -1
- package/lib/types/constants/index.d.ts +5 -1
- package/lib/types/constants/index.d.ts.map +1 -1
- package/lib/types/constants/index.js.map +1 -1
- package/lib/types/constants/performance.d.ts +0 -2
- package/lib/types/constants/performance.d.ts.map +1 -1
- package/lib/types/constants/performance.js +0 -2
- package/lib/types/constants/performance.js.map +1 -1
- package/lib/types/constants/typography.d.ts +40 -2
- package/lib/types/constants/typography.d.ts.map +1 -1
- package/lib/types/constants/typography.js +40 -2
- package/lib/types/constants/typography.js.map +1 -1
- package/lib/types/constants/ui.d.ts +89 -1
- package/lib/types/constants/ui.d.ts.map +1 -1
- package/lib/types/constants/ui.js +33 -1
- package/lib/types/constants/ui.js.map +1 -1
- package/lib/types/facial.d.ts +0 -15
- package/lib/types/facial.d.ts.map +1 -1
- package/lib/types/facial.js +0 -8
- package/lib/types/facial.js.map +1 -1
- package/lib/types/hand-animation.d.ts +34 -147
- package/lib/types/hand-animation.d.ts.map +1 -1
- package/lib/types/hand-animation.js +0 -2
- package/lib/types/hand-animation.js.map +1 -1
- package/lib/types/injury.d.ts +0 -2
- package/lib/types/injury.d.ts.map +1 -1
- package/lib/types/injury.js +0 -1
- package/lib/types/injury.js.map +1 -1
- package/lib/types/physics.d.ts +0 -21
- package/lib/types/physics.d.ts.map +1 -1
- package/lib/types/physics.js +0 -6
- package/lib/types/physics.js.map +1 -1
- package/lib/types/physicsConstants.d.ts +0 -12
- package/lib/types/physicsConstants.d.ts.map +1 -1
- package/lib/types/physicsConstants.js +0 -12
- package/lib/types/physicsConstants.js.map +1 -1
- package/lib/types/player-visual.d.ts +45 -189
- package/lib/types/player-visual.d.ts.map +1 -1
- package/lib/types/technique.d.ts +1 -5
- package/lib/types/technique.d.ts.map +1 -1
- package/lib/types/techniqueId.d.ts +0 -1
- package/lib/types/techniqueId.d.ts.map +1 -1
- package/lib/types/techniqueId.js +0 -1
- package/lib/types/techniqueId.js.map +1 -1
- package/lib/utils/arenaWorldDimensions.d.ts +0 -11
- package/lib/utils/arenaWorldDimensions.d.ts.map +1 -1
- package/lib/utils/arenaWorldDimensions.js +0 -6
- package/lib/utils/arenaWorldDimensions.js.map +1 -1
- package/lib/utils/controlMapping.d.ts +3 -4
- package/lib/utils/controlMapping.d.ts.map +1 -1
- package/lib/utils/controlMapping.js +1 -2
- package/lib/utils/controlMapping.js.map +1 -1
- package/lib/utils/deviceDetection.d.ts +0 -5
- package/lib/utils/deviceDetection.d.ts.map +1 -1
- package/lib/utils/deviceDetection.js +0 -5
- package/lib/utils/deviceDetection.js.map +1 -1
- package/lib/utils/hapticFeedback.d.ts +23 -95
- package/lib/utils/hapticFeedback.d.ts.map +1 -1
- package/lib/utils/hapticFeedback.js +9 -39
- package/lib/utils/hapticFeedback.js.map +1 -1
- package/lib/utils/haptics.d.ts +0 -3
- package/lib/utils/haptics.d.ts.map +1 -1
- package/lib/utils/haptics.js +0 -1
- package/lib/utils/haptics.js.map +1 -1
- package/lib/utils/math.d.ts +0 -3
- package/lib/utils/math.d.ts.map +1 -1
- package/lib/utils/math.js +0 -2
- package/lib/utils/math.js.map +1 -1
- package/lib/utils/mobileLayoutHelpers.d.ts +0 -3
- package/lib/utils/mobileLayoutHelpers.d.ts.map +1 -1
- package/lib/utils/mobileLayoutHelpers.js +0 -1
- package/lib/utils/mobileLayoutHelpers.js.map +1 -1
- package/lib/utils/mobileUIUtils.d.ts +5 -100
- package/lib/utils/mobileUIUtils.d.ts.map +1 -1
- package/lib/utils/mobileUIUtils.js +0 -9
- package/lib/utils/mobileUIUtils.js.map +1 -1
- package/lib/utils/physicalAttributeValidation.d.ts.map +1 -1
- package/lib/utils/player3DHelpers.d.ts.map +1 -1
- package/lib/utils/player3DHelpers.js.map +1 -1
- package/lib/utils/responsiveLayoutHelpers.d.ts +0 -65
- package/lib/utils/responsiveLayoutHelpers.d.ts.map +1 -1
- package/lib/utils/responsiveLayoutHelpers.js +0 -65
- package/lib/utils/responsiveLayoutHelpers.js.map +1 -1
- package/lib/utils/responsiveOrientationConstants.d.ts +0 -7
- package/lib/utils/responsiveOrientationConstants.d.ts.map +1 -1
- package/lib/utils/responsiveOrientationConstants.js +0 -7
- package/lib/utils/responsiveOrientationConstants.js.map +1 -1
- package/lib/utils/safeAreaUtils.d.ts +0 -6
- package/lib/utils/safeAreaUtils.d.ts.map +1 -1
- package/lib/utils/safeAreaUtils.js +0 -2
- package/lib/utils/safeAreaUtils.js.map +1 -1
- package/lib/utils/sharedPhysicsConfig.d.ts +0 -4
- package/lib/utils/sharedPhysicsConfig.d.ts.map +1 -1
- package/lib/utils/sharedPhysicsConfig.js +0 -2
- package/lib/utils/sharedPhysicsConfig.js.map +1 -1
- package/lib/utils/skeletonScaling.d.ts +0 -9
- package/lib/utils/skeletonScaling.d.ts.map +1 -1
- package/lib/utils/skeletonScaling.js +0 -1
- package/lib/utils/skeletonScaling.js.map +1 -1
- package/package.json +11 -11
|
@@ -39,7 +39,6 @@ import { KoreanText } from "../../types";
|
|
|
39
39
|
* const health = player.bodyPartHealth[bodyPart]; // 0-100
|
|
40
40
|
* ```
|
|
41
41
|
*
|
|
42
|
-
* @public
|
|
43
42
|
* @category Body Part System
|
|
44
43
|
* @korean 신체부위
|
|
45
44
|
*/
|
|
@@ -92,7 +91,6 @@ export declare enum BodyPart {
|
|
|
92
91
|
* };
|
|
93
92
|
* ```
|
|
94
93
|
*
|
|
95
|
-
* @public
|
|
96
94
|
* @category Body Part System
|
|
97
95
|
* @korean 신체부위체력
|
|
98
96
|
*/
|
|
@@ -122,7 +120,6 @@ export interface BodyPartHealth {
|
|
|
122
120
|
* Defines the maximum HP capacity for each body part. Can be modified by
|
|
123
121
|
* archetype, equipment, or training bonuses.
|
|
124
122
|
*
|
|
125
|
-
* @public
|
|
126
123
|
* @category Body Part System
|
|
127
124
|
* @korean 최대신체부위체력
|
|
128
125
|
*/
|
|
@@ -170,7 +167,6 @@ export interface BodyPartMaxHealth {
|
|
|
170
167
|
* };
|
|
171
168
|
* ```
|
|
172
169
|
*
|
|
173
|
-
* @public
|
|
174
170
|
* @category Body Part System
|
|
175
171
|
* @korean 신체부위효과
|
|
176
172
|
*/
|
|
@@ -208,7 +204,6 @@ export interface BodyPartEffects {
|
|
|
208
204
|
* };
|
|
209
205
|
* ```
|
|
210
206
|
*
|
|
211
|
-
* @public
|
|
212
207
|
* @category Body Part System
|
|
213
208
|
* @korean 신체부위피해분배
|
|
214
209
|
*/
|
|
@@ -232,7 +227,6 @@ export interface BodyPartDamageDistribution {
|
|
|
232
227
|
* Provides UI-friendly data about body part health status including
|
|
233
228
|
* color coding, status text, and icon information.
|
|
234
229
|
*
|
|
235
|
-
* @public
|
|
236
230
|
* @category Body Part System
|
|
237
231
|
* @korean 신체부위상태
|
|
238
232
|
*/
|
|
@@ -262,7 +256,6 @@ export interface BodyPartStatus {
|
|
|
262
256
|
* Defines thresholds, multipliers, and constants used by the body part
|
|
263
257
|
* health system for damage calculation and effect application.
|
|
264
258
|
*
|
|
265
|
-
* @public
|
|
266
259
|
* @category Body Part System
|
|
267
260
|
* @korean 신체부위설정
|
|
268
261
|
*/
|
|
@@ -288,7 +281,6 @@ export interface BodyPartHealthConfig {
|
|
|
288
281
|
/**
|
|
289
282
|
* Default configuration values for body part health system.
|
|
290
283
|
*
|
|
291
|
-
* @public
|
|
292
284
|
* @category Body Part System
|
|
293
285
|
*/
|
|
294
286
|
export declare const DEFAULT_BODY_PART_CONFIG: BodyPartHealthConfig;
|
|
@@ -303,7 +295,6 @@ export declare const DEFAULT_BODY_PART_CONFIG: BodyPartHealthConfig;
|
|
|
303
295
|
* - Arms <50%: Attack damage -30%
|
|
304
296
|
* - Legs <50%: Movement speed -40%
|
|
305
297
|
*
|
|
306
|
-
* @public
|
|
307
298
|
* @category Body Part System
|
|
308
299
|
*/
|
|
309
300
|
export declare const BODY_PART_EFFECT_CONSTANTS: {
|
|
@@ -335,7 +326,6 @@ export declare const BODY_PART_EFFECT_CONSTANTS: {
|
|
|
335
326
|
*
|
|
336
327
|
* Defines movement impairment states based on leg health percentage.
|
|
337
328
|
*
|
|
338
|
-
* @public
|
|
339
329
|
* @category Body Part System
|
|
340
330
|
* @korean 다리부상정도
|
|
341
331
|
*/
|
|
@@ -357,7 +347,6 @@ export declare enum LegInjuryState {
|
|
|
357
347
|
* Describes the current movement impairment including speed reduction,
|
|
358
348
|
* stance change penalties, and balance effects.
|
|
359
349
|
*
|
|
360
|
-
* @public
|
|
361
350
|
* @category Body Part System
|
|
362
351
|
* @korean 이동패널티
|
|
363
352
|
*/
|
|
@@ -387,7 +376,6 @@ export interface MovementPenalty {
|
|
|
387
376
|
* Applied immediately upon striking knee or ankle vital points,
|
|
388
377
|
* causing temporary severe movement impairment.
|
|
389
378
|
*
|
|
390
|
-
* @public
|
|
391
379
|
* @category Body Part System
|
|
392
380
|
* @korean 순간이동패널티
|
|
393
381
|
*/
|
|
@@ -412,7 +400,6 @@ export interface InstantMovementPenalty {
|
|
|
412
400
|
* - 49-30%: Severe limp (-40% speed)
|
|
413
401
|
* - <30%: Hobbled (-60% speed, cannot run)
|
|
414
402
|
*
|
|
415
|
-
* @public
|
|
416
403
|
* @category Body Part System
|
|
417
404
|
*/
|
|
418
405
|
export declare const MOVEMENT_PENALTY_CONSTANTS: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/systems/bodypart/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/systems/bodypart/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC;;;;;;;;;;;;;;;;GAgBG;AACH,oBAAY,QAAQ;IAClB,wDAAwD;IACxD,IAAI,SAAS;IACb,qDAAqD;IACrD,IAAI,SAAS;IAC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AE,MAAM,CAAC;IACjC,kDAAkD;IAClD,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,2BAA2B;IAC3B,QAAQ,CAAC,WAAW,EAAE,cAAc,CAAC;IACrC,wEAAwE;IACxE,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,8CAA8C;IAC9C,QAAQ,CAAC,yBAAyB,EAAE,OAAO,CAAC;IAC5C,iDAAiD;IACjD,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,iEAAiE;IACjE,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACpC,+DAA+D;IAC/D,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;CACvC;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,sBAAsB;IACrC,8CAA8C;IAC9C,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,+BAA+B;IAC/B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,yCAAyC;IACzC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,gCAAgC;IAChC,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC;CACjC;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,0BAA0B;IACrC,qDAAqD;;;;;;;IAQrD,8CAA8C;;;;;;;IAQ9C,wCAAwC;;;;;;;IAQxC,8CAA8C;;;;;IAM9C,gCAAgC;;QAE9B,8CAA8C;;QAE9C,iDAAiD;;;CAG3C,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* const health = player.bodyPartHealth[bodyPart]; // 0-100
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
|
-
* @public
|
|
17
16
|
* @category Body Part System
|
|
18
17
|
* @korean 신체부위
|
|
19
18
|
*/
|
|
@@ -39,7 +38,6 @@ var BodyPart = /* @__PURE__ */ function(BodyPart) {
|
|
|
39
38
|
/**
|
|
40
39
|
* Default configuration values for body part health system.
|
|
41
40
|
*
|
|
42
|
-
* @public
|
|
43
41
|
* @category Body Part System
|
|
44
42
|
*/
|
|
45
43
|
var DEFAULT_BODY_PART_CONFIG = {
|
|
@@ -66,7 +64,6 @@ var DEFAULT_BODY_PART_CONFIG = {
|
|
|
66
64
|
* - Arms <50%: Attack damage -30%
|
|
67
65
|
* - Legs <50%: Movement speed -40%
|
|
68
66
|
*
|
|
69
|
-
* @public
|
|
70
67
|
* @category Body Part System
|
|
71
68
|
*/
|
|
72
69
|
var BODY_PART_EFFECT_CONSTANTS = {
|
|
@@ -98,7 +95,6 @@ var BODY_PART_EFFECT_CONSTANTS = {
|
|
|
98
95
|
*
|
|
99
96
|
* Defines movement impairment states based on leg health percentage.
|
|
100
97
|
*
|
|
101
|
-
* @public
|
|
102
98
|
* @category Body Part System
|
|
103
99
|
* @korean 다리부상정도
|
|
104
100
|
*/
|
|
@@ -124,7 +120,6 @@ var LegInjuryState = /* @__PURE__ */ function(LegInjuryState) {
|
|
|
124
120
|
* - 49-30%: Severe limp (-40% speed)
|
|
125
121
|
* - <30%: Hobbled (-60% speed, cannot run)
|
|
126
122
|
*
|
|
127
|
-
* @public
|
|
128
123
|
* @category Body Part System
|
|
129
124
|
*/
|
|
130
125
|
var MOVEMENT_PENALTY_CONSTANTS = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["../../../src/systems/bodypart/types.ts"],"sourcesContent":["/**\n * Body Part Health System Types\n * \n * **Korean**: 신체부위 체력 시스템 타입\n * \n * This module defines types for the body part-specific health tracking system,\n * which replaces the single health bar with independent health tracking for\n * each major body region. This enables realistic localized damage and combat\n * trauma simulation.\n * \n * ## Body Part Health Philosophy\n * \n * Traditional Korean martial arts emphasize targeting specific body regions\n * to achieve maximum combat effectiveness. This system reflects that by\n * tracking damage to:\n * - **HEAD** (두부): Consciousness and awareness\n * - **NECK** (경부): Vascular and respiratory function\n * - **TORSO_UPPER** (상부 몸통): Heart, lungs, vital organs\n * - **TORSO_LOWER** (하부 몸통): Stamina and core strength\n * - **ARM_LEFT/RIGHT** (좌/우팔): Attack capability\n * - **LEG_LEFT/RIGHT** (좌/우다리): Mobility and balance\n * \n * @module systems/bodypart/types\n * @category Body Part System\n * @korean 신체부위타입\n */\n\nimport { KoreanText } from \"@/types\";\n\n/**\n * Body part identifiers for health tracking.\n * \n * **Korean**: 신체 부위 (Body Parts)\n * \n * Each body part tracks independent health from 0-100 HP. Damage to specific\n * parts affects different combat capabilities based on anatomical function.\n * \n * @example\n * ```typescript\n * const bodyPart: BodyPart = BodyPart.HEAD;\n * const health = player.bodyPartHealth[bodyPart]; // 0-100\n * ```\n * \n * @public\n * @category Body Part System\n * @korean 신체부위\n */\nexport enum BodyPart {\n /** Head region - affects consciousness and awareness */\n HEAD = \"head\",\n /** Neck region - affects breathing and blood flow */\n NECK = \"neck\",\n /** Upper torso - affects heart, lungs, stamina recovery */\n TORSO_UPPER = \"torsoUpper\",\n /** Lower torso - affects core strength and balance */\n TORSO_LOWER = \"torsoLower\",\n /** Left arm - affects attack capability on left side */\n ARM_LEFT = \"armLeft\",\n /** Right arm - affects attack capability on right side */\n ARM_RIGHT = \"armRight\",\n /** Left leg - affects movement and balance */\n LEG_LEFT = \"legLeft\",\n /** Right leg - affects movement and balance */\n LEG_RIGHT = \"legRight\",\n}\n\n/**\n * Health values for each body part (0-100 HP per part).\n * \n * **Korean**: 신체 부위별 체력\n * \n * Tracks independent health pools for each major body region. When a body part\n * reaches 0 HP, it becomes non-functional and applies severe combat penalties.\n * \n * ## Default Health Values\n * \n * All body parts start at 100 HP. Different archetypes may have variations:\n * - **무사 (Musa)**: Balanced health across all parts\n * - **암살자 (Amsalja)**: Lower torso health, higher arm precision\n * - **해커 (Hacker)**: Enhanced head/neck (cyber augmentation)\n * - **정보요원 (Jeongbo)**: Balanced with slight defensive boost\n * - **조직폭력배 (Jojik)**: Higher torso/leg health (street hardened)\n * \n * @example\n * ```typescript\n * const bodyHealth: BodyPartHealth = {\n * head: 100,\n * neck: 100,\n * torsoUpper: 100,\n * torsoLower: 100,\n * armLeft: 100,\n * armRight: 100,\n * legLeft: 100,\n * legRight: 100,\n * };\n * ```\n * \n * @public\n * @category Body Part System\n * @korean 신체부위체력\n */\nexport interface BodyPartHealth {\n /** Head health (0-100 HP) - affects consciousness */\n readonly head: number;\n /** Neck health (0-100 HP) - affects breathing and circulation */\n readonly neck: number;\n /** Upper torso health (0-100 HP) - affects stamina recovery */\n readonly torsoUpper: number;\n /** Lower torso health (0-100 HP) - affects balance and core strength */\n readonly torsoLower: number;\n /** Left arm health (0-100 HP) - affects left-side attacks */\n readonly armLeft: number;\n /** Right arm health (0-100 HP) - affects right-side attacks */\n readonly armRight: number;\n /** Left leg health (0-100 HP) - affects movement and stance */\n readonly legLeft: number;\n /** Right leg health (0-100 HP) - affects movement and stance */\n readonly legRight: number;\n}\n\n/**\n * Maximum health values for each body part.\n * \n * **Korean**: 최대 신체 부위 체력\n * \n * Defines the maximum HP capacity for each body part. Can be modified by\n * archetype, equipment, or training bonuses.\n * \n * @public\n * @category Body Part System\n * @korean 최대신체부위체력\n */\nexport interface BodyPartMaxHealth {\n /** Maximum head health */\n readonly head: number;\n /** Maximum neck health */\n readonly neck: number;\n /** Maximum upper torso health */\n readonly torsoUpper: number;\n /** Maximum lower torso health */\n readonly torsoLower: number;\n /** Maximum left arm health */\n readonly armLeft: number;\n /** Maximum right arm health */\n readonly armRight: number;\n /** Maximum left leg health */\n readonly legLeft: number;\n /** Maximum right leg health */\n readonly legRight: number;\n}\n\n/**\n * Combat capability effects from body part damage.\n * \n * **Korean**: 신체 부위 손상 효과\n * \n * Defines how damage to specific body parts affects combat performance.\n * Effects are applied as multipliers to base stats (0.0 = disabled, 1.0 = normal).\n * \n * ## Effect Thresholds\n * \n * - **100-75% HP**: No penalties (1.0x)\n * - **75-50% HP**: Minor penalties (0.9-0.8x)\n * - **50-25% HP**: Major penalties (0.7-0.5x)\n * - **25-0% HP**: Severe penalties (0.3-0.1x)\n * - **0% HP**: Non-functional (0.0x)\n * \n * @example\n * ```typescript\n * const effects: BodyPartEffects = {\n * consciousnessModifier: 0.75, // Head at 50% HP\n * staminaRegenModifier: 0.5, // Torso damaged\n * attackDamageModifier: 0.7, // Arm injured\n * movementSpeedModifier: 0.6, // Leg damaged\n * };\n * ```\n * \n * @public\n * @category Body Part System\n * @korean 신체부위효과\n */\nexport interface BodyPartEffects {\n /** Consciousness and awareness multiplier (0.0-1.0) - from head/neck damage */\n readonly consciousnessModifier: number;\n /** Stamina regeneration multiplier (0.0-1.0) - from torso damage */\n readonly staminaRegenModifier: number;\n /** Attack damage multiplier (0.0-1.0) - from arm damage */\n readonly attackDamageModifier: number;\n /** Movement speed multiplier (0.0-1.0) - from leg damage */\n readonly movementSpeedModifier: number;\n /** Balance modifier (0.0-1.0) - from lower torso and leg damage */\n readonly balanceModifier: number;\n /** Technique accuracy multiplier (0.0-1.0) - from head/arm damage */\n readonly techniqueAccuracyModifier: number;\n}\n\n/**\n * Damage distribution configuration for body parts.\n * \n * **Korean**: 신체 부위 피해 분배\n * \n * Defines how damage from attacks is distributed across body parts based on\n * the hit location and attack type. Not all damage goes to a single part;\n * impact can affect adjacent regions.\n * \n * @example\n * ```typescript\n * // Strike to head distributes damage\n * const distribution: BodyPartDamageDistribution = {\n * primary: { part: BodyPart.HEAD, percentage: 0.8 },\n * secondary: [\n * { part: BodyPart.NECK, percentage: 0.2 }\n * ]\n * };\n * ```\n * \n * @public\n * @category Body Part System\n * @korean 신체부위피해분배\n */\nexport interface BodyPartDamageDistribution {\n /** Primary body part receiving most damage */\n readonly primary: {\n readonly part: BodyPart;\n readonly percentage: number; // 0.0-1.0\n };\n /** Secondary body parts receiving splash damage */\n readonly secondary: readonly {\n readonly part: BodyPart;\n readonly percentage: number; // 0.0-1.0\n }[];\n}\n\n/**\n * Body part status information for UI display.\n * \n * **Korean**: 신체 부위 상태 정보\n * \n * Provides UI-friendly data about body part health status including\n * color coding, status text, and icon information.\n * \n * @public\n * @category Body Part System\n * @korean 신체부위상태\n */\nexport interface BodyPartStatus {\n /** Body part identifier */\n readonly part: BodyPart;\n /** Current health (0-100) */\n readonly health: number;\n /** Maximum health */\n readonly maxHealth: number;\n /** Health percentage (0.0-1.0) */\n readonly percentage: number;\n /** Status description */\n readonly status: KoreanText;\n /** Color code for UI (hex number) */\n readonly color: number;\n /** Whether this part is critically damaged */\n readonly critical: boolean;\n /** Whether this part is non-functional */\n readonly disabled: boolean;\n}\n\n/**\n * Configuration for body part health system.\n * \n * **Korean**: 신체 부위 시스템 설정\n * \n * Defines thresholds, multipliers, and constants used by the body part\n * health system for damage calculation and effect application.\n * \n * @public\n * @category Body Part System\n * @korean 신체부위설정\n */\nexport interface BodyPartHealthConfig {\n /** Default max health for all body parts */\n readonly defaultMaxHealth: number;\n /** Health threshold for minor penalties (percentage) */\n readonly minorPenaltyThreshold: number;\n /** Health threshold for major penalties (percentage) */\n readonly majorPenaltyThreshold: number;\n /** Health threshold for severe penalties (percentage) */\n readonly severePenaltyThreshold: number;\n /** Health threshold for critical status (percentage) */\n readonly criticalThreshold: number;\n /** Effect multipliers for each threshold tier */\n readonly effectMultipliers: {\n readonly minor: number;\n readonly major: number;\n readonly severe: number;\n readonly critical: number;\n };\n}\n\n/**\n * Default configuration values for body part health system.\n * \n * @public\n * @category Body Part System\n */\nexport const DEFAULT_BODY_PART_CONFIG: BodyPartHealthConfig = {\n defaultMaxHealth: 100,\n minorPenaltyThreshold: 0.75, // 75% HP\n majorPenaltyThreshold: 0.50, // 50% HP\n severePenaltyThreshold: 0.25, // 25% HP\n criticalThreshold: 0.10, // 10% HP\n effectMultipliers: {\n minor: 0.90, // 10% penalty\n major: 0.70, // 30% penalty\n severe: 0.40, // 60% penalty\n critical: 0.10, // 90% penalty\n },\n} as const;\n\n/**\n * Body part health effect constants matching acceptance criteria.\n * \n * **Korean**: 신체 부위 효과 상수\n * \n * Defines specific combat penalties as per requirements:\n * - Head <50%: Consciousness penalties\n * - Torso <50%: Stamina regen -50%\n * - Arms <50%: Attack damage -30%\n * - Legs <50%: Movement speed -40%\n * \n * @public\n * @category Body Part System\n */\nexport const BODY_PART_EFFECT_CONSTANTS = {\n /** Head damage effects */\n HEAD: {\n CONSCIOUSNESS_PENALTY_AT_50: 0.75, // 25% consciousness reduction\n CRITICAL_THRESHOLD: 0.50,\n },\n /** Torso damage effects */\n TORSO: {\n STAMINA_REGEN_PENALTY_AT_50: 0.50, // 50% stamina regen reduction\n CRITICAL_THRESHOLD: 0.50,\n },\n /** Arm damage effects */\n ARMS: {\n ATTACK_DAMAGE_PENALTY_AT_50: 0.70, // 30% attack damage reduction\n CRITICAL_THRESHOLD: 0.50,\n },\n /** Leg damage effects */\n LEGS: {\n MOVEMENT_SPEED_PENALTY_AT_50: 0.60, // 40% movement speed reduction\n CRITICAL_THRESHOLD: 0.50,\n },\n} as const;\n\n/**\n * Leg injury severity levels for movement penalties.\n * \n * **Korean**: 다리 부상 정도 (Leg Injury Severity)\n * \n * Defines movement impairment states based on leg health percentage.\n * \n * @public\n * @category Body Part System\n * @korean 다리부상정도\n */\nexport enum LegInjuryState {\n /** Normal movement - Leg health 100-70% */\n NORMAL = \"normal\",\n /** Limping - Leg health 69-50% */\n LIMPING = \"limping\",\n /** Severe limp - Leg health 49-30% */\n SEVERE_LIMP = \"severe_limp\",\n /** Hobbled - Leg health <30%, cannot run */\n HOBBLED = \"hobbled\",\n}\n\n/**\n * Movement penalty applied from leg damage.\n * \n * **Korean**: 이동 패널티 (Movement Penalty)\n * \n * Describes the current movement impairment including speed reduction,\n * stance change penalties, and balance effects.\n * \n * @public\n * @category Body Part System\n * @korean 이동패널티\n */\nexport interface MovementPenalty {\n /** Movement speed multiplier (0.0-1.0) */\n readonly speedMultiplier: number;\n /** Whether player can run (false when hobbled) */\n readonly canRun: boolean;\n /** Current injury state */\n readonly injuryState: LegInjuryState;\n /** Stance change duration multiplier (1.0 = normal, 2.0 = 2x slower) */\n readonly stanceChangePenalty: number;\n /** Whether advanced stances are restricted */\n readonly advancedStancesRestricted: boolean;\n /** Balance modifier from leg damage (0.0-1.0) */\n readonly balanceModifier: number;\n /** Whether instant penalty is active (from knee/ankle strike) */\n readonly hasInstantPenalty: boolean;\n /** Timestamp when instant penalty expires (0 if not active) */\n readonly instantPenaltyExpiry: number;\n}\n\n/**\n * Instant movement penalty from knee/ankle strikes.\n * \n * **Korean**: 순간 이동 패널티 (Instant Movement Penalty)\n * \n * Applied immediately upon striking knee or ankle vital points,\n * causing temporary severe movement impairment.\n * \n * @public\n * @category Body Part System\n * @korean 순간이동패널티\n */\nexport interface InstantMovementPenalty {\n /** Speed multiplier during instant penalty */\n readonly speedMultiplier: number;\n /** Duration in milliseconds */\n readonly duration: number;\n /** Timestamp when penalty was applied */\n readonly appliedAt: number;\n /** Body part that was struck */\n readonly affectedPart: BodyPart;\n}\n\n/**\n * Movement penalty constants matching acceptance criteria.\n * \n * **Korean**: 이동 패널티 상수\n * \n * Defines thresholds and multipliers for injury-based movement penalties:\n * - 100-70%: Normal speed (100%)\n * - 69-50%: Limping (-20% speed)\n * - 49-30%: Severe limp (-40% speed)\n * - <30%: Hobbled (-60% speed, cannot run)\n * \n * @public\n * @category Body Part System\n */\nexport const MOVEMENT_PENALTY_CONSTANTS = {\n /** Health percentage thresholds for injury states */\n THRESHOLDS: {\n NORMAL: 0.70, // 70% and above\n LIMPING: 0.50, // 50-69%\n SEVERE_LIMP: 0.30, // 30-49%\n HOBBLED: 0.0, // Below 30%\n },\n \n /** Speed multipliers for each injury state */\n SPEED_MULTIPLIERS: {\n NORMAL: 1.0, // 100% speed\n LIMPING: 0.8, // 80% speed (-20%)\n SEVERE_LIMP: 0.6, // 60% speed (-40%)\n HOBBLED: 0.4, // 40% speed (-60%)\n },\n \n /** Stance change penalty multipliers */\n STANCE_CHANGE: {\n NORMAL: 1.0, // Normal duration\n INJURED: 2.0, // 2x duration when legs <50%\n CRITICAL_THRESHOLD: 0.50, // Threshold for stance penalties\n RESTRICTION_THRESHOLD: 0.30, // Threshold for advanced stance restriction\n },\n \n /** Instant penalty from knee/ankle strikes */\n INSTANT_PENALTY: {\n SPEED_MULTIPLIER: 0.3, // 30% speed for 5 seconds\n DURATION: 5000, // 5 seconds in milliseconds\n },\n \n /** Asymmetric damage effects */\n ASYMMETRIC: {\n /** Penalty when moving toward injured side */\n SAME_SIDE_PENALTY: 0.8, // Additional 20% penalty\n /** Penalty when moving away from injured side */\n OPPOSITE_SIDE_PENALTY: 0.9, // Additional 10% penalty\n },\n} as const;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AA+CA,IAAY,WAAL,yBAAA,UAAA;;CAEL,SAAA,UAAO;;CAEP,SAAA,UAAO;;CAEP,SAAA,iBAAc;;CAEd,SAAA,iBAAc;;CAEd,SAAA,cAAW;;CAEX,SAAA,eAAY;;CAEZ,SAAA,cAAW;;CAEX,SAAA,eAAY;;KACb;;;;;;;AA8OD,IAAa,2BAAiD;CAC5D,kBAAkB;CAClB,uBAAuB;CACvB,uBAAuB;CACvB,wBAAwB;CACxB,mBAAmB;CACnB,mBAAmB;EACjB,OAAO;EACP,OAAO;EACP,QAAQ;EACR,UAAU;EACX;CACF;;;;;;;;;;;;;;;AAgBD,IAAa,6BAA6B;;CAExC,MAAM;EACJ,6BAA6B;EAC7B,oBAAoB;EACrB;;CAED,OAAO;EACL,6BAA6B;EAC7B,oBAAoB;EACrB;;CAED,MAAM;EACJ,6BAA6B;EAC7B,oBAAoB;EACrB;;CAED,MAAM;EACJ,8BAA8B;EAC9B,oBAAoB;EACrB;CACF;;;;;;;;;;;;AAaD,IAAY,iBAAL,yBAAA,gBAAA;;CAEL,eAAA,YAAS;;CAET,eAAA,aAAU;;CAEV,eAAA,iBAAc;;CAEd,eAAA,aAAU;;KACX;;;;;;;;;;;;;;;AAsED,IAAa,6BAA6B;;CAExC,YAAY;EACV,QAAQ;EACR,SAAS;EACT,aAAa;EACb,SAAS;EACV;;CAGD,mBAAmB;EACjB,QAAQ;EACR,SAAS;EACT,aAAa;EACb,SAAS;EACV;;CAGD,eAAe;EACb,QAAQ;EACR,SAAS;EACT,oBAAoB;EACpB,uBAAuB;EACxB;;CAGD,iBAAiB;EACf,kBAAkB;EAClB,UAAU;EACX;;CAGD,YAAY;;EAEV,mBAAmB;;EAEnB,uBAAuB;EACxB;CACF"}
|
|
1
|
+
{"version":3,"file":"types.js","names":[],"sources":["../../../src/systems/bodypart/types.ts"],"sourcesContent":["/**\n * Body Part Health System Types\n * \n * **Korean**: 신체부위 체력 시스템 타입\n * \n * This module defines types for the body part-specific health tracking system,\n * which replaces the single health bar with independent health tracking for\n * each major body region. This enables realistic localized damage and combat\n * trauma simulation.\n * \n * ## Body Part Health Philosophy\n * \n * Traditional Korean martial arts emphasize targeting specific body regions\n * to achieve maximum combat effectiveness. This system reflects that by\n * tracking damage to:\n * - **HEAD** (두부): Consciousness and awareness\n * - **NECK** (경부): Vascular and respiratory function\n * - **TORSO_UPPER** (상부 몸통): Heart, lungs, vital organs\n * - **TORSO_LOWER** (하부 몸통): Stamina and core strength\n * - **ARM_LEFT/RIGHT** (좌/우팔): Attack capability\n * - **LEG_LEFT/RIGHT** (좌/우다리): Mobility and balance\n * \n * @module systems/bodypart/types\n * @category Body Part System\n * @korean 신체부위타입\n */\n\nimport { KoreanText } from \"@/types\";\n\n/**\n * Body part identifiers for health tracking.\n * \n * **Korean**: 신체 부위 (Body Parts)\n * \n * Each body part tracks independent health from 0-100 HP. Damage to specific\n * parts affects different combat capabilities based on anatomical function.\n * \n * @example\n * ```typescript\n * const bodyPart: BodyPart = BodyPart.HEAD;\n * const health = player.bodyPartHealth[bodyPart]; // 0-100\n * ```\n * \n * @category Body Part System\n * @korean 신체부위\n */\nexport enum BodyPart {\n /** Head region - affects consciousness and awareness */\n HEAD = \"head\",\n /** Neck region - affects breathing and blood flow */\n NECK = \"neck\",\n /** Upper torso - affects heart, lungs, stamina recovery */\n TORSO_UPPER = \"torsoUpper\",\n /** Lower torso - affects core strength and balance */\n TORSO_LOWER = \"torsoLower\",\n /** Left arm - affects attack capability on left side */\n ARM_LEFT = \"armLeft\",\n /** Right arm - affects attack capability on right side */\n ARM_RIGHT = \"armRight\",\n /** Left leg - affects movement and balance */\n LEG_LEFT = \"legLeft\",\n /** Right leg - affects movement and balance */\n LEG_RIGHT = \"legRight\",\n}\n\n/**\n * Health values for each body part (0-100 HP per part).\n * \n * **Korean**: 신체 부위별 체력\n * \n * Tracks independent health pools for each major body region. When a body part\n * reaches 0 HP, it becomes non-functional and applies severe combat penalties.\n * \n * ## Default Health Values\n * \n * All body parts start at 100 HP. Different archetypes may have variations:\n * - **무사 (Musa)**: Balanced health across all parts\n * - **암살자 (Amsalja)**: Lower torso health, higher arm precision\n * - **해커 (Hacker)**: Enhanced head/neck (cyber augmentation)\n * - **정보요원 (Jeongbo)**: Balanced with slight defensive boost\n * - **조직폭력배 (Jojik)**: Higher torso/leg health (street hardened)\n * \n * @example\n * ```typescript\n * const bodyHealth: BodyPartHealth = {\n * head: 100,\n * neck: 100,\n * torsoUpper: 100,\n * torsoLower: 100,\n * armLeft: 100,\n * armRight: 100,\n * legLeft: 100,\n * legRight: 100,\n * };\n * ```\n * \n * @category Body Part System\n * @korean 신체부위체력\n */\nexport interface BodyPartHealth {\n /** Head health (0-100 HP) - affects consciousness */\n readonly head: number;\n /** Neck health (0-100 HP) - affects breathing and circulation */\n readonly neck: number;\n /** Upper torso health (0-100 HP) - affects stamina recovery */\n readonly torsoUpper: number;\n /** Lower torso health (0-100 HP) - affects balance and core strength */\n readonly torsoLower: number;\n /** Left arm health (0-100 HP) - affects left-side attacks */\n readonly armLeft: number;\n /** Right arm health (0-100 HP) - affects right-side attacks */\n readonly armRight: number;\n /** Left leg health (0-100 HP) - affects movement and stance */\n readonly legLeft: number;\n /** Right leg health (0-100 HP) - affects movement and stance */\n readonly legRight: number;\n}\n\n/**\n * Maximum health values for each body part.\n * \n * **Korean**: 최대 신체 부위 체력\n * \n * Defines the maximum HP capacity for each body part. Can be modified by\n * archetype, equipment, or training bonuses.\n * \n * @category Body Part System\n * @korean 최대신체부위체력\n */\nexport interface BodyPartMaxHealth {\n /** Maximum head health */\n readonly head: number;\n /** Maximum neck health */\n readonly neck: number;\n /** Maximum upper torso health */\n readonly torsoUpper: number;\n /** Maximum lower torso health */\n readonly torsoLower: number;\n /** Maximum left arm health */\n readonly armLeft: number;\n /** Maximum right arm health */\n readonly armRight: number;\n /** Maximum left leg health */\n readonly legLeft: number;\n /** Maximum right leg health */\n readonly legRight: number;\n}\n\n/**\n * Combat capability effects from body part damage.\n * \n * **Korean**: 신체 부위 손상 효과\n * \n * Defines how damage to specific body parts affects combat performance.\n * Effects are applied as multipliers to base stats (0.0 = disabled, 1.0 = normal).\n * \n * ## Effect Thresholds\n * \n * - **100-75% HP**: No penalties (1.0x)\n * - **75-50% HP**: Minor penalties (0.9-0.8x)\n * - **50-25% HP**: Major penalties (0.7-0.5x)\n * - **25-0% HP**: Severe penalties (0.3-0.1x)\n * - **0% HP**: Non-functional (0.0x)\n * \n * @example\n * ```typescript\n * const effects: BodyPartEffects = {\n * consciousnessModifier: 0.75, // Head at 50% HP\n * staminaRegenModifier: 0.5, // Torso damaged\n * attackDamageModifier: 0.7, // Arm injured\n * movementSpeedModifier: 0.6, // Leg damaged\n * };\n * ```\n * \n * @category Body Part System\n * @korean 신체부위효과\n */\nexport interface BodyPartEffects {\n /** Consciousness and awareness multiplier (0.0-1.0) - from head/neck damage */\n readonly consciousnessModifier: number;\n /** Stamina regeneration multiplier (0.0-1.0) - from torso damage */\n readonly staminaRegenModifier: number;\n /** Attack damage multiplier (0.0-1.0) - from arm damage */\n readonly attackDamageModifier: number;\n /** Movement speed multiplier (0.0-1.0) - from leg damage */\n readonly movementSpeedModifier: number;\n /** Balance modifier (0.0-1.0) - from lower torso and leg damage */\n readonly balanceModifier: number;\n /** Technique accuracy multiplier (0.0-1.0) - from head/arm damage */\n readonly techniqueAccuracyModifier: number;\n}\n\n/**\n * Damage distribution configuration for body parts.\n * \n * **Korean**: 신체 부위 피해 분배\n * \n * Defines how damage from attacks is distributed across body parts based on\n * the hit location and attack type. Not all damage goes to a single part;\n * impact can affect adjacent regions.\n * \n * @example\n * ```typescript\n * // Strike to head distributes damage\n * const distribution: BodyPartDamageDistribution = {\n * primary: { part: BodyPart.HEAD, percentage: 0.8 },\n * secondary: [\n * { part: BodyPart.NECK, percentage: 0.2 }\n * ]\n * };\n * ```\n * \n * @category Body Part System\n * @korean 신체부위피해분배\n */\nexport interface BodyPartDamageDistribution {\n /** Primary body part receiving most damage */\n readonly primary: {\n readonly part: BodyPart;\n readonly percentage: number; // 0.0-1.0\n };\n /** Secondary body parts receiving splash damage */\n readonly secondary: readonly {\n readonly part: BodyPart;\n readonly percentage: number; // 0.0-1.0\n }[];\n}\n\n/**\n * Body part status information for UI display.\n * \n * **Korean**: 신체 부위 상태 정보\n * \n * Provides UI-friendly data about body part health status including\n * color coding, status text, and icon information.\n * \n * @category Body Part System\n * @korean 신체부위상태\n */\nexport interface BodyPartStatus {\n /** Body part identifier */\n readonly part: BodyPart;\n /** Current health (0-100) */\n readonly health: number;\n /** Maximum health */\n readonly maxHealth: number;\n /** Health percentage (0.0-1.0) */\n readonly percentage: number;\n /** Status description */\n readonly status: KoreanText;\n /** Color code for UI (hex number) */\n readonly color: number;\n /** Whether this part is critically damaged */\n readonly critical: boolean;\n /** Whether this part is non-functional */\n readonly disabled: boolean;\n}\n\n/**\n * Configuration for body part health system.\n * \n * **Korean**: 신체 부위 시스템 설정\n * \n * Defines thresholds, multipliers, and constants used by the body part\n * health system for damage calculation and effect application.\n * \n * @category Body Part System\n * @korean 신체부위설정\n */\nexport interface BodyPartHealthConfig {\n /** Default max health for all body parts */\n readonly defaultMaxHealth: number;\n /** Health threshold for minor penalties (percentage) */\n readonly minorPenaltyThreshold: number;\n /** Health threshold for major penalties (percentage) */\n readonly majorPenaltyThreshold: number;\n /** Health threshold for severe penalties (percentage) */\n readonly severePenaltyThreshold: number;\n /** Health threshold for critical status (percentage) */\n readonly criticalThreshold: number;\n /** Effect multipliers for each threshold tier */\n readonly effectMultipliers: {\n readonly minor: number;\n readonly major: number;\n readonly severe: number;\n readonly critical: number;\n };\n}\n\n/**\n * Default configuration values for body part health system.\n * \n * @category Body Part System\n */\nexport const DEFAULT_BODY_PART_CONFIG: BodyPartHealthConfig = {\n defaultMaxHealth: 100,\n minorPenaltyThreshold: 0.75, // 75% HP\n majorPenaltyThreshold: 0.50, // 50% HP\n severePenaltyThreshold: 0.25, // 25% HP\n criticalThreshold: 0.10, // 10% HP\n effectMultipliers: {\n minor: 0.90, // 10% penalty\n major: 0.70, // 30% penalty\n severe: 0.40, // 60% penalty\n critical: 0.10, // 90% penalty\n },\n} as const;\n\n/**\n * Body part health effect constants matching acceptance criteria.\n * \n * **Korean**: 신체 부위 효과 상수\n * \n * Defines specific combat penalties as per requirements:\n * - Head <50%: Consciousness penalties\n * - Torso <50%: Stamina regen -50%\n * - Arms <50%: Attack damage -30%\n * - Legs <50%: Movement speed -40%\n * \n * @category Body Part System\n */\nexport const BODY_PART_EFFECT_CONSTANTS = {\n /** Head damage effects */\n HEAD: {\n CONSCIOUSNESS_PENALTY_AT_50: 0.75, // 25% consciousness reduction\n CRITICAL_THRESHOLD: 0.50,\n },\n /** Torso damage effects */\n TORSO: {\n STAMINA_REGEN_PENALTY_AT_50: 0.50, // 50% stamina regen reduction\n CRITICAL_THRESHOLD: 0.50,\n },\n /** Arm damage effects */\n ARMS: {\n ATTACK_DAMAGE_PENALTY_AT_50: 0.70, // 30% attack damage reduction\n CRITICAL_THRESHOLD: 0.50,\n },\n /** Leg damage effects */\n LEGS: {\n MOVEMENT_SPEED_PENALTY_AT_50: 0.60, // 40% movement speed reduction\n CRITICAL_THRESHOLD: 0.50,\n },\n} as const;\n\n/**\n * Leg injury severity levels for movement penalties.\n * \n * **Korean**: 다리 부상 정도 (Leg Injury Severity)\n * \n * Defines movement impairment states based on leg health percentage.\n * \n * @category Body Part System\n * @korean 다리부상정도\n */\nexport enum LegInjuryState {\n /** Normal movement - Leg health 100-70% */\n NORMAL = \"normal\",\n /** Limping - Leg health 69-50% */\n LIMPING = \"limping\",\n /** Severe limp - Leg health 49-30% */\n SEVERE_LIMP = \"severe_limp\",\n /** Hobbled - Leg health <30%, cannot run */\n HOBBLED = \"hobbled\",\n}\n\n/**\n * Movement penalty applied from leg damage.\n * \n * **Korean**: 이동 패널티 (Movement Penalty)\n * \n * Describes the current movement impairment including speed reduction,\n * stance change penalties, and balance effects.\n * \n * @category Body Part System\n * @korean 이동패널티\n */\nexport interface MovementPenalty {\n /** Movement speed multiplier (0.0-1.0) */\n readonly speedMultiplier: number;\n /** Whether player can run (false when hobbled) */\n readonly canRun: boolean;\n /** Current injury state */\n readonly injuryState: LegInjuryState;\n /** Stance change duration multiplier (1.0 = normal, 2.0 = 2x slower) */\n readonly stanceChangePenalty: number;\n /** Whether advanced stances are restricted */\n readonly advancedStancesRestricted: boolean;\n /** Balance modifier from leg damage (0.0-1.0) */\n readonly balanceModifier: number;\n /** Whether instant penalty is active (from knee/ankle strike) */\n readonly hasInstantPenalty: boolean;\n /** Timestamp when instant penalty expires (0 if not active) */\n readonly instantPenaltyExpiry: number;\n}\n\n/**\n * Instant movement penalty from knee/ankle strikes.\n * \n * **Korean**: 순간 이동 패널티 (Instant Movement Penalty)\n * \n * Applied immediately upon striking knee or ankle vital points,\n * causing temporary severe movement impairment.\n * \n * @category Body Part System\n * @korean 순간이동패널티\n */\nexport interface InstantMovementPenalty {\n /** Speed multiplier during instant penalty */\n readonly speedMultiplier: number;\n /** Duration in milliseconds */\n readonly duration: number;\n /** Timestamp when penalty was applied */\n readonly appliedAt: number;\n /** Body part that was struck */\n readonly affectedPart: BodyPart;\n}\n\n/**\n * Movement penalty constants matching acceptance criteria.\n * \n * **Korean**: 이동 패널티 상수\n * \n * Defines thresholds and multipliers for injury-based movement penalties:\n * - 100-70%: Normal speed (100%)\n * - 69-50%: Limping (-20% speed)\n * - 49-30%: Severe limp (-40% speed)\n * - <30%: Hobbled (-60% speed, cannot run)\n * \n * @category Body Part System\n */\nexport const MOVEMENT_PENALTY_CONSTANTS = {\n /** Health percentage thresholds for injury states */\n THRESHOLDS: {\n NORMAL: 0.70, // 70% and above\n LIMPING: 0.50, // 50-69%\n SEVERE_LIMP: 0.30, // 30-49%\n HOBBLED: 0.0, // Below 30%\n },\n \n /** Speed multipliers for each injury state */\n SPEED_MULTIPLIERS: {\n NORMAL: 1.0, // 100% speed\n LIMPING: 0.8, // 80% speed (-20%)\n SEVERE_LIMP: 0.6, // 60% speed (-40%)\n HOBBLED: 0.4, // 40% speed (-60%)\n },\n \n /** Stance change penalty multipliers */\n STANCE_CHANGE: {\n NORMAL: 1.0, // Normal duration\n INJURED: 2.0, // 2x duration when legs <50%\n CRITICAL_THRESHOLD: 0.50, // Threshold for stance penalties\n RESTRICTION_THRESHOLD: 0.30, // Threshold for advanced stance restriction\n },\n \n /** Instant penalty from knee/ankle strikes */\n INSTANT_PENALTY: {\n SPEED_MULTIPLIER: 0.3, // 30% speed for 5 seconds\n DURATION: 5000, // 5 seconds in milliseconds\n },\n \n /** Asymmetric damage effects */\n ASYMMETRIC: {\n /** Penalty when moving toward injured side */\n SAME_SIDE_PENALTY: 0.8, // Additional 20% penalty\n /** Penalty when moving away from injured side */\n OPPOSITE_SIDE_PENALTY: 0.9, // Additional 10% penalty\n },\n} as const;\n"],"mappings":";;;;;;;;;;;;;;;;;;AA8CA,IAAY,WAAL,yBAAA,UAAA;;CAEL,SAAA,UAAO;;CAEP,SAAA,UAAO;;CAEP,SAAA,iBAAc;;CAEd,SAAA,iBAAc;;CAEd,SAAA,cAAW;;CAEX,SAAA,eAAY;;CAEZ,SAAA,cAAW;;CAEX,SAAA,eAAY;;KACb;;;;;;AAuOD,IAAa,2BAAiD;CAC5D,kBAAkB;CAClB,uBAAuB;CACvB,uBAAuB;CACvB,wBAAwB;CACxB,mBAAmB;CACnB,mBAAmB;EACjB,OAAO;EACP,OAAO;EACP,QAAQ;EACR,UAAU;EACX;CACF;;;;;;;;;;;;;;AAeD,IAAa,6BAA6B;;CAExC,MAAM;EACJ,6BAA6B;EAC7B,oBAAoB;EACrB;;CAED,OAAO;EACL,6BAA6B;EAC7B,oBAAoB;EACrB;;CAED,MAAM;EACJ,6BAA6B;EAC7B,oBAAoB;EACrB;;CAED,MAAM;EACJ,8BAA8B;EAC9B,oBAAoB;EACrB;CACF;;;;;;;;;;;AAYD,IAAY,iBAAL,yBAAA,gBAAA;;CAEL,eAAA,YAAS;;CAET,eAAA,aAAU;;CAEV,eAAA,iBAAc;;CAEd,eAAA,aAAU;;KACX;;;;;;;;;;;;;;AAmED,IAAa,6BAA6B;;CAExC,YAAY;EACV,QAAQ;EACR,SAAS;EACT,aAAa;EACb,SAAS;EACV;;CAGD,mBAAmB;EACjB,QAAQ;EACR,SAAS;EACT,aAAa;EACb,SAAS;EACV;;CAGD,eAAe;EACb,QAAQ;EACR,SAAS;EACT,oBAAoB;EACpB,uBAAuB;EACxB;;CAGD,iBAAiB;EACf,kBAAkB;EAClB,UAAU;EACX;;CAGD,YAAY;;EAEV,mBAAmB;;EAEnB,uBAAuB;EACxB;CACF"}
|
|
@@ -43,7 +43,6 @@ import { PlayerState } from "../player";
|
|
|
43
43
|
* Progressive levels of respiratory impairment from torso strikes.
|
|
44
44
|
* Higher levels stack duration and increase stamina regeneration penalties.
|
|
45
45
|
*
|
|
46
|
-
* @public
|
|
47
46
|
* @category Combat Systems
|
|
48
47
|
* @korean 호흡곤란수준
|
|
49
48
|
*/
|
|
@@ -80,7 +79,6 @@ export declare enum BreathingDisruptionLevel {
|
|
|
80
79
|
* Tracks active breathing difficulty with Korean-English terminology.
|
|
81
80
|
* Integrates with the status effect system for consistent duration tracking.
|
|
82
81
|
*
|
|
83
|
-
* @public
|
|
84
82
|
* @category Combat Systems
|
|
85
83
|
* @korean 호흡곤란효과
|
|
86
84
|
*/
|
|
@@ -102,7 +100,6 @@ export interface BreathingDisruptionEffect extends StatusEffect {
|
|
|
102
100
|
* Manages breathing disruption effects from torso targeting.
|
|
103
101
|
* Integrates with vital point system and stamina regeneration.
|
|
104
102
|
*
|
|
105
|
-
* @public
|
|
106
103
|
* @category Combat Systems
|
|
107
104
|
*/
|
|
108
105
|
export declare class BreathingDisruptionSystem {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreathingDisruptionSystem.d.ts","sourceRoot":"","sources":["../../../src/systems/breathing/BreathingDisruptionSystem.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,EAAc,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/C
|
|
1
|
+
{"version":3,"file":"BreathingDisruptionSystem.d.ts","sourceRoot":"","sources":["../../../src/systems/breathing/BreathingDisruptionSystem.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,EAAc,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/C;;;;;;;;;;GAUG;AACH,oBAAY,wBAAwB;IAClC,4DAA4D;IAC5D,IAAI,SAAS;IAEb;;;;;OAKG;IACH,MAAM,WAAW;IAEjB;;;;;OAKG;IACH,OAAO,YAAY;IAEnB;;;;;OAKG;IACH,eAAe,oBAAoB;CACpC;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,yBAA0B,SAAQ,YAAY;IAC7D,2CAA2C;IAC3C,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC,cAAc,CAAC;IAEnD,0CAA0C;IAC1C,QAAQ,CAAC,KAAK,EAAE,wBAAwB,CAAC;IAEzC,+E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AE,MAAM,EACjB,SAAS,EAAE,MAAM,GAChB,yBAAyB,GAAG,SAAS;IAmBxC;;;;;;;;;OASG;IACH,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,WAAW,GAAG,wBAAwB;IAKrE;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO;CAG9C"}
|
|
@@ -43,7 +43,6 @@ import { EffectIntensity } from "../effects.js";
|
|
|
43
43
|
* Progressive levels of respiratory impairment from torso strikes.
|
|
44
44
|
* Higher levels stack duration and increase stamina regeneration penalties.
|
|
45
45
|
*
|
|
46
|
-
* @public
|
|
47
46
|
* @category Combat Systems
|
|
48
47
|
* @korean 호흡곤란수준
|
|
49
48
|
*/
|
|
@@ -125,7 +124,6 @@ var BREATHING_DISRUPTION_CONFIGS = {
|
|
|
125
124
|
* Manages breathing disruption effects from torso targeting.
|
|
126
125
|
* Integrates with vital point system and stamina regeneration.
|
|
127
126
|
*
|
|
128
|
-
* @public
|
|
129
127
|
* @category Combat Systems
|
|
130
128
|
*/
|
|
131
129
|
var BreathingDisruptionSystem = class {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreathingDisruptionSystem.js","names":[],"sources":["../../../src/systems/breathing/BreathingDisruptionSystem.ts"],"sourcesContent":["/**\n * Breathing Disruption System for realistic respiratory targeting mechanics.\n * \n * **Korean**: 호흡곤란 시스템 (Breathing Disruption System)\n * \n * This system implements realistic breathing disruption from torso strikes targeting\n * the solar plexus, ribs, and diaphragm. Breathing difficulty reduces stamina\n * regeneration and creates authentic combat trauma effects.\n * \n * ## Disruption Levels (호흡곤란 수준)\n * \n * - **Winded (바람맞음)**: 25% stamina regeneration penalty for 5 seconds\n * - **Gasping (헐떡임)**: 50% stamina regeneration penalty for 10 seconds\n * - **Severely Winded (심각한 호흡곤란)**: 75% stamina regeneration penalty for 15 seconds\n * \n * ## Korean Martial Arts Context\n * \n * Traditional Korean martial arts (태권도, 합기도, 택견) emphasize torso strikes:\n * - **명치 (Myeongchi)**: Solar plexus - instant breath disruption\n * - **늑골 (Neukgol)**: Floating ribs - cumulative breathing difficulty\n * - **횡격막 (Hoenggyeongmak)**: Diaphragm - severe respiratory impact\n * \n * ## Game Design Philosophy\n * \n * Breathing disruption creates tactical depth by:\n * 1. Rewarding torso targeting over simple head/limb attacks\n * 2. Creating stamina management gameplay - disrupted fighters must fight defensively\n * 3. Providing realistic combat trauma feedback\n * 4. Encouraging recovery periods when torso health is compromised\n * \n * @module systems/breathing\n * @category Combat Systems\n * @korean 호흡곤란시스템\n */\n\nimport { KoreanText, VitalPointEffectType } from \"@/types\";\nimport { StatusEffect } from \"@/systems/types\";\nimport { PlayerState } from \"@/systems/player\";\nimport { EffectIntensity } from \"@/systems/effects\";\n\n/**\n * Breathing disruption severity levels.\n * \n * **Korean**: 호흡곤란 수준\n * \n * Progressive levels of respiratory impairment from torso strikes.\n * Higher levels stack duration and increase stamina regeneration penalties.\n * \n * @public\n * @category Combat Systems\n * @korean 호흡곤란수준\n */\nexport enum BreathingDisruptionLevel {\n /** No breathing disruption - normal stamina regeneration */\n NONE = \"none\",\n \n /**\n * Winded (바람맞음)\n * - 25% stamina regeneration penalty\n * - Duration: 5 seconds\n * - Caused by: Moderate torso strikes\n */\n WINDED = \"winded\",\n \n /**\n * Gasping (헐떡임)\n * - 50% stamina regeneration penalty\n * - Duration: 10 seconds\n * - Caused by: Heavy torso strikes or multiple hits\n */\n GASPING = \"gasping\",\n \n /**\n * Severely Winded (심각한 호흡곤란)\n * - 75% stamina regeneration penalty\n * - Duration: 15 seconds\n * - Caused by: Solar plexus vital point strikes\n */\n SEVERELY_WINDED = \"severely_winded\",\n}\n\n/**\n * Breathing disruption effect extending StatusEffect.\n * \n * **Korean**: 호흡곤란 효과\n * \n * Tracks active breathing difficulty with Korean-English terminology.\n * Integrates with the status effect system for consistent duration tracking.\n * \n * @public\n * @category Combat Systems\n * @korean 호흡곤란효과\n */\nexport interface BreathingDisruptionEffect extends StatusEffect {\n /** Effect type is always BREATHLESSNESS */\n readonly type: VitalPointEffectType.BREATHLESSNESS;\n \n /** Breathing disruption severity level */\n readonly level: BreathingDisruptionLevel;\n \n /** Stamina regeneration multiplier (0.25 = 75% penalty, 0.50 = 50% penalty) */\n readonly staminaRegenMultiplier: number;\n \n /** Whether this effect can stack with additional torso hits */\n readonly stackable: true;\n}\n\n/**\n * Configuration for breathing disruption level effects.\n * \n * **Korean**: 호흡곤란 설정\n */\ninterface BreathingDisruptionConfig {\n readonly level: BreathingDisruptionLevel;\n readonly duration: number; // milliseconds\n readonly staminaRegenMultiplier: number;\n readonly koreanName: string;\n readonly englishName: string;\n readonly description: KoreanText;\n}\n\n/**\n * Breathing disruption level configurations.\n * \n * Defines stamina penalties, durations, and bilingual descriptions\n * for each severity level.\n */\nconst BREATHING_DISRUPTION_CONFIGS: Record<\n Exclude<BreathingDisruptionLevel, BreathingDisruptionLevel.NONE>,\n BreathingDisruptionConfig\n> = {\n [BreathingDisruptionLevel.WINDED]: {\n level: BreathingDisruptionLevel.WINDED,\n duration: 5000, // 5 seconds\n staminaRegenMultiplier: 0.75, // 25% penalty\n koreanName: \"바람맞음\",\n englishName: \"Winded\",\n description: {\n korean: \"중간 강도의 몸통 타격으로 호흡이 불규칙해짐\",\n english: \"Breathing is irregular from moderate torso strike\",\n romanized: \"baram-maeum\",\n },\n },\n [BreathingDisruptionLevel.GASPING]: {\n level: BreathingDisruptionLevel.GASPING,\n duration: 10000, // 10 seconds\n staminaRegenMultiplier: 0.50, // 50% penalty\n koreanName: \"헐떡임\",\n englishName: \"Gasping\",\n description: {\n korean: \"강한 몸통 타격으로 호흡이 어려워짐\",\n english: \"Heavy torso strikes cause breathing difficulty\",\n romanized: \"heoltteogim\",\n },\n },\n [BreathingDisruptionLevel.SEVERELY_WINDED]: {\n level: BreathingDisruptionLevel.SEVERELY_WINDED,\n duration: 15000, // 15 seconds\n staminaRegenMultiplier: 0.25, // 75% penalty\n koreanName: \"심각한 호흡곤란\",\n englishName: \"Severely Winded\",\n description: {\n korean: \"명치 급소 타격으로 심각한 호흡곤란 발생\",\n english: \"Solar plexus vital strike causes severe breathing disruption\",\n romanized: \"simgakhan hoheup gonnan\",\n },\n },\n};\n\n/**\n * Breathing Disruption System implementation.\n * \n * **Korean**: 호흡곤란 시스템\n * \n * Manages breathing disruption effects from torso targeting.\n * Integrates with vital point system and stamina regeneration.\n * \n * @public\n * @category Combat Systems\n */\nexport class BreathingDisruptionSystem {\n /**\n * Create a breathing disruption effect at specified severity level.\n * \n * **Korean**: 호흡곤란 효과 생성\n * \n * @param level - Severity level of breathing disruption\n * @param source - Source of the disruption (technique name, vital point, etc.)\n * @param timestamp - When the effect was applied (game time)\n * @returns BreathingDisruptionEffect ready to apply to PlayerState\n * \n * @example\n * ```typescript\n * // Solar plexus strike causes severe disruption\n * const effect = BreathingDisruptionSystem.createEffect(\n * BreathingDisruptionLevel.SEVERELY_WINDED,\n * \"명치타격 (Solar Plexus Strike)\",\n * Date.now()\n * );\n * ```\n */\n static createEffect(\n level: Exclude<BreathingDisruptionLevel, BreathingDisruptionLevel.NONE>,\n source: string,\n timestamp: number\n ): BreathingDisruptionEffect {\n const config = BREATHING_DISRUPTION_CONFIGS[level];\n \n return {\n id: `breathing_disruption_${level}_${timestamp}`,\n type: VitalPointEffectType.BREATHLESSNESS,\n level,\n intensity: this.levelToIntensity(level),\n duration: config.duration,\n staminaRegenMultiplier: config.staminaRegenMultiplier,\n description: config.description,\n stackable: true,\n source,\n startTime: timestamp,\n endTime: timestamp + config.duration,\n };\n }\n\n /**\n * Convert breathing disruption level to effect intensity.\n * \n * Maps severity levels to standardized EffectIntensity enum.\n * \n * @param level - Breathing disruption severity\n * @returns Corresponding EffectIntensity value\n */\n private static levelToIntensity(\n level: BreathingDisruptionLevel\n ): EffectIntensity {\n switch (level) {\n case BreathingDisruptionLevel.WINDED:\n return EffectIntensity.LOW;\n case BreathingDisruptionLevel.GASPING:\n return EffectIntensity.MEDIUM;\n case BreathingDisruptionLevel.SEVERELY_WINDED:\n return EffectIntensity.HIGH;\n default:\n return EffectIntensity.WEAK;\n }\n }\n\n /**\n * Calculate breathing disruption level from damage amount.\n * \n * **Korean**: 피해량으로 호흡곤란 수준 계산\n * \n * Determines appropriate disruption severity based on torso strike damage.\n * Used when vital point ID is not specified but torso region was hit.\n * \n * @param damage - Base damage of the torso strike\n * @param isSolarPlexus - Whether strike hit solar plexus vital point\n * @returns Appropriate breathing disruption level\n * \n * @example\n * ```typescript\n * // Moderate torso strike (15 damage) causes winded effect\n * const level = BreathingDisruptionSystem.calculateLevelFromDamage(15, false);\n * // level === BreathingDisruptionLevel.WINDED\n * \n * // Solar plexus vital strike (20+ damage) causes severe effect\n * const severeLevel = BreathingDisruptionSystem.calculateLevelFromDamage(25, true);\n * // severeLevel === BreathingDisruptionLevel.SEVERELY_WINDED\n * ```\n */\n static calculateLevelFromDamage(\n damage: number,\n isSolarPlexus: boolean\n ): BreathingDisruptionLevel {\n // Solar plexus vital strikes always cause severe disruption\n if (isSolarPlexus) {\n return BreathingDisruptionLevel.SEVERELY_WINDED;\n }\n\n // Thresholds for damage-based severity\n if (damage >= 20) {\n return BreathingDisruptionLevel.GASPING;\n } else if (damage >= 10) {\n return BreathingDisruptionLevel.WINDED;\n }\n\n return BreathingDisruptionLevel.NONE;\n }\n\n /**\n * Stack multiple breathing disruption effects.\n * \n * **Korean**: 호흡곤란 효과 누적\n * \n * Cumulative torso hits increase disruption duration and potentially severity.\n * Multiple hits stack duration, and severe hits can escalate the level.\n * \n * @param existingEffect - Current active breathing disruption effect\n * @param newLevel - Severity of new torso strike\n * @param source - Source of the new disruption\n * @param timestamp - Current game time\n * @returns Updated BreathingDisruptionEffect with stacked duration/severity\n * \n * @example\n * ```typescript\n * // First hit: Winded for 5 seconds\n * let effect = BreathingDisruptionSystem.createEffect(\n * BreathingDisruptionLevel.WINDED, \"Rib Strike\", 1000\n * );\n * \n * // Second hit: Stacks to Gasping with extended duration\n * effect = BreathingDisruptionSystem.stackEffect(\n * effect, BreathingDisruptionLevel.WINDED, \"Rib Strike\", 3000\n * );\n * // Now Gasping level with 10+ seconds remaining\n * ```\n */\n static stackEffect(\n existingEffect: BreathingDisruptionEffect,\n newLevel: Exclude<BreathingDisruptionLevel, BreathingDisruptionLevel.NONE>,\n source: string,\n timestamp: number\n ): BreathingDisruptionEffect {\n const newConfig = BREATHING_DISRUPTION_CONFIGS[newLevel];\n \n // Escalate to higher severity if new strike is more severe\n const effectiveLevel = this.getHigherLevel(existingEffect.level, newLevel);\n const effectiveConfig = BREATHING_DISRUPTION_CONFIGS[effectiveLevel];\n\n // Stack duration: add 50% of new effect's duration to remaining time\n const remainingTime = Math.max(0, existingEffect.endTime - timestamp);\n const additionalTime = Math.floor(newConfig.duration * 0.5);\n const totalDuration = remainingTime + additionalTime;\n\n return {\n ...existingEffect,\n level: effectiveLevel,\n intensity: this.levelToIntensity(effectiveLevel),\n duration: totalDuration,\n staminaRegenMultiplier: effectiveConfig.staminaRegenMultiplier,\n description: effectiveConfig.description,\n source: `${existingEffect.source}, ${source}`,\n endTime: timestamp + totalDuration,\n };\n }\n\n /**\n * Compare two disruption levels and return the more severe.\n * \n * @param level1 - First disruption level\n * @param level2 - Second disruption level\n * @returns The more severe of the two levels\n */\n private static getHigherLevel(\n level1: BreathingDisruptionLevel,\n level2: BreathingDisruptionLevel\n ): Exclude<BreathingDisruptionLevel, BreathingDisruptionLevel.NONE> {\n const severity = {\n [BreathingDisruptionLevel.NONE]: 0,\n [BreathingDisruptionLevel.WINDED]: 1,\n [BreathingDisruptionLevel.GASPING]: 2,\n [BreathingDisruptionLevel.SEVERELY_WINDED]: 3,\n };\n\n const higher = severity[level1] > severity[level2] ? level1 : level2;\n \n // Type guard: result can't be NONE since inputs exclude NONE\n return higher as Exclude<BreathingDisruptionLevel, BreathingDisruptionLevel.NONE>;\n }\n\n /**\n * Get active breathing disruption effect from player state.\n * \n * **Korean**: 활성 호흡곤란 효과 가져오기\n * \n * Searches player's active status effects for breathing disruption.\n * \n * @param player - Current player state\n * @returns Active BreathingDisruptionEffect or undefined\n */\n static getActiveEffect(\n player: PlayerState\n ): BreathingDisruptionEffect | undefined {\n return player.statusEffects.find(\n (effect): effect is BreathingDisruptionEffect =>\n effect.type === VitalPointEffectType.BREATHLESSNESS &&\n \"level\" in effect &&\n \"staminaRegenMultiplier\" in effect\n );\n }\n\n /**\n * Calculate stamina regeneration multiplier with breathing disruption.\n * \n * **Korean**: 호흡곤란 포함 스태미나 재생 계산\n * \n * Applies breathing disruption penalty to base stamina regeneration rate.\n * Used by stamina regeneration system each frame.\n * \n * @param player - Current player state\n * @param baseRegenRate - Base stamina regeneration per second\n * @returns Modified regeneration rate with breathing penalty applied\n * \n * @example\n * ```typescript\n * const baseRegen = 10; // 10 stamina/second normally\n * \n * // With Gasping effect (50% penalty)\n * const modifiedRegen = BreathingDisruptionSystem.calculateStaminaRegen(\n * player, baseRegen\n * );\n * // modifiedRegen === 5 (50% of base rate)\n * ```\n */\n static calculateStaminaRegen(\n player: PlayerState,\n baseRegenRate: number\n ): number {\n const activeEffect = this.getActiveEffect(player);\n \n if (!activeEffect) {\n return baseRegenRate;\n }\n\n return baseRegenRate * activeEffect.staminaRegenMultiplier;\n }\n\n /**\n * Check if player can recover from breathing disruption.\n * \n * **Korean**: 호흡곤란 회복 가능 여부 확인\n * \n * Recovery is possible when torso health > 50%.\n * Player must avoid additional torso damage to allow breathing to normalize.\n * \n * @param player - Current player state\n * @returns True if torso health supports recovery\n */\n static canRecover(player: PlayerState): boolean {\n // Check if body part health tracking is available\n if (!player.bodyPartHealth) {\n // Fallback: use overall health as proxy\n return player.health > player.maxHealth * 0.5;\n }\n\n // Calculate torso health percentage (using upper torso as primary)\n const upperTorsoHealth = player.bodyPartHealth.torsoUpper ?? 0;\n const lowerTorsoHealth = player.bodyPartHealth.torsoLower ?? 0;\n const avgTorsoHealth = (upperTorsoHealth + lowerTorsoHealth) / 2;\n \n const maxUpperTorsoHealth = player.bodyPartMaxHealth?.torsoUpper ?? 100;\n const maxLowerTorsoHealth = player.bodyPartMaxHealth?.torsoLower ?? 100;\n const avgMaxTorsoHealth = (maxUpperTorsoHealth + maxLowerTorsoHealth) / 2;\n \n const torsoHealthPercent = avgTorsoHealth / avgMaxTorsoHealth;\n\n return torsoHealthPercent > 0.5;\n }\n\n /**\n * Apply gradual recovery to breathing disruption effect.\n * \n * **Korean**: 호흡곤란 점진적 회복 적용\n * \n * When torso health > 50% and no new hits, breathing gradually improves.\n * This provides tactical gameplay: fighters with damaged torsos must fight defensively.\n * \n * @param effect - Current breathing disruption effect\n * @param deltaTime - Time since last update (milliseconds)\n * @param timestamp - Current game time\n * @returns Updated effect with recovery applied, or undefined if fully recovered\n * \n * @example\n * ```typescript\n * // Each frame with torso health > 50%\n * const updated = BreathingDisruptionSystem.applyGradualRecovery(\n * effect, 16.67, timestamp\n * );\n * // Effect duration decreases faster than normal expiration\n * ```\n */\n static applyGradualRecovery(\n effect: BreathingDisruptionEffect,\n deltaTime: number,\n timestamp: number\n ): BreathingDisruptionEffect | undefined {\n // Recovery rate: 2x faster than normal expiration\n const recoveryMultiplier = 2.0;\n const recoveryTime = deltaTime * recoveryMultiplier;\n \n const newEndTime = effect.endTime - recoveryTime;\n \n // Fully recovered if end time reached\n if (newEndTime <= timestamp) {\n return undefined;\n }\n\n return {\n ...effect,\n endTime: newEndTime,\n duration: newEndTime - effect.startTime,\n };\n }\n\n /**\n * Get breathing disruption level from player state.\n * \n * **Korean**: 플레이어 호흡곤란 수준 가져오기\n * \n * Convenience method to get current disruption level.\n * \n * @param player - Current player state\n * @returns Current breathing disruption level (NONE if no active effect)\n */\n static getCurrentLevel(player: PlayerState): BreathingDisruptionLevel {\n const activeEffect = this.getActiveEffect(player);\n return activeEffect?.level ?? BreathingDisruptionLevel.NONE;\n }\n\n /**\n * Check if breathing disruption is active.\n * \n * @param player - Current player state\n * @returns True if player has active breathing disruption\n */\n static isActive(player: PlayerState): boolean {\n return this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,OAAO,gBAEV,OAAO,OAAO,SAAS,OAAO,YAAY;EAc5C,SAVyB,OAAO,eAAe,cAAc,MACpC,OAAO,eAAe,cAAc,MACE,OAEnC,OAAO,mBAAmB,cAAc,QACxC,OAAO,mBAAmB,cAAc,QACI,KAI5C;;;;;;;;;;;;;;;;;;;;;;;;CAyB9B,OAAO,qBACL,QACA,WACA,WACuC;EAGvC,MAAM,eAAe,YAAY;EAEjC,MAAM,aAAa,OAAO,UAAU;EAGpC,IAAI,cAAc,WAChB;EAGF,OAAO;GACL,GAAG;GACH,SAAS;GACT,UAAU,aAAa,OAAO;GAC/B;;;;;;;;;;;;CAaH,OAAO,gBAAgB,QAA+C;EAEpE,OADqB,KAAK,gBAAgB,OACnC,EAAc,SAAS,yBAAyB;;;;;;;;CASzD,OAAO,SAAS,QAA8B;EAC5C,OAAO,KAAK,gBAAgB,OAAO,KAAK,yBAAyB"}
|
|
1
|
+
{"version":3,"file":"BreathingDisruptionSystem.js","names":[],"sources":["../../../src/systems/breathing/BreathingDisruptionSystem.ts"],"sourcesContent":["/**\n * Breathing Disruption System for realistic respiratory targeting mechanics.\n * \n * **Korean**: 호흡곤란 시스템 (Breathing Disruption System)\n * \n * This system implements realistic breathing disruption from torso strikes targeting\n * the solar plexus, ribs, and diaphragm. Breathing difficulty reduces stamina\n * regeneration and creates authentic combat trauma effects.\n * \n * ## Disruption Levels (호흡곤란 수준)\n * \n * - **Winded (바람맞음)**: 25% stamina regeneration penalty for 5 seconds\n * - **Gasping (헐떡임)**: 50% stamina regeneration penalty for 10 seconds\n * - **Severely Winded (심각한 호흡곤란)**: 75% stamina regeneration penalty for 15 seconds\n * \n * ## Korean Martial Arts Context\n * \n * Traditional Korean martial arts (태권도, 합기도, 택견) emphasize torso strikes:\n * - **명치 (Myeongchi)**: Solar plexus - instant breath disruption\n * - **늑골 (Neukgol)**: Floating ribs - cumulative breathing difficulty\n * - **횡격막 (Hoenggyeongmak)**: Diaphragm - severe respiratory impact\n * \n * ## Game Design Philosophy\n * \n * Breathing disruption creates tactical depth by:\n * 1. Rewarding torso targeting over simple head/limb attacks\n * 2. Creating stamina management gameplay - disrupted fighters must fight defensively\n * 3. Providing realistic combat trauma feedback\n * 4. Encouraging recovery periods when torso health is compromised\n * \n * @module systems/breathing\n * @category Combat Systems\n * @korean 호흡곤란시스템\n */\n\nimport { KoreanText, VitalPointEffectType } from \"@/types\";\nimport { StatusEffect } from \"@/systems/types\";\nimport { PlayerState } from \"@/systems/player\";\nimport { EffectIntensity } from \"@/systems/effects\";\n\n/**\n * Breathing disruption severity levels.\n * \n * **Korean**: 호흡곤란 수준\n * \n * Progressive levels of respiratory impairment from torso strikes.\n * Higher levels stack duration and increase stamina regeneration penalties.\n * \n * @category Combat Systems\n * @korean 호흡곤란수준\n */\nexport enum BreathingDisruptionLevel {\n /** No breathing disruption - normal stamina regeneration */\n NONE = \"none\",\n \n /**\n * Winded (바람맞음)\n * - 25% stamina regeneration penalty\n * - Duration: 5 seconds\n * - Caused by: Moderate torso strikes\n */\n WINDED = \"winded\",\n \n /**\n * Gasping (헐떡임)\n * - 50% stamina regeneration penalty\n * - Duration: 10 seconds\n * - Caused by: Heavy torso strikes or multiple hits\n */\n GASPING = \"gasping\",\n \n /**\n * Severely Winded (심각한 호흡곤란)\n * - 75% stamina regeneration penalty\n * - Duration: 15 seconds\n * - Caused by: Solar plexus vital point strikes\n */\n SEVERELY_WINDED = \"severely_winded\",\n}\n\n/**\n * Breathing disruption effect extending StatusEffect.\n * \n * **Korean**: 호흡곤란 효과\n * \n * Tracks active breathing difficulty with Korean-English terminology.\n * Integrates with the status effect system for consistent duration tracking.\n * \n * @category Combat Systems\n * @korean 호흡곤란효과\n */\nexport interface BreathingDisruptionEffect extends StatusEffect {\n /** Effect type is always BREATHLESSNESS */\n readonly type: VitalPointEffectType.BREATHLESSNESS;\n \n /** Breathing disruption severity level */\n readonly level: BreathingDisruptionLevel;\n \n /** Stamina regeneration multiplier (0.25 = 75% penalty, 0.50 = 50% penalty) */\n readonly staminaRegenMultiplier: number;\n \n /** Whether this effect can stack with additional torso hits */\n readonly stackable: true;\n}\n\n/**\n * Configuration for breathing disruption level effects.\n * \n * **Korean**: 호흡곤란 설정\n */\ninterface BreathingDisruptionConfig {\n readonly level: BreathingDisruptionLevel;\n readonly duration: number; // milliseconds\n readonly staminaRegenMultiplier: number;\n readonly koreanName: string;\n readonly englishName: string;\n readonly description: KoreanText;\n}\n\n/**\n * Breathing disruption level configurations.\n * \n * Defines stamina penalties, durations, and bilingual descriptions\n * for each severity level.\n */\nconst BREATHING_DISRUPTION_CONFIGS: Record<\n Exclude<BreathingDisruptionLevel, BreathingDisruptionLevel.NONE>,\n BreathingDisruptionConfig\n> = {\n [BreathingDisruptionLevel.WINDED]: {\n level: BreathingDisruptionLevel.WINDED,\n duration: 5000, // 5 seconds\n staminaRegenMultiplier: 0.75, // 25% penalty\n koreanName: \"바람맞음\",\n englishName: \"Winded\",\n description: {\n korean: \"중간 강도의 몸통 타격으로 호흡이 불규칙해짐\",\n english: \"Breathing is irregular from moderate torso strike\",\n romanized: \"baram-maeum\",\n },\n },\n [BreathingDisruptionLevel.GASPING]: {\n level: BreathingDisruptionLevel.GASPING,\n duration: 10000, // 10 seconds\n staminaRegenMultiplier: 0.50, // 50% penalty\n koreanName: \"헐떡임\",\n englishName: \"Gasping\",\n description: {\n korean: \"강한 몸통 타격으로 호흡이 어려워짐\",\n english: \"Heavy torso strikes cause breathing difficulty\",\n romanized: \"heoltteogim\",\n },\n },\n [BreathingDisruptionLevel.SEVERELY_WINDED]: {\n level: BreathingDisruptionLevel.SEVERELY_WINDED,\n duration: 15000, // 15 seconds\n staminaRegenMultiplier: 0.25, // 75% penalty\n koreanName: \"심각한 호흡곤란\",\n englishName: \"Severely Winded\",\n description: {\n korean: \"명치 급소 타격으로 심각한 호흡곤란 발생\",\n english: \"Solar plexus vital strike causes severe breathing disruption\",\n romanized: \"simgakhan hoheup gonnan\",\n },\n },\n};\n\n/**\n * Breathing Disruption System implementation.\n * \n * **Korean**: 호흡곤란 시스템\n * \n * Manages breathing disruption effects from torso targeting.\n * Integrates with vital point system and stamina regeneration.\n * \n * @category Combat Systems\n */\nexport class BreathingDisruptionSystem {\n /**\n * Create a breathing disruption effect at specified severity level.\n * \n * **Korean**: 호흡곤란 효과 생성\n * \n * @param level - Severity level of breathing disruption\n * @param source - Source of the disruption (technique name, vital point, etc.)\n * @param timestamp - When the effect was applied (game time)\n * @returns BreathingDisruptionEffect ready to apply to PlayerState\n * \n * @example\n * ```typescript\n * // Solar plexus strike causes severe disruption\n * const effect = BreathingDisruptionSystem.createEffect(\n * BreathingDisruptionLevel.SEVERELY_WINDED,\n * \"명치타격 (Solar Plexus Strike)\",\n * Date.now()\n * );\n * ```\n */\n static createEffect(\n level: Exclude<BreathingDisruptionLevel, BreathingDisruptionLevel.NONE>,\n source: string,\n timestamp: number\n ): BreathingDisruptionEffect {\n const config = BREATHING_DISRUPTION_CONFIGS[level];\n \n return {\n id: `breathing_disruption_${level}_${timestamp}`,\n type: VitalPointEffectType.BREATHLESSNESS,\n level,\n intensity: this.levelToIntensity(level),\n duration: config.duration,\n staminaRegenMultiplier: config.staminaRegenMultiplier,\n description: config.description,\n stackable: true,\n source,\n startTime: timestamp,\n endTime: timestamp + config.duration,\n };\n }\n\n /**\n * Convert breathing disruption level to effect intensity.\n * \n * Maps severity levels to standardized EffectIntensity enum.\n * \n * @param level - Breathing disruption severity\n * @returns Corresponding EffectIntensity value\n */\n private static levelToIntensity(\n level: BreathingDisruptionLevel\n ): EffectIntensity {\n switch (level) {\n case BreathingDisruptionLevel.WINDED:\n return EffectIntensity.LOW;\n case BreathingDisruptionLevel.GASPING:\n return EffectIntensity.MEDIUM;\n case BreathingDisruptionLevel.SEVERELY_WINDED:\n return EffectIntensity.HIGH;\n default:\n return EffectIntensity.WEAK;\n }\n }\n\n /**\n * Calculate breathing disruption level from damage amount.\n * \n * **Korean**: 피해량으로 호흡곤란 수준 계산\n * \n * Determines appropriate disruption severity based on torso strike damage.\n * Used when vital point ID is not specified but torso region was hit.\n * \n * @param damage - Base damage of the torso strike\n * @param isSolarPlexus - Whether strike hit solar plexus vital point\n * @returns Appropriate breathing disruption level\n * \n * @example\n * ```typescript\n * // Moderate torso strike (15 damage) causes winded effect\n * const level = BreathingDisruptionSystem.calculateLevelFromDamage(15, false);\n * // level === BreathingDisruptionLevel.WINDED\n * \n * // Solar plexus vital strike (20+ damage) causes severe effect\n * const severeLevel = BreathingDisruptionSystem.calculateLevelFromDamage(25, true);\n * // severeLevel === BreathingDisruptionLevel.SEVERELY_WINDED\n * ```\n */\n static calculateLevelFromDamage(\n damage: number,\n isSolarPlexus: boolean\n ): BreathingDisruptionLevel {\n // Solar plexus vital strikes always cause severe disruption\n if (isSolarPlexus) {\n return BreathingDisruptionLevel.SEVERELY_WINDED;\n }\n\n // Thresholds for damage-based severity\n if (damage >= 20) {\n return BreathingDisruptionLevel.GASPING;\n } else if (damage >= 10) {\n return BreathingDisruptionLevel.WINDED;\n }\n\n return BreathingDisruptionLevel.NONE;\n }\n\n /**\n * Stack multiple breathing disruption effects.\n * \n * **Korean**: 호흡곤란 효과 누적\n * \n * Cumulative torso hits increase disruption duration and potentially severity.\n * Multiple hits stack duration, and severe hits can escalate the level.\n * \n * @param existingEffect - Current active breathing disruption effect\n * @param newLevel - Severity of new torso strike\n * @param source - Source of the new disruption\n * @param timestamp - Current game time\n * @returns Updated BreathingDisruptionEffect with stacked duration/severity\n * \n * @example\n * ```typescript\n * // First hit: Winded for 5 seconds\n * let effect = BreathingDisruptionSystem.createEffect(\n * BreathingDisruptionLevel.WINDED, \"Rib Strike\", 1000\n * );\n * \n * // Second hit: Stacks to Gasping with extended duration\n * effect = BreathingDisruptionSystem.stackEffect(\n * effect, BreathingDisruptionLevel.WINDED, \"Rib Strike\", 3000\n * );\n * // Now Gasping level with 10+ seconds remaining\n * ```\n */\n static stackEffect(\n existingEffect: BreathingDisruptionEffect,\n newLevel: Exclude<BreathingDisruptionLevel, BreathingDisruptionLevel.NONE>,\n source: string,\n timestamp: number\n ): BreathingDisruptionEffect {\n const newConfig = BREATHING_DISRUPTION_CONFIGS[newLevel];\n \n // Escalate to higher severity if new strike is more severe\n const effectiveLevel = this.getHigherLevel(existingEffect.level, newLevel);\n const effectiveConfig = BREATHING_DISRUPTION_CONFIGS[effectiveLevel];\n\n // Stack duration: add 50% of new effect's duration to remaining time\n const remainingTime = Math.max(0, existingEffect.endTime - timestamp);\n const additionalTime = Math.floor(newConfig.duration * 0.5);\n const totalDuration = remainingTime + additionalTime;\n\n return {\n ...existingEffect,\n level: effectiveLevel,\n intensity: this.levelToIntensity(effectiveLevel),\n duration: totalDuration,\n staminaRegenMultiplier: effectiveConfig.staminaRegenMultiplier,\n description: effectiveConfig.description,\n source: `${existingEffect.source}, ${source}`,\n endTime: timestamp + totalDuration,\n };\n }\n\n /**\n * Compare two disruption levels and return the more severe.\n * \n * @param level1 - First disruption level\n * @param level2 - Second disruption level\n * @returns The more severe of the two levels\n */\n private static getHigherLevel(\n level1: BreathingDisruptionLevel,\n level2: BreathingDisruptionLevel\n ): Exclude<BreathingDisruptionLevel, BreathingDisruptionLevel.NONE> {\n const severity = {\n [BreathingDisruptionLevel.NONE]: 0,\n [BreathingDisruptionLevel.WINDED]: 1,\n [BreathingDisruptionLevel.GASPING]: 2,\n [BreathingDisruptionLevel.SEVERELY_WINDED]: 3,\n };\n\n const higher = severity[level1] > severity[level2] ? level1 : level2;\n \n // Type guard: result can't be NONE since inputs exclude NONE\n return higher as Exclude<BreathingDisruptionLevel, BreathingDisruptionLevel.NONE>;\n }\n\n /**\n * Get active breathing disruption effect from player state.\n * \n * **Korean**: 활성 호흡곤란 효과 가져오기\n * \n * Searches player's active status effects for breathing disruption.\n * \n * @param player - Current player state\n * @returns Active BreathingDisruptionEffect or undefined\n */\n static getActiveEffect(\n player: PlayerState\n ): BreathingDisruptionEffect | undefined {\n return player.statusEffects.find(\n (effect): effect is BreathingDisruptionEffect =>\n effect.type === VitalPointEffectType.BREATHLESSNESS &&\n \"level\" in effect &&\n \"staminaRegenMultiplier\" in effect\n );\n }\n\n /**\n * Calculate stamina regeneration multiplier with breathing disruption.\n * \n * **Korean**: 호흡곤란 포함 스태미나 재생 계산\n * \n * Applies breathing disruption penalty to base stamina regeneration rate.\n * Used by stamina regeneration system each frame.\n * \n * @param player - Current player state\n * @param baseRegenRate - Base stamina regeneration per second\n * @returns Modified regeneration rate with breathing penalty applied\n * \n * @example\n * ```typescript\n * const baseRegen = 10; // 10 stamina/second normally\n * \n * // With Gasping effect (50% penalty)\n * const modifiedRegen = BreathingDisruptionSystem.calculateStaminaRegen(\n * player, baseRegen\n * );\n * // modifiedRegen === 5 (50% of base rate)\n * ```\n */\n static calculateStaminaRegen(\n player: PlayerState,\n baseRegenRate: number\n ): number {\n const activeEffect = this.getActiveEffect(player);\n \n if (!activeEffect) {\n return baseRegenRate;\n }\n\n return baseRegenRate * activeEffect.staminaRegenMultiplier;\n }\n\n /**\n * Check if player can recover from breathing disruption.\n * \n * **Korean**: 호흡곤란 회복 가능 여부 확인\n * \n * Recovery is possible when torso health > 50%.\n * Player must avoid additional torso damage to allow breathing to normalize.\n * \n * @param player - Current player state\n * @returns True if torso health supports recovery\n */\n static canRecover(player: PlayerState): boolean {\n // Check if body part health tracking is available\n if (!player.bodyPartHealth) {\n // Fallback: use overall health as proxy\n return player.health > player.maxHealth * 0.5;\n }\n\n // Calculate torso health percentage (using upper torso as primary)\n const upperTorsoHealth = player.bodyPartHealth.torsoUpper ?? 0;\n const lowerTorsoHealth = player.bodyPartHealth.torsoLower ?? 0;\n const avgTorsoHealth = (upperTorsoHealth + lowerTorsoHealth) / 2;\n \n const maxUpperTorsoHealth = player.bodyPartMaxHealth?.torsoUpper ?? 100;\n const maxLowerTorsoHealth = player.bodyPartMaxHealth?.torsoLower ?? 100;\n const avgMaxTorsoHealth = (maxUpperTorsoHealth + maxLowerTorsoHealth) / 2;\n \n const torsoHealthPercent = avgTorsoHealth / avgMaxTorsoHealth;\n\n return torsoHealthPercent > 0.5;\n }\n\n /**\n * Apply gradual recovery to breathing disruption effect.\n * \n * **Korean**: 호흡곤란 점진적 회복 적용\n * \n * When torso health > 50% and no new hits, breathing gradually improves.\n * This provides tactical gameplay: fighters with damaged torsos must fight defensively.\n * \n * @param effect - Current breathing disruption effect\n * @param deltaTime - Time since last update (milliseconds)\n * @param timestamp - Current game time\n * @returns Updated effect with recovery applied, or undefined if fully recovered\n * \n * @example\n * ```typescript\n * // Each frame with torso health > 50%\n * const updated = BreathingDisruptionSystem.applyGradualRecovery(\n * effect, 16.67, timestamp\n * );\n * // Effect duration decreases faster than normal expiration\n * ```\n */\n static applyGradualRecovery(\n effect: BreathingDisruptionEffect,\n deltaTime: number,\n timestamp: number\n ): BreathingDisruptionEffect | undefined {\n // Recovery rate: 2x faster than normal expiration\n const recoveryMultiplier = 2.0;\n const recoveryTime = deltaTime * recoveryMultiplier;\n \n const newEndTime = effect.endTime - recoveryTime;\n \n // Fully recovered if end time reached\n if (newEndTime <= timestamp) {\n return undefined;\n }\n\n return {\n ...effect,\n endTime: newEndTime,\n duration: newEndTime - effect.startTime,\n };\n }\n\n /**\n * Get breathing disruption level from player state.\n * \n * **Korean**: 플레이어 호흡곤란 수준 가져오기\n * \n * Convenience method to get current disruption level.\n * \n * @param player - Current player state\n * @returns Current breathing disruption level (NONE if no active effect)\n */\n static getCurrentLevel(player: PlayerState): BreathingDisruptionLevel {\n const activeEffect = this.getActiveEffect(player);\n return activeEffect?.level ?? BreathingDisruptionLevel.NONE;\n }\n\n /**\n * Check if breathing disruption is active.\n * \n * @param player - Current player state\n * @returns True if player has active breathing disruption\n */\n static isActive(player: PlayerState): boolean {\n return this.getCurrentLevel(player) !== BreathingDisruptionLevel.NONE;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,IAAY,2BAAL,yBAAA,0BAAA;;CAEL,yBAAA,UAAO;;;;;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;;;;;;;;;;;;;;;;;;;;CAyB9B,OAAO,qBACL,QACA,WACA,WACuC;EAGvC,MAAM,eAAe,YAAY;EAEjC,MAAM,aAAa,OAAO,UAAU;EAGpC,IAAI,cAAc,WAChB;EAGF,OAAO;GACL,GAAG;GACH,SAAS;GACT,UAAU,aAAa,OAAO;GAC/B;;;;;;;;;;;;CAaH,OAAO,gBAAgB,QAA+C;EAEpE,OADqB,KAAK,gBAAgB,OACnC,EAAc,SAAS,yBAAyB;;;;;;;;CASzD,OAAO,SAAS,QAA8B;EAC5C,OAAO,KAAK,gBAAgB,OAAO,KAAK,yBAAyB"}
|
|
@@ -144,7 +144,6 @@ interface BalanceEffects {
|
|
|
144
144
|
* const recovered = balanceSystem.applyRecovery(newPlayer, 1000);
|
|
145
145
|
* ```
|
|
146
146
|
*
|
|
147
|
-
* @public
|
|
148
147
|
* @korean 균형시스템
|
|
149
148
|
*/
|
|
150
149
|
export declare class BalanceSystem {
|
|
@@ -204,7 +203,6 @@ export declare class BalanceSystem {
|
|
|
204
203
|
* );
|
|
205
204
|
* ```
|
|
206
205
|
*
|
|
207
|
-
* @public
|
|
208
206
|
* @korean 균형파괴
|
|
209
207
|
*/
|
|
210
208
|
disruptBalance(player: BalancePlayerState, impact: number, region?: BodyRegion, currentTime?: number): BalancePlayerState;
|
|
@@ -229,7 +227,6 @@ export declare class BalanceSystem {
|
|
|
229
227
|
* player = system.applyRecovery(player, 16); // ~60fps
|
|
230
228
|
* ```
|
|
231
229
|
*
|
|
232
|
-
* @public
|
|
233
230
|
* @korean 균형회복
|
|
234
231
|
*/
|
|
235
232
|
applyRecovery(player: BalancePlayerState, deltaTime: number): BalancePlayerState;
|
|
@@ -239,7 +236,6 @@ export declare class BalanceSystem {
|
|
|
239
236
|
* @param balance - Balance value (0-100)
|
|
240
237
|
* @returns Current balance level
|
|
241
238
|
*
|
|
242
|
-
* @public
|
|
243
239
|
* @korean 균형수준확인
|
|
244
240
|
*/
|
|
245
241
|
getBalanceLevel(balance: number): BalanceLevel;
|
|
@@ -249,7 +245,6 @@ export declare class BalanceSystem {
|
|
|
249
245
|
* @param level - Balance level
|
|
250
246
|
* @returns Effects applied at that level
|
|
251
247
|
*
|
|
252
|
-
* @public
|
|
253
248
|
* @korean 균형효과
|
|
254
249
|
*/
|
|
255
250
|
getEffects(level: BalanceLevel): BalanceEffects;
|
|
@@ -261,7 +256,6 @@ export declare class BalanceSystem {
|
|
|
261
256
|
* @param player - Current player state
|
|
262
257
|
* @returns Modified player state with balance effects
|
|
263
258
|
*
|
|
264
|
-
* @public
|
|
265
259
|
* @korean 균형효과적용
|
|
266
260
|
*/
|
|
267
261
|
applyEffects(player: PlayerState): PlayerState;
|
|
@@ -271,7 +265,6 @@ export declare class BalanceSystem {
|
|
|
271
265
|
* @param player - Current player state
|
|
272
266
|
* @returns True if off-balance or falling
|
|
273
267
|
*
|
|
274
|
-
* @public
|
|
275
268
|
* @korean 균형취약확인
|
|
276
269
|
*/
|
|
277
270
|
isVulnerable(player: PlayerState): boolean;
|
|
@@ -281,7 +274,6 @@ export declare class BalanceSystem {
|
|
|
281
274
|
* @param player - Current player state
|
|
282
275
|
* @returns Damage multiplier (1.0 = normal, >1.0 = increased damage)
|
|
283
276
|
*
|
|
284
|
-
* @public
|
|
285
277
|
* @korean 취약성배율
|
|
286
278
|
*/
|
|
287
279
|
getVulnerabilityMultiplier(player: PlayerState): number;
|
|
@@ -292,7 +284,6 @@ export declare class BalanceSystem {
|
|
|
292
284
|
* @param randomFn - Optional random number generator (returns number in [0,1)), defaults to Math.random
|
|
293
285
|
* @returns True if knockdown should occur
|
|
294
286
|
*
|
|
295
|
-
* @public
|
|
296
287
|
* @korean 넘어짐확인
|
|
297
288
|
*/
|
|
298
289
|
shouldKnockdown(player: PlayerState, randomFn?: () => number): boolean;
|
|
@@ -302,7 +293,6 @@ export declare class BalanceSystem {
|
|
|
302
293
|
* @param level - Balance level
|
|
303
294
|
* @returns Korean and English level names
|
|
304
295
|
*
|
|
305
|
-
* @public
|
|
306
296
|
* @korean 균형이름
|
|
307
297
|
*/
|
|
308
298
|
getLevelName(level: BalanceLevel): {
|
|
@@ -315,7 +305,6 @@ export declare class BalanceSystem {
|
|
|
315
305
|
* @param level - Balance level
|
|
316
306
|
* @returns Hex color code
|
|
317
307
|
*
|
|
318
|
-
* @public
|
|
319
308
|
* @korean 균형색상
|
|
320
309
|
*/
|
|
321
310
|
getLevelColor(level: BalanceLevel): number;
|
|
@@ -340,7 +329,6 @@ export declare class BalanceSystem {
|
|
|
340
329
|
* }
|
|
341
330
|
* ```
|
|
342
331
|
*
|
|
343
|
-
* @public
|
|
344
332
|
* @korean 낙법발동확인
|
|
345
333
|
*/
|
|
346
334
|
shouldTriggerFall(player: PlayerState): boolean;
|
|
@@ -381,7 +369,6 @@ export declare class BalanceSystem {
|
|
|
381
369
|
* // Returns: 'side_right' (swept to the side)
|
|
382
370
|
* ```
|
|
383
371
|
*
|
|
384
|
-
* @public
|
|
385
372
|
* @korean 낙법유형결정
|
|
386
373
|
*/
|
|
387
374
|
determineFallType(_player: PlayerState, attackAngle: number, attackHeight?: "high" | "mid" | "low"): FallType;
|
|
@@ -403,7 +390,6 @@ export declare class BalanceSystem {
|
|
|
403
390
|
* // Returns: 'forward' (Heaven stance has forward bias)
|
|
404
391
|
* ```
|
|
405
392
|
*
|
|
406
|
-
* @public
|
|
407
393
|
* @korean 자세낙법결정
|
|
408
394
|
*/
|
|
409
395
|
determineFallTypeFromStance(stance: TrigramStance): FallType;
|
|
@@ -425,7 +411,6 @@ export declare class BalanceSystem {
|
|
|
425
411
|
* // Returns: false
|
|
426
412
|
* ```
|
|
427
413
|
*
|
|
428
|
-
* @public
|
|
429
414
|
* @korean 지면상태확인
|
|
430
415
|
*/
|
|
431
416
|
isGrounded(animationState: string): boolean;
|
|
@@ -447,7 +432,6 @@ export declare class BalanceSystem {
|
|
|
447
432
|
* // Returns: null
|
|
448
433
|
* ```
|
|
449
434
|
*
|
|
450
|
-
* @public
|
|
451
435
|
* @korean 지면자세가져오기
|
|
452
436
|
*/
|
|
453
437
|
getGroundState(animationState: string): GroundState | null;
|
|
@@ -472,7 +456,6 @@ export declare class BalanceSystem {
|
|
|
472
456
|
* // Returns: true (no stamina requirement)
|
|
473
457
|
* ```
|
|
474
458
|
*
|
|
475
|
-
* @public
|
|
476
459
|
* @korean 회복가능확인
|
|
477
460
|
*/
|
|
478
461
|
canRecoverWithType(player: PlayerState, recoveryType: RecoveryAnimationType): boolean;
|
|
@@ -493,7 +476,6 @@ export declare class BalanceSystem {
|
|
|
493
476
|
* // recovered.stamina = player.stamina - 20
|
|
494
477
|
* ```
|
|
495
478
|
*
|
|
496
|
-
* @public
|
|
497
479
|
* @korean 회복비용적용
|
|
498
480
|
*/
|
|
499
481
|
applyRecoveryCost(player: PlayerState, recoveryType: RecoveryAnimationType): PlayerState;
|
|
@@ -518,7 +500,6 @@ export declare class BalanceSystem {
|
|
|
518
500
|
* // Returns: 1.0 (full damage)
|
|
519
501
|
* ```
|
|
520
502
|
*
|
|
521
|
-
* @public
|
|
522
503
|
* @korean 회복피해배율
|
|
523
504
|
*/
|
|
524
505
|
getRecoveryDamageMultiplier(recoveryType: RecoveryAnimationType, currentFrame: number): number;
|
|
@@ -545,7 +526,6 @@ export declare class BalanceSystem {
|
|
|
545
526
|
* // transitioning.transitionState.vulnerabilityMultiplier = 1.5
|
|
546
527
|
* ```
|
|
547
528
|
*
|
|
548
|
-
* @public
|
|
549
529
|
* @korean 자세전환시작
|
|
550
530
|
*/
|
|
551
531
|
startStanceTransition(player: BalancePlayerState, newStance: TrigramStance, currentTime: number): BalancePlayerState;
|
|
@@ -565,7 +545,6 @@ export declare class BalanceSystem {
|
|
|
565
545
|
* player = balanceSystem.updateTransition(player, Date.now());
|
|
566
546
|
* ```
|
|
567
547
|
*
|
|
568
|
-
* @public
|
|
569
548
|
* @korean 전환상태갱신
|
|
570
549
|
*/
|
|
571
550
|
updateTransition(player: BalancePlayerState, currentTime: number): BalancePlayerState;
|
|
@@ -592,7 +571,6 @@ export declare class BalanceSystem {
|
|
|
592
571
|
* const effectiveBalance = player.balance * modifier;
|
|
593
572
|
* ```
|
|
594
573
|
*
|
|
595
|
-
* @public
|
|
596
574
|
* @korean 균형조정계수계산
|
|
597
575
|
*/
|
|
598
576
|
calculateBalanceModifier(player: BalancePlayerState): number;
|
|
@@ -614,7 +592,6 @@ export declare class BalanceSystem {
|
|
|
614
592
|
* const effectiveKnockback = baseKnockback * (1.0 / resistance);
|
|
615
593
|
* ```
|
|
616
594
|
*
|
|
617
|
-
* @public
|
|
618
595
|
* @korean 넉백저항계산
|
|
619
596
|
*/
|
|
620
597
|
getKnockbackResistance(stance: TrigramStance): number;
|
|
@@ -638,7 +615,6 @@ export declare class BalanceSystem {
|
|
|
638
615
|
* }
|
|
639
616
|
* ```
|
|
640
617
|
*
|
|
641
|
-
* @public
|
|
642
618
|
* @korean 급속변경벌칙확인
|
|
643
619
|
*/
|
|
644
620
|
isRapidChangePenaltyActive(player: BalancePlayerState, currentTime: number): boolean;
|
|
@@ -658,7 +634,6 @@ export declare class BalanceSystem {
|
|
|
658
634
|
* const finalDamage = baseDamage * multiplier;
|
|
659
635
|
* ```
|
|
660
636
|
*
|
|
661
|
-
* @public
|
|
662
637
|
* @korean 총취약성배율
|
|
663
638
|
*/
|
|
664
639
|
getTotalVulnerabilityMultiplier(player: BalancePlayerState): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BalanceSystem.d.ts","sourceRoot":"","sources":["../../../src/systems/combat/BalanceSystem.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAO/C,OAAO,KAAK,EACV,QAAQ,EACR,WAAW,EACX,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,W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