Permalink
Find file
0ba8933 Aug 14, 2016
163 lines (133 sloc) 5.45 KB
if GetObjectName(GetMyHero()) ~= "Evelynn" then return end
local ver = "2"
function AutoUpdate(data)
if tonumber(data) > tonumber(ver) then
PrintChat("New version found! " .. data)
PrintChat("Downloading update, please wait...")
DownloadFileAsync("https://raw.githubusercontent.com/multimartax/gamingonsteroids/master/eve.lua", SCRIPT_PATH .. "eve.lua", function() PrintChat(" 2x F6! ") return end)
else
PrintChat("eve op")
end
end
GetWebResultAsync("https://raw.githubusercontent.com/multimartax/gamingonsteroids/master/eve.version", AutoUpdate)
if not FileExist(COMMON_PATH.. "Analytics.lua") then
DownloadFileAsync("https://raw.githubusercontent.com/LoggeL/GoS/master/Analytics.lua", COMMON_PATH .. "Analytics.lua", function() end)
end
require("Analytics")
Analytics("best eve", "ElitePleb", true)
local EvelynnMenu = MenuConfig("Evelynn", "Evelynn")
EvelynnMenu:Menu("Combo", "combo stuff")
EvelynnMenu.Combo:Boolean("Check1", "Check for invis?", true)
EvelynnMenu.Combo:Boolean("Check2", "Check for combo?", true)
EvelynnMenu.Combo:Boolean("Q", "Use q", true)
EvelynnMenu.Combo:Boolean("E", "Use e", true)
EvelynnMenu.Combo:Boolean("R1", "r if current hp<=hp% set", true)
EvelynnMenu.Combo:Slider("Rhp", "hp%", 20, 10, 90)
EvelynnMenu.Combo:Boolean("R2", "r can hit x or more enemies", true)
EvelynnMenu.Combo:Slider("Renemy", "enemy count", 3, 1, 5, 1)
EvelynnMenu:Menu("Stuff", "other stuff")
EvelynnMenu.Stuff:Boolean("items", "Use items", true)
EvelynnMenu.Stuff:Boolean("Qfarm", "Use q for ''last hitting''", true)
EvelynnMenu.Stuff:Boolean("W", "Use w to remove slow", true)
EvelynnMenu:Menu("morestuff", "clear spam stuff")
EvelynnMenu.morestuff:Boolean("jungleq", "spam q on jungle mobs?", true)
EvelynnMenu.morestuff:Boolean("junglee", "how about e?", true)
EvelynnMenu.morestuff:Boolean("laneq", "spam q on creeps?", true)
EvelynnMenu.morestuff:Boolean("lanee", "how about e?", true)
EvelynnMenu:Menu("lvl", "AutoLvl")
EvelynnMenu.lvl:Boolean("uselvl", "Use AutoLvl", true)
EvelynnMenu.lvl:DropDown("lvlqwe", "first 3 spells", 1, {"q first","e first"})
EvelynnMenu.lvl:Slider("levelstart", "kill auto lvl till", 1, 1, 18, 1)
OnTick(function(myHero)
if GotBuff(myHero, "evelynnstealthmarker") == 1 and EvelynnMenu.Combo.Check1:Value() then return end
lasthit()
lvlup()
laneclear()
if KeyIsDown(32) == false and EvelynnMenu.Combo.Check2:Value() then return end
items()
qcast()
ecast()
rcast1()
rcast2()
end)
--best slow removal with help from noddy
OnUpdateBuff(function(unit,buff)
if unit == myHero and buff.Type == 10 and EvelynnMenu.Stuff.W:Value() and IsReady(_W) then
CastSpell(_W)
end
end)
function qcast()
--most op q ever
local enemy = GetCurrentTarget()
if ValidTarget(enemy, GetCastRange(myHero, _Q)) and IsReady(_Q) and EvelynnMenu.Combo.Q:Value() then
CastSpell(_Q)
end
end
function ecast()
--flawless e
local enemy = GetCurrentTarget()
if ValidTarget(enemy, GetCastRange(myHero, _E)) and IsReady(_E) and EvelynnMenu.Combo.E:Value() then
CastTargetSpell(enemy, _E)
end
end
function rcast1()
--r enemy count based
local enemy = GetCurrentTarget()
if ValidTarget(enemy, GetCastRange(myHero, _R)) and IsReady(_R) and EnemiesAround(GetOrigin(enemy),250) >= EvelynnMenu.Combo.Renemy:Value() and EvelynnMenu.Combo.R2:Value() then
CastTargetSpell(enemy, _R)
end
end
function rcast2()
--r hp% based
local enemy = GetCurrentTarget()
if ValidTarget(enemy, GetCastRange(myHero, _R)) and IsReady(_R) and EvelynnMenu.Combo.R1:Value() and GetPercentHP(myHero) <= EvelynnMenu.Combo.Rhp:Value() then
CastTargetSpell(enemy, _R)
end
end
function lasthit()
--last hit
local creep = ClosestMinion(GetOrigin(myHero), MINION_ENEMY)
if ValidTarget(creep, GetCastRange(myHero, _Q)) then
local qdmg = CalcDamage(myHero, creep, 0, 30+GetCastLevel(myHero,_Q)*10+GetBonusAP(myHero)*(.30+.05*GetCastLevel(myHero,_Q))+GetBonusDmg(myHero)*(.45+.05*GetCastLevel(myHero,_Q)))
if ValidTarget(creep, GetCastRange(myHero, _Q)) and GetCurrentHP(creep) <= qdmg and EvelynnMenu.Stuff.Qfarm:Value() then
CastSpell(_Q)
end
end
end
function items()
--items
local enemy = GetCurrentTarget()
if EvelynnMenu.Stuff.items:Value() and ValidTarget(enemy, GetCastRange(myHero, _Q)) then
CastOffensiveItems(enemy)
end
end
function lvlup()
--lvl up
Table=
{
[1]={_Q,_E,_W,_Q,_Q,_R,_Q,_E,_Q,_E,_R,_E,_E,_W,_W,_R,_W,_W},
[2]={_E,_Q,_W,_E,_E,_R,_E,_Q,_E,_Q,_R,_Q,_Q,_W,_W,_R,_W,_W}
}
if EvelynnMenu.lvl.uselvl:Value() and GetLevelPoints(myHero) >= 1 and GetLevel(myHero) >= EvelynnMenu.lvl.levelstart:Value() then
DelayAction(function() LevelSpell(Table[EvelynnMenu.lvl.lvlqwe:Value()][GetLevel(myHero)-GetLevelPoints(myHero)+1]) end, math.random(0.5,1.5))
end
end
function laneclear()
--ugh
if KeyIsDown(86) == true then
for i,dude in pairs(minionManager.objects) do
if GetTeam(dude) == MINION_JUNGLE and IsReady(_Q) and ValidTarget(dude, GetCastRange(myHero, _Q)) and EvelynnMenu.morestuff.jungleq:Value() then
CastSpell(_Q)
end
if GetTeam(dude) == MINION_JUNGLE and IsReady(_E) and ValidTarget(dude, GetCastRange(myHero, _E)) and EvelynnMenu.morestuff.junglee:Value() then
CastTargetSpell(dude, _E)
end
if GetTeam(dude) == MINION_ENEMY and IsReady(_Q) and ValidTarget(dude, GetCastRange(myHero, _Q))and EvelynnMenu.morestuff.laneq:Value() then
CastSpell(_Q)
end
if GetTeam(dude) == MINION_ENEMY and IsReady(_E) and ValidTarget(dude, GetCastRange(myHero, _E)) and EvelynnMenu.morestuff.lanee:Value() then
CastTargetSpell(dude, _E)
end
end
end
end