Originally Posted by
Ninjaderp
Bu_ba, could you explain "custom tables" a little? I just recenly went resto on my druid and have been using the M.A.D Honorbuddy CR, but I want to try out your resto-profile but I also want to understand how and when to best use its abilities.
It says "Right control - Add to Custom Table, Right Alt - Remove from Custom Table" as well as console commands on how to wipe off CT's/enable them.
Also there's 3 rotations, Master Dungeon and Raid. The two latter are obvious, but whats special about Master-rotation?
Cheers and merry christmas
Ok so dont know if it is good understanding of CT,s but.. CT (never used it) is for healing dedicate players. Default u have table built from whole raid members and sorted at first place with lowest hp to last place with highest hp. It is updating every second ( exactly when all abilites are "scaned" in rotation builder then it starts again from first). So if u turn CT u add manualy (with mouseover) to CT players who would like to heal. Hmm have to check if it works with Tsulong.
However if u wanna use this rotation keep eye on 5th and 6th bosses in HoF, cuz of parasitic growth, reshapelife (it will try to spam heal at enemy target ( in raid frames target isnt enemy but ingame it is) and that heals will hit u, doing nothing with rest of raid) and disonance field.
So to get it works how it should work go to abilities editor -> open LUA file editor -> chose PQR_NOVA_DATA and find line:
Code:
function CanHeal(t)
then in that function add debuffs which has players and u dont want to heal them, so it should look like this:
Code:
function CanHeal(t)
if UnitInRange(t)
and UnitCanCooperate("player",t)
and not UnitIsCharmed(t)
and not UnitIsDeadOrGhost(t)
and not PQR_IsOutOfSight(t)
and UnitIsConnected(t)
and UnitDebuffID(t,104451) == nil -- Ice Tomb
and UnitDebuffID(t,76577) == nil -- Smoke Bomb
then return true else return false end
end
Bolded lines is that what u need, i got somewhere moded version but cant find it. U just add line under line "and UnitDebuffID(t,DEBUFF_ID_HERE) == nil -- description of debuff", save and from now u will not heal "bad" ppl.
About master, dungeon and raid.
He made it to easier optimize %% when to heal with each spells. Master is used everywhere, in dungeons it use dungeon, in raids it use raid. It will auto switch when u join specific instance. So now go to abilities editor and chose "party settings". Now on right u can change %% of spells when to use it. For parties u need use faster healing than in raids, so as u see u dont need to change over and over when u switch from raid to dungeon or another bg/arena.
Dont know if Buba updated resto past last 2-3 weeks cuz dispell too not working. For me orginal code doesnt work. There is need one more line in dispell code (it is in --init ability):
Code:
-- Checking if there's a dangerous Debuff we shouldn't Cleanse
function DontDispel(t)
local buff = { 30108, 34914 }
local DontDispelCheck = false
for i=1, #buff do
if UnitDebuffID(t, buff[i]) then
if select(11, UnitDebuff(t, GetSpellInfo(buff[i]))) == 30108 then
if UnitDebuffID(t, 31117) then
if select(11, UnitDebuff(t, GetSpellInfo(31117))) == 31117 then
DontDispelCheck = false
break
end
else
DontDispelCheck = true
end
DontDispelCheck = true
end
DontDispelCheck = true
end
end
return DontDispelCheck
end
and in Natures Cure ability i need to remove one thing so it looks like this:
Code:
if PQR_SpellAvailable(88423) then
if members[1].HP > 60 then
for i=1, #members do
if ValidDispel(members[i].Unit) and not DontDispel(members[i].Unit) then
PQR_CustomTarget = members[i].Unit
return true
end
end
end
end
For now for me when i use tree form it stops to work, Buba said for him all is ok so no idea, if u can check tree form and write if it works.
Iam after half of first year of programming studies so will start more care about profiles ( it is good and pleasure place to learn and practice) since Buba said about lower prio for resto druid. But not eralier then in new year.
@Buba
Will it work?:
Code:
if CanHeal(member,memberhp)...blablabla
function CanHeal(t,tHP)
if UnitInRange(t)
and UnitCanCooperate("player",t)
and not UnitIsCharmed(t)
and not UnitIsDeadOrGhost(t)
and not PQR_IsOutOfSight(t)
and UnitIsConnected(t)
and UnitDebuffID(t,104451) == nil -- Ice Tomb
and UnitDebuffID(t,76577) == nil -- Smoke Bomb
and (not UnitDebuffID(t,DEBUFF_ID_HERE) or tHP<20)
then return true else return false end
end
Cant check cuz dont have WoW until friday. With my low knowladge of programming i think it should.