[DiscordArchive] hmm, is there currently way to check player spec with eluna?
[DiscordArchive] hmm, is there currently way to check player spec with eluna?
Archived author: Foe • Posted: 2022-04-27T17:34:13.483000+00:00
Original source
It's kind of a guesstimate and checks the more typical nodes that a spec usually has, there's no way to determine a spec in any other way in 3.3.5
Archived author: Foe • Posted: 2022-04-27T17:34:23.795000+00:00
Original source
A player doesn't really choose a spec at all
Archived author: Grandold • Posted: 2022-04-27T17:34:48.907000+00:00
Original source
couldn't I just calc all taken talents per talent tree and just determine the spec by which tree has the most talents?
Archived author: Grandold • Posted: 2022-04-27T17:35:26.374000+00:00
Original source
I mean, the client somehow knows what spec icon to use for the talent trees
Archived author: Foe • Posted: 2022-04-27T17:35:48.743000+00:00
Original source
Sure but that wouldn't be 100% either, and you'd have to write an equivalent function that the client uses to determine that icon
Archived author: Grandold • Posted: 2022-04-27T17:36:21.073000+00:00
Original source
hmm ye true true
Archived author: Foe • Posted: 2022-04-27T17:36:33.761000+00:00
Original source
There are pvp tank specs as an example that uses more points in ret/holy than in prot ♂️
Archived author: Grandold • Posted: 2022-04-27T17:37:59.585000+00:00
Original source
okay gotta make up some GetDominantTalentTree() function then
Archived author: Foe • Posted: 2022-04-27T18:06:33.532000+00:00
Original source
I'd use that as a fallback if the function I posted returns 0
Archived author: Foe • Posted: 2022-04-27T18:06:41.128000+00:00
Original source
Should be pretty well covered then