I am a lvl 5 mage and need a macro that will target the closest enemy then fire plasma arrow and fireball.
it would help at this point if i could check if enemy is still alive and either fire again or loop thru program again.
You can't perform loops in a macro. That is a feature specifically disabled by Runewaker. As for the rest of it, that should be easy enough. Try this:
|
Source code
|
1
2
3
4
|
/run if UnitHealth("target") <= 0 or not UnitExists("target") then TargetNearestEnemy() end
/cast Fire Plasma Arrow
/wait 1.0
/cast Fireball
|
You may need to change the names of the spells cast to reflect the
exact name in the skillbook, and you'll need to change the amount of time to wait between the two casts to account for casting time and the global cooldown.
I checked out some websites with info on building macros but the instructions did not work.
can some one help me here.
Check out my macro guide on these forums (
linky).
You can also look at
DIYCE 2.0, though that may be a little more involved than you want at this point.