Arms PvP profile, Functional (better then what has been posted previously) Still in development.

View previous topic View next topic Go down

Arms PvP profile, Functional (better then what has been posted previously) Still in development.

Post  R4G470KK on Fri Dec 02, 2011 3:46 pm

R4G470KK wrote:Rotation
Code:
<?xml version="1.0" encoding="utf-8" ?><WARRIOR><Rotation><RotationName>Test</RotationName><RotationDefault>false</RotationDefault><RotationList>Hamstring|Alfa: Hamstring Snear</RotationList><RequireCombat>true</RequireCombat><RotationNotes></RotationNotes></Rotation><Rotation><RotationName>Arms PvP</RotationName><RotationDefault>false</RotationDefault><RotationList>Autotarget|Targettoheal suporter|Trinket|Berserker Rage|Rallying Cry|Heroic leap|Enraged Regeneration|Shattering Throw|Stop waisting time|Inner Rage|Heroic Strike|Cleave|Victory Rush|Hamstring|Rend|Throwdown|Colossus Smash|Mortal Strike|Overpower|Execute|Alfa: Hamstring Snear|Piercing Howl|Demoralizing Shout|Thunderclap|Charge|Battle Shout|Heroic Throw|Piercing Howl Unconditioned|Demoralizing Shout Unconditioned</RotationList><RequireCombat>false</RequireCombat><RotationNotes></RotationNotes></Rotation><Rotation><RotationName>Arms PvE</RotationName><RotationDefault>false</RotationDefault><RotationList>Autotarget|Targettoheal suporter|Trinket|Berserker Rage|Rallying Cry|Heroic leap|Enraged Regeneration|Shattering Throw|Stop waisting time|Inner Rage|Heroic Strike|Cleave|Victory Rush|Rend|Throwdown|Colossus Smash|Mortal Strike|Overpower|Execute|Demoralizing Shout|Thunderclap|Charge|Battle Shout|Heroic Throw|Piercing Howl Unconditioned</RotationList><RequireCombat>false</RequireCombat><RotationNotes></RotationNotes></Rotation></WARRIOR>

Abilities
Code:
<?xml version="1.0" encoding="utf-8" ?><WARRIOR><Ability><Name>Victory Rush</Name><Default>false</Default><SpellID>34428</SpellID><Actions></Actions><Lua>local VictoryRushTime, _, _, _, _, _, VictoryRushExpireTime = UnitBuffID(&amp;quot;player&amp;quot;, 32216)
local myHealth = UnitHealth(&amp;quot;player&amp;quot;) / UnitHealthMax(&amp;quot;player&amp;quot;) * 100
      
if VictoryRushTime ~= nil then
VictoryRushTime = VictoryRushExpireTime - GetTime()
if VictoryRushTime &amp;lt; 5 or myHealth &amp;lt; 65 then
   return true
end
else
   if myHealth &amp;lt; 90 then
      return true
   end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Trinket</Name><Default>false</Default><SpellID>0</SpellID><Actions>/use 14</Actions><Lua>if UnitFactionGroup(&amp;quot;player&amp;quot;) == &amp;quot;Alliance&amp;quot; then
   if GetInventoryItemID(&amp;quot;player&amp;quot;, 14) == 64793 then
      myTrinket = GetItemCooldown(64793)   
   else
      myTrinket = nil
   end
else
   if GetInventoryItemID(&amp;quot;player&amp;quot;, 14) == 64794 then
      
      myTrinket = GetItemCooldown(64794)   
   else
      myTrinket = nil
   end
end

if myTrinket ~= nil then
   --check if we have a debuff
   if myTrinket == 0 then
   pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 118) --Polymorph
if pvpdebuffCheck == nil then
   pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 605) --Mind Control
end
if pvpdebuffCheck == nil then
   pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 51514) --Hex
end
if pvpdebuffCheck == nil then
   pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 6358) --Seduction
end
if pvpdebuffCheck == nil then
   pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 82676) --Ring of Frost
end
if pvpdebuffCheck == nil then
   pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 2094) --Blind
end
if pvpdebuffCheck == nil then
   pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 853) --Hammer of Justice   
end

      if pvpdebuffCheck ~= nil then
         if (expire - GetTime()) &amp;gt;= 4 then
            return true
         else
            return false
         end
      else
         return false
      end
   else
      return false
   end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Stop waisting time</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>local buff = { 642, 45438, 33786, 19263}

if buff == nil then
   if IsSpellInRange(&amp;quot;Mortal Strike&amp;quot;, &amp;quot;target&amp;quot;) == 1 then
      return true
   end
end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Throwdown</Name><Default>false</Default><SpellID>85388</SpellID><Actions>/startattack|/use 13|/use Recklessness|/use deadly calm|/use inner rage</Actions><Lua>local mytarget = 100 * UnitHealth(&amp;quot;target&amp;quot;) / UnitHealthMax(&amp;quot;target&amp;quot;)

if IsSpellInRange(&amp;quot;Throwdown&amp;quot;, &amp;quot;target&amp;quot;) == 1 then
   if mytarget &amp;lt;= 45 then
      return true
   end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Shattering Throw</Name><Default>false</Default><SpellID>64382</SpellID><Actions></Actions><Lua>bDS = UnitBuffID(&amp;quot;target&amp;quot;, 642) --Divine Shield
bBOP = UnitBuffID(&amp;quot;target&amp;quot;, 1022) --Hand of Protection
bIB = UnitBuffID(&amp;quot;target&amp;quot;, 45438) --Ice Block
      
if IsSpellInRange(&amp;quot;Shattering Throw&amp;quot;, &amp;quot;target&amp;quot;) == 1 and bDS ~= nil or bBOP ~= nil or bIB ~= nil then
   return true
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Overpower</Name><Default>false</Default><SpellID>7384</SpellID><Actions>/startattack</Actions><Lua>if IsSpellInRange(&amp;quot;Overpower&amp;quot;, &amp;quot;target&amp;quot;) == 1 then return true
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Mortal Strike</Name><Default>false</Default><SpellID>12294</SpellID><Actions></Actions><Lua>if IsSpellInRange(&amp;quot;Mortal Strike&amp;quot;, &amp;quot;target&amp;quot;) == 1 then return true end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Hamstring</Name><Default>false</Default><SpellID>1715</SpellID><Actions>/startattack</Actions><Lua>local levelCheck = UnitLevel(&amp;quot;target&amp;quot;)
if levelCheck == -1 then
   --boss level is -1... do not cast this on a boss.
   return false
end

if IsSpellInRange(&amp;quot;Hamstring&amp;quot;, &amp;quot;target&amp;quot;) == 1 then
if UnitName(&amp;quot;target&amp;quot;) ~= nil then
   bHoF = UnitBuffID(&amp;quot;target&amp;quot;, 1044) --Hand of Freedom
   if bHoF == nil then
      bHoF = UnitBuffID(&amp;quot;target&amp;quot;, 53271) --Master&amp;apos;s Call
   end
   bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 1715) --Hamstring
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 45524) --Chains of Ice
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 16979) --Feral Charge
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 2974) --Wing Clip
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 13809) --Frost Trap...
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 5116) --Conc Shot
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 116) --Frostbolt
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 120) --Cone of Cold
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 11113) --Blast Wave
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 31589) --Slow
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 15407) --Mind Flay
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 3408) --Crippling Poison
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 26679) --Deadly Throw
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 8056) --Frost Shock
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 3600) --Earthbind
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 18223) --Curse of Exhaustion
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 12323) --Piercing Howl
   end
   if bHoF == nil and bSlow == nil then
      return true
   end
end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Execute</Name><Default>false</Default><SpellID>5308</SpellID><Actions></Actions><Lua>local unithealth = 100 * UnitHealth(&amp;quot;target&amp;quot;) / UnitHealthMax(&amp;quot;target&amp;quot;)
      
if IsSpellInRange(&amp;quot;Execute&amp;quot;, &amp;quot;target&amp;quot;) == 1 and unithealth &amp;lt; 20 then
if UnitPower(&amp;quot;player&amp;quot;) &amp;gt; 65 then
  return true
end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Enraged Regeneration</Name><Default>false</Default><SpellID>55694</SpellID><Actions></Actions><Lua>local enraged = UnitBuffID(&amp;quot;player&amp;quot;, 14202)
local braged = UnitBuffID(&amp;quot;player&amp;quot;, 18499)
local unithealth = 100 * UnitHealth(&amp;quot;player&amp;quot;) / UnitHealthMax(&amp;quot;player&amp;quot;)
      
if enraged ~= nil and unithealth &amp;lt; 45 then
   return true
else
   if braged ~= nil and unithealth &amp;lt; 45 then
      return true
   end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Colossus Smash</Name><Default>false</Default><SpellID>86346</SpellID><Actions>/startattack</Actions><Lua>local csDebuff = UnitDebuffID(&amp;quot;target&amp;quot;, 86346, &amp;quot;PLAYER|HARMFUL&amp;quot;)
if IsSpellInRange(&amp;quot;Colossus Smash&amp;quot;, &amp;quot;target&amp;quot;) == 1 and  csDebuff == nil and UnitPower(&amp;quot;player&amp;quot;) &amp;gt;= 25 then
   return true
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Berserker Rage</Name><Default>false</Default><SpellID>18499</SpellID><Actions></Actions><Lua>pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 5782) --fear
if pvpdebuffCheck == nil then
   pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 8122) --psychic scream
end
if pvpdebuffCheck == nil then
   pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 6770) --sap
end
if pvpdebuffCheck == nil then
   pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 20066) --Repentance
end
if pvpdebuffCheck == nil then
   pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 5484) --Howl of terror
end
if pvpdebuffCheck == nil then
   pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;player&amp;quot;, 5246) --Intimidating shout
end

if pvpdebuffCheck ~= nil then
   if (expire - GetTime()) &amp;gt;= 4 then
      return true
   end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Rend</Name><Default>false</Default><SpellID>772</SpellID><Actions></Actions><Lua>if IsSpellInRange(&amp;quot;Rend&amp;quot;, &amp;quot;target&amp;quot;) == 1 and UnitDebuffID(&amp;quot;target&amp;quot;, 94009) == nil then return true end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Inner Rage</Name><Default>false</Default><SpellID>1134</SpellID><Actions></Actions><Lua>if IsSpellInRange(&amp;quot;Heroic Strike&amp;quot;, &amp;quot;target&amp;quot;) == 1 and UnitPower(&amp;quot;player&amp;quot;) &amp;gt;= 90 then return true end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Heroic Strike</Name><Default>false</Default><SpellID>78</SpellID><Actions></Actions><Lua>if IsSpellInRange(&amp;quot;Heroic Strike&amp;quot;, &amp;quot;target&amp;quot;) == 1 then
   if UnitPower(&amp;quot;player&amp;quot;) &amp;gt;= 65 then
      return true
   end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Demoralizing Shout</Name><Default>false</Default><SpellID>1160</SpellID><Actions></Actions><Lua>local DB = UnitDebuffID(&amp;quot;target&amp;quot;, 1160)

if IsSpellInRange(&amp;quot;Intimidating Shout&amp;quot;, &amp;quot;target&amp;quot;) == 1 then
   if DB == nil then
      return true
   end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Autotarget</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>if UnitAffectingCombat(&amp;quot;player&amp;quot;) and UnitExists(&amp;quot;target&amp;quot;) == nil then
  TargetNearestEnemy()
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Battle Shout</Name><Default>false</Default><SpellID>6673</SpellID><Actions></Actions><Lua>if IsMounted() then
   return false
else
   if UnitPower(&amp;quot;player&amp;quot;) &amp;lt; 60 then
      return true
   end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Heroic leap</Name><Default>false</Default><SpellID>6544</SpellID><Actions></Actions><Lua>if IsLeftControlKeyDown() then
  return true
end</Lua><RecastDelay>0</RecastDelay><Target>Click</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Rallying Cry</Name><Default>false</Default><SpellID>97462</SpellID><Actions></Actions><Lua>local mytarget = 100 * UnitHealth(targettoheal) / UnitHealthMax(targettoheal)

if mytarget &amp;lt; 25 then
   return true
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Piercing Howl</Name><Default>false</Default><SpellID>12323</SpellID><Actions>/startattack</Actions><Lua>local levelCheck = UnitLevel(&amp;quot;target&amp;quot;)
if levelCheck == -1 then
   --boss level is -1... do not cast this on a boss.
   return false
end

if IsSpellInRange(&amp;quot;Intimidating Shout&amp;quot;, &amp;quot;target&amp;quot;) == 1 then
if UnitName(&amp;quot;target&amp;quot;) ~= nil then
   bHoF = UnitBuffID(&amp;quot;target&amp;quot;, 1044) --Hand of Freedom
   if bHoF == nil then
      bHoF = UnitBuffID(&amp;quot;target&amp;quot;, 53271) --Master&amp;apos;s Call
   end
   bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 1715) --Hamstring
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 45524) --Chains of Ice
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 16979) --Feral Charge
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 2974) --Wing Clip
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 13809) --Frost Trap...
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 5116) --Conc Shot
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 116) --Frostbolt
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 120) --Cone of Cold
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 11113) --Blast Wave
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 31589) --Slow
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 15407) --Mind Flay
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 3408) --Crippling Poison
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 26679) --Deadly Throw
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 8056) --Frost Shock
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 3600) --Earthbind
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 18223) --Curse of Exhaustion
   end
   if bSlow == nil then
      bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 12323) --Piercing Howl
   end
   if bHoF == nil and bSlow == nil then
      return true
   end
end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Charge</Name><Default>false</Default><SpellID>100</SpellID><Actions></Actions><Lua>if IsSpellInRange(&amp;quot;Shattering Throw&amp;quot;, &amp;quot;target&amp;quot;) == 1
   then if IsSpellInRange(&amp;quot;Intimidating Shout&amp;quot;, &amp;quot;target&amp;quot;) ~= 1 then
      return true
   else
      return false
   end
else
   return false
end</Lua><RecastDelay>50</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Thunderclap</Name><Default>false</Default><SpellID>6343</SpellID><Actions></Actions><Lua>if IsSpellInRange(&amp;quot;Intimidating Shout&amp;quot;, &amp;quot;target&amp;quot;) == 1 then
   if UnitDebuffID(&amp;quot;target&amp;quot;, 6343) == nil then
      return true
   end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Piercing Howl Unconditioned</Name><Default>false</Default><SpellID>12323</SpellID><Actions>/startattack</Actions><Lua>if IsSpellInRange(&amp;quot;Intimidating Shout&amp;quot;, &amp;quot;target&amp;quot;) == 1 then
   return true
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Heroic Throw</Name><Default>false</Default><SpellID>57755</SpellID><Actions></Actions><Lua>if IsSpellInRange(&amp;quot;Heroic Throw&amp;quot;, &amp;quot;target&amp;quot;) == 1 then
   return true
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Targettoheal suporter</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>if UnitExists(&amp;quot;target&amp;quot;) and UnitIsDead(&amp;quot;target&amp;quot;) == nil and UnitCanCooperate(&amp;quot;player&amp;quot;,&amp;quot;target&amp;quot;)
then targettoheal = &amp;quot;target&amp;quot;
elseif UnitExists(&amp;quot;mouseover&amp;quot;) and UnitIsDead(&amp;quot;mouseover&amp;quot;) == nil and UnitCanCooperate(&amp;quot;player&amp;quot;,&amp;quot;mouseover&amp;quot;)
then targettoheal = &amp;quot;mouseover&amp;quot;
else

targettoheal = &amp;quot;player&amp;quot;
local lowest = 100 * UnitHealth(targettoheal) / UnitHealthMax(targettoheal)
local group = &amp;quot;party&amp;quot;
local members = GetNumPartyMembers()
lowhpmembers = 0
allinrange = 1
missingfortitude = nil
missingshadow = nil

if GetNumRaidMembers() &amp;gt; 0 then
  group = &amp;quot;raid&amp;quot;
  members = GetNumRaidMembers()
end

for i = 1, members, 1 do
  local member = group..tostring(i)
  local memberhp = 100 * UnitHealth(member) / UnitHealthMax(member)
  if UnitInRange(member) == false then allinrange = nil end
  if UnitBuffID(member, 79105) == nil and UnitIsDead(member) == nil then missingfortitude = 1 end
  if UnitBuffID(member, 79107) == nil and UnitIsDead(member) == nil then missingshadow = 1 end
  if UnitGroupRolesAssigned(member) == &amp;quot;TANK&amp;quot; then memberhp = memberhp - 5 end
  if UnitThreatSituation(member) == 3 then memberhp = memberhp - 5 end
  if memberhp &amp;lt; 95 and UnitInRange(member) then lowhpmembers = lowhpmembers +1 end
  if memberhp &amp;gt; 1  and memberhp &amp;lt; lowest and UnitInRange(member) then
    targettoheal = member
    lowest = memberhp
  end
end

end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Alfa: Hamstring Snear</Name><Default>false</Default><SpellID>1715</SpellID><Actions>/startattack</Actions><Lua>bSlow = UnitDebuffID(&amp;quot;target&amp;quot;, 1715) --Hamstring

if IsSpellInRange(&amp;quot;Hamstring&amp;quot;, &amp;quot;target&amp;quot;) == 1 then
   if bSlow ~= nil then
      return true
   end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Alfa: Escape Artist</Name><Default>false</Default><SpellID>20589</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Alfa: Disarm</Name><Default>false</Default><SpellID>676</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Demoralizing Shout Unconditioned</Name><Default>false</Default><SpellID>1160</SpellID><Actions></Actions><Lua>if IsMounted() then
   return false
else
   if UnitAffectingCombat(&amp;quot;player&amp;quot;) == nil and UnitExists(&amp;quot;target&amp;quot;) == nil then
      return true
   end
end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Alfa: Spell Reflection</Name><Default>false</Default><SpellID>0</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Alfa: Shield Block</Name><Default>false</Default><SpellID>0</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Alfa: Shield Wall</Name><Default>false</Default><SpellID>0</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Alfa: Intimidating Shout</Name><Default>false</Default><SpellID>0</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Alfa: Retaliate</Name><Default>false</Default><SpellID>0</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Alfa: Deadly calm</Name><Default>false</Default><SpellID>0</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Alfa: Recklessness</Name><Default>false</Default><SpellID>0</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Alfa: Bladestorm</Name><Default>false</Default><SpellID>0</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability></WARRIOR>

Download here
Pass: R4G470KK


Last edited by R4G470KK on Sat Dec 03, 2011 9:42 am; edited 3 times in total (Reason for editing : Download link by request.)

R4G470KK

Posts : 7
Join date : 2011-12-02

View user profile

Back to top Go down

Help

Post  Bestdamn on Fri Dec 02, 2011 4:11 pm

Is it possible for you to just upload the 2 files in a zip please? Having problems copying and pasting the abilities section without getting error codes.

Thanks

Bestdamn
Guest


Back to top Go down

Download link

Post  R4G470KK on Fri Dec 02, 2011 4:35 pm

Added download link in first post.

R4G470KK

Posts : 7
Join date : 2011-12-02

View user profile

Back to top Go down

Nice

Post  n00b on Fri Dec 23, 2011 8:07 pm

Works well, any update?? Is there a way to remove Recklessness after Throwdown so it can be used for manual burst?

thanks!

n00b
Guest


Back to top Go down

Re: Arms PvP profile, Functional (better then what has been posted previously) Still in development.

Post  R4G470KK on Sat Dec 24, 2011 11:58 am

Have not been working on an update lately, but if you want to remove the use of reclesness after throwdown you just go to the ability manger pick warrior-r4g470kk find throwdown and delete the /use recklessness on it.

R4G470KK

Posts : 7
Join date : 2011-12-02

View user profile

Back to top Go down

Trinket

Post  n00b on Sun Dec 25, 2011 7:39 pm

So i updated the Trinket ability to work with the Ruthless Gladiator's Medallion of Tenacity in slot 13. It was previously for Bloodthirsty.. I was wondering what this is for: if UnitFactionGroup("player") == "Alliance" . If I'm Horde, should I change it to Horde? Thanks!

Code:
if UnitFactionGroup("player") == "Alliance" then
  if GetInventoryItemID("player", 13) == 72413 then
      myTrinket = GetItemCooldown(72413) 
  else
      myTrinket = nil
  end
else
  if GetInventoryItemID("player", 13) == 72413 then
     
      myTrinket = GetItemCooldown(72413) 
  else
      myTrinket = nil
  end
end

if myTrinket ~= nil then
  --check if we have a debuff
  if myTrinket == 0 then
  pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID("player", 118) --Polymorph
if pvpdebuffCheck == nil then
  pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID("player", 605) --Mind Control
end
if pvpdebuffCheck == nil then
  pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID("player", 51514) --Hex
end
if pvpdebuffCheck == nil then
  pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID("player", 6358) --Seduction
end
if pvpdebuffCheck == nil then
  pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID("player", 82676) --Ring of Frost
end
if pvpdebuffCheck == nil then
  pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID("player", 2094) --Blind
end
if pvpdebuffCheck == nil then
  pvpdebuffCheck, _, _, _, _, _, expire = UnitDebuffID("player", 853) --Hammer of Justice 
end

      if pvpdebuffCheck ~= nil then
        if (expire - GetTime()) >= 4 then
            return true
        else
            return false
        end
      else
        return false
      end
  else
      return false
  end
end

n00b
Guest


Back to top Go down

Re: Arms PvP profile, Functional (better then what has been posted previously) Still in development.

Post  Krizkor on Thu Dec 29, 2011 9:37 pm

Just add /use14 as an action

uses the trinket slot instead of a certain trinket

Krizkor
Guest


Back to top Go down

Re: Arms PvP profile, Functional (better then what has been posted previously) Still in development.

Post  Sponsored content Today at 10:02 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum