-
Healing Script?
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:
[code:1] /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? [/code]
-
No. You can't do any conditional spell casting. You can only do things like make warnings and such.