Lethay / TalentedClassic

WoW addon. A replacement to the default talent UI that allows creation of templates and viewing of all trees at once.
7 stars 22 forks source link

[Question] - Is there a reason talent tooltips are hard-coded, instead of pulled from game API? #138

Open mrchops1024 opened 3 months ago

mrchops1024 commented 3 months ago

I've noticed through SoD phases, that a number of changes are made to talent tooltips, requiring updating the the static files in the repo.

@Lethay - Is there a reason you opted for hard-coding vs pulling from in-game API?

Lethay commented 3 months ago

Because in Vanilla and TBC Classic, the talent API doesn't allow the tooltips for ranks of talents that are not available to the player to be loaded, and especially not tooltips for other classes. This changed in WotLK classic (interestingly, mirroring when it changed in original WotLK). Note that I don't have hard coded data in the Wrath version of the addon. This might be "fixed" in SoD but I hadn't noticed that being the case.