HitInfo

Client Version 1.12, Client Version 2

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/combat/smsg_attackerstateupdate.wowm:1.

enum HitInfo : u32 {
    NORMAL_SWING = 0x00000000;
    UNK1 = 0x00000001;
    AFFECTS_VICTIM = 0x00000002;
    LEFT_SWING = 0x00000004;
    EARLY_CRITICAL_HIT = 0x00000008;
    MISS = 0x00000010;
    ABSORB = 0x00000020;
    RESIST = 0x00000040;
    CRITICAL_HIT = 0x00000080;
    UNK9 = 0x00000100;
    UNK10 = 0x00002000;
    GLANCING = 0x00004000;
    CRUSHING = 0x00008000;
    NO_ACTION = 0x00010000;
    SWING_NO_HIT_SOUND = 0x00080000;
}

Type

The basic type is u32, a 4 byte (32 bit) little endian integer.

Enumerators

EnumeratorValueComment
NORMAL_SWING0 (0x00)
UNK11 (0x01)req correct packet structure
AFFECTS_VICTIM2 (0x02)no being hit animation on victim without it
LEFT_SWING4 (0x04)
EARLY_CRITICAL_HIT8 (0x08)According to vmangos used as crit prior to 1.9.
MISS16 (0x10)
ABSORB32 (0x20)plays absorb sound
RESIST64 (0x40)resisted atleast some damage
CRITICAL_HIT128 (0x80)
UNK9256 (0x100)wotlk?
UNK108192 (0x2000)wotlk?
GLANCING16384 (0x4000)
CRUSHING32768 (0x8000)
NO_ACTION65536 (0x10000)
SWING_NO_HIT_SOUND524288 (0x80000)

Used in:

Client Version 3.3.5

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/combat/smsg_attackerstateupdate_3_3_5.wowm:3.

flag HitInfo : u32 {
    NORMALSWING = 0x00000000;
    UNK1 = 0x00000001;
    AFFECTS_VICTIM = 0x00000002;
    OFFHAND = 0x00000004;
    UNK2 = 0x00000008;
    MISS = 0x00000010;
    FULL_ABSORB = 0x00000020;
    PARTIAL_ABSORB = 0x00000040;
    ALL_ABSORB = 0x00000060;
    FULL_RESIST = 0x00000080;
    PARTIAL_RESIST = 0x00000100;
    ALL_RESIST = 0x00000180;
    CRITICALHIT = 0x00000200;
    UNK10 = 0x00000400;
    UNK11 = 0x00000800;
    UNK12 = 0x00001000;
    BLOCK = 0x00002000;
    UNK14 = 0x00004000;
    UNK15 = 0x00008000;
    GLANCING = 0x00010000;
    CRUSHING = 0x00020000;
    NO_ANIMATION = 0x00040000;
    UNK19 = 0x00080000;
    UNK20 = 0x00100000;
    SWINGNOHITSOUND = 0x00200000;
    UNK22 = 0x00400000;
    RAGE_GAIN = 0x00800000;
    FAKE_DAMAGE = 0x01000000;
}

Type

The basic type is u32, a 4 byte (32 bit) little endian integer.

Enumerators

EnumeratorValueComment
NORMALSWING0 (0x00)
UNK11 (0x01)req correct packet structure
AFFECTS_VICTIM2 (0x02)
OFFHAND4 (0x04)
UNK28 (0x08)
MISS16 (0x10)
FULL_ABSORB32 (0x20)
PARTIAL_ABSORB64 (0x40)
ALL_ABSORB96 (0x60)
FULL_RESIST128 (0x80)
PARTIAL_RESIST256 (0x100)
ALL_RESIST384 (0x180)
CRITICALHIT512 (0x200)critical hit
UNK101024 (0x400)
UNK112048 (0x800)
UNK124096 (0x1000)
BLOCK8192 (0x2000)blocked damage
UNK1416384 (0x4000)set only if meleespellid is present. no world text when victim is hit for 0 dmg(HideWorldTextForNoDamage?)
UNK1532768 (0x8000)player victim? something related to blod sprut visual (BloodSpurtInBack?)
GLANCING65536 (0x10000)
CRUSHING131072 (0x20000)
NO_ANIMATION262144 (0x40000)
UNK19524288 (0x80000)
UNK201048576 (0x100000)
SWINGNOHITSOUND2097152 (0x200000)unused?
UNK224194304 (0x400000)
RAGE_GAIN8388608 (0x800000)
FAKE_DAMAGE16777216 (0x1000000)enables damage animation even if no damage done. set only if no damage

Used in: