Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-28-08, 12:38 PM   #1
Nopskillz
A Kobold Labourer
Join Date: Apr 2008
Posts: 1
Totems - GUID in Lua scripts

Hello all,

Just curious if anyone off hand knows how to determine if a totem was cast by the player or not.

Right now I'm registering for the COMBAT_LOG_EVENT_UNFILTERED command to do some processing when a grounding totem is destroyed.

I'm able to easily use the "eventType" and "destName" variables passed in to determine if damage was dealt to a Grounding Totem. The only problem is if there are multiple Grounding Totems out there, (eg. I cast one, an enemy casts one, and another friendly Shaman casts one), I am unable to determine if the totem was mine or not.

I'm sure I'm supposed to use the destFlags variable, but I'm no pro at understanding how this variable is constructed.

Any advice/tips would be much appreciated.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Totems - GUID in Lua scripts


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