Originally Posted by
Ninjaderp
To all profile-coders for classes with battle-resses
Is there any way to implement an autobattleress for classes with combatress-ability?
In other words it autobattleresses tank/healer in that order when someone of them dies. I read on it in a HB-forumthread over here:
CLU (Codified Likeness Utility) - Page 4
Code:
if GetNumRaidMembers() > 0 then
local members = GetNumRaidMembers()
for i = 1, members, 1 do
local member = 'raid' .. tostring(i)
if UnitIsDeadOrGhost(member) and UnitGroupRolesAssigned(member) == 'TANK' or UnitGroupRolesAssigned(member) == 'HEALER' then
PQR_CustomTarget = member
return true
end
end
end
BTW Test my new profile folks!It is multiprofile now,so it autoswitch rotations for destro and affli,demo is coming soon.