Vengeance - Original

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


Vengeance original rotation

List of Spells:
  1. local _SoulCarver = 207407;
  2. local _FelDevastation = 212084;
  3. local _SoulCleave = 228477;
  4. local _ImmolationAura = 178740;
  5. local _Shear = 203783;
  6. local _SigilOfFlame = 204596;
  7. local _InfernalStrike = 189110;
  8. local _FieryBrand = 204021;
  9. local _DemonSpikes = 203720;
  10. local _MetamorphosisV = 187827;
  11. local _EmpowerWards = 218256;
  12. local _Sever = 235964;
Rotation
  1. function MaxDps.DemonHunter.Vengeance(_, timeShift, currentSpell, gcd, talents)
  2.     local pain = UnitPower('player', SPELL_POWER_PAIN);
  3.     local painMax = UnitPowerMax('player', SPELL_POWER_PAIN);
  4.  
  5.     local meta = MaxDps:Aura(_MetamorphosisV, timeShift);
  6.  
  7.     MaxDps:GlowCooldown(_MetamorphosisV, MaxDps:SpellAvailable(_MetamorphosisV, timeShift));
  8.     MaxDps:GlowCooldown(_InfernalStrike, MaxDps:SpellAvailable(_InfernalStrike, timeShift));
  9.  
  10.     -- Rotation
  11.  
  12.     -- #1. Soul Carver on cooldown
  13.     if MaxDps:SpellAvailable(_SoulCarver, timeShift) then
  14.         return _SoulCarver;
  15.     end
  16.  
  17.     -- #2. Fel Devastation on cooldown
  18.     if talents[_FelDevastation] and MaxDps:SpellAvailable(_FelDevastation, timeShift) and pain >= 30 then
  19.         return _FelDevastation;
  20.     end
  21.  
  22.     -- #3. Soul Cleave above 80 pain
  23.     if pain > 80 then
  24.         return _SoulCleave;
  25.     end
  26.  
  27.     -- #4. Immolation Aura on cooldown
  28.     if MaxDps:SpellAvailable(_ImmolationAura, timeShift) then
  29.         return _ImmolationAura;
  30.     end
  31.  
  32.     -- #5. Felblade on cooldown
  33.     if talents[_Felblade] and MaxDps:SpellAvailable(_Felblade, timeShift) then
  34.         return _Felblade;
  35.     end
  36.  
  37.     -- #6. Sigil of Flame on cooldown
  38.     if MaxDps:SpellAvailable(_SigilOfFlame, timeShift) then
  39.         return _SigilOfFlame;
  40.     end
  41.  
  42.     -- #7. Shear as a filler
  43.     if meta then
  44.         return _Sever;
  45.     else
  46.         return _Shear;
  47.     end
  48. end
1 post Page 1 of 1
drogie łóżka stolik kawowy stół dębowy rozkładany