Thread Tools Display Modes
03-08-17, 02:21 PM   #1
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
UnitMana and UnitManaMax missing

Were these functions renamed or another function covers these now?
  Reply With Quote
03-08-17, 03:03 PM   #2
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
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

Last edited by Ketho : 03-09-17 at 09:56 PM.
  Reply With Quote
03-08-17, 03:10 PM   #3
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
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
  Reply With Quote
03-09-17, 06:46 PM   #4
Gethe
RealUI Developer
 
Gethe's Avatar
Premium Member
Featured
Join Date: Sep 2008
Posts: 942
Originally Posted by galvin View Post
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.
__________________
Knowledge = Power; Be OP

  Reply With Quote

WoWInterface » PTR » PTR API and Graphics Changes » UnitMana and UnitManaMax missing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off