Thread Tools Display Modes
10/20/15, 01:07 PM   #1
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
What's buffType in GetUnitBuffInfo / EVENT_EFFECT_CHANGED?

Warning: Spoiler


I expected it to be one of BUFF_TYPE_ constants, e.g. BUFF_TYPE_MAJOR_BRUTALITY, but no. It's a string, and seem to always be empty.
  Reply With Quote
10/20/15, 02:09 PM   #2
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
I'm working on a addon using that at the moment & I've been wondering the same thing. I also expected it to be BUFF_TYPE_XXXX, but it is always empty for me as well.
  Reply With Quote
10/20/15, 02:29 PM   #3
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Looking at it some more I see:
Lua Code:
  1. BUFF_TYPE_MAJOR_HEROISM

and in champion skills I see:


Maybe it only works for champion skills?
  Reply With Quote
10/22/15, 08:13 AM   #4
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
buffType will be the string "Activated" if it is an activated effect, which it will never be, because that's an ancient system that doesn't get used anymore.
  Reply With Quote
10/22/15, 08:39 PM   #5
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Thanks for the info chip !
  Reply With Quote
10/23/15, 07:32 AM   #6
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
thanks, made a note at http://wiki.esoui.com/EVENT_EFFECT_CHANGED
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » What's buffType in GetUnitBuffInfo / EVENT_EFFECT_CHANGED?


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