I’m looking to create a macro to de-rank my Power Word: Fortitude buff so that I can continue buffing lower levels as I run by them without requiring each rank on my hot bar.
Below is an example that I found using the /script; however, that is not supported in Classic.
Appreciate any help.
/script Pre=“Power Word: Fortitude(Rank " Sp={1,2,14,26,38,50} if (UnitLevel(“target”) ~= nil and UnitIsFriend(“player”,“target”)) then for i=5,1,-1 do if (UnitLevel(“target”) >= Sp) then CastSpellByName(Pre…i…”)") return end end end
Since classic doesn’t allow macro scripts, I’m not sure it is possible. There may be a workaround with weakauras. Maybe have it so that if you are out of combat and mouseover a lowbie who you can buff, an icon appears on your screen that you can hit to buff him with a level appropriate spell or something like that.
That seems like a lot of trouble. Just use your max rank and it will give them the highest rank of the buff that their level allows for.
No need for all that extra jazz. <.<
2 Likes
Unfortunately, it doesn’t de-rank the buff in a macro. Using the macro below, I get the error “Target is too low level.”
#showtooltip
/cast [mod:alt,@player][@mouseover,help,nodead][help][@targettarget,help,nodead][]Power Word: Fortitude
I don’t think that will work though.
I tried give Rank 3 AI to a Lv17 Druid and got an message saying target is too low level.
Used these commands for a mount macro…
-
using [mod] will cast the ability if any modifier key is pressed.
-
using [nomod] will cast the ability if no modifiers key are pressed.
-
using [nomod:alt] . The ability will be cast if the alt key is not pressed.
-
using [mod:shift/ctrl] will cast the ability if either shift or ctrl is pressed.
-
using [nomod:shift/ctrl] will cast the ability if shift or ctrl, or neither of them is pressed.
-
using [mod:shift, mod:ctrl] will cast the ability if both shift and ctrl are pressed.
For example:
/cast [modifier:lctrl] Hunter’s Mark; [modifier:rshift] Feign Death
/cancelaura [modifier:shift] Levitate
/cast [nomodifier] Levitate
I haven’t tested the modifier macro on classic sorry. But I used it in retail for years.
Give it a shot.
Of course this assumes you know what lvl of Fort you need to cast per player lvl.
Ah, I see, it’s specific to macros, then. I guess that makes sense if you want to keep your buffs on a mouseover.