Originally Posted by gwyd
Does it make sense that the following always prints the additional power bar name for the spec being swapped from (not the one being swapped to) or am I doing something wrong?
Lua Code:
self:RegisterEvent("ACTIVE_TALENT_GROUP_CHANGED", function(self) print(ADDITIONAL_POWER_BAR_NAME) end)
|
Wrong. There's only one name in ADDITIONAL_POWER_BAR_NAME and it's "MANA", cuz it's a constant. If you're interested in such things,
you should always check related Blizz code first.