Interface containing the results of a damage calculation for a given move

interface DamageCalculationResult {
    cancelled: boolean;
    damage: number;
    result: HitResult;
}

Properties

cancelled: boolean

true if the move was cancelled (thus suppressing "No Effect" messages)

damage: number

The damage dealt by the move

result: HitResult

The effectiveness of the move