Illprotectjew

IPJMalz-noKS v.1.1

May 28th, 2014
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.95 KB | None | 0 0
  1. require 'Utils'
  2. require 'winapi'
  3. require 'SKeys'
  4. require 'vals_lib'
  5. local uiconfig = require 'uiconfig'
  6. local Q,W,E,R = 'Q','W','E','R'
  7.  
  8.     cfg, menu = uiconfig.add_menu('IPJ Malzahar Config', 200)
  9.     menu.keydown('Combo', 'Combo', Keys.Y)
  10.     menu.permashow('Combo')
  11.  
  12. function Main()
  13.     if IsLolActive() and myHero.name == 'Malzahar' then
  14.         SetScriptTimer(5)
  15.         GetCD()
  16.         local target = GetWeakEnemy('MAGIC',700)
  17.         if cfg.Combo then
  18.             SpellTarget(E,QRDY,myHero,target,650)
  19.             SpellPred(W,WRDY,myHero,target,650,2.5,99)
  20.             SpellPred(Q,QRDY,myHero,target,650,2.5,99)
  21.             SpellTarget(R,QRDY,myHero,target,650)
  22.         end
  23.         if myHero.dead==0 and target~=nil then CustomCircle(75,15,2,target) end
  24.         if myHero.dead==0 then CustomCircle(645,3,3,myHero) end
  25.         if myHero.dead==0 then CustomCircle(650,1,2,myHero) end
  26.         if myHero.dead==0 then CustomCircle(655,3,4,myHero) end
  27.     end
  28. end
  29.  
  30. SetTimerCallback('Main')
Advertisement
Add Comment
Please, Sign In to add comment