Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » Developer Discussions » Lua/XML Help » Game Events for damage dealt to player

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off