Quantcast WoWInterface - View Single Post - GetActiveSpecGroup() giving wrong value return.
View Single Post
09-03-12, 09:43 PM   #1
suicidalkatt
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)

Returns:
Code:
Dump: value=GetSpecializationInfo(1)
[1]=265,
[2]="Affliction",
[3]="A master of shadow magic who specializes in drains and damage-over-time spells.",
[4]="Interface\\Icons\\Spell_Shadow_DeathCoil",
[5]="bg-warlock-affliction",
[6]="DAMAGER"
...While STILL in primary spec:

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

Returns:
Code:
Dump: value=GetSpecializationInfo(GetActiveSpecGroup())
[1]=266,
[2]="Demonology",
[3]="A master of demonic magic who transforms into a demon and compels demonic powers to aid him.",
[4]="Interface\\Icons\\Spell_Shadow_Metamorphosis",
[5]="bg-warlock-demonology",
[6]="DAMAGER"
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.