Page 1 of 1

Mastery Increase + Passive Talents

Posted: Sat Sep 19, 2020 3:04 pm
by ectorzage
I've created an addon that allows me to spend gold to raise my mastery level of talent categories. While it's mostly been working, I have noticed that sustains need to be reset after the increase and passives need to have points added or taken away to reflect the new values. Is there a line of code that can refresh all talents, passives and sustains, after the mastery increase?

Re: Mastery Increase + Passive Talents

Posted: Sat Sep 19, 2020 10:15 pm
by HousePet

Code: Select all

self:updateAllTalentsPassives()
Not sure about sustains.

Re: Mastery Increase + Passive Talents

Posted: Sun Sep 20, 2020 1:17 am
by Zizzo
Your best bet would probably be to poke around in the LevelupDialog and see what it does when it closes the dialog and applies the user-specified changes, since that's pretty much the same stuff you'll need to do.

Re: Mastery Increase + Passive Talents

Posted: Fri Oct 02, 2020 5:28 pm
by ectorzage
Thank you both for the feedback!