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

    Function calculateHipRotationPowerModifier

    • Calculate damage modifier from hip rotation

      Determines power bonus applied to techniques based on hip rotation angle. Greater hip rotation generates more power through proper biomechanics, with strikes benefiting most from full rotation.

      Parameters

      • hipRotationAngle: number

        Hip rotation angle in radians (typically from torso twist)

      • techniqueType: "strike" | "throw" | "joint"

        Type of technique ('strike', 'throw', or 'joint')

      Returns number

      Damage multiplier (1.0-1.3 for strikes, 1.0-1.1 for throws/joints)

      // Full hip rotation on strike technique
      const modifier = calculateHipRotationPowerModifier(Math.PI / 2, 'strike');
      // Returns 1.30 (30% damage bonus)

      // Half rotation on throw
      const throwMod = calculateHipRotationPowerModifier(Math.PI / 4, 'throw');
      // Returns 1.05 (5% damage bonus)

      허리회전으로인한데미지배율계산