|
Post by Blkbeard on Apr 12, 2007 14:40:31 GMT -5
I found this useful sounding one.. Thuoght I should share it..
Its for automaticly healing the party member who has the lowest health total, but is not dead.
------------------------------------------------------------------------------------- /script P=1;T="player";function F(a)h=UnitHealth(a);p=h/UnitHealthMax(a); if h>0 and P>p then P=p;T=a;end end F(T);for i=1,4 do p="party"..i;if p then F(p);end end TargetUnit(T);CastSpellByName("Holy Light(Rank ?)");TargetLastEnemy()
|
|
|
Post by saltysurfer on Apr 16, 2007 10:17:06 GMT -5
you rock, thanks for posting the great macro!
|
|