• Dear Guest,

    You're browsing our forum as a Guest meaning you can only see a portion of the forum in read-only mode.
    To view all forum nodes and be able to create threads/posts please register or log-in with your existing account.

    TwinStar team

[MACRO] Buffs based on target level

lanevegame

Authorized
Joined
Jun 18, 2015
Here is a macro to cast a certain buff rank based on the target level:

Code:
/script Pre="[COLOR=#40e0d0]Blessing of Wisdom[/COLOR](Rank " Sp={1,2,14,26,38,50} if (UnitLevel('target') ~= nil and UnitIsFriend('player','target')) then for i=[COLOR=#ee82ee]5[/COLOR],1,-1 do if (UnitLevel('target') >= Sp[i]) then CastSpellByName(Pre..i..")") return end end end

You can use this macro for every buff you want, just replace the name of the spell and the number of ranks available in your spell book.
 
Top Bottom