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

Shout-Out

User Tag List

Page 201 of 731 FirstFirst ... 101151197198199200201202203204205251301701 ... LastLast
Results 3,001 to 3,015 of 10955
  1. #3001
    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 stealthnap View Post
    Is there anyone out there currently working on a fire rotation?
    couple pages back

    [BETA] PQRotation - an automated ability priority queue.
  2. #3002
    Ralphiuss's Avatar Active Member
    Reputation
    44
    Join Date
    Sep 2011
    Posts
    230
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by imdasandman View Post
    According to EJ and a few other DK resources Powerfrost is pushing out just slightly less dps than Unholy and more dps than DW frost that uses the obliterate more than FS/HB like Powerfrost does.
    Frost DPS guide credit goes to Titus Pullo btw he calls this Masterfrost... I think power is cooler
    Frost DPS | Winter of Discontent [4.3] - Elitist Jerks
    Stat Weights:
    Masterfrost Stat Priority
    Strength > Expertise to Cap > Yellow Hit to Cap > Spell Hit to Cap(820 hit rating)>Mastery > Haste > Crit


    It is advised to have 820 hit rating so that your spell hit capped at 17%
    difference betwen stat weights is Powerfrost favors mastery over haste.

    This rotation/abilities changes are for the new Powerfrost rotation for Frost DK's and it netted me about a 2k dps increase over bubba's frost dk 4.2 dps rotation....
    The frame work and 99.5% of the coding belongs to Bubba I just modified/tweaked some of it.

    Rotation: place in Bubba_DEATHKNIGHT_Rotations file-
    Code:
    <Rotation><RotationName>Powerfrost</RotationName><RotationDefault>false</RotationDefault><RotationList>No Dismount|F - Pause|F - Death Grip MO|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(&lt;90rp)|F - Frost Strike(&gt;90rp)|F - Howling Blast(&lt;60rp)|F - Howling Blast|F - Howling Blast(&gt;60rp)|F - Frost Strike(&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>
    Modified Abilities file: just copy+paste and replace the text in Bubba's ability file
    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>

    PQR is throwing an error when I make these changes to bubba xml files.

  3. #3003
    Jamsx1's Avatar Corporal
    Reputation
    7
    Join Date
    Oct 2011
    Posts
    27
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know I asked this a few pages back, it was the last post on the page. I figured it got lost with everyone trying to get prq working with the ninja patch and all. I have been using Onya elemental profile from page 80. It works great i have only one request, if it could cast Unleash Elements everytime it was off cooldown right before it casted Lava Burst. Also does anyone know of a good working Enhancement script? Thanks to Xelper and everyone who writes profiles, keep up the great work! I'm also looking for a pve Arms script also! This is getting very hard to find the scripts we need its just so long.

  4. #3004
    larrybyrdy's Avatar Member
    Reputation
    2
    Join Date
    Mar 2011
    Posts
    61
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PVE Arms has been uploaded a few pages back in a pack I uploaded. There's pve arms and pve fury in there. The arms one works flawlessly (doesnt pop trinket or reckless though, saves those for when you want to pop them for key dps moments)

  5. #3005
    thenthelies's Avatar Member
    Reputation
    14
    Join Date
    Dec 2007
    Posts
    70
    Thanks G/R
    3/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm having a massive problem with the arms profile I made. Basically you have to tell PQR not to overlap colossus smash debuffs with sudden death procs to maximize dps. Seems pretty simple, as I just use this as my CS code:
    Code:
    local csDebuff = UnitDebuffID("target", 86346, "PLAYER")
    
    
    if csDebuff == nil then
    return true
    end
    However there is a major problem: IT will NOT CS at all if there is another warrior in the group and his debuff is up.

    How can I tell PQR to CS only if MY cs debuff is not on the target at the moment. I thought adding "player" to the local code would fix it but it doesn't.

    Thanks for any help!

  6. #3006
    Luciferozzy's Avatar Member
    Reputation
    2
    Join Date
    Apr 2011
    Posts
    81
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try this

    local csDebuff = UnitAura("target", "Colossus Smash", nil, "PLAYER|HARMFUL")

    if csDebuff == nil then
    return true
    end

  7. #3007
    smrdlja's Avatar Member
    Reputation
    1
    Join Date
    Feb 2011
    Posts
    109
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any fresh and nice Prot and Fury warrior profiles?

  8. #3008
    smashway's Avatar Banned
    Reputation
    20
    Join Date
    Jun 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    smrdlja: none yet at http://pqrotation.forumotion.com/, but if you find one, feel free to contribute!

  9. #3009
    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)
    Hello all,

    Since the start if this thread that i tryed to acomplish 2 things:

    1-Keep all profiles up to date
    2-Keep the profiles easy to be found

    I Pm'ed some of others profile creators, but aparently just 2 replyed to an previous idea i had about this matter.
    But since the thread is already 200+ pages and really hard to find profiles, some started some other forums, others some wiki pages, and so on.
    So i comed up with other idea:

    PQR-PU

    What it is?
    For now is a small & simple program that have only one button. The UPDATE ALL PROFILES button.
    In the future i will include specific class profile update button, so you dont have to download all the profiles, but just the ones you want to update.
    Will also include some other things to make your life even easyer to update the profiles.

    How does this work?
    It download all the profiles that were posted on this thread after the patch 4.3 comed out and are updated to new tier sets, and new spells in the new patch.
    It download a PQR-PU.rar file with all those updated profiles to the program folder.

    What to do after the download is complete?
    Close the program.
    Simply unrar the file and copy all the profiles (*.xml) files to your PQR/Profile folder and you are done.

    What profiles are currently on the *.rar file?
    Sheuron - Fire mage, Holy Priest
    Crystaltech - Warlock
    Mentally - Priest
    Someone - Ret Paladin (tooked from wiki page)
    ONYA - Elemental & Resto Shaman
    Xaos - Assasination Rogue
    GRB - Fire mage (my own fire mage profile)

    More will be added when they are updated.


    Need to know!
    Yes, i gave myself the trouble to look trough all the pages to find the updated version of those profiles.
    Atm its only me maintaining the *.rar file, altho i hope that the profile creators could contact me, so that instead of they upload the profiles
    to mediafire, or megaupload or any other web site, they upload to the server were im hosting the files, so the program could always have the updated
    version of theyr profiles. Making everyone lifes easy.

    Download:
    PQR-PU

    Virus Total:
    Virus Scan

    Leave your feedbacks,

    GRB

  10. #3010
    smashway's Avatar Banned
    Reputation
    20
    Join Date
    Jun 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice idea!
    Are you planning to release the source code? Because if you don't update it, it won't be useful anymore.
    Releasing the source would allow other people to update it / integrate new features.

    Also, the "powerfrost/masterfrost" profile works wonders, but you'll have to edit the files manually with the code.

  11. #3011
    thenthelies's Avatar Member
    Reputation
    14
    Join Date
    Dec 2007
    Posts
    70
    Thanks G/R
    3/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Luciferozzy View Post
    try this

    local csDebuff = UnitAura("target", "Colossus Smash", nil, "PLAYER|HARMFUL")

    if csDebuff == nil then
    return true
    end
    Worked great, thanks! +rep
    ------
    Now I have another question, it seems PQR doesn't handle abilities not on the GCD well, I.E. heroic strike/stances which is not on the GCD. It will treat these abilities as a 'one at a time' type of deal and not move onto the fresh GCD to use heroic strike thus wasting ~.3 secs on the GCD and bringing down the deeps.

    Is there anyway to instruct PQR though code that the ability should be used at the same time as an ability on the GCD or something?

  12. #3012
    Ralphiuss's Avatar Active Member
    Reputation
    44
    Join Date
    Sep 2011
    Posts
    230
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @smashway

    What changes do I need to make the XML files. I just posted the rotation at the end of the rotation.xml file.

    As well I just coped the abilities code and replaced all the code within bubba xml file. I believe the error is coming from this file. Do I need to do something different with the abilities file?

  13. #3013
    smashway's Avatar Banned
    Reputation
    20
    Join Date
    Jun 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ralph, the author sais we need to replace the contents of the abilities file completely, and add to the rotations file.
    I haven't checked your download yet as I'm at work, but I don't have any problems with that rotation (tested on a dummy for 15 minutes).

  14. #3014
    kclux's Avatar Active Member
    Reputation
    16
    Join Date
    Jun 2011
    Posts
    199
    Thanks G/R
    2/0
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would it be somehow possible to get the amount of healing done by a spell from the combat log, so I could base my next action on the size of that heal?

  15. #3015
    Relentless904's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2011
    Posts
    45
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Has anybody else had any issues with casting rotations? For example, when I run crystaltech's demonology profile, it slows down sometimes. What I mean by this is that once the rotation dots my target, it either switches to spam Shadow Bolt or Incinerate depending on which filler I am using. What I am noticing is that I can spam Shadow Bolt and Incinerate significantly quicker than the bot does (most of the time.) Is there any way to speed up the SB spam?

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 02:13 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search