āIf you donāt know who I am, then maybe your best course would be to tread lightly.ā - Walter White
Please help fix the problem with debuffs that would work properly. Sorry for the English language.
local Targethealth = 100 * UnitHealth("target") / UnitHealthMax("target")
local FocusHealth = 100 * UnitHealth("focus") / UnitHealthMax("focus")
local MouseoverHealth = 100 * UnitHealth("mouseover") / UnitHealthMax("mouseover")
---------------------------------------------------------------------------------------------
if not UnitBuffID("target",23920)
and not UnitBuffID("target",642)
and not UnitBuffID("target",4543
and not UnitBuffID("target",11402
and not UnitBuffID("target",34477)
and not UnitBuffID("target",47585) then
if Targethealth <= 20
and UnitPower("player", 14) >= 1
and not (UnitExists("focus") and PQR_SpellAvailable(80240)) then
SpellStopCasting()
CastSpellByName(GetSpellInfo(17877),"target")
return true
end
if UnitExists("focus")
and not UnitIsUnit("target", "focus")
and FocusHealth <= 20
and IsSpellInRange(tostring(GetSpellInfo(17877)), "focus") == 1
and UnitPower("player", 14) >= 1 then
SpellStopCasting()
CastSpellByName(GetSpellInfo(17877),"focus")
return true
end
if UnitExists("mouseover")
and not UnitIsUnit("target", "mouseover")
and MouseoverHealth <= 20
and IsSpellInRange(tostring(GetSpellInfo(17877)), "mouseover") == 1
and UnitPower("player", 14) >= 1 then
SpellStopCasting()
CastSpellByName(GetSpellInfo(17877),"mouseover")
return true
end
I dont even know what you've posted there, its a mishmash of abilities
17877 is Shadowburn but that isnt the code from the shadowburn ability in 1.55 so I would suggest redownloading the latest version
Updated to 1.6, minor update to fix the bug Sivers found
Well done bud!
Wanted to give props where they were due. Mavmins I freaking love your profile. I haven't been able to get it to work my PQI has been messed up I redownloaded it and pulled 120k on First boss in tot. Thanks much!!! and keep up the good work.
Will the Fire and Brimstone change with 5.3 require a modification to the profile for AoE mode?