Quantcast WoWInterface - View Single Post - Game Events for damage dealt to player
View Single Post
01-18-05, 11:58 AM   #1
bahzeel
A Deviate Faerie Dragon
Join Date: Jan 2005
Posts: 10
Game Events for damage dealt to player

Hi all,

I'm at work, so I can't try these out for myself just yet. So I'm seeing how far I can get before I get some time tonight to try this out.

Looking through the game events, it looks like the list of events that will fire when you are damaged are:

CHAT_MSG_COMBAT_CREATURE_VS_SELF_HITS
Fires when a creature does melee damage to the player.
CHAT_MSG_COMBAT_HOSTILEPLAYER_HITS
Fires when a hostile realm player does melee damage to you (duels for same realm?)
CHAT_MSG_SPELL_CREATURE_VS_SELF_DAMAGE
Fires when a creature hits you with a damaging spell.
CHAT_MSG_SPELL_HOSTILEPLAYER_DAMAGE
Fires when a hostile realm player hits you with a spell (duels?).
CHAT_MSG_SPELL_PERIODIC_SELF_DAMAGE
Fires when a DoT applied to you ticks.
I've seen damage shield related events in the list also, but none of them seem quite right to handle a damage shield on a creature that you are beating on. For now, I'm assuming those events are handled as CHAT_MSG_COMBAT_CREATURE_VS_SELF_HITS events, but if anybody knows or strongly suspects differently, I'd love to hear about it.

Also, if you can think of any events I've missed, please let me know.

Thanks for looking this over!
  Reply With Quote