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

    Function upgradeLegacyBreathlessness

    • Deprecated

      Replace legacy BREATHLESSNESS effects with new breathing disruption system.

      Korean: 구형 호흡곤란 효과를 신규 시스템으로 전환

      Upgrades old-style breathlessness status effects to use the new breathing disruption system with proper stamina regen penalties.

      Retained as a backward-compatibility migration helper for consumers still producing legacy BREATHLESSNESS status effects without a level field. New code should produce BreathingDisruptionEffect instances directly via createEffect. This helper will be removed in a future major release.

      Parameters

      • player: PlayerState

        Player state with legacy effects

      • timestamp: number

        Current game time

      Returns PlayerState

      Player state with upgraded breathing disruption effects