Gallo
10-24-2007, 05:54 PM
Has anyone had any luck with a healing script in BC?
I know that pre-BC there was a type of script that would check the health of a unit, and if it was below 70% it would cast a heal on the unit then move on to the next unit on the list.
something like:
/script for i=1,40 do TargetNearestFriend(); if UnitHealth("target")/UnitHealthMax("target") < 0.7 then if UnitIsPlayer("target") then CastSpellByName("Lesser Healing Wave") end end end; TargetLastEnemy(); [/code:1]
This however does not work anymore. Has anyone created a bootleg 1-button heal macro?
I know that pre-BC there was a type of script that would check the health of a unit, and if it was below 70% it would cast a heal on the unit then move on to the next unit on the list.
something like:
/script for i=1,40 do TargetNearestFriend(); if UnitHealth("target")/UnitHealthMax("target") < 0.7 then if UnitIsPlayer("target") then CastSpellByName("Lesser Healing Wave") end end end; TargetLastEnemy(); [/code:1]
This however does not work anymore. Has anyone created a bootleg 1-button heal macro?