Advertisement
Guest User

Untitled

a guest
Feb 5th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. function Combo()
  2. if not target then return
  3. end
  4. if m.combokey then
  5. if myHero:GetSpellData(_E).level >= 1 then
  6. if myHero:GetSpellData(_E).currentCd > 0.6 then SxOrb:EnableAttacks()
  7. else SxOrb:DisableAttacks()
  8. end
  9. else SxOrb:EnableAttacks()
  10. end
  11. if m.prediction == 1 then
  12. if Qready and m.combosettings.useq and target then
  13. CastPreQ(target)
  14. end
  15. if m.combosettings.useonly and Wdelay and Wready and m.combosettings.usew and target then
  16. Wdelay = false
  17. DelayAction(function() Wdelay = true end, 1)
  18. CastPreW(target)
  19. elseif not m.combosettings.useonly and Wready and m.combosettings.usew and target then
  20. CastPreW(target)
  21. end
  22. else
  23. if Qready and m.combosettings.useq and target then
  24. CastHQ(target)
  25. end
  26. if m.combosettings.useonly and Wdelay and Wready and m.combosettings.usew and target then
  27. Wdelay = false
  28. DelayAction(function() Wdelay = true end, 1)
  29. CastHW(target)
  30. elseif not m.combosettings.useonly and Wready and m.combosettings.usew and target then
  31. CastHW(target)
  32. end
  33. end
  34. if m.legit.lmode then
  35. if m.legit.stutter and Eready and target and GetDistance(target) < 690 and m.combosettings.usee and Edelay and (PoisM(target) or PoisN(target)) then
  36. Edelay = false
  37. SxOrb:DisableMove()
  38. if check then
  39. check = false
  40. DelayAction(function() check = true SxOrb:EnableMove() end, 0.5)
  41. end
  42. DelayAction(function() Edelay = true end, m.legit.edelaym)
  43. CastSpell(_E, target)
  44. end
  45. if not m.legit.stutter and Eready and target and GetDistance(target) < 690 and m.combosettings.usee and Edelay and (PoisM(target) or PoisN(target)) then
  46. Edelay = false
  47. DelayAction(function() Edelay = true end, m.legit.edelaym)
  48. CastSpell(_E, target)
  49. end
  50. elseif not m.legit.lmode and Eready and target and GetDistance(target) < 690 and m.combosettings.usee and (PoisM(target) or PoisN(target)) then
  51. CastSpell(_E, target)
  52. end
  53. end
  54. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement