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

    Interface Technique

    Combat technique definition.

    Korean: 전투 기술 (Combat Technique)

    Represents a special combat move that can be executed by a player. Each technique has resource costs, damage potential, cooldown periods, and may apply special effects or require specific stances.

    const thunderStrike: Technique = {
    id: "musa_thunder_strike",
    name: {
    korean: "천둥벽력",
    english: "Thunder Strike"
    },
    description: {
    korean: "강력한 하늘의 힘으로 적을 강타합니다",
    english: "Strike the enemy with the power of heaven"
    },
    staminaCost: 30,
    kiCost: 20,
    damage: { min: 25, max: 35 },
    damageType: DamageType.BLUNT,
    cooldown: 5000,
    requiredStance: TrigramStance.GEON,
    keyboardShortcut: "Q"
    };

    기술

    interface Technique {
        animationDuration?: number;
        cooldown: number;
        criticalChance?: number;
        damage: { max: number; min: number };
        damageType: DamageType;
        description: KoreanText;
        icon?: string;
        id: string;
        keyboardShortcut: TechniqueKey;
        kiCost: number;
        name: KoreanText;
        requiredStance?: TrigramStance;
        specialEffect?: string;
        staminaCost: number;
        targetsVitalPoint?: boolean;
    }
    Index

    Properties

    animationDuration?: number

    Animation duration in milliseconds

    cooldown: number

    Cooldown duration in milliseconds

    criticalChance?: number

    Critical hit chance modifier (0.0-1.0)

    damage: { max: number; min: number }

    Base damage range

    damageType: DamageType

    Type of damage dealt

    description: KoreanText

    Bilingual technique description

    icon?: string

    Icon identifier for UI display. Can be an emoji character (e.g., "⚔️"), icon font class name, or icon identifier. Defaults to "⚔️" if not specified in the UI.

    id: string

    Unique technique identifier

    keyboardShortcut: TechniqueKey

    Keyboard shortcut key

    kiCost: number

    Ki (氣) cost to execute (0-100)

    Bilingual technique name

    requiredStance?: TrigramStance

    Required stance to execute (optional)

    specialEffect?: string

    Special effect type (stun, bleed, etc.)

    staminaCost: number

    Stamina cost to execute (0-100)

    targetsVitalPoint?: boolean

    Whether technique targets vital points