is it possible to tell from a macro what mana you have left?
If it is, I would like to be able to do something like this:
if MANA < 5
/cast shoot
else
dps the shit out of something
end if
also what does the NULL do at the end of some macros?
is it possible to tell from a macro what mana you have left?
If it is, I would like to be able to do something like this:
if MANA < 5
/cast shoot
else
dps the shit out of something
end if
also what does the NULL do at the end of some macros?
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 usemore info here: http://www.wowwiki.com/API_UnitPowerCode:UnitPower("player", 0);
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.
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
Macros and addons cannot make decisions for you, so no.
Null is a non-existant spell. It is used to force a macro to lock up. The same can be done with Nil, Frank, Supercalifragilisticexpialidocious. Since there is no spell by that name, the macro can progress no further. It is used when you only want to cast a spell or sequence once, such as Hunter's Mark or Curse of Elements, and is usually in a macro with a reset conditional.
Blog : Herding Khats
Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
*Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*
_ Forum search letting you down? Use the custom Google search _
Blog : Herding Khats
Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
*Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*
_ Forum search letting you down? Use the custom Google search _
Why would you need a macro? can't you just look at the mana bar? :P
EVE Online Get Ships. Train Skills.
Connect With Us