View Single Post
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