GetSpellPowerCost Returning nil
Hi
I am trying to retrieve the cost from the function GetSpellPowerCost within Classic TBC, but it seems no matter how I run it, the result is nil. The following code returns nil: Lua Code:
As does: Lua Code:
And: Lua Code:
Which are admittedly trying the same thing. The only way I can get the info to show up is if I run the following in-game: /dump GetSpellPowerCost(133) But then that provides me with the whole table information, not the specific key/value set that I am looking for. I am relatively new to Lua scripting, especially within WoW, so any guidance is appreciated. Thanks! **EDIT** I am an idiot- it should be Lua Code:
|
If you want to see the whole table (and the local is important so you don't screw up other addons or the game UI).
Lua Code:
|
All times are GMT -6. The time now is 01:49 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI