All healing classes[NOVA]
What to add to not heal debuffed ppl and changed into constructs in HoF
First go to ability editor -> LUA file editor and find 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
Then after last "UnitDebuffID" u can add debuffs on ppl which shouldnt be added to healing table.
So it should look like this:
Code:
function CanHeal(t)
if UnitInRange(t)
and UnitCanCooperate("player",t)
and not UnitIsEnemy("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 UnitDebuffID(t,121949) == nil -- Parasitic Growth (Amber-Shaper Un'sok, 5th boss in HOF)
and UnitDebuffID(t,"Dissonance Field") == nil -- Player in Dissonance Field (6th boss in HOF)
and UnitDebuffID(t,122784) == nil -- Reshape Life I, spell which changes us into construct (5th boss in HOF)
and UnitDebuffID(t,122370) == nil -- Reshape Life II, same as above one
then return true else return false
end
end
What was added:
Parasitic Growth, dont heal that ppl cuz u will kill them
Dissonance Field, dont heal cuz they are immune under buble
Reshape Life, dont heal cuz they are enemise
Second Reshape Life i think isnt need cuz it is cast but added to be sure u will not heal them.
OP probably will add it do, i think even in table format, would be nice to just add spellID instead of whole line. But i know Buba is now doing mistweaver and is busy. WIll try do it.
EDIT
Dissonance Field not working. Working on table with debuffs when ppl shouldnt be added to healing table. Will post when finish checking in LFR.