Advertisement
Musti145

Untitled

Oct 6th, 2015
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. if GetObjectName(GetMyHero()) == "Evelynn" then
  2. EvelynnM = Menu("Evelynn", "Evelynn")
  3. EvelynnM:SubMenu("Combo", "Combo")
  4. EvelynnM.Combo:Boolean("Q", "Use Q", true)
  5. EvelynnM.Combo:Boolean("W", "Use W", true)
  6. EvelynnM.Combo:Boolean("E", "Use E", true)
  7. EvelynnM.Combo:Boolean("R", "Use R", true)
  8.  
  9. --Start
  10. OnLoop(function(myHero)
  11. local unit = GetCurrentTarget()
  12. if IOW:Mode() == "Combo" then
  13.  
  14. if GoS:ValidTarget(unit, 950) then
  15.  
  16. -- Evelynn W
  17. if EvelynnM.Combo.W then
  18. if GetCastName(myHero, _W) == "EvelynnW" then
  19. if CanUseSpell(myHero, _W) == READY then
  20. CastSpell(myHero,_W)
  21. end
  22. end
  23. end
  24. -- Evelynn Q
  25. if EvelynnM.Combo.Q then
  26. if GetCastName(myHero, _Q) == "EvelynnQ" then
  27. if CanUseSpell(myHero, _Q) == READY then
  28. CastTargetSpell(myHero,_Q)
  29. end
  30. end
  31. end
  32. -- Evelynn E
  33. if EvelynnM.Combo.E then
  34. if GetCastName(myHero, _E) == "EvelynnE" then
  35. if CanUseSpell(myHero, _E) == READY then
  36. CastTargetSpell(unit,_E)
  37. end
  38. end
  39. end
  40. -- Evelynn R
  41. if EvelynnM.Combo.R then
  42. if GetCastName(myHero, _R) == "EvelynnR" then
  43. local RPred = GetPredictionForPlayer(GoS:myHeroPos(),unit,GetMoveSpeed(unit),1600,250,650,55,false,true)
  44. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  45. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  46. end
  47. end
  48. end
  49. end
  50. end
  51. end)
  52.  
  53. PrintChat("Evelynn by Musti")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement