Retribution - Original

1 post Page 1 of 1
Kaminaris
Site Admin
Posts: 32
Joined: 25 Jun 2017, 03:45


Original Retribution rotation:

Spell list:
  1. local _TemplarsVerdict = 85256;
  2. local _Judgment = 20271;
  3. local _CrusaderStrike = 35395;
  4. local _BladeofJustice = 184575;
  5. local _AshestoAshes = 179546;
  6. local _WakeofAshes = 205273;
  7. local _Crusade = 224668;
  8. local _AvengingWrath = 31884;
  9. local _DivineStorm = 53385;
  10. local _Heroism = 32182;
  11. local _Bloodlust = 2825;
  12. local _TimeWarp = 80353;
  13. local _ShieldofVengeance = 184662;
  14. local _MasteryDivineJudgment = 76672;
  15. local _JusticarsVengeance = 215661;
  16. local _DivinePurpose = 223817;
  17. local _GreaterBlessingofMight = 203528;
  18. local _HolyWrath = 210220;
  19. local _Zeal = 217020;
  20. local _BlindingLight = 115750;
  21. local _FinalVerdict = 198038;
  22. local _ExecutionSentence = 213757;
  23. local _EyeforanEye = 205191;
  24. local _Consecration = 26573;
  25. local _DivineHammer = 198034;

Rotation:
  1. function MaxDps.Paladin.Retribution(_, timeShift, currentSpell, gcd, talents)
  2.     local crusStrike = _CrusaderStrike;
  3.     if talents[_Zeal] then
  4.         crusStrike = _Zeal;
  5.     end
  6.  
  7.     local bladeOfJustice = _BladeofJustice;
  8.     if talents[_DivineHammer] then
  9.         bladeOfJustice = _DivineHammer;
  10.     end
  11.  
  12.     local holyPower = UnitPower('player', SPELL_POWER_HOLY_POWER);
  13.     local jAura, jAuraCD = MaxDps:TargetAura(_Judgment, timeShift + 0.5);
  14.     local dp = MaxDps:Aura(_DivinePurpose, timeShift);
  15.     local j, jCD = MaxDps:SpellAvailable(_Judgment, timeShift);
  16.     local _, crusadeCD = MaxDps:SpellAvailable(_Crusade, timeShift);
  17.     local crus, crusCD = MaxDps:SpellAvailable(crusStrike, timeShift);
  18.     local boj, bojCD = MaxDps:SpellAvailable(bladeOfJustice, timeShift);
  19.  
  20.     MaxDps:GlowCooldown(_AvengingWrath, MaxDps:SpellAvailable(_AvengingWrath, timeShift));
  21.     MaxDps:GlowCooldown(_ShieldofVengeance, MaxDps:SpellAvailable(_ShieldofVengeance, timeShift));
  22.  
  23.     if talents[_BlindingLight] then
  24.         MaxDps:GlowCooldown(_BlindingLight, MaxDps:SpellAvailable(_BlindingLight, timeShift));
  25.     end
  26.  
  27.     if talents[_EyeforanEye] then
  28.         MaxDps:GlowCooldown(_EyeforanEye, MaxDps:SpellAvailable(_EyeforanEye, timeShift));
  29.     end
  30.  
  31.     if talents[_Crusade] then
  32.         MaxDps:GlowCooldown(_Crusade, MaxDps:SpellAvailable(_Crusade, timeShift));
  33.     end
  34.  
  35.     if talents[_ExecutionSentence]
  36.         and MaxDps:SpellAvailable(_ExecutionSentence, timeShift)
  37.         and holyPower >= 3
  38.         and (
  39.             (jCD < gcd * 4.5) or (jAuraCD > gcd * 4.67)
  40.         ) and (
  41.             not talents[_Crusade] or (crusadeCD > gcd * 2)
  42.         )
  43.     then
  44.         return _ExecutionSentence;
  45.     end
  46.  
  47.     if jAura and (holyPower > 2 or dp) then
  48.         return _TemplarsVerdict;
  49.     end
  50.  
  51.     if MaxDps:SpellAvailable(_WakeofAshes, timeShift) and holyPower <= 1 then
  52.         return _WakeofAshes;
  53.     end
  54.  
  55.     if crus and holyPower < 5 then
  56.         return crusStrike;
  57.     end
  58.  
  59.     if boj and holyPower <= 3 then
  60.         return bladeOfJustice;
  61.     end
  62.  
  63.     if j and holyPower >= 3 then
  64.         return _Judgment;
  65.     end
  66.  
  67.     if talents[_Consecration] and MaxDps:SpellAvailable(_Consecration, timeShift) then
  68.         return _Consecration;
  69.     end
  70.  
  71.     if holyPower >= 3 and jCD < bojCD and jCD < crusCD then
  72.         return _Judgment;
  73.     end
  74.  
  75.     if bojCD < crusCD then
  76.         return bladeOfJustice;
  77.     else
  78.         return crusStrike;
  79.     end
  80. end
1 post Page 1 of 1
drogie łóżka stolik kawowy stół dębowy rozkładany