#1 - Aug. 28, 2012, 8:45 p.m.
08/29/2012 04:12 PMPosted by OxoxoxoxenCurrently if you haven't chosen a spec, there won't be a field. This happens for all characters that haven't logged in and out of 5.0.4 yet, and anyone that does and doesn't choose a spec.
Is this the intended behavior for people who have not chosen their talents yet?"talents":[null],
Shouldn't it be:"talents":[]
I think it just me, but how can i distinguish between the two specs names on a guild roster? Like for instance i can pull the primary spec name easily but not the secondary spec name?
code:$primary = $p['character']['spec']['name'];
$secondary = $p['character']['spec']['name'];
talents: [
{
selected: true,
spec: {
name: "Blood",
role: "TANK",
...
}
},
{
spec: {
name: "Frost",
role: "DPS",
...
}
}
]