Added a MotW macro
No edit summary |
(Added a MotW macro) |
||
| Line 13: | Line 13: | ||
/script r=3;l={30,42,56};if not UnitIsFriend("player","target")then TargetUnit("player");end;t=UnitLevel("target");for i=r,1,-1 do if (t>=l[i]-10) then CastSpellByName("Shadow Protection(Rank "..i..")");break;end;end | /script r=3;l={30,42,56};if not UnitIsFriend("player","target")then TargetUnit("player");end;t=UnitLevel("target");for i=r,1,-1 do if (t>=l[i]-10) then CastSpellByName("Shadow Protection(Rank "..i..")");break;end;end | ||
<br><br> | <br><br> | ||
Druid Macros | |||
1. Mark of the Wild to a target's level<br> | |||
/script r=7;l={1,10,20,30,40,50,60};if not UnitIsFriend("player","target")then TargetUnit("player");end;t=UnitLevel("target");for i=r,1,-1 do if (t>=l[i]-10) then CastSpellByName("Mark of the Wild(Rank "..i..")");break;end;end | |||