-
Member
i'm no pro, so take this with a grain of salt :-)
using lua code you can get the amount of mana left, and the total amount, so you can calculate a % from there.
to get the amount of mana left you use
Code:
UnitPower("player", 0);
more info here: http://www.wowwiki.com/API_UnitPower
I would know how to do it in an addon, but not sure how to do it in a macro.
not sure you can do conditionals (if then else) in a macro.
.[I
-
This is not possible in a macro when you are in combat. So to use it in a DPS sequence is impossible. There are restrictions on what you can use in combat due to unattended gameplay. I don't remember what patch undid this for macros. But I used to have a flash heal rank 3 macro that would automatically heal the lowest in health in molten core.
edit: http://www.wowwiki.com/Category:Worl...cted_Functions
brainie pala 80 -
blastcast shaman 80 -
deadcast shaman 80 -
swientie holy priest 80 -
magrin mage 80 -- Aggramar EU
Posting Rules
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Connect With Us