SpellLog
Client Version 1.12
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/spell/smsg_spelllogexecute.wowm:143
.
struct SpellLog {
SpellEffect effect;
u32 amount_of_logs = 1;
if (effect == POWER_DRAIN) {
Guid target1;
u32 amount;
(u32)Power power;
f32 multiplier;
}
else if (effect == HEAL
|| effect == HEAL_MAX_HEALTH) {
Guid target2;
u32 heal_amount;
u32 heal_critical;
}
else if (effect == ENERGIZE) {
Guid target3;
u32 energize_amount;
u32 energize_power;
}
else if (effect == ADD_EXTRA_ATTACKS) {
Guid target4;
u32 extra_attacks;
}
else if (effect == CREATE_ITEM) {
Item item;
}
else if (effect == INTERRUPT_CAST) {
Guid target5;
Spell interrupted_spell;
}
else if (effect == DURABILITY_DAMAGE) {
Guid target6;
Item item_to_damage;
u32 unknown5;
}
else if (effect == FEED_PET) {
Item feed_pet_item;
}
else if (effect == INSTAKILL
|| effect == RESURRECT
|| effect == DISPEL
|| effect == THREAT
|| effect == DISTRACT
|| effect == SANCTUARY
|| effect == THREAT_ALL
|| effect == DISPEL_MECHANIC
|| effect == RESURRECT_NEW
|| effect == ATTACK_ME
|| effect == SKIN_PLAYER_CORPSE
|| effect == MODIFY_THREAT_PERCENT
|| effect == UNKNOWN126
|| effect == OPEN_LOCK
|| effect == OPEN_LOCK_ITEM
|| effect == DISMISS_PET
|| effect == TRANS_DOOR
|| effect == SUMMON
|| effect == SUMMON_PET
|| effect == SUMMON_WILD
|| effect == SUMMON_GUARDIAN
|| effect == SUMMON_TOTEM_SLOT1
|| effect == SUMMON_TOTEM_SLOT2
|| effect == SUMMON_TOTEM_SLOT3
|| effect == SUMMON_TOTEM_SLOT4
|| effect == SUMMON_POSSESSED
|| effect == SUMMON_TOTEM
|| effect == SUMMON_CRITTER
|| effect == SUMMON_OBJECT_WILD
|| effect == SUMMON_OBJECT_SLOT1
|| effect == SUMMON_OBJECT_SLOT2
|| effect == SUMMON_OBJECT_SLOT3
|| effect == SUMMON_OBJECT_SLOT4
|| effect == SUMMON_DEMON) {
Guid target7;
}
}
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x00 | 4 / - | SpellEffect | effect | |
0x04 | 4 / Little | u32 | amount_of_logs | vmangos/cmangos/mangoszero: Can be variable but all use constant 1 |
If effect is equal to POWER_DRAIN
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x08 | 8 / Little | Guid | target1 | |
0x10 | 4 / Little | u32 | amount | |
0x14 | 4 / - | Power | power | |
0x18 | 4 / Little | f32 | multiplier |
Else If effect is equal to HEAL
or
is equal to HEAL_MAX_HEALTH
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x1C | 8 / Little | Guid | target2 | |
0x24 | 4 / Little | u32 | heal_amount | |
0x28 | 4 / Little | u32 | heal_critical |
Else If effect is equal to ENERGIZE
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x2C | 8 / Little | Guid | target3 | |
0x34 | 4 / Little | u32 | energize_amount | |
0x38 | 4 / Little | u32 | energize_power |
Else If effect is equal to ADD_EXTRA_ATTACKS
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x3C | 8 / Little | Guid | target4 | |
0x44 | 4 / Little | u32 | extra_attacks |
Else If effect is equal to CREATE_ITEM
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x48 | 4 / Little | Item | item |
Else If effect is equal to INTERRUPT_CAST
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x4C | 8 / Little | Guid | target5 | |
0x54 | 4 / Little | Spell | interrupted_spell |
Else If effect is equal to DURABILITY_DAMAGE
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x58 | 8 / Little | Guid | target6 | |
0x60 | 4 / Little | Item | item_to_damage | |
0x64 | 4 / Little | u32 | unknown5 |
Else If effect is equal to FEED_PET
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x68 | 4 / Little | Item | feed_pet_item |
Else If effect is equal to INSTAKILL
or
is equal to RESURRECT
or
is equal to DISPEL
or
is equal to THREAT
or
is equal to DISTRACT
or
is equal to SANCTUARY
or
is equal to THREAT_ALL
or
is equal to DISPEL_MECHANIC
or
is equal to RESURRECT_NEW
or
is equal to ATTACK_ME
or
is equal to SKIN_PLAYER_CORPSE
or
is equal to MODIFY_THREAT_PERCENT
or
is equal to UNKNOWN126
or
is equal to OPEN_LOCK
or
is equal to OPEN_LOCK_ITEM
or
is equal to DISMISS_PET
or
is equal to TRANS_DOOR
or
is equal to SUMMON
or
is equal to SUMMON_PET
or
is equal to SUMMON_WILD
or
is equal to SUMMON_GUARDIAN
or
is equal to SUMMON_TOTEM_SLOT1
or
is equal to SUMMON_TOTEM_SLOT2
or
is equal to SUMMON_TOTEM_SLOT3
or
is equal to SUMMON_TOTEM_SLOT4
or
is equal to SUMMON_POSSESSED
or
is equal to SUMMON_TOTEM
or
is equal to SUMMON_CRITTER
or
is equal to SUMMON_OBJECT_WILD
or
is equal to SUMMON_OBJECT_SLOT1
or
is equal to SUMMON_OBJECT_SLOT2
or
is equal to SUMMON_OBJECT_SLOT3
or
is equal to SUMMON_OBJECT_SLOT4
or
is equal to SUMMON_DEMON
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x6C | 8 / Little | Guid | target7 |
Used in:
Client Version 2.4.3
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/spell/smsg_spelllogexecute.wowm:385
.
struct SpellLog {
SpellEffect effect;
u32 amount_of_logs = 1;
if (effect == POWER_DRAIN) {
PackedGuid target1;
u32 amount;
(u32)Power power;
f32 multiplier;
}
else if (effect == ADD_EXTRA_ATTACKS) {
PackedGuid target4;
u32 extra_attacks;
}
else if (effect == INTERRUPT_CAST) {
PackedGuid target5;
Spell interrupted_spell;
}
else if (effect == DURABILITY_DAMAGE) {
PackedGuid target6;
Item item_to_damage;
u32 unknown5;
}
else if (effect == OPEN_LOCK
|| effect == OPEN_LOCK_ITEM) {
PackedGuid lock_target;
}
else if (effect == CREATE_ITEM) {
Item item;
}
else if (effect == SUMMON
|| effect == TRANS_DOOR
|| effect == SUMMON_PET
|| effect == SUMMON_OBJECT_WILD
|| effect == CREATE_HOUSE
|| effect == DUEL
|| effect == SUMMON_OBJECT_SLOT1
|| effect == SUMMON_OBJECT_SLOT2
|| effect == SUMMON_OBJECT_SLOT3
|| effect == SUMMON_OBJECT_SLOT4) {
PackedGuid summon_target;
}
else if (effect == FEED_PET) {
PackedGuid pet_feed_guid;
}
else if (effect == DISMISS_PET) {
PackedGuid pet_dismiss_guid;
}
}
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x00 | 4 / - | SpellEffect | effect | |
0x04 | 4 / Little | u32 | amount_of_logs | vmangos/cmangos/mangoszero: Can be variable but all use constant 1 |
If effect is equal to POWER_DRAIN
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x08 | - / - | PackedGuid | target1 | |
- | 4 / Little | u32 | amount | |
- | 4 / - | Power | power | |
- | 4 / Little | f32 | multiplier |
Else If effect is equal to ADD_EXTRA_ATTACKS
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | target4 | |
- | 4 / Little | u32 | extra_attacks |
Else If effect is equal to INTERRUPT_CAST
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | target5 | |
- | 4 / Little | Spell | interrupted_spell |
Else If effect is equal to DURABILITY_DAMAGE
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | target6 | |
- | 4 / Little | Item | item_to_damage | |
- | 4 / Little | u32 | unknown5 |
Else If effect is equal to OPEN_LOCK
or
is equal to OPEN_LOCK_ITEM
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | lock_target |
Else If effect is equal to CREATE_ITEM
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | Item | item |
Else If effect is equal to SUMMON
or
is equal to TRANS_DOOR
or
is equal to SUMMON_PET
or
is equal to SUMMON_OBJECT_WILD
or
is equal to CREATE_HOUSE
or
is equal to DUEL
or
is equal to SUMMON_OBJECT_SLOT1
or
is equal to SUMMON_OBJECT_SLOT2
or
is equal to SUMMON_OBJECT_SLOT3
or
is equal to SUMMON_OBJECT_SLOT4
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | summon_target |
Else If effect is equal to FEED_PET
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | pet_feed_guid |
Else If effect is equal to DISMISS_PET
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | pet_dismiss_guid |
Used in:
Client Version 3.3.5
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/spell/smsg_spelllogexecute.wowm:602
.
struct SpellLog {
SpellEffect effect;
u32 amount_of_logs = 1;
if (effect == POWER_DRAIN) {
PackedGuid target1;
u32 amount;
(u32)Power power;
f32 multiplier;
}
else if (effect == ADD_EXTRA_ATTACKS) {
PackedGuid target4;
u32 extra_attacks;
}
else if (effect == INTERRUPT_CAST) {
PackedGuid target5;
Spell interrupted_spell;
}
else if (effect == DURABILITY_DAMAGE) {
PackedGuid target6;
Item item_to_damage;
u32 unknown5;
}
else if (effect == OPEN_LOCK
|| effect == OPEN_LOCK_ITEM) {
PackedGuid lock_target;
}
else if (effect == CREATE_ITEM
|| effect == CREATE_ITEM2) {
Item item;
}
else if (effect == SUMMON
|| effect == TRANS_DOOR
|| effect == SUMMON_PET
|| effect == SUMMON_OBJECT_WILD
|| effect == CREATE_HOUSE
|| effect == DUEL
|| effect == SUMMON_OBJECT_SLOT1
|| effect == SUMMON_OBJECT_SLOT2
|| effect == SUMMON_OBJECT_SLOT3
|| effect == SUMMON_OBJECT_SLOT4) {
PackedGuid summon_target;
}
else if (effect == FEED_PET) {
PackedGuid pet_feed_guid;
}
else if (effect == DISMISS_PET) {
PackedGuid pet_dismiss_guid;
}
else if (effect == RESURRECT
|| effect == RESURRECT_NEW) {
PackedGuid resurrect_guid;
}
}
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x00 | 4 / - | SpellEffect | effect | |
0x04 | 4 / Little | u32 | amount_of_logs | vmangos/cmangos/mangoszero: Can be variable but all use constant 1 |
If effect is equal to POWER_DRAIN
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x08 | - / - | PackedGuid | target1 | |
- | 4 / Little | u32 | amount | |
- | 4 / - | Power | power | |
- | 4 / Little | f32 | multiplier |
Else If effect is equal to ADD_EXTRA_ATTACKS
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | target4 | |
- | 4 / Little | u32 | extra_attacks |
Else If effect is equal to INTERRUPT_CAST
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | target5 | |
- | 4 / Little | Spell | interrupted_spell |
Else If effect is equal to DURABILITY_DAMAGE
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | target6 | |
- | 4 / Little | Item | item_to_damage | |
- | 4 / Little | u32 | unknown5 |
Else If effect is equal to OPEN_LOCK
or
is equal to OPEN_LOCK_ITEM
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | lock_target |
Else If effect is equal to CREATE_ITEM
or
is equal to CREATE_ITEM2
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | Item | item |
Else If effect is equal to SUMMON
or
is equal to TRANS_DOOR
or
is equal to SUMMON_PET
or
is equal to SUMMON_OBJECT_WILD
or
is equal to CREATE_HOUSE
or
is equal to DUEL
or
is equal to SUMMON_OBJECT_SLOT1
or
is equal to SUMMON_OBJECT_SLOT2
or
is equal to SUMMON_OBJECT_SLOT3
or
is equal to SUMMON_OBJECT_SLOT4
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | summon_target |
Else If effect is equal to FEED_PET
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | pet_feed_guid |
Else If effect is equal to DISMISS_PET
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | pet_dismiss_guid |
Else If effect is equal to RESURRECT
or
is equal to RESURRECT_NEW
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | resurrect_guid |
Used in: