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

    Interface CombatResult

    interface CombatResult {
        attacker?: PlayerState;
        criticalHit: boolean;
        damage: number;
        defender?: PlayerState;
        effects: readonly StatusEffect[];
        hit: boolean;
        isBlocked: boolean;
        isCritical: boolean;
        success: boolean;
        targetedVitalPointId?: string;
        technique?: KoreanTechnique;
        timestamp: number;
        vitalPointHit: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    attacker?: PlayerState
    criticalHit: boolean
    damage: number
    defender?: PlayerState
    effects: readonly StatusEffect[]
    hit: boolean
    isBlocked: boolean
    isCritical: boolean
    success: boolean
    targetedVitalPointId?: string

    Optional vital point ID that was targeted in this attack

    technique?: KoreanTechnique
    timestamp: number
    vitalPointHit: boolean