Mastery Increase + Passive Talents
Moderator: Moderator
Mastery Increase + Passive Talents
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
Code: Select all
self:updateAllTalentsPassives()
My feedback meter decays into coding. Give me feedback and I make mods.
-
- Sher'Tul Godslayer
- Posts: 2522
- Joined: Thu Jan 23, 2003 8:13 pm
- Location: A shallow water area south of Bree
- Contact:
Re: Mastery Increase + Passive Talents
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.
"Blessed are the yeeks, for they shall inherit Arda..."
Re: Mastery Increase + Passive Talents
Thank you both for the feedback!