SMSG_SPELLNONMELEEDAMAGELOG
Client Version 1.12
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/spell/smsg_spellnonmeleedamagelog.wowm:1
.
smsg SMSG_SPELLNONMELEEDAMAGELOG = 0x0250 {
PackedGuid target;
PackedGuid attacker;
Spell spell;
u32 damage;
SpellSchool school;
u32 absorbed_damage;
u32 resisted;
Bool periodic_log;
u8 unused;
u32 blocked;
HitInfo hit_info;
u8 extend_flag;
}
Header
SMSG have a header of 4 bytes.
SMSG Header
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x00 | 2 / Big | uint16 | size | Size of the rest of the message including the opcode field but not including the size field. |
0x02 | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x04 | - / - | PackedGuid | target | |
- | - / - | PackedGuid | attacker | |
- | 4 / Little | Spell | spell | |
- | 4 / Little | u32 | damage | |
- | 1 / - | SpellSchool | school | |
- | 4 / Little | u32 | absorbed_damage | |
- | 4 / Little | u32 | resisted | cmangos/mangoszero/vmangos: sent as int32 |
- | 1 / - | Bool | periodic_log | cmangos/mangoszero/vmangos: if 1, then client show spell name (example: %s's ranged shot hit %s for %u school or %s suffers %u school damage from %s's spell_name |
- | 1 / - | u8 | unused | |
- | 4 / Little | u32 | blocked | |
- | 4 / - | HitInfo | hit_info | |
- | 1 / - | u8 | extend_flag | cmangos has some that might be correct https://github.com/cmangos/mangos-classic/blob/524a39412dae7946d06e4b8f319f45b615075815/src/game/Entities/Unit.cpp#L5497 . |
Client Version 2.4.3
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/spell/smsg_spellnonmeleedamagelog.wowm:1
.
smsg SMSG_SPELLNONMELEEDAMAGELOG = 0x0250 {
PackedGuid target;
PackedGuid attacker;
Spell spell;
u32 damage;
SpellSchool school;
u32 absorbed_damage;
u32 resisted;
Bool periodic_log;
u8 unused;
u32 blocked;
HitInfo hit_info;
u8 extend_flag;
}
Header
SMSG have a header of 4 bytes.
SMSG Header
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x00 | 2 / Big | uint16 | size | Size of the rest of the message including the opcode field but not including the size field. |
0x02 | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x04 | - / - | PackedGuid | target | |
- | - / - | PackedGuid | attacker | |
- | 4 / Little | Spell | spell | |
- | 4 / Little | u32 | damage | |
- | 1 / - | SpellSchool | school | |
- | 4 / Little | u32 | absorbed_damage | |
- | 4 / Little | u32 | resisted | cmangos/mangoszero/vmangos: sent as int32 |
- | 1 / - | Bool | periodic_log | cmangos/mangoszero/vmangos: if 1, then client show spell name (example: %s's ranged shot hit %s for %u school or %s suffers %u school damage from %s's spell_name |
- | 1 / - | u8 | unused | |
- | 4 / Little | u32 | blocked | |
- | 4 / - | HitInfo | hit_info | |
- | 1 / - | u8 | extend_flag | cmangos has some that might be correct https://github.com/cmangos/mangos-classic/blob/524a39412dae7946d06e4b8f319f45b615075815/src/game/Entities/Unit.cpp#L5497 . |
Client Version 3.3.5
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/spell/smsg_spellnonmeleedamagelog.wowm:21
.
smsg SMSG_SPELLNONMELEEDAMAGELOG = 0x0250 {
PackedGuid target;
PackedGuid attacker;
Spell spell;
u32 damage;
u32 overkill;
SpellSchool school;
u32 absorbed_damage;
u32 resisted;
Bool periodic_log;
u8 unused;
u32 blocked;
HitInfo hit_info;
u8 extend_flag;
}
Header
SMSG have a header of 4 bytes.
SMSG Header
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x00 | 2 OR 3 / Big | uint16 OR uint16+uint8 | size | Size of the rest of the message including the opcode field but not including the size field. Wrath server messages can be 3 bytes. If the first (most significant) size byte has 0x80 set, the header will be 3 bytes, otherwise it is 2. |
- | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | target | |
- | - / - | PackedGuid | attacker | |
- | 4 / Little | Spell | spell | |
- | 4 / Little | u32 | damage | |
- | 4 / Little | u32 | overkill | |
- | 1 / - | SpellSchool | school | |
- | 4 / Little | u32 | absorbed_damage | |
- | 4 / Little | u32 | resisted | cmangos/mangoszero/vmangos: sent as int32 |
- | 1 / - | Bool | periodic_log | cmangos/mangoszero/vmangos: if 1, then client show spell name (example: %s's ranged shot hit %s for %u school or %s suffers %u school damage from %s's spell_name |
- | 1 / - | u8 | unused | |
- | 4 / Little | u32 | blocked | |
- | 4 / - | HitInfo | hit_info | |
- | 1 / - | u8 | extend_flag | cmangos has some that might be correct https://github.com/cmangos/mangos-classic/blob/524a39412dae7946d06e4b8f319f45b615075815/src/game/Entities/Unit.cpp#L5497 . |