Originally Posted by
mentally
All dots scale with Intellect/haste (Similarily how Death Knight's dots scale with Attack Power and Haste iirc?), therefore it makes sense even for Shadow Priests to dot clip. :P The stronger intellect and/or haste procs you have, the stronger your dots will be and refreshing the dots JUST AS and before they run out similarily extends the powered-up dot for another full duration. It's a DPS gain for every single DoT caster.
This is what I have been using I don't think its any more elegant than what you have. Probably worse but hey it works fine so I don't mind.
Code:
local VT, _, _, _, _, _, timer = UnitDebuffID("target", 34914, "PLAYER")
local target = UnitExists("target")
PQ_Lightweave = 75170
PQ_PowerTorrent = 74241
PQ_VolcanicPotion = 79476
PQ_SynapseSprings = 96230
PQ_Buffs = {
[PQ_Lightweave] = {check = true, hasBuff = false, endTime = nil},
[PQ_SynapseSprings] = {check = true, hasBuff = false, endTime = nil},
[PQ_VolcanicPotion] = {check = true, hasBuff = false, endTime = nil},
[PQ_PowerTorrent] = {check = true, hasBuff = false, endTime = nil}
}
function PQ_CheckForAllBuffs()
for k, v in pairs(PQ_Buffs) do
if PQ_Buffs[k].check == true and UnitBuffID('player', k) then
PQ_Buffs[k].hasBuff = true
PQ_Buffs[k].endTime = (select(7, UnitBuffID("player", k)))
end
end
end
function PQ_GetTimeLeftBuff(buff)
return PQ_Buffs[buff].endTime - GetTime()
end
PQ_CheckForAllBuffs()
if target == nil or PQR_IsMoving(1) or IsSpellInRange("Vampiric Touch", "target") ~= 1 then return false else
if PQ_Buffs[PQ_VolcanicPotion].hasBuff then
if PQ_GetTimeLeftBuff(PQ_VolcanicPotion) < 5 and timer - GetTime() < 10 then
return true
end
end
if PQ_Buffs[PQ_Lightweave].hasBuff then
if PQ_GetTimeLeftBuff(PQ_Lightweave) < 5 and timer - GetTime() < 10 then
return true
end
end
if PQ_Buffs[PQ_PowerTorrent].hasBuff then
if PQ_GetTimeLeftBuff(PQ_PowerTorrent) < 5 and timer - GetTime() < 10 then
return true
end
end
if PQ_Buffs[PQ_SynapseSprings].hasBuff then
if PQ_GetTimeLeftBuff(PQ_SynapseSprings) < 5 and timer - GetTime() < 10 then
return true
end
end
end
Originally Posted by
couky
Awesome, finally a disci pve prist profil.
Thank you very much !

Thats kinda frustrating to read since I have posted 2 versions of my disc pve profile now. Kinda get the feeling profiles just get lost in the mess here, probably no point uploading them if people don't see them and use them.