[BETA] PQRotation - an automated ability priority queue. menu

User Tag List

Page 203 of 731 FirstFirst ... 103153199200201202203204205206207253303703 ... LastLast
Results 3,031 to 3,045 of 10955
  1. #3031
    GRB's Avatar Established Member CoreCoins Purchaser
    Reputation
    65
    Join Date
    Oct 2008
    Posts
    222
    Thanks G/R
    0/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by darv33 View Post
    I have this old Resto Druid Profile i have been using.. its old and has the old targeting , i dont know enuf too change the targeting too something like how bubba's holy profile works, or how i seen the resto shaman profile working, therefore i cannot make this profile work well in pvp.. can someone Edit this old Profile for me and add new targeting so i can target enemy's and still heal like a beast.. im also looking for someone too code my Druid too go bearform and stay bearform when he is under 30 percent health, unless my lifebloom isnt up... Could also use a Dispell bot for the REsto profile, THX this is what i got..

    Abilities


    Rotation


    Note this is not My profile , i just edited what i could....
    THX pvp season starts tomorrow, hope someone can help with this soon..
    If ur releasing profiles, please release them in *.xml files.

    Makes everyone life easyer.

    [BETA] PQRotation - an automated ability priority queue.
  2. #3032
    darv33's Avatar Private
    Reputation
    1
    Join Date
    Oct 2011
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Now if i can only get the Bubbles instead of the Quotes, it wont be such a long post... any help?

  3. #3033
    GRB's Avatar Established Member CoreCoins Purchaser
    Reputation
    65
    Join Date
    Oct 2008
    Posts
    222
    Thanks G/R
    0/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by darv33 View Post
    Now if i can only get the Bubbles instead of the Quotes, it wont be such a long post... any help?
    use the code option!

    [-code][/code]

    Remove the "-" simbol before the "-code"

  4. #3034
    trulygangster's Avatar Sergeant
    Reputation
    1
    Join Date
    Dec 2010
    Posts
    65
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can't seem to figure out what a proper Call of the elements code would look like any suggestions?

  5. #3035
    crystal_tech's Avatar Elite User
    Reputation
    468
    Join Date
    Feb 2008
    Posts
    1,033
    Thanks G/R
    1/6
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by trulygangster View Post
    I can't seem to figure out what a proper Call of the elements code would look like any suggestions?
    try
    API GetTotemInfo - WoWWiki - Your guide to the World of Warcraft
    or
    API GetMultiCastTotemSpells - WoWWiki - Your guide to the World of Warcraft

    for your apis

    or do a check for the buffs that the totoms give to the player, if its missing cast call of the elements and/or do a range check too
    Last edited by crystal_tech; 12-05-2011 at 11:19 PM.

  6. #3036
    trulygangster's Avatar Sergeant
    Reputation
    1
    Join Date
    Dec 2010
    Posts
    65
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot crystal its working so far. (:

  7. #3037
    gandarela's Avatar Member
    Reputation
    2
    Join Date
    Jun 2010
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kezzin86 View Post
    Here is an update for my shaman profiles. Use left control to drop totems, and shift to place Healing Rain. Removed Telluric currents (Add it into rotation if you have spec'd into it)
    Will interrupt, hex and purge certain effects off of your focus target.
    Intended for use with combat requirement disabled.

    SHAMAN_Abilities.xml

    SHAMAN_Rotations.xml

    Enjoy. Please provide feedback if you can think of improvements.
    hey Kezzin86 you think is possible make "Earthliving shield" be cast only on tank?

    or someone give a litle love to it..

    if someone explains how to do it, i can do it my self and even add new commands as leftshift heal out of combat, left control totens, left alt healing rain
    shamans need some love in there to

  8. #3038
    crystal_tech's Avatar Elite User
    Reputation
    468
    Join Date
    Feb 2008
    Posts
    1,033
    Thanks G/R
    1/6
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by gandarela View Post
    hey Kezzin86 you think is possible make "Earthliving shield" be cast only on tank?

    or someone give a litle love to it..

    if someone explains how to do it, i can do it my self and even add new commands as leftshift heal out of combat, left control totens, left alt healing rain
    shamans need some love in there to
    here is xmM hunter code for misdirection on the tank. I'm sure it can be modded for your code.
    Code:
    if UnitCanAttack("player","target") and UnitIsDead("target") == nil and UnitHealth("target") > UnitHealthMax("player") and UnitName("target") ~= "Raider's Training Dummy" and UnitInRaid("player") == nil then
    
    local havetank = nil
    local InParty = GetNumPartyMembers()
    if InParty > 0 then
      for i = 1, InParty, 1 do
      local member = "party"..tostring(i)
        if UnitGroupRolesAssigned(member) == "TANK" and UnitIsDead(member) == nil then
          if UnitThreatSituation(member,"target") ~= 3 and UnitInRange(member) then CastSpellByID(34477,member) end
          havetank = 1
        end
      end
    end
    if havetank == nil and UnitExists("pet") and UnitThreatSituation("pet","target") ~= 3 then return true end
    
    end

  9. #3039
    Sophronius69's Avatar Private
    Reputation
    1
    Join Date
    Oct 2011
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I posted the whole files in code in my orginial post. I will pm you the rotation part i guess as I just snipped that and was trying to have users paste that into the existing bubba file... PM incoming[/QUOTE]

    Hey Imdasandman

    I'm having the same issues think you can pm me the files aswell? would greatly appreciate it. Many thanks

  10. #3040
    gandarela's Avatar Member
    Reputation
    2
    Join Date
    Jun 2010
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by crystal_tech View Post
    here is xmM hunter code for misdirection on the tank. I'm sure it can be modded for your code.
    Code:
    if UnitCanAttack("player","target") and UnitIsDead("target") == nil and UnitHealth("target") > UnitHealthMax("player") and UnitName("target") ~= "Raider's Training Dummy" and UnitInRaid("player") == nil then
    
    local havetank = nil
    local InParty = GetNumPartyMembers()
    if InParty > 0 then
      for i = 1, InParty, 1 do
      local member = "party"..tostring(i)
        if UnitGroupRolesAssigned(member) == "TANK" and UnitIsDead(member) == nil then
          if UnitThreatSituation(member,"target") ~= 3 and UnitInRange(member) then CastSpellByID(34477,member) end
          havetank = 1
        end
      end
    end
    if havetank == nil and UnitExists("pet") and UnitThreatSituation("pet","target") ~= 3 then return true end
    
    end
    thanks it is very helpfull i tryed to find it on priest and dudu spells, didnt remembered missdirection ^^

    12-08-2011 is a holiday here in port so i'll have all day to mess with this, as of right now i've a opengl school work to finish till tomorow a sql db till monday to deliver also..

  11. #3041
    brutal's Avatar Member
    Reputation
    1
    Join Date
    Jun 2007
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Need to change code from Assist tank to Assist focus
    any one that can do that for me ?
    since i have different dps that i wanna trick ....


    "if UnitCanAttack("player","target") and UnitIsDead("target") == nil and UnitHealth("target") > UnitHealthMax("player") and UnitName("target") ~= "Raider's Training Dummy" and UnitInRaid("player") == nil then

    local InParty = GetNumPartyMembers()
    if InParty > 0 then
    for i = 1, InParty, 1 do
    local member = "party"..tostring(i)
    if UnitGroupRolesAssigned(member) == "TANK" and UnitIsDead(member) == nil then
    if UnitThreatSituation(member,"target") ~= 3 and UnitInRange(member) then CastSpellByID(57934,member) end
    end
    end
    end

    end"

  12. #3042
    byronm's Avatar Private
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, Not knowing anything about lua, how do i get a list unitbuffid and debuffid ... not the ones I have... just a list of the possibilities

    also... does the spell id change with spec or are they fixed... just I read that the id was an integer based on what spells you have in the spellbook... or is there a global list and the spellid will be the same regardless of class\spec

    eg shadow priest and holy priest would have the same spellid

  13. #3043
    GRB's Avatar Established Member CoreCoins Purchaser
    Reputation
    65
    Join Date
    Oct 2008
    Posts
    222
    Thanks G/R
    0/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Updated PQR-PU (PQR-PU (PQR-Profile Updater))

    Added my own feral pvp/arena druid profile there!
    Also cleaned up the code to be faster!

  14. #3044
    Discipline's Avatar Contributor ALADEEN MOTHERFUCKER! CoreCoins Purchaser
    Reputation
    128
    Join Date
    Dec 2007
    Posts
    253
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by imdasandman View Post
    I have been getting a few PMs about people not being able to get the Powerfrost DK rotation to work with Bubb's framework/code... I am going to post my modified files here but they are still 95% of Bubb's work and honestly all the credit goes to him as any monkey can tweak values like me.

    also these files still has all of Bubb's other rotations/abilites so don't worry about losing your rotation... take the extracted files and overwrite the old bubba files. Enjoy.
    Also please follow the EJ guidlines I had posted about reforging/stat weights... enjoy
    http://www.ownedcore.com/forums/worl...queue-197.html ([BETA] PQRotation - an automated ability priority queue.)

    Attachment 5373

    Before mods approve the attachment, i fixed the code. PQR had a problem with the & sign when there was Fr&Uh rune, it was misinterpreted. I just removed those, the functionality is the same.

    ROTATIONS:
    Code:
    <?xml version="1.0" encoding="utf-8" ?><DEATHKNIGHT><Rotation><RotationName>Frost 4.2 Dps</RotationName><RotationDefault>false</RotationDefault><RotationList>No Dismount|F - Pause|F - Chains of Ice MO|F - Death Grip MO|F - Horn of Winter|F - Enemy|F - Pillar of Frost|F - Raise Dead|F - Blood Tap(2 Rune)|F - Obliterate(Proc)|F - Howling Blast (proc)|F - Death Strike|F - Obliterate(Fr Uh rune)|F - Obliterate(Death Rune)|F - Outbreak|F - Plague Strike|F - Obliterate|F - Frost Strike(Proc)|F - Frost Strike(RP cap)|F - Frost Strike|F - Howling Blast|F - Blood Tap|F - Health Stone</RotationList><RequireCombat>false</RequireCombat><RotationNotes>*Notes* -) Hold Down Left Control - Death Grip Mouseover -) Hold Down Shift - Pause -) Holy Down Left Alt - Chains Mouseover</RotationNotes></Rotation><Rotation><RotationName>Frost AOE</RotationName><RotationDefault>false</RotationDefault><RotationList>F - Pause|F - Blood Tap(2 Rune)|F - Pillar of Frost|F - Raise Dead|F - Horn of Winter|F - Howling Blast(Fever)|F - Howling Blast (proc)|F - Blood Boil|F - Howling Blast|F - Frost Strike(Proc)|F - Frost Strike|F - Blood Tap</RotationList><RequireCombat>true</RequireCombat><RotationNotes>*Notes* -) Hold Down Control - Death Grip Target -) Hold Down Shift - Pause</RotationNotes></Rotation><Rotation><RotationName>Unholy 4.2 DPS</RotationName><RotationDefault>false</RotationDefault><RotationList>No Dismount|U - Pause|U - Death Grip MO|U - Chains of Ice MO|U - Horn of Winter|U - Raise Dead|U - Enemy|U - Dark Transformation|U - Death Coil (Proc)|U - Unholy Frenzy|U - Gargoyle|U - Death Coil(pet-test)|U - Outbreak|U - Icy Touch|U - Plague Strike|U - Scourge Strike|U - Festering Strike|U - Blood Strike|U - Empower Rune Weapon|U - Blood Tap|U - Health Stone</RotationList><RequireCombat>false</RequireCombat><RotationNotes>*Notes* -) Hold Down Left Control - Death Grip Mouseover -) Hold Down Shift - Pause -) Holy Down Left Alt - Chains Mouseover</RotationNotes></Rotation><Rotation><RotationName>Unholy AOE</RotationName><RotationDefault>false</RotationDefault><RotationList>U - Pause|U - Raise Dead|U - Dark Transformation|U - Death Coil (Proc)|U - Death Coil(pet-test)|U - Horn of Winter|U - Outbreak|U - Icy Touch|U - Plague Strike|U - Scourge Strike|U - Festering Strike|U - Blood Boil</RotationList><RequireCombat>true</RequireCombat><RotationNotes>*Notes* -) Hold Down Shift - Pause</RotationNotes></Rotation><Rotation><RotationName>Unholy PVP (Test)</RotationName><RotationDefault>false</RotationDefault><RotationList>No Dismount|U - Chains of Ice|U - Death Grip|U - Gargoyle PVP|U - Unholy Frenzy PVP|U - Raise Dead|U - Dark Transformation|U - Death Coil (Proc)|U - Outbreak|U - Icy Touch|U - Plague Strike|U - Scourge Strike|U - Death Coil(pet-test)|U - Festering Strike|U - Blood Strike|U - Empower Rune Weapon PVP|U - Blood Tap|U - Health Stone</RotationList><RequireCombat>true</RequireCombat><RotationNotes>*Notes* -) Removed level restrictions on CD&amp;apos;s so you will use them whenever they are up and you&amp;apos;re attacking someone. -) Hold Down Shift - Chains of Ice Target -) Hold Down Control - Death Grip Target</RotationNotes></Rotation><Rotation><RotationName>Frost PVP (Test)</RotationName><RotationDefault>false</RotationDefault><RotationList>No Dismount|Mind Freeze|F - Chains of Ice|F - Death Grip|F - Pillar of Frost PVP|F - Blood Tap(2 Rune)|F - Horn of Winter|F - Frost Strike(RP cap)|F - Howling Blast (proc)|F - Obliterate(Proc)|F - Necrotic Strike|F - Obliterate(Fr Uh rune)|F - Obliterate(Death Rune)|F - Outbreak|F - Death Strike|F - Frost Strike(Proc)|F - Plague Strike|F - Obliterate|F - Frost Strike|F - Howling Blast|F - Health Stone|F - Empower Rune Weapon PVP|F - Blood Tap</RotationList><RequireCombat>true</RequireCombat><RotationNotes>*Notes* -) Removed level restrictions on CD&amp;apos;s so you will use them whenever they are up and you&amp;apos;re attacking someone. -) Hold Down Shift - Chains of Ice Target -) Hold Down Control - Death Grip Target</RotationNotes></Rotation><Rotation><RotationName>Blood Tank</RotationName><RotationDefault>false</RotationDefault><RotationList>No Dismount|B - Pause|B - Bone Shield|B - Death Grip|B - Dark Command|B - Rune Tap (Proc)|B - Blood Boil (Proc)|B - Death Strike|B - Horn of Winter|B - Outbreak|B - Icy Touch|B - Plague Strike|B - Rune Strike (RP Save)|B - Heart Strike|B - Death Strike(BS)|B - Heart Strike(2 Rune)|B - Rune Tap|B - Empower Rune Weapon|B - Blood Tap|B - Health Stone</RotationList><RequireCombat>true</RequireCombat><RotationNotes>*Notes* -) Hold Down Left Shift - Pause -) Hold Down Left Control - Deaht Grip -) Hold Down Left Alt - Dark Command -) Hold Down Right Shift - Chains of Ice</RotationNotes></Rotation><Rotation><RotationName>Blood Tank AOE</RotationName><RotationDefault>false</RotationDefault><RotationList>B - Pause|B - Pestilence (Mod)|B - Bone Shield|B - Death Grip|B - Dark Command|B - Rune Tap (Proc)|B - Death Strike|B - Blood Boil (Proc)|B - Outbreak|B - Icy Touch|B - Plague Strike|B - Blood Boil|B - Death Strike(BS)|B - Rune Tap|B - Rune Strike|B - Horn of Winter|B - Empower Rune Weapon|B - Blood Tap|B - Health Stone</RotationList><RequireCombat>true</RequireCombat><RotationNotes>*Notes* -) Hold Down Left Shift - Pause -) Hold Down Left Control - Deaht Grip -) Hold Down Left Alt - Dark Command -) Hold Down Right Alt - Pestilence</RotationNotes></Rotation><Rotation><RotationName>Powerfrost</RotationName><RotationDefault>false</RotationDefault><RotationList>No Dismount|F - Pause|F - Horn of Winter|F - Enemy|F - Pillar of Frost|F - Raise Dead|F - Blood Tap(2 Rune)|F - Outbreak|F - Plague Strike|F - Obliterate(Fr Uh rune)|F - Obliterate(Death Rune)|F - Frost Strike(RP cap)|F - Obliterate(2UH)|F - Howling Blast (proc)|F - Frost Strike(Proc)|F - Howling Blast(&amp;lt;90rp)|F - Frost Strike(&amp;gt;90rp)|F - Howling Blast(&amp;lt;60rp)|F - Howling Blast|F - Howling Blast(&amp;gt;60rp)|F - Frost Strike(&amp;gt;60rp)</RotationList><RequireCombat>false</RequireCombat><RotationNotes>*Notes* -) Hold Down Left Control - Death Grip Mouseover -) Hold Down Shift - Pause -) Holy Down Left Alt - Chains Mouseover</RotationNotes></Rotation></DEATHKNIGHT>

    ABILITIES:
    Code:
    <?xml version="1.0" encoding="utf-8" ?><DEATHKNIGHT><Ability><Name>B - Rune Tap (Proc)</Name><Default>false</Default><SpellID>48982</SpellID><Actions></Actions><Lua>local WofN3 = UnitBuffID(&quot;player&quot;, 81164)
    local WofN2 = UnitBuffID(&quot;player&quot;, 81163)
    local WofN1 = UnitBuffID(&quot;player&quot;, 52284)
    local CD = GetSpellCooldown(48982)
    
    if WotN3 ~= nil or WotN2 ~= nil or WotN1 ~= nil then
    if CD ~= nil then
    return true
    end
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Pause</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>if IsShiftKeyDown() then
    return true
    end</Lua><RecastDelay>3000</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Icy Touch</Name><Default>false</Default><SpellID>45477</SpellID><Actions></Actions><Lua>local dbFrostFever, _, _, _, _, _, dbexpire = UnitDebuffID(&quot;target&quot;,55095, &quot;player&quot;)
    
    if dbFrostFever ~= nil then        
        dbexpire =(dbexpire - GetTime())
        if dbexpire &lt; 4 then
            RunMacroText(&quot;/startattack&quot;)
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Raise Dead</Name><Default>false</Default><SpellID>46584</SpellID><Actions></Actions><Lua>local UnholySTR =  UnitBuffID(&quot;player&quot;, 53365)
    local PillarOfFrost =  UnitBuffID(&quot;player&quot;,51271)
    
    if UnitLevel(&quot;target&quot;) &gt;= 87 or UnitLevel(&quot;target&quot;) == -1 then 
        if UnitHealth(&quot;target&quot;) &gt; 300000  then
                return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Chains of Ice</Name><Default>false</Default><SpellID>45524</SpellID><Actions></Actions><Lua>if IsRightShiftKeyDown() and GetCurrentKeyBoardFocus() == nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Howling Blast</Name><Default>false</Default><SpellID>49184</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Death Coil (Proc)</Name><Default>false</Default><SpellID>47541</SpellID><Actions></Actions><Lua>local SDProc = UnitBuffID(&quot;player&quot;,49530)
    
    if SDProc ~= nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Blood Strike</Name><Default>false</Default><SpellID>45902</SpellID><Actions></Actions><Lua>local _,_,R5 = GetRuneCooldown(5)
    local _,_,R6 = GetRuneCooldown(6)
    
    if  R5 == false and R6 == false then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Pause</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>if IsLeftShiftKeyDown() and GetCurrentKeyBoardFocus() == nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Pause</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>if IsShiftKeyDown() then
    return true
    end</Lua><RecastDelay>3000</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Empower Rune Weapon</Name><Default>false</Default><SpellID>47568</SpellID><Actions></Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    local _,_,R3 = GetRuneCooldown(3)
    local _,_,R4 = GetRuneCooldown(4)
    local _,_,R5 = GetRuneCooldown(5)
    local _,_,R6 = GetRuneCooldown(6)
    local levelCheck = UnitLevel(&quot;target&quot;)
    
    if levelCheck ~= -1 then
        --boss level returns as -1
        return false
    else
        if  R1 == false and R2 == false and R3 == false and R4 == false and R5 == false and R6 == false then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Icy Touch</Name><Default>false</Default><SpellID>45477</SpellID><Actions></Actions><Lua>local dbFrostFever, _, _, _, _, _, dbexpire = UnitDebuffID(&quot;target&quot;,55095, &quot;player&quot;)
    
    if dbFrostFever ~= nil then        
        dbexpire =(dbexpire - GetTime())
        if dbexpire &lt; 4 then
            RunMacroText(&quot;/startattack&quot;)
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Necrotic Strike</Name><Default>false</Default><SpellID>73975</SpellID><Actions></Actions><Lua>local NecroticStrike =  UnitDebuffID(&quot;target&quot;, 73975)
    
    If NecroticStrike ~= nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Frost Strike</Name><Default>false</Default><SpellID>49143</SpellID><Actions></Actions><Lua>if  UnitPower(&quot;player&quot;) &gt; 60 then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Pillar of Frost</Name><Default>false</Default><SpellID>51271</SpellID><Actions></Actions><Lua>if UnitHealth(&quot;target&quot;) &gt;= 300000  then 
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Necrotic Strike</Name><Default>false</Default><SpellID>73975</SpellID><Actions></Actions><Lua>local NS = UnitDebuffID(&quot;target&quot;, 73975)
    local thealth = 100 * UnitHealth(&quot;target&quot;) / UnitHealthMax(&quot;target&quot;)
    
    if NS == nil then
    if thealth &gt; 50 then
    return true
    end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Necrotic Strike</Name><Default>false</Default><SpellID>73975</SpellID><Actions></Actions><Lua>local NecroticStrike =  UnitDebuffID(&quot;target&quot;, 73975)
    
    If NecroticStrike ~= nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Death Grip</Name><Default>false</Default><SpellID>49576</SpellID><Actions></Actions><Lua>if IsControlKeyDown() then
    return true
    end</Lua><RecastDelay>100</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Howling Blast (Lust)</Name><Default>false</Default><SpellID>49184</SpellID><Actions></Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    local _,_,R3 = GetRuneCooldown(3)
    local _,_,R4 = GetRuneCooldown(4)
    local heroism = UnitBuffID(&quot;player&quot;, 32182)
    local lust = UnitBuffID(&quot;player&quot;, 2825)
    local warp = UnitBuffID(&quot;player&quot;, 80353)
    local hysteria = UnitBuffID(&quot;player&quot;, 90355)
    
    if heroism ~= nil or lust ~= nil or warp ~= nil or hysteria ~= nil then
        if R1 == false and R2 == false and R3 == false and R4 == false then 
            RunMacroText(&quot;/startattack&quot;)
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Plague Strike</Name><Default>false</Default><SpellID>45462</SpellID><Actions></Actions><Lua>local dbBloodPlague, _, _, _, _, _, BloodPlagueExpire = UnitDebuffID(&quot;target&quot;,59879, &quot;player&quot;)
    
    if  dbBloodPlague ~= nil then
        --cast if debuff has &lt; 5 sec left
        BloodPlagueExpire =(BloodPlagueExpire - GetTime())
        if BloodPlagueExpire &lt; 5 then
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Chains of Ice</Name><Default>false</Default><SpellID>45524</SpellID><Actions></Actions><Lua>if IsShiftKeyDown() then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Raise Dead(Pillar)</Name><Default>false</Default><SpellID>46584</SpellID><Actions></Actions><Lua>local UnholySTR =  UnitBuffID(&quot;player&quot;, 53365)
    local PillarOfFrost =  UnitBuffID(&quot;player&quot;,51271)
    
    if UnitLevel(&quot;target&quot;) &gt;= 88 or UnitLevel(&quot;target&quot;) == -1 then 
        if UnitHealth(&quot;target&quot;) &gt; 300000  then
            if UnholySTR ~= nil and PillarOfFrost ~= nil then
                return true
            end
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Apparatus of Khaz&apos;goroth</Name><Default>false</Default><SpellID>0</SpellID><Actions>/use 14</Actions><Lua>local buff,_,_,TPCount = UnitAura(&quot;player&quot;,&quot;Titanic Power&quot;)
    local CD = GetItemCooldown(&quot;68972&quot;)
    
    if buff ~= nil then
        if CD ~= true and TPCount == 5 and UnitHealth(&quot;target&quot;) &gt;= 300000 then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Obliterate</Name><Default>false</Default><SpellID>49020</SpellID><Actions>/use 10</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Scourge Strike</Name><Default>false</Default><SpellID>55090</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Howling Blast (proc)</Name><Default>false</Default><SpellID>49184</SpellID><Actions>/startattack</Actions><Lua>local FreezingFog = UnitBuffID(&quot;player&quot;, 59052)
    if FreezingFog ~= nil then
        RunMacroText(&quot;/startattack&quot;)
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Obliterate(Death Rune)</Name><Default>false</Default><SpellID>49020</SpellID><Actions>/use 10</Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    
    if  R1 == true and R2 == true then
        RunMacroText(&quot;/startattack&quot;)
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Pestilence</Name><Default>false</Default><SpellID>50842</SpellID><Actions></Actions><Lua>local BloodPlague = UnitDebuffID(&quot;target&quot;,59879, &quot;player&quot;)
    local CD = GetSpellCooldown(50842)
    
    if BloodPlague ~= nil then
        if CD ~= nil then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Pestilence</Name><Default>false</Default><SpellID>50842</SpellID><Actions></Actions><Lua>local BloodPlague = UnitDebuffID(&quot;target&quot;,59879, &quot;player&quot;)
    local CD = GetSpellCooldown(50842)
    
    if BloodPlague ~= nil then
        if CD ~= nil then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Howling Blast(Fever)</Name><Default>false</Default><SpellID>49184</SpellID><Actions></Actions><Lua>local dbFrostFever, _, _, _, _, _, dbexpire = UnitDebuffID(&quot;target&quot;,55095, &quot;player&quot;)
    
    if dbFrostFever ~= nil then        
        dbexpire =(dbexpire - GetTime())
        if dbexpire &lt; 4 then
            RunMacroText(&quot;/startattack&quot;)
            return true
        end
    else
        RunMacroText(&quot;/startattack&quot;)
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Obliterate(Fr Uh rune)</Name><Default>false</Default><SpellID>49020</SpellID><Actions>/use 10</Actions><Lua>local _,_,R3 = GetRuneCooldown(3)
    local _,_,R4 = GetRuneCooldown(4)
    local _,_,R5 = GetRuneCooldown(5)
    local _,_,R6 = GetRuneCooldown(6)
    
    if  R3 == true and R4 == true and R5 == true and R6 == true then
        RunMacroText(&quot;/startattack&quot;)
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Essence of the Eternal Flame</Name><Default>false</Default><SpellID>0</SpellID><Actions>/use 13</Actions><Lua>local CD = GetItemCooldown(&quot;69002&quot;)
        
        if CD ~= nil and UnitHealth(&quot;target&quot;) &gt;= 300000 then
            return true
        end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Blood Tap(2 Rune)</Name><Default>false</Default><SpellID>45529</SpellID><Actions></Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    
    
    if  R1 == false or R2 == false then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Empower Rune Weapon</Name><Default>false</Default><SpellID>47568</SpellID><Actions></Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    local _,_,R3 = GetRuneCooldown(3)
    local _,_,R4 = GetRuneCooldown(4)
    local _,_,R5 = GetRuneCooldown(5)
    local _,_,R6 = GetRuneCooldown(6)
    local levelCheck = UnitLevel(&quot;target&quot;)
    
    if levelCheck ~= -1 then
        --boss level returns as -1
        return false
    else
        if  R1 == false and R2 == false and R3 == false and R4 == false and R5 == false and R6 == false then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Obliterate(Proc)</Name><Default>false</Default><SpellID>49020</SpellID><Actions>/use 10</Actions><Lua>local KMProc = UnitBuffID(&quot;player&quot;,51128)
    
    if KMProc ~= nil then
        RunMacroText(&quot;/startattack&quot;)
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Scourge Strike</Name><Default>false</Default><SpellID>55090</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Death Coil(pet-test)</Name><Default>false</Default><SpellID>47541</SpellID><Actions></Actions><Lua>local DarkTransformation = UnitBuffID(&quot;pet&quot;, 63560)
    
    if DarkTransformation == nil then
    return true
    end
    
    if IsAltKeyDown() then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Death Coil</Name><Default>false</Default><SpellID>47541</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Death Coil(rp-cap)</Name><Default>false</Default><SpellID>47541</SpellID><Actions></Actions><Lua>if UnitPower(&quot;player&quot;) &gt;= 70 then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Gargoyle PVP</Name><Default>false</Default><SpellID>49206</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Outbreak</Name><Default>false</Default><SpellID>77575</SpellID><Actions></Actions><Lua>local dbBloodPlague, _, _, _, _, _, BloodPlagueExpire = UnitDebuffID(&quot;target&quot;,59879, &quot;player&quot;)
    
    if  dbBloodPlague ~= nil then
        BloodPlagueExpire =(BloodPlagueExpire - GetTime())
        if BloodPlagueExpire &lt; 4 then
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Empower Rune Weapon PVP</Name><Default>false</Default><SpellID>47568</SpellID><Actions></Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    local _,_,R3 = GetRuneCooldown(3)
    local _,_,R4 = GetRuneCooldown(4)
    local _,_,R5 = GetRuneCooldown(5)
    local _,_,R6 = GetRuneCooldown(6)
    
        if  R1 == false and R2 == false and R3 == false and R4 == false and R5 == false and R6 == false then
            return true
        end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Health Stone</Name><Default>false</Default><SpellID>5512</SpellID><Actions></Actions><Lua>local myhealth = 100 * UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;)
    if myhealth &lt;= 20 then 
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Blood Tap(2 Rune)</Name><Default>false</Default><SpellID>45529</SpellID><Actions></Actions><Lua>local PC = UnitAffectingCombat(&quot;player&quot;)
    local EC = UnitAffectingCombat(&quot;target&quot;)
    -- local EC = true
    local time1,dur1,d1=GetRuneCooldown(1)
    local time2,dur2,d2=GetRuneCooldown(2)
    
    if PC and EC then
       if not d1 or not d1 and not d2 then
          if time1 + dur1 - GetTime() &gt; 2 then
             return true
          end
       elseif not d2 then
          if time2 + dur2 - GetTime() &gt; 2 then
             return true
          end
       end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Pestilence</Name><Default>false</Default><SpellID>50842</SpellID><Actions></Actions><Lua>local BloodPlague = UnitDebuffID(&quot;target&quot;,59879, &quot;player&quot;)
    local CD = GetSpellCooldown(50842)
    
    if BloodPlague ~= nil then
        if CD ~= nil then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Empower Rune Weapon PVP</Name><Default>false</Default><SpellID>47568</SpellID><Actions></Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    local _,_,R3 = GetRuneCooldown(3)
    local _,_,R4 = GetRuneCooldown(4)
    local _,_,R5 = GetRuneCooldown(5)
    local _,_,R6 = GetRuneCooldown(6)
    
        if  R1 == false and R2 == false and R3 == false and R4 == false and R5 == false and R6 == false then
            return true
        end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Horn of Winter</Name><Default>false</Default><SpellID>57330</SpellID><Actions></Actions><Lua>local Horn, _, _, _, _, _, hwexpire = UnitBuffID(&quot;player&quot;, 57330)
    
    if Horn ~= nill then
        hwexpire =(hwexpire - GetTime())
        if hwexpire &lt; 5 then
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Horn of Winter</Name><Default>false</Default><SpellID>57330</SpellID><Actions></Actions><Lua>local Horn, _, _, _, _, _, hwexpire = UnitBuffID(&quot;player&quot;, 57330)
    
    if Horn ~= nill then
        hwexpire =(hwexpire - GetTime())
        if hwexpire &lt; 5 then
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Plague Strike</Name><Default>false</Default><SpellID>45462</SpellID><Actions></Actions><Lua>local dbBloodPlague, _, _, _, _, _, BloodPlagueExpire = UnitDebuffID(&quot;target&quot;,59879, &quot;player&quot;)
    
    if  dbBloodPlague ~= nil then
        --cast if debuff has &lt; 4 sec left
        BloodPlagueExpire =(BloodPlagueExpire - GetTime())
        if BloodPlagueExpire &lt; 4 then
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Outbreak</Name><Default>false</Default><SpellID>77575</SpellID><Actions></Actions><Lua>local dbBloodPlague, _, _, _, _, _, BloodPlagueExpire = UnitDebuffID(&quot;target&quot;,59879, &quot;player&quot;)
    
    if  dbBloodPlague ~= nil then
        BloodPlagueExpire =(BloodPlagueExpire - GetTime())
        if BloodPlagueExpire &lt; 4 then
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Horn of Winter</Name><Default>false</Default><SpellID>57330</SpellID><Actions></Actions><Lua>local Horn, _, _, _, _, _, hwexpire = UnitBuffID(&quot;player&quot;, 57330)
    
    if Horn ~= nill then
        hwexpire =(hwexpire - GetTime())
        if hwexpire &lt; 5 then
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Pillar of Frost PVP</Name><Default>false</Default><SpellID>51271</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Health Stone</Name><Default>false</Default><SpellID>5512</SpellID><Actions></Actions><Lua>local myhealth = 100 * UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;)
    if myhealth &lt;= 20 then 
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Chains of Ice</Name><Default>false</Default><SpellID>45524</SpellID><Actions></Actions><Lua>if IsShiftKeyDown() then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Health Stone</Name><Default>false</Default><SpellID>5512</SpellID><Actions></Actions><Lua>local myhealth = 100 * UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;)
    if myhealth &lt;= 20 then 
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Outbreak</Name><Default>false</Default><SpellID>77575</SpellID><Actions></Actions><Lua>local dbBloodPlague, _, _, _, _, _, BloodPlagueExpire = UnitDebuffID(&quot;target&quot;,59879, &quot;player&quot;)
    
    if  dbBloodPlague ~= nil then
        BloodPlagueExpire =(BloodPlagueExpire - GetTime())
        if BloodPlagueExpire &lt; 4 then
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Blood Tap(2 Rune)</Name><Default>false</Default><SpellID>45529</SpellID><Actions></Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    
    
    if  R1 == false or R2 == false then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Plague Strike</Name><Default>false</Default><SpellID>45462</SpellID><Actions></Actions><Lua>local dbBloodPlague, _, _, _, _, _, BloodPlagueExpire = UnitDebuffID(&quot;target&quot;,59879, &quot;player&quot;)
    
    if  dbBloodPlague ~= nil then
        --cast if debuff has &lt; 5 sec left
        BloodPlagueExpire =(BloodPlagueExpire - GetTime())
        if BloodPlagueExpire &lt; 5 then
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Dark Transformation</Name><Default>false</Default><SpellID>63560</SpellID><Actions></Actions><Lua>local ShadowInfusion = UnitBuffID(&quot;pet&quot;, 91342)
    
    if ShadowInfusion ~= nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Pet</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Raise Dead</Name><Default>false</Default><SpellID>46584</SpellID><Actions></Actions><Lua>local UnholySTR =  UnitBuffID(&quot;player&quot;, 53365)
    local PillarOfFrost =  UnitBuffID(&quot;player&quot;,51271)
    
    if UnitLevel(&quot;target&quot;) &gt;= 88 or UnitLevel(&quot;target&quot;) == -1 then 
        if UnitHealth(&quot;target&quot;) &gt; 300000  then
                return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>No Dismount</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>if IsMounted() ~= nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Unholy Frenzy</Name><Default>false</Default><SpellID>49016</SpellID><Actions></Actions><Lua>local levelCheck = UnitLevel(&quot;target&quot;)
    if levelCheck ~= -1 then
        --boss level returns as -1
        return false
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Unholy Frenzy PVP</Name><Default>false</Default><SpellID>49016</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Rune Tap</Name><Default>false</Default><SpellID>48982</SpellID><Actions></Actions><Lua>local HP = UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;) * 100
    
    if HP &lt; 50 then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Rune Strike</Name><Default>false</Default><SpellID>56815</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Blood Boil</Name><Default>false</Default><SpellID>48721</SpellID><Actions></Actions><Lua>local dbBladeBarrier, _, _, _, _, _, BladeBarrierExpire = UnitBuffID(&quot;player&quot;,49501,&quot;player&quot;)
    local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    
    if  R1 == true and R2 == true then
        return true
    else
    if  dbBladeBarrier ~= nil then
        BladeBarrierExpire =(BladeBarrierExpire - GetTime())
        if BladeBarrierExpire &lt; 4 then
            return true
        end
    else
        return true
    end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Blood Tap</Name><Default>false</Default><SpellID>45529</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Blood Tap</Name><Default>false</Default><SpellID>45529</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Blood Tap</Name><Default>false</Default><SpellID>45529</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Bone Shield</Name><Default>false</Default><SpellID>49222</SpellID><Actions></Actions><Lua>local BoneShield = UnitBuffID(&quot;player&quot;, 49222)
    
    if BoneShield == nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Death Strike</Name><Default>false</Default><SpellID>49998</SpellID><Actions></Actions><Lua>local HP = UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;) * 100
    
    if HP &lt; 50 then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Death Grip</Name><Default>false</Default><SpellID>49576</SpellID><Actions></Actions><Lua>if IsLeftControlKeyDown() and GetCurrentKeyBoardFocus() == nil then
    return true
    end</Lua><RecastDelay>100</RecastDelay><Target>Mouseover</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Empower Rune Weapon</Name><Default>false</Default><SpellID>47568</SpellID><Actions></Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    local _,_,R3 = GetRuneCooldown(3)
    local _,_,R4 = GetRuneCooldown(4)
    local _,_,R5 = GetRuneCooldown(5)
    local _,_,R6 = GetRuneCooldown(6)
    local levelCheck = UnitLevel(&quot;target&quot;)
    
    if levelCheck ~= -1 then
        --boss level returns as -1
        return false
    else
        if  R1 == false and R2 == false and R3 == false and R4 == false and R5 == false and R6 == false then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Raise Dead</Name><Default>false</Default><SpellID>46584</SpellID><Actions></Actions><Lua>if UnitExists(&quot;pet&quot;) == nil then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Frost Strike(Proc)</Name><Default>false</Default><SpellID>49143</SpellID><Actions></Actions><Lua>local KMProc = UnitBuffID(&quot;player&quot;,51128)
    
    if KMProc ~= nil then
        if  UnitPower(&quot;player&quot;) &gt; 32 then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Frost Strike(RP cap)</Name><Default>false</Default><SpellID>49143</SpellID><Actions></Actions><Lua>local rp = 31
    
    if (UnitPowerMax(&quot;player&quot;) - UnitPower(&quot;player&quot;)) &lt; rp then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Gargoyle</Name><Default>false</Default><SpellID>49206</SpellID><Actions></Actions><Lua>local levelCheck = UnitLevel(&quot;target&quot;)
    if levelCheck ~= -1 then
        --boss level returns as -1
        return false
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Heart Strike</Name><Default>false</Default><SpellID>55050</SpellID><Actions></Actions><Lua>local dbBladeBarrier, _, _, _, _, _, BladeBarrier = UnitBuffID(&quot;player&quot;,49501)
    
    if  dbBladeBarrier ~= nil then
        BladeBarrier =(BladeBarrier - GetTime())
        if BladeBarrier &lt; 2 then
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Icy Touch</Name><Default>false</Default><SpellID>45477</SpellID><Actions></Actions><Lua>local dbFrostFever, _, _, _, _, _, dbexpire = UnitDebuffID(&quot;target&quot;,55095, &quot;player&quot;)
    
    if dbFrostFever ~= nil then
        RunMacroText(&quot;/startattack&quot;)        
        dbexpire =(dbexpire - GetTime())
        if dbexpire &lt; 4 then
            return true
        end
    else
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Festering Strike</Name><Default>false</Default><SpellID>85948</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Death Strike</Name><Default>false</Default><SpellID>49998</SpellID><Actions></Actions><Lua>local HP = UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;) * 100
    
    if HP &lt; 45 then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Death Strike</Name><Default>false</Default><SpellID>49998</SpellID><Actions></Actions><Lua>local HP = UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;) * 100
    
    if HP &lt; 25 then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Death Grip</Name><Default>false</Default><SpellID>49576</SpellID><Actions></Actions><Lua>if IsControlKeyDown() then
    return true
    end</Lua><RecastDelay>100</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Blood Boil</Name><Default>false</Default><SpellID>48721</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Blood Boil</Name><Default>false</Default><SpellID>48721</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Dark Command</Name><Default>false</Default><SpellID>56222</SpellID><Actions></Actions><Lua>if IsLeftAltKeyDown() and GetCurrentKeyBoardFocus() == nil then
    return true
    end</Lua><RecastDelay>50</RecastDelay><Target>Mouseover</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Heart Strike(2 Rune)</Name><Default>false</Default><SpellID>55050</SpellID><Actions></Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    
    if  R1 == true and R2 == true then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Heart Strike Test</Name><Default>false</Default><SpellID>55050</SpellID><Actions></Actions><Lua>local dbBladeBarrier = UnitBuffID(&quot;player&quot;,49501)
    
    if  dbBladeBarrier == nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Death Strike(BS)</Name><Default>false</Default><SpellID>49998</SpellID><Actions></Actions><Lua>local BloodShield = UnitBuffID(&quot;player&quot;, 77513)
    
    if BloodShield == nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Death Coil (Lichbourne)</Name><Default>false</Default><SpellID>47541</SpellID><Actions></Actions><Lua>local Lichbourne = UnitBuffID(&quot;player&quot;, 49039)
    
    if Lichbourne ~= nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Rune Strike (RP Save)</Name><Default>false</Default><SpellID>56815</SpellID><Actions></Actions><Lua>if IsRightAltKeyDown() then
    return true
    else
    if UnitPower(&quot;player&quot;) &gt; 80 then
    return true
    end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Target In Combat</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>if UnitAffectingCombat(&quot;target&quot;) == nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Pestilence (Mod)</Name><Default>false</Default><SpellID>50842</SpellID><Actions></Actions><Lua>if IsRightAltKeyDown() and GetCurrentKeyBoardFocus() == nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Blood Boil (Proc)</Name><Default>false</Default><SpellID>48721</SpellID><Actions></Actions><Lua>local CS1 = UnitBuffID(&quot;player&quot;, 81135)
    local CS2 = UnitBuffID(&quot;player&quot;, 81136)
    
    if CS1 ~= nil or CS2 ~= nil and CheckInteractDistance(&quot;target&quot;, 3) == 1 then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Death Grip MO</Name><Default>false</Default><SpellID>49576</SpellID><Actions></Actions><Lua>if IsLeftControlKeyDown() and GetCurrentKeyBoardFocus() == nil then
        if UnitIsEnemy(&quot;player&quot;, &quot;mouseover&quot;) and UnitIsDead(&quot;mouseover&quot;) == nil then
            return true
        end
    end</Lua><RecastDelay>10</RecastDelay><Target>Mouseover</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Chains of Ice MO</Name><Default>false</Default><SpellID>45524</SpellID><Actions></Actions><Lua>if IsLeftAltKeyDown( ) and GetCurrentKeyBoardFocus() == nil then
        if UnitIsEnemy(&quot;player&quot;, &quot;mouseover&quot;) and UnitIsDead(&quot;mouseover&quot;) == nil then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Mouseover</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Death Grip MO</Name><Default>false</Default><SpellID>49576</SpellID><Actions></Actions><Lua>if IsLeftControlKeyDown() and GetCurrentKeyBoardFocus() == nil then
        if UnitIsEnemy(&quot;player&quot;, &quot;mouseover&quot;) and UnitIsDead(&quot;mouseover&quot;) == nil then
            return true
        end
    end</Lua><RecastDelay>100</RecastDelay><Target>Mouseover</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Chains of Ice MO</Name><Default>false</Default><SpellID>45524</SpellID><Actions></Actions><Lua>if IsLeftAltKeyDown( ) and GetCurrentKeyBoardFocus() == nil then
        if UnitIsEnemy(&quot;player&quot;, &quot;mouseover&quot;) and UnitIsDead(&quot;mouseover&quot;) == nil then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Mouseover</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Player In Combat</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>if UnitAffectingCombat(&quot;player&quot;) == nil then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Taunt Check</Name><Default>false</Default><SpellID>56222</SpellID><Actions></Actions><Lua>local Threat = UnitThreatSituation(&quot;player&quot;, &quot;target&quot;)
    
    if Threat &lt; 2 then
    return true
    end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Blood Presence</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>local Presnce = GetShapeshiftForm()
    
    if Presnce == 0 then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Unholy Presence</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>local Presnce = GetShapeshiftForm()
    
    if Presnce == 0 then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Unholy Presence</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>local Presnce = GetShapeshiftForm()
    
    if Presnce == 0 then
    return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Rune Strike</Name><Default>false</Default><SpellID>56815</SpellID><Actions>/startattack</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    
    if SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Obliterate</Name><Default>false</Default><SpellID>49020</SpellID><Actions>/startattack|/use 10</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    
    if SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Howling Blast</Name><Default>false</Default><SpellID>49184</SpellID><Actions>/startattack</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    
    if SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Plague Strike</Name><Default>false</Default><SpellID>45462</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local dbBloodPlague, _, _, _, _, _, BloodPlagueExpire = UnitDebuffID(&quot;target&quot;,59879, &quot;player&quot;)
    
    if dbBloodPlague ~= nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        --cast if debuff has &lt; 5 sec left
        BloodPlagueExpire =(BloodPlagueExpire - GetTime())
        if BloodPlagueExpire &lt; 5 then
            return true
        end
    else
        if dbBloodPlague == nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Blood Strike</Name><Default>false</Default><SpellID>45902</SpellID><Actions>/startattack</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    
    if SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Frost Strike</Name><Default>false</Default><SpellID>49143</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    
    if UnitPower(&quot;player&quot;) &gt; 60 and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Death Coil</Name><Default>false</Default><SpellID>47541</SpellID><Actions></Actions><Lua>if SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Blood Boil</Name><Default>false</Default><SpellID>48721</SpellID><Actions></Actions><Lua>
        return true
    </Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Outbreak</Name><Default>false</Default><SpellID>77575</SpellID><Actions>/startattack</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local dbFrostFever, _, _, _, _, _, dbexpire = UnitDebuffID(&quot;target&quot;,55095, &quot;player&quot;)
    local dbBloodPlague, _, _, _, _, _, BloodPlagueExpire = UnitDebuffID(&quot;target&quot;,59879, &quot;player&quot;)
    
    if dbBloodPlague ~= nil and dbFrostFever ~= nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        --cast if debuff has &lt; 5 sec left
        BloodPlagueExpire =(BloodPlagueExpire - GetTime())
        dbexpire =(dbexpire - GetTime())
        if BloodPlagueExpire &lt; 7 and dbexpire &lt; 7 then
            return true
        end
    else
        if dbBloodPlague == nil and dbFrostFever == nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
            return true
        else
            return false
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Obliterate(Proc)</Name><Default>false</Default><SpellID>49020</SpellID><Actions>/startattack|/use 10</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local KMProc = UnitBuffID(&quot;player&quot;,51128)
    
    if KMProc ~= nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Death Strike</Name><Default>false</Default><SpellID>49998</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local HP = UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;) * 100
    
    if HP &lt; 40 and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Horn of Winter</Name><Default>false</Default><SpellID>57330</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local HornofWinter, _, _, _, _, _, expire = UnitDebuffID(&quot;target&quot;,57330, &quot;player&quot;)
    
    if HornofWinter ~= nill and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Mind Freeze</Name><Default>false</Default><SpellID>53550</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Festering Strike</Name><Default>false</Default><SpellID>85948</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    
    if SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Pestilence</Name><Default>false</Default><SpellID>50842</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local BloodPlague = UnitDebuffID(&quot;target&quot;,59879, &quot;player&quot;)
    local CD = GetSpellCooldown(50842)
    
    if BloodPlague ~= nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        if CD ~= nil then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Howling Blast (proc)</Name><Default>false</Default><SpellID>49184</SpellID><Actions>/startattack</Actions><Lua>local FreezingFog = UnitBuffID(&quot;player&quot;, 59052)
    if FreezingFog ~= nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Horn of Winter(on)</Name><Default>false</Default><SpellID>57330</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local HornOfWinter =  UnitBuffID(&quot;player&quot;, 57330)
    
    if HornOfWinter == nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Death Coil(rp-cap)</Name><Default>false</Default><SpellID>47541</SpellID><Actions></Actions><Lua>if UnitPower(&quot;player&quot;) &gt;= 100 and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Frost Strike(RP for Brez)</Name><Default>false</Default><SpellID>49143</SpellID><Actions></Actions><Lua>if  UnitPower(&quot;player&quot;) &gt; 85 then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Pillar of Frost</Name><Default>false</Default><SpellID>51271</SpellID><Actions>/startattack</Actions><Lua>if UnitHealth(&quot;target&quot;) &gt;= 300000  then 
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Blood Tap</Name><Default>false</Default><SpellID>45529</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    
    if GetSpellCooldown(47476) ~= 0 and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Raise Dead</Name><Default>false</Default><SpellID>46584</SpellID><Actions></Actions><Lua>local UnholySTR =  UnitBuffID(&quot;player&quot;, 53365)
    local PillarOfFrost =  UnitBuffID(&quot;player&quot;,51271)
    
    if UnitLevel(&quot;target&quot;) &gt;= 87 or UnitLevel(&quot;target&quot;) == -1 then 
        if UnitHealth(&quot;target&quot;) &gt; 300000  then
                return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Apparatus of Khaz&apos;goroth</Name><Default>false</Default><SpellID>0</SpellID><Actions>/use 14</Actions><Lua>local buff,_,_,TPCount = UnitAura(&quot;player&quot;,&quot;Titanic Power&quot;)
    local CD = GetItemCooldown(&quot;68972&quot;)
    
    if buff ~= nil then
        if CD ~= true and TPCount == 5 and UnitHealth(&quot;target&quot;) &gt;= 300000 then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Health Stone</Name><Default>false</Default><SpellID>5512</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local myhealth = 100 * UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;)
    
    if myhealth &lt;= 25 then 
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Raise Dead(Pillar)</Name><Default>false</Default><SpellID>46584</SpellID><Actions></Actions><Lua>local UnholySTR =  UnitBuffID(&quot;player&quot;, 53365)
    local PillarOfFrost =  UnitBuffID(&quot;player&quot;,51271)
    
    if UnitLevel(&quot;target&quot;) &gt;= 87 or UnitLevel(&quot;target&quot;) == -1 then 
        if UnitHealth(&quot;target&quot;) &gt; 300000  then
            if UnholySTR ~= nil and PillarOfFrost ~= nil then
                return true
            end
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Frost Strike(Proc)</Name><Default>false</Default><SpellID>49143</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local KMProc = UnitBuffID(&quot;player&quot;,51128)
    
    if KMProc ~= nil and UnitPower(&quot;player&quot;) &gt; 60 SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Blood Tap(2 Rune)</Name><Default>false</Default><SpellID>45529</SpellID><Actions></Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    
    
    if  R1 == false or R2 == false then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Howling Blast (Lust)</Name><Default>false</Default><SpellID>49184</SpellID><Actions>/startattack</Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    local _,_,R3 = GetRuneCooldown(3)
    local _,_,R4 = GetRuneCooldown(4)
    local heroism = UnitBuffID(&quot;player&quot;, 32182)
    local lust = UnitBuffID(&quot;player&quot;, 2825)
    local warp = UnitBuffID(&quot;player&quot;, 80353)
    local hysteria = UnitBuffID(&quot;player&quot;, 90355)
    
    if heroism ~= nil or lust ~= nil or warp ~= nil or hysteria ~= nil then
        if R1 == false and R2 == false and R3 == false and R4 == false then 
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Obliterate(Death Rune)</Name><Default>false</Default><SpellID>49020</SpellID><Actions>/startattack|/use 10</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    
    if R1 == true and R2 == true and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Obliterate(Fr Uh rune)</Name><Default>false</Default><SpellID>49020</SpellID><Actions>/startattack|/use 10</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local _,_,R3 = GetRuneCooldown(3)
    local _,_,R4 = GetRuneCooldown(4)
    local _,_,R5 = GetRuneCooldown(5)
    local _,_,R6 = GetRuneCooldown(6)
    
    if R3 == true and R4 == true and R5 == true and R6 == true and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Frost Strike(RP cap)</Name><Default>false</Default><SpellID>49143</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local rp = 31
    
    if (UnitPowerMax(&quot;player&quot;) - UnitPower(&quot;player&quot;)) &lt; rp and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Howling Blast(Fever)</Name><Default>false</Default><SpellID>49184</SpellID><Actions>/startattack</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local dbFrostFever, _, _, _, _, _, dbexpire = UnitDebuffID(&quot;target&quot;,55095, &quot;player&quot;)
    
    if dbexpire ~= nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then        
        dbexpire =(dbexpire - GetTime())
        if dbexpire &lt; 4 then
            return true
        end
    else
        if dbexpire == nil  and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Essence of the Eternal Flame</Name><Default>false</Default><SpellID>0</SpellID><Actions>/use 13</Actions><Lua>local CD = GetItemCooldown(&quot;69002&quot;)
        
        if CD ~= nil and UnitHealth(&quot;target&quot;) &gt;= 300000 then
            return true
        end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Necrotic Strike</Name><Default>false</Default><SpellID>73975</SpellID><Actions>/startattack</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    
    if SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Necrotic Strike(db)</Name><Default>false</Default><SpellID>73975</SpellID><Actions>/startattack</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local NecroticStrike, _, _, _, _, _, NecroticStrikeExpire = UnitDebuffID(&quot;target&quot;,73975, &quot;player&quot;)
    
    if NecroticStrike ~= nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        --cast if debuff has &lt; 5 sec left
        NecroticStrikeExpire =(NecroticStrikeExpire - GetTime())
        if NecroticStrikeExpire &lt; 5 then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Necrotic Strike(slow)</Name><Default>false</Default><SpellID>73975</SpellID><Actions>/startattack</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local slowdb = UnitDebuffID(&quot;target&quot;, 68766, &quot;PLAYER|HARMFUL&quot;)
    local chilblains = UnitDebuffID(&quot;target&quot;, 50435, &quot;PLAYER|HARMFUL&quot;)
    local chains = UnitDebuffID(&quot;target&quot;, 45524, &quot;PLAYER|HARMFUL&quot;)
    
    if slowdb == nil and chilblains == nil and Chains == nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Howling Blast(slow)</Name><Default>false</Default><SpellID>49184</SpellID><Actions>/startattack</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local slowdb = UnitDebuffID(&quot;target&quot;, 68766, &quot;PLAYER|HARMFUL&quot;)
    local chilblains = UnitDebuffID(&quot;target&quot;, 50435, &quot;PLAYER|HARMFUL&quot;)
    local chains = UnitDebuffID(&quot;target&quot;, 45524, &quot;PLAYER|HARMFUL&quot;)
    
    if chilblains == nil and slowdb == nil and chains == nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Frost Strike(Proc)test</Name><Default>false</Default><SpellID>49143</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local KMProc = UnitBuffID(&quot;player&quot;,51128)
    local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    local _,_,R3 = GetRuneCooldown(3)
    local _,_,R4 = GetRuneCooldown(4)
    local _,_,R5 = GetRuneCooldown(5)
    local _,_,R6 = GetRuneCooldown(6)
    
    if KMProc ~= nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        R1 =(R1 - GetTime())
        R2 =(R2 - GetTime())
        R3 =(R3 - GetTime())
        R4 =(R4 - GetTime())
        R5 =(R5 - GetTime())
        R6 =(R6 - GetTime())
        if R1 &lt; 1 and R2 &lt; 1 or R3 &lt; 1 and R5 &lt; 1 or R4 &lt; 1 and R6 &lt; 1 then
            return true
            end
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Chains of Ice(fever)</Name><Default>false</Default><SpellID>45524</SpellID><Actions>/startattack</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local dbFrostFever, _, _, _, _, _, dbexpire = UnitDebuffID(&quot;target&quot;,55095, &quot;player&quot;)
    
    if dbFrostFever ~= nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then        
        dbexpire =(dbexpire - GetTime())
        if dbexpire &lt; 4 then
            return true
        end
    else
        if dbFrostFever == nil  and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Scourge Strike</Name><Default>false</Default><SpellID>55090</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local unithealth = 100 * UnitHealth(&quot;target&quot;) / UnitHealthMax(&quot;target&quot;)
    local dbNecrotic = UnitDebuffID(&quot;target&quot;, 73975, &quot;PLAYER|HARMFUL&quot;)
    
    if unithealth &lt; 50 and dbNecrotic ~= nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Dark Transformation</Name><Default>false</Default><SpellID>63560</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local DarkTransform = UnitBuffID(&quot;pet&quot;,81340)
    
    if SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Death Coil(sd)</Name><Default>false</Default><SpellID>47541</SpellID><Actions></Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local SDproc = UnitBuffID(&quot;player&quot;,81340)
    
    if SDproc ~= nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Focus Mind Freeze</Name><Default>false</Default><SpellID>47528</SpellID><Actions></Actions><Lua>_,_,_,_,_,_,_,_,interrupt = UnitCastingInfo(&quot;focus&quot;)
    
    if interrupt == false then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Focus</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Focus Leap</Name><Default>false</Default><SpellID>47482</SpellID><Actions></Actions><Lua>_,_,_,_,_,_,_,_,interrupt = UnitCastingInfo(&quot;focus&quot;)
    local DarkTransform = UnitBuffID(&quot;pet&quot;,63560)
    
    if DarkTransform ~= nil and interrupt == false then
      return true
    else
        if GetSpellCooldown(47481) ~= 0 and interrupt == false then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Focus</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Claw</Name><Default>false</Default><SpellID>47468</SpellID><Actions></Actions><Lua>local DarkTransform = UnitBuffID(&quot;pet&quot;,63560)
    local unithealth = 100 * UnitHealth(&quot;target&quot;) / UnitHealthMax(&quot;target&quot;)
    local _,_,_,ShadowInfusion = UnitBuffID(&quot;pet&quot;,91342)
    
    if DarkTransform ~= nil or unithealth &lt; 25 then
        return true
    else
        if UnitPower(&quot;pet&quot;) == 100 and ShadowInfusion ~= 5 and ShadowInfusion ~= 4 then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Focus Gnaw</Name><Default>false</Default><SpellID>47481</SpellID><Actions></Actions><Lua>_,_,_,_,_,_,_,_,interrupt = UnitCastingInfo(&quot;focus&quot;)
    
    if interrupt == false then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Focus</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Gnaw</Name><Default>false</Default><SpellID>47481</SpellID><Actions></Actions><Lua>_,_,_,_,_,_,_,_,interrupt = UnitCastingInfo(&quot;target&quot;)
    
    if GetSpellCooldown(47528) == 0 and interrupt == false then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Chains of Ice(slow)</Name><Default>false</Default><SpellID>45524</SpellID><Actions>/startattack</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    local slowdb = UnitDebuffID(&quot;target&quot;, 68766, &quot;PLAYER|HARMFUL&quot;)
    local chilblains = UnitDebuffID(&quot;target&quot;, 50435, &quot;PLAYER|HARMFUL&quot;)
    local chains = UnitDebuffID(&quot;target&quot;, 45524, &quot;PLAYER|HARMFUL&quot;)
    
    if chilblains == nil and slowdb == nil and chains == nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Necrotic Strike (stack)</Name><Default>false</Default><SpellID>73975</SpellID><Actions>/startattack</Actions><Lua>shiftDown = IsShiftKeyDown()
    ctrlDown  = IsControlKeyDown()
    altDown   = IsAltKeyDown()
    
    pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 5782) --fear
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 8122) --psychic scream
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 6770) --sap
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 20066) --Repentance
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 85388) --Throwdown
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 5246) --Intimidating Shout
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 47476) --Strangulate
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 47481) --Gnaw
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 49203) --Hungering Cold
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 51514) --Hex
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 5211) --Bash
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 853) --HOJ
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 19647) --Spell Lock
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 47541) --Death Coil
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 605) --Mind Control
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 33786) --Cyclone
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 5211) --Bash
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 9005) --Pounce
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 34490) --Silencing Shout
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 19503) --Scatter Shot
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 1499) --Freezing Trap
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 2139) --CounterSpell
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 44572) --Deep Freeze
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 118) --Polymorph
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 82676) --Ring of Frost
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 703) --Garrote
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 408) --Kidney Shot
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 1833) --Cheap Shot
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 2094) --Blind
    end
    if pvpdebuffCheck == nil then
        pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&quot;focus&quot;, 1776) --Gouge
    end
    if pvpdebuffCheck ~= nil and SpellIsTargeting() == nil and IsShiftKeyDown() == nil and IsControlKeyDown() == nil and IsAltKeyDown() == nil then
        if (expire - GetTime()) &gt;= 1 then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Leap</Name><Default>false</Default><SpellID>47482</SpellID><Actions></Actions><Lua>_,_,_,_,_,_,_,_,interrupt = UnitCastingInfo(&quot;target&quot;)
    local DarkTransform = UnitBuffID(&quot;pet&quot;,63560)
    
    if DarkTransform ~= nil and interrupt == false then
      return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>B - Death and Decay</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>if IsShiftAltKeyDown() then
      CastSpellByName(tostring(GetSpellInfo(56222)))
      if SpellIsTargeting() then CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() end  
      return true
    end</Lua><RecastDelay>500</RecastDelay><Target>Mouseover</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Use: Mouseover Skill</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>if IsMouseButtonDown() then
        if UnitAffectingCombat(&quot;player&quot;) then
            RunMacroText(&quot;/click &quot;..GetMouseFocus():GetName())
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Enemy</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>if UnitExists(&quot;target&quot;) == nil or UnitIsFriend(&quot;player&quot;, &quot;target&quot;) then
        if UnitAffectingCombat(&quot;player&quot;) == nil then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>U - Enemy</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>if UnitExists(&quot;target&quot;) == nil or UnitIsFriend(&quot;player&quot;, &quot;target&quot;) then
        if UnitAffectingCombat(&quot;player&quot;) == nil then
            return true
        end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Obliterate(Proc+2UH)</Name><Default>false</Default><SpellID>49020</SpellID><Actions>/use 10</Actions><Lua>local KMProc = UnitBuffID(&quot;player&quot;,51128)
    local _,_,R5 = GetRuneCooldown(5)
    local _,_,R6 = GetRuneCooldown(6)
    
    if KMProc ~= nil andR5 == true and R6 == true then
        RunMacroText(&quot;/startattack&quot;)
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Howling Blast(&lt;90rp)</Name><Default>false</Default><SpellID>49184</SpellID><Actions>/startattack</Actions><Lua>if  UnitPower(&quot;player&quot;) &lt; 90 then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Howling Blast(&gt;90rp)</Name><Default>false</Default><SpellID>49184</SpellID><Actions>/startattack</Actions><Lua>if  UnitPower(&quot;player&quot;) &gt; 90 then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Frost Strike(&gt;90rp)</Name><Default>false</Default><SpellID>49143</SpellID><Actions></Actions><Lua>if  UnitPower(&quot;player&quot;) &gt; 90 then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Howling Blast(&lt;60rp)</Name><Default>false</Default><SpellID>49184</SpellID><Actions>/startattack</Actions><Lua>if  UnitPower(&quot;player&quot;) &lt; 60 then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Obliterate(2UH)</Name><Default>false</Default><SpellID>49020</SpellID><Actions>/use 10</Actions><Lua>local _,_,R5 = GetRuneCooldown(5)
    local _,_,R6 = GetRuneCooldown(6)
    
    if R5 == true and R6 == true then
        RunMacroText(&quot;/startattack&quot;)
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Frost Strike(&gt;60rp)</Name><Default>false</Default><SpellID>49143</SpellID><Actions></Actions><Lua>if  UnitPower(&quot;player&quot;) &gt; 60 then
        return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>F - Horn of Winter(no runes)</Name><Default>false</Default><SpellID>57330</SpellID><Actions></Actions><Lua>local _,_,R1 = GetRuneCooldown(1)
    local _,_,R2 = GetRuneCooldown(2)
    local _,_,R3 = GetRuneCooldown(3)
    local _,_,R4 = GetRuneCooldown(4)
    
    
    if  R1 == false and R2 == false and R3 == false and R4 == false and UnitPower(&quot;player&quot;) &lt; 31  then
            return true
        end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability></DEATHKNIGHT>
    That should work.

    Also, +rep to imdasandman, thanks for the edit for masterfrost.
    Last edited by Discipline; 12-07-2011 at 08:05 AM. Reason: CODE tags

  15. #3045
    byronm's Avatar Private
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by GRB View Post
    Updated PQR-PU (PQR-PU (PQR-Profile Updater))

    Added my own feral pvp/arena druid profile there!
    Also cleaned up the code to be faster!
    I downloaded the updater, placed in my pqrotation folder... right clicked and ran as admin, asks me for permissions, says its out of date...then flashes up a box with classes and update all etc on...but it doesnt pause for me to click on anything there... and no profiles have been changed

Similar Threads

  1. [Buying] Planetside 2 Priority Beta Key
    By isit123 in forum General MMO Buy Sell Trade
    Replies: 0
    Last Post: 07-21-2012, 06:34 AM
  2. [Selling] PLANETSIDE 2 Priority/Early Access Beta Account
    By Kabraxiss in forum General MMO Buy Sell Trade
    Replies: 0
    Last Post: 07-18-2012, 10:20 AM
  3. [Selling] Planetside 2 Priority/Early access Beta Keys
    By mrsluf in forum General MMO Buy Sell Trade
    Replies: 3
    Last Post: 07-17-2012, 04:45 AM
  4. [Selling] Planetside 2 Priority Access beta key codes
    By fatalefout in forum General MMO Buy Sell Trade
    Replies: 1
    Last Post: 06-26-2012, 04:08 PM
  5. [Bot] Automated dungeon queue / Justice Point leecher(Auto-it source)
    By s_e_a_n_66 in forum World of Warcraft Bots and Programs
    Replies: 36
    Last Post: 01-17-2011, 11:50 AM
All times are GMT -5. The time now is 09:56 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search