Quantcast WoWInterface - View Single Post - GetActiveSpecGroup() giving wrong value return.
View Single Post
09-03-12, 09:43 PM   #1
A Rage Talon Dragon Guard
suicidalkatt's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 329
GetActiveSpecGroup() giving wrong value return.

So is it just me or is GetActiveSpecGroup() giving a reversed return?

A couple of dumps like this seems to give opposing values:

...While in your primary talents:
Lua Code:
  1. /dump GetSpecializationInfo(1)

Dump: value=GetSpecializationInfo(1)
[3]="A master of shadow magic who specializes in drains and damage-over-time spells.",
...While STILL in primary spec:

Lua Code:
  1. /dump GetSpecializationInfo(GetActiveSpecGroup())

Dump: value=GetSpecializationInfo(GetActiveSpecGroup())
[3]="A master of demonic magic who transforms into a demon and compels demonic powers to aid him.",
Edit: Just me being a tard and not realizing that GetSpecializationInfo() isn't used for direct talent group associations.

Last edited by suicidalkatt : 09-03-12 at 10:04 PM.