Log in

View Full Version : [WoW] Mana Restoration Macro Help needed



JackBurton
08-18-2009, 06:27 PM
Mana Restoration Macro Help needed



What im using now

/cast [combat] Shadowfiend/Life Tap whatever....
/use [nocombat] Honeymint Tea

I found the following snippet and would like to modify it as explained below.

/script if UnitHealth('player') / UnitHealthMax('player') < 0.7 then UseContainerItem(0, 2); end
/script if UnitMana('player') / UnitManaMax('player') < 0.7 then UseContainerItem(0, 1); end




If in combat and mana is less than 20 then use mana potion
/script if UnitMana('player') / UnitManaMax('player') > 0.2 then end
/use [combat] Runic Mana Injector


If we are in combat, and mana is less than 70 and life is greater than 70 then life tap
/script if UnitMana('player') / UnitManaMax('player') < 0.7 ; endmacro
/script if UnitHealth('player') / UnitHealthMax('player') < 0.7 ; endmacro
/cast [combat] Life Tap


If not in combat and player mana is less than 70% then Drink
/script if UnitMana('player') / UnitManaMax('player') < 0.7 then UseContainerItem(0, 1); end
/use [nocombat] Honeymint Tea

elsegundo
08-18-2009, 07:16 PM
thats just like saying...

if target <50% health, use greater heal, else use flash heal.

conditionals like that doesnt work.

but [combat] should work fine.

Ughmahedhurtz
08-18-2009, 07:31 PM
Conditionals are protected functions while in combat. So, you're SOL. You cannot use those except when out of combat.