Intelligent healing macro possible?
I am running 4 shamans with no tank nor designated healer. Usually on instance trash a stoneclaw totem is enough and on bosses I just need to spam chain heal in the middle of the fight if the boss fears andnothing if it doesnt because I spam him with 4 earth elementals to tank.
This system works relatively good, but I think that adding an intelligent healer would be nice, specially when one of my toons does 3 crits in a row and then either I have to stop DPS for all the group to heal him or let him die.
Is there a kind of macro that would to the following:
Check party members and heal the one with less HP or the harmed one from a given list (as long as there is someone injured). Otherwise spam CL/LB/Shock when everyone has OK HP.
I know something like this (stolen from priest) worked before 2.0 patch, but now it's impossible:
Code:
/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 7)');TargetLastEnemy()
Yet it only does the healing part and not the DPS if there is no need to heal part.
Any ideas?