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
Enumerator | Value | Comment |
---|---|---|
NORMAL_SWING | 0 (0x00) | |
UNK1 | 1 (0x01) | req correct packet structure |
AFFECTS_VICTIM | 2 (0x02) | no being hit animation on victim without it |
LEFT_SWING | 4 (0x04) | |
EARLY_CRITICAL_HIT | 8 (0x08) | According to vmangos used as crit prior to 1.9. |
MISS | 16 (0x10) | |
ABSORB | 32 (0x20) | plays absorb sound |
RESIST | 64 (0x40) | resisted atleast some damage |
CRITICAL_HIT | 128 (0x80) | |
UNK9 | 256 (0x100) | wotlk? |
UNK10 | 8192 (0x2000) | wotlk? |
GLANCING | 16384 (0x4000) | |
CRUSHING | 32768 (0x8000) | |
NO_ACTION | 65536 (0x10000) | |
SWING_NO_HIT_SOUND | 524288 (0x80000) |
Used in:
- SMSG_ATTACKERSTATEUPDATE
- SMSG_ATTACKERSTATEUPDATE
- SMSG_SPELLNONMELEEDAMAGELOG
- SMSG_SPELLNONMELEEDAMAGELOG
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
Enumerator | Value | Comment |
---|---|---|
NORMALSWING | 0 (0x00) | |
UNK1 | 1 (0x01) | req correct packet structure |
AFFECTS_VICTIM | 2 (0x02) | |
OFFHAND | 4 (0x04) | |
UNK2 | 8 (0x08) | |
MISS | 16 (0x10) | |
FULL_ABSORB | 32 (0x20) | |
PARTIAL_ABSORB | 64 (0x40) | |
ALL_ABSORB | 96 (0x60) | |
FULL_RESIST | 128 (0x80) | |
PARTIAL_RESIST | 256 (0x100) | |
ALL_RESIST | 384 (0x180) | |
CRITICALHIT | 512 (0x200) | critical hit |
UNK10 | 1024 (0x400) | |
UNK11 | 2048 (0x800) | |
UNK12 | 4096 (0x1000) | |
BLOCK | 8192 (0x2000) | blocked damage |
UNK14 | 16384 (0x4000) | set only if meleespellid is present. no world text when victim is hit for 0 dmg(HideWorldTextForNoDamage?) |
UNK15 | 32768 (0x8000) | player victim? something related to blod sprut visual (BloodSpurtInBack ?) |
GLANCING | 65536 (0x10000) | |
CRUSHING | 131072 (0x20000) | |
NO_ANIMATION | 262144 (0x40000) | |
UNK19 | 524288 (0x80000) | |
UNK20 | 1048576 (0x100000) | |
SWINGNOHITSOUND | 2097152 (0x200000) | unused? |
UNK22 | 4194304 (0x400000) | |
RAGE_GAIN | 8388608 (0x800000) | |
FAKE_DAMAGE | 16777216 (0x1000000) | enables damage animation even if no damage done. set only if no damage |
Used in: