<?xml version="1.0" encoding="utf-8" ?>
- <WARLOCK>
- <Ability>
<Name>Destro - Curse of the Elements</Name>
<Default>false</Default>
<SpellID>1490</SpellID>
<Actions />
<Lua>local dbCotEPlayer, _, _, _, _, _, CotEexpireTime = UnitDebuffID("target", 1490, "PLAYER"

local dbCotE = UnitDebuffID("target", 1490) local dbJinx = UnitDebuffID("target", 85547) local dbEaM = UnitDebuffID("target", 60433) local dbEP = UnitDebuffID("target", 65142) local dbFB = UnitDebuffID("target", 34889) local dbLB = UnitDebuffID("target", 24844) local dbMP = UnitDebuffID("target", 9306

if IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then if dbCotEPlayer ~= nil then if CotEexpireTime - GetTime() < 1.5 then return true end elseif dbCotE ~= nil or dbEaM ~= nil or dbEP ~= nil or dbFB ~= nil or dbLB ~= nil or dbMP ~= nil or dbJinx ~= nil then return false else return true end end</Lua>
<RecastDelay>500</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Soul fire</Name>
<Default>false</Default>
<SpellID>6353</SpellID>
<Actions />
<Lua>local hasSoulburn = UnitBuffID("player", 74434) local SoulFireCheck, _, _, _, _, _, SoulFireExpire = UnitBuffID("player", 18120) local heroism = UnitBuffID("player", 32182) local lust = UnitBuffID("player", 2825) local warp = UnitBuffID("player", 80353) local hysteria = UnitBuffID("player", 90355) local levelCheck = UnitLevel("target"

local empoweredImp = UnitBuffID("player", 47221) if IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then if hasSoulburn ~= nil then CastSpellByName(tostring(GetSpellInfo(74434))) -- Soulburn return true end if empoweredImp ~= nil then CastSpellByName(tostring(GetSpellInfo(74434))) -- Soulburn return true end if heroism ~= nil or lust ~= nil or warp ~= nil or hysteria ~= nil then if SoulFireCheck == nil then CastSpellByName(tostring(GetSpellInfo(74434))) -- Soulburn return true end end if SoulFireCheck == nil then CastSpellByName(tostring(GetSpellInfo(74434))) -- Soulburn return true else SoulFireExpire = SoulFireExpire - GetTime() if SoulFireExpire < 3.5 then CastSpellByName(tostring(GetSpellInfo(74434))) -- Soulburn return true end end end</Lua>
<RecastDelay>500</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Immolate</Name>
<Default>false</Default>
<SpellID>348</SpellID>
<Actions />
<Lua>local debuffImmolate, _, _, _, _, _, ImmolateExpire = UnitDebuffID("target", 348, "PLAYER"

if IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then if debuffImmolate == nil then return true else ImmolateExpire = ImmolateExpire - GetTime() if ImmolateExpire < 3 then return true end end end</Lua>
<RecastDelay>500</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Conflagrate</Name>
<Default>false</Default>
<SpellID>17962</SpellID>
<Actions />
<Lua>local debuffImmolate, _, _, _, _, _, ImmolateExpire = UnitDebuffID("target", 348, "PLAYER"

if IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then if debuffImmolate ~= nil then ImmolateExpire = ImmolateExpire - GetTime() if ImmolateExpire > 3.5 then return true end end end</Lua>
<RecastDelay>0</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Bane of Doom</Name>
<Default>false</Default>
<SpellID>603</SpellID>
<Actions />
<Lua>local baneDoomDebuff = UnitDebuffID("target", 603, "PLAYER"

if IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then if baneDoomDebuff == nil then return true end end</Lua>
<RecastDelay>500</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Corruption</Name>
<Default>false</Default>
<SpellID>172</SpellID>
<Actions />
<Lua>local dbCorruption, _, _, _, _, _, CorruptionExpire = UnitDebuffID("target", 172, "PLAYER"

if IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then if dbCorruption ~= nil then CorruptionExpire = (CorruptionExpire - GetTime()) if CorruptionExpire < .5 then return true end else return true end end</Lua>
<RecastDelay>500</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Chaos Bolt</Name>
<Default>false</Default>
<SpellID>50796</SpellID>
<Actions />
<Lua>return true</Lua>
<RecastDelay>0</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Shadowburn</Name>
<Default>false</Default>
<SpellID>17877</SpellID>
<Actions />
<Lua>local unithealth = 100 * UnitHealth("target"

/ UnitHealthMax("target"

if IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then if unithealth <= 20 then return true end end</Lua>
<RecastDelay>0</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Incinerate</Name>
<Default>false</Default>
<SpellID>29722</SpellID>
<Actions />
<Lua>return true</Lua>
<RecastDelay>500</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Fel Flame</Name>
<Default>false</Default>
<SpellID>77799</SpellID>
<Actions />
<Lua>local felSpark = UnitBuffID("player", 89937) if IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then if PQR_IsMoving(1) then return true end if felSpark ~= nil then return true end end</Lua>
<RecastDelay>0</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Shadowfury</Name>
<Default>false</Default>
<SpellID>0</SpellID>
<Actions />
<Lua>if IsAltKeyDown() and GetCurrentKeyBoardFocus() == nil and UnitChannelInfo("player"

== nil then CastSpellByName(tostring(GetSpellInfo(30283))) if SpellIsTargeting() then CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() end return true end</Lua>
<RecastDelay>0</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Rain of Fire</Name>
<Default>false</Default>
<SpellID>0</SpellID>
<Actions />
<Lua>if IsShiftKeyDown() and GetCurrentKeyBoardFocus() == nil then CastSpellByName(tostring(GetSpellInfo(5740))) if SpellIsTargeting() then CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() end return true end</Lua>
<RecastDelay>500</RecastDelay>
<Target>Target</Target>
<CancelChannel>True</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - OMGHEAL!!!</Name>
<Default>false</Default>
<SpellID>0</SpellID>
<Actions />
<Lua>if IsControlKeyDown() and UnitChannelInfo("player"

== nil then CastSpellByName(tostring(GetSpellInfo(47541))) -- Death Coil CastSpellByName(tostring(GetSpellInfo(6229))) -- Shadow Ward CastSpellByName(tostring(GetSpellInfo(74434))) -- Soulburn CastSpellByName(tostring(GetSpellInfo(689))) -- Drain Life end</Lua>
<RecastDelay>0</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Demon Soul</Name>
<Default>false</Default>
<SpellID>77801</SpellID>
<Actions />
<Lua>if IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then return true end</Lua>
<RecastDelay>500</RecastDelay>
<Target>Player</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Fading Lights</Name>
<Default>false</Default>
<SpellID>0</SpellID>
<Actions />
<Lua>-- Fading Light local FL = {105925, 109075, 110068, 110069, 110070, 110078, 110079, 110080} for i,v in ipairs(FL) do local _,_,_,_,_,_,flight = UnitDebuffID("player", v) if flight and flight - GetTime() < .6 then RunMacroText("/click ExtraActionButton1"

end end -- Hour of Twilight local HoTcast,_,_,_,_,endtime = UnitCastingInfo("boss1"

local HoT = {109415, 106371, 109416, 109415, 109417} for i,v in ipairs(HoT) do if HoTcast == GetSpellInfo(v) and endtime/1000 - GetTime() < .4 then RunMacroText("/click ExtraActionButton1"

end end -- Madness local _,_,_,_,_,_,shrapnel = UnitDebuff("player","Shrapnel"

if shrapnel and shrapnel - GetTime() < 1 then RunMacroText("/click ExtraActionButton1"

end</Lua>
<RecastDelay>0</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Bane of Agony</Name>
<Default>false</Default>
<SpellID>980</SpellID>
<Actions />
<Lua>local baneAgonyDebuff = UnitDebuffID("target", 980, "PLAYER"

if IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then if baneAgonyDebuff == nil then return true end end</Lua>
<RecastDelay>500</RecastDelay>
<Target>Target</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Bane of Agony MO</Name>
<Default>false</Default>
<SpellID>980</SpellID>
<Actions />
<Lua>local baneAgony , _, _, _, _, _, timer = UnitDebuffID("mouseover", 980, "player"

if IsSpellKnown(980) and UnitExists("mouseover"

and IsSpellInRange(tostring(GetSpellInfo(980)), "mouseover"

then if baneAgony then if timer - GetTime() <= 1 then return true end else return true end end</Lua>
<RecastDelay>100</RecastDelay>
<Target>Mouseover</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
- <Ability>
<Name>Destro - Corruption MO</Name>
<Default>false</Default>
<SpellID>172</SpellID>
<Actions />
<Lua>local dbCorruption, _, _, _, _, _, timer = UnitDebuffID("mouseover", 172, "player"

if IsSpellKnown(172) and UnitExists("mouseover"

and IsSpellInRange(tostring(GetSpellInfo(172)), "mouseover"

then if dbCorruption then if timer - GetTime() <= 1 then return true end else return true end end</Lua>
<RecastDelay>500</RecastDelay>
<Target>Mouseover</Target>
<CancelChannel>False</CancelChannel>
<LuaBefore />
<LuaAfter />
</Ability>
</WARLOCK>