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

    Function getAttackAnimations

    • Get attack animations for a stance with laterality support.

      Korean: 자세 공격 애니메이션 가져오기

      Returns all attack animations (3 per stance) with optional laterality transformation applied.

      Parameters

      • stanceOrSide:
            | TrigramStance
            | "geon_left"
            | "geon_right"
            | "tae_left"
            | "tae_right"
            | "li_left"
            | "li_right"
            | "jin_left"
            | "jin_right"
            | "son_left"
            | "son_right"
            | "gam_left"
            | "gam_right"
            | "gan_left"
            | "gan_right"
            | "gon_left"
            | "gon_right"

        Stance identifier with optional laterality

      • defaultLaterality: StanceLaterality = "right"

        Default laterality if not specified (default: "right")

      Returns readonly SkeletalAnimation[]

      Array of attack animations (3 per stance)

      const leftGeonAttacks = getAttackAnimations("geon_left");
      // Returns 3 left-handed Heaven stance attacks

      const taeAttacks = getAttackAnimations("tae");
      // Returns 3 right-handed Lake stance attacks (default)

      공격애니메이션가져오기