Arms - Original

3 posts Page 1 of 1
Kaminaris
Site Admin
Posts: 297
Joined: 25 Jun 2017, 03:45


Rotation for Warrior Arms taken from MaxDps_Warrior Module.

List of spells:
  1. local _ColossusSmash = 167105;
  2. local _Warbreaker = 209577;
  3. local _Overpower = 7384;
  4. local _ExecuteArms = 163201;
  5. local _ShatteredDefenses = 209574;
  6. local _MortalStrike = 12294;
  7. local _Slam = 1464;
  8. local _Rend = 772;
  9. local _FocusedRageArms = 207982;
  10. local _FervorofBattle = 202316;
  11. local _WhirlwindArms = 1680;
  12. local _DeadlyCalm = 227266;
  13. local _Avatar = 107574;
  14. local _SweepingStrikes = 202161;
  15. local _Cleave = 845;
  16. local _BladestormArms = 227847;
  17. local _BoundingStride = 202163;
  18. local _HeroicLeap = 6544;
  19. local _DefensiveStance = 197690;
  20. local _Tactician = 184783;
  21. local _MasteryColossalMight = 76838;
  22. local _DoubleTime = 103827;
  23. local _DiebytheSword = 118038;
  24. local _CommandingShout = 97462;
Rotation
  1. function MaxDps.Warrior.Arms()
  2.     local timeShift, currentSpell, gcd = MaxDps:EndCast();
  3.  
  4.     local rage = UnitPower('player', SPELL_POWER_RAGE);
  5.     local rageMax = UnitPowerMax('player', SPELL_POWER_RAGE);
  6.  
  7.     local cs = MaxDps:SpellAvailable(_ColossusSmash, timeShift);
  8.     local ms = MaxDps:SpellAvailable(_MortalStrike, timeShift);
  9.  
  10.     local csAura = MaxDps:TargetAura(_ColossusSmash, timeShift);
  11.     local sd = MaxDps:Aura(_ShatteredDefenses, timeShift);
  12.     local bcAura = MaxDps:Aura(_BattleCry, timeShift);
  13.  
  14.     local ph = MaxDps:TargetPercentHealth();
  15.  
  16.     MaxDps:GlowCooldown(_BattleCry, MaxDps:SpellAvailable(_BattleCry, timeShift));
  17.     MaxDps:GlowCooldown(_BladestormArms, MaxDps:SpellAvailable(_BladestormArms, timeShift));
  18.  
  19.     if cs and (not _isFocusedRage or not sd) then
  20.         return _ColossusSmash;
  21.     end
  22.  
  23.     if MaxDps:SpellAvailable(_Warbreaker, timeShift) and not csAura and (not _isFocusedRage or not sd) then
  24.         return _Warbreaker;
  25.     end
  26.  
  27.     if not _isFocusedRage and _isOverpower and MaxDps:SpellAvailable(_Overpower, timeShift) and rage >= 10 then
  28.         return _Overpower;
  29.     end
  30.  
  31.     if (ph < 0.2 and ((sd and not _isFocusedRage) or _isFocusedRage)) or MaxDps:Aura(_StoneHeart, timeShift) then
  32.         return _ExecuteArms;
  33.     end
  34.  
  35.     if _isFocusedRage and MaxDps:SpellAvailable(_FocusedRageArms, timeShift) and (csAura or bcAura) then
  36.         return _FocusedRage;
  37.     end
  38.  
  39.     if ms then
  40.         return _MortalStrike;
  41.     end
  42.  
  43.     if _isFocusedRage then
  44.         if rage > 32 and not ms and not cs then
  45.             return _Slam;
  46.         end
  47.  
  48.         if rage > rageMax - 25 then
  49.             return _FocusedRageArms;
  50.         end
  51.  
  52.         return nil;
  53.     else
  54.         return _Slam;
  55.     end
  56. end
Slydee
Posts: 1
Joined: 25 Jun 2017, 22:50


Thanks For the Code now i can try a bit with it :D
any idea when hunters get updated ?
Kaminaris
Site Admin
Posts: 297
Joined: 25 Jun 2017, 03:45


Code was always in file. Now you can try to play with it in custom rotations window. If you happen to improve it, please post your rotation in this thread. If you make better one from scratch, post a new thread in Warrior forums.
3 posts Page 1 of 1
drogie łóżka stolik kawowy stół dębowy rozkładany