I think i need help here (old dr.damage)
so i am getting the error GetNumTalents = nil
i understand that his has been removed from the API but i can not figure out how to bypass it/fix it it seems to be happening here in this code actualll line of code in the real Program is 2207 -2237 the error fires off at line 2209 and states GetNumTalents = nil in this bit of code it would be line 3 Lua Code:
|
http://wowprogramming.com/docs/api/GetNumTalents
It's no longer a thing. So it doesn't know what to do with getnumtalents. I'd figure out the api you need, but I'm on my phone and I hate searching for stuff when it's so easy comparatively on a computer. E: could try looking at this: http://wowprogramming.com/docs/api/GetTalentInfo |
Don't forget to check wowpedia.org too. It looks like that site is more updated with the 6.0 functions for this area.
Talent Functions
Specialization Functions
|
Why exactly are you trying to update Dr. Damage? There's absolutely no need for such an addon anymore, since your spell tooltips now display the actual amount of damage each spell will do with your current stats. Dr. Damage exists because that used to not be the case -- the tooltip only showed the base amount, and the addon had to do a lot of work to estimate the actual amount based on your gear, talents, etc. Doing all that work yourself at this point would just be pointless redundancy.
If all you want to do is show the damage numbers on your action bars, there's a much easier way to do that -- just pull the number out of the tooltip and show it. No talent checking or other theorycrafting required. |
Quote:
|
All times are GMT -6. The time now is 04:53 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI