WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   PTR API and Graphics Changes (https://www.wowinterface.com/forums/forumdisplay.php?f=175)
-   -   UnitMana and UnitManaMax missing (https://www.wowinterface.com/forums/showthread.php?t=55221)

galvin 03-08-17 02:21 PM

UnitMana and UnitManaMax missing
 
Were these functions renamed or another function covers these now?

Ketho 03-08-17 03:03 PM

Wasn't that changed to UnitPower(unit, SPELL_POWER_MANA) back in WotLK

https://github.com/Gethe/wow-ui-sour...69c64ffc5aL285
http://wow.gamepedia.com/API_UnitPower

Oh, it's deprecated while on the PTR
https://github.com/Gethe/wow-ui-sour....lua#L172-L182

galvin 03-08-17 03:10 PM

Was making sure it was removed or not a bug or something. Be nice if they did this change at the start of the expansion though.

Anyway thanks

Gethe 03-09-17 06:46 PM

Quote:

Originally Posted by galvin (Post 322535)
Was making sure it was removed or not a bug or something. Be nice if they did this change at the start of the expansion though.

Anyway thanks

That's likely why it's in the Deprecation addon, to reduce disruption while in the middle of an xpac. The addon is effectively disabled on PTR, which is why you might get an error, but when the patch goes live UnitMana and the other functions that addon defines will still be usable.


All times are GMT -6. The time now is 01:14 AM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI