LF AI macro
![Post Post](./styles/begins2/imageset/icon_post_target.gif)
LF working macro which casts AI based on target's level.
Tried this:
but it cant buff target lvl 30(says too low lvl) and 60(says nothing, just dont works), and works propperly with all other lvls.
Tried this:
- Code: Select all
/script Pre="Arcane Intellect(Rank " Sp={1,2,14,26,38,50} if (UnitLevel("target") ~= nil and UnitIsFriend("player","target")) then for i=6,1,-1 do if (UnitLevel("target") >= Sp[i]) then CastSpellByName(Pre..i..") ") return end end end
but it cant buff target lvl 30(says too low lvl) and 60(says nothing, just dont works), and works propperly with all other lvls.