/script for i=1,40 do TargetNearestFriend(); if
UnitHealth("target")/UnitHealthMax("target") < 0.7 then if
UnitIsPlayer("target") then CastSpellByName("GENERIC HEALING SPELL")
end end end; TargetLastEnemy(); /raid Healing %t /p Healing %t
This macro will (or is supposed to) search through your parties
members and heal those that are below 70% health; while announcing the
heal in party/raid chat. Then returns you to your last enemy target.
I have just found this macro and changed some stuff around, so i might not work as i intended; but i believe it should.
modifying this macro:
1. replace the words GENERIC HEALING SPELL with your own spell and rank. ie: Holy Light(Rank 8)
2. to change the target healing percentage, replace the 0.7 to the desired decimal equivalent. 0.7 = 70%, 0.3 = 30%
|