pokemon-rogue-battle
    Preparing search index...

    Variable HitCheckResultConst

    HitCheckResult: {
        ERROR: 8;
        HIT: 1;
        MISS: 5;
        NO_EFFECT: 2;
        NO_EFFECT_NO_MESSAGE: 3;
        PENDING: 0;
        PROTECTED: 4;
        REFLECTED: 6;
        TARGET_NOT_ON_FIELD: 7;
    } = ...

    The result of a hit check calculation

    Type declaration

    • ReadonlyERROR: 8

      The move failed unexpectedly

    • ReadonlyHIT: 1

      The move hits the target successfully

    • ReadonlyMISS: 5

      The move missed the target

    • ReadonlyNO_EFFECT: 2

      The move has no effect on the target

    • ReadonlyNO_EFFECT_NO_MESSAGE: 3

      The move has no effect on the target, but doesn't proc the default "no effect" message

    • ReadonlyPENDING: 0

      Hit checks haven't been evaluated yet in this pass

    • ReadonlyPROTECTED: 4

      The target protected itself against the move

    • ReadonlyREFLECTED: 6

      The move is reflected by magic coat or magic bounce

    • ReadonlyTARGET_NOT_ON_FIELD: 7

      The target is no longer on the field