Hi,
I need help to create a simple Weakaura in Cataclysm that shows me a Text with my player class + specizalization.
e.g. "Druid - Feral" or "Mage - Fire"
thanks![]()
Hi,
I need help to create a simple Weakaura in Cataclysm that shows me a Text with my player class + specizalization.
e.g. "Druid - Feral" or "Mage - Fire"
thanks![]()
I dont play Cataclysm.
Try
Trigger Type: Custom
Event Type: Event
Event(s): PLAYER_TALENT_UPDATE, PLAYER_ENTERING_WORLD
Code:function() local _, class = UnitClass("player") local spec = GetPrimaryTalentTree() if spec then local specName = select(2, GetTalentTabInfo(spec)) return specName .. " " .. class else return "No Spec " .. class end end