Vaioui 1 Posted March 16, 2015 Share Posted March 16, 2015 Hi all, I'm trying to develop a healing raid profile. Is it possible to make wrobot managing selection of main tanks and raid members? e.g. if both MTs have >90 % health then target lowest raid member in range. If something like that is possible you could really make an awesome healing profile. Thanks for your answers, Vaioui Link to comment https://wrobot.eu/forums/topic/2085-trying-to-develop-a-healing-raid-profile/ Share on other sites More sharing options...
Droidz 2738 Posted March 23, 2015 Share Posted March 23, 2015 Hello, Look this topic: ps: You can also use lua code like this: Select first raid member tank in spell range with health lower than 50%: local SpellName = GetSpellInfo(109259) local usable, nomana = IsUsableSpell(SpellName); if (not nomana and usable) then for i = 1, 40, 1 do local UnitIdString = "raid" .. i .. "target" if UnitExists(UnitIdString) then local role = UnitGroupRolesAssigned(UnitIdString); if role == "TANK" and IsSpellInRange(SpellName, UnitIdString) then if UnitHealth(UnitIdString)/UnitHealthMax(UnitIdString)*100 < 50 then CastSpellByName(SpellName, UnitIdString) return end end end end end Vaioui 1 Link to comment https://wrobot.eu/forums/topic/2085-trying-to-develop-a-healing-raid-profile/#findComment-9875 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now