Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.7.0
    Preparing search index...

    Function applyBreathingDisruptionFromVitalPoint

    • Apply breathing disruption effect from vital point strike.

      Korean: 급소 타격으로 호흡곤란 적용

      Creates a breathing disruption effect when a torso vital point is struck. If player already has breathing disruption, stacks the effects.

      Parameters

      • player: PlayerState

        Player state to modify

      • vitalPoint: VitalPoint

        Vital point that was struck

      • timestamp: number

        Current game timestamp in milliseconds

      Returns PlayerState

      Updated player state with breathing disruption effect applied

      // Solar plexus strike causes severe breathing disruption
      const updatedPlayer = applyBreathingDisruptionFromVitalPoint(
      player,
      solarPlexusVitalPoint,
      Date.now()
      );

      // Player now has 75% stamina regen penalty for 15 seconds
      const penalty = BreathingDisruptionSystem.calculateStaminaRegen(
      updatedPlayer,
      10
      );
      // penalty === 2.5 (25% of normal regen)