Hi guys i am a new enter so forgive my mistakes.
I have a big problem with two macros.
With the first Macro I wanted my character to use a mana potion every time my mana goes under a determined amount (i tried both number and %).
I used this string (i'll write here the same things in the same way of the macro):
/script if (UnitMana("Player")/UnitMaxMana("Player")<=.30) then UseItemByName("Condesed Magic Potion"); end
[since this didn't work, after replacing the potion on the 2nd slot of the main bar, I modified it in:]
/script if (UnitMana("Player")/UnitMaxMana("Player")<=.30) then UseAction(2); end
[this didn't work too, so i tried another time with:]
/script if (UnitMana("Player")/UnitMaxMana("Player"))<=.30 then UseItemByName("Condesed Magic Potion"); end
[on the net i also found, and tried without any results, this one:]
/script if (UnitMana("player"))>=300 then UseAction(2); end
In order to avoid to become annoying in my last two tries i changed player with my character name, then i changed value of percentual, and nothng new happened.
Please Would you tell me where I make a mistake, and give me the right code?
The second Macro is a "simple" combat macro, which doesn't work, it uses only the first magic -.-" .
here it is:
/cast Rising Tide
/wait .75
/cast Bone Chill
/wait 1
/cast Chain of Light
Again please tell me whyi'm wrong...
thanks for had born me...