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

    Function initializeBodyPartHealthForPlayer

    • Initialize body part health for a player.

      Korean: 플레이어 신체부위 체력 초기화

      Sets up body part health and max health for a player if not already present. Uses the provided max health or defaults to 100 per part.

      Type Parameters

      Parameters

      • player: T

        Player state to initialize

      • maxHealthPerPart: number = 100

        Optional custom max health per part

      Returns T

      Player state with body part health initialized