Windwalker - Original

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


Windwalker Original Rotation

Spell list:
  1. local _FistsofFury = 113656;
  2. local _StrikeoftheWindlord = 205320;
  3. local _WhirlingDragonPunch = 152175;
  4. local _TigerPalm = 100780;
  5. local _RisingSunKick = 107428;
  6. local _ChiWave = 115098;
  7. local _BlackoutKick = 100784;
  8. local _BlackoutKickAura = 116768;
  9. local _MarkoftheCrane = 228287;
  10. local _SpinningCraneKick = 101546;
  11. local _StormEarthandFire = 137639;
  12. local _Serenity = 152173;
  13. local _RushingJadeWind = 116847;
  14. local _ChiBurst = 123986;
  15. local _TouchofDeath = 115080;
  16. local _Ascension = 115396;
  17. local _MasteryComboStrikes = 115636;
  18. local _Afterlife = 116092;
  19. local _HealingSphere = 125355;
  20. local _TouchofKarma = 122470;
  21. local _EnergizingElixir = 115288;
  22. local _Roll = 109132;
  23. local _Celerity = 115173;
  24. local _HitCombo = 196740;
  25. local _HitComboAura = 196741;
  26. local _Transcendence = 101643;
  27. local _TranscendenceTransfer = 119996;

Rotation:
  1. function MaxDps.Monk.Windwalker(_, timeShift, currentSpell, gcd, talents)
  2.     local chi = UnitPower('player', SPELL_POWER_CHI);
  3.     local energy = UnitPower('player', SPELL_POWER_ENERGY);
  4.     local energyMax = UnitPowerMax('player', SPELL_POWER_ENERGY);
  5.  
  6.     local hit, hitCharges = MaxDps:Aura(_HitComboAura, timeShift);
  7.  
  8.     local rsk = MaxDps:SpellAvailable(_RisingSunKick, timeShift);
  9.     local fotf, fotfCd = MaxDps:SpellAvailable(_FistsofFury, timeShift);
  10.  
  11.     if talents[_StormEarthandFire] then
  12.         MaxDps:GlowCooldown(_StormEarthandFire, MaxDps:SpellAvailable(_StormEarthandFire, timeShift));
  13.     end
  14.  
  15.     if talents[_Serenity] then
  16.         MaxDps:GlowCooldown(_Serenity, MaxDps:SpellAvailable(_Serenity, timeShift));
  17.     end
  18.  
  19.     MaxDps:GlowCooldown(_TouchofDeath, MaxDps:SpellAvailable(_TouchofDeath, timeShift));
  20.  
  21.     if talents[_WhirlingDragonPunch]
  22.         and not fotf
  23.         and not rsk
  24.         and MaxDps:SpellAvailable(_WhirlingDragonPunch, timeShift)
  25.     then
  26.         return _WhirlingDragonPunch;
  27.     end
  28.  
  29.     if fotf and chi >= 3 then
  30.         return _FistsofFury;
  31.     end
  32.  
  33.     if MaxDps:SpellAvailable(_StrikeoftheWindlord, timeShift) and chi >= 2 then
  34.         return _StrikeoftheWindlord;
  35.     end
  36.  
  37.     if (chi < 4 and (energyMax - energy < 20)) and (not hit or MaxDps.lastSpellId ~= _TigerPalm) then
  38.         return _TigerPalm;
  39.     end
  40.  
  41.     if (rsk and chi >= 2) and (not hit or MaxDps.lastSpellId ~= _RisingSunKick) then
  42.         return _RisingSunKick;
  43.     end
  44.  
  45.     if talents[_ChiWave] and MaxDps:SpellAvailable(_ChiWave, timeShift) then
  46.         return _ChiWave;
  47.     end
  48.  
  49.     local canBlackout = MaxDps:Aura(_BlackoutKickAura, timeShift) or
  50.             (MaxDps:SpellAvailable(_BlackoutKick, timeShift) and chi > 0);
  51.     if
  52.         (canBlackout and (chi > 3 or fotfCd > 3))
  53.         and (not hit or MaxDps.lastSpellId ~= _BlackoutKick)
  54.     then
  55.         return _BlackoutKick;
  56.     end
  57.  
  58.     if hit and MaxDps.lastSpellId == _TigerPalm then
  59.         return nil;
  60.     else
  61.         return _TigerPalm;
  62.     end
  63. end
1 post Page 1 of 1
drogie łóżka stolik kawowy stół dębowy rozkładany