Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Edited from Hex's [Auto Carry Plugin]Kennen - Lightning Ninja
- ( http://botoflegends.com/forum/topic/4870-auto-carry-pluginkennen-lightning-ninja/ )
- ]]--
- if myHero.charName ~= "Elise" then return end
- function PluginOnLoad()
- AutoCarry.SkillsCrosshair.range = 1150
- --> Main Load
- mainLoad()
- --> Main Menu
- mainMenu()
- end
- function PluginOnTick()
- ------------------------------------ Stun Timer --------------------------------------------------
- HumanECD = (myHero:CanUseSpell(_E) == COOLDOWN and myHero:GetSpellData(_E).name == "EliseHumanE")
- HumanERDY = (myHero:CanUseSpell(_E) == READY and myHero:GetSpellData(_E).name == "EliseHumanE")
- if HumanECD then
- --[[ Elise Stun COOLDOWN: 14 / 13 / 12 / 11 / 10 ]]--
- DelayAction(function() PrintFloatText(myHero, 0, "Stun Ready") end, 14)
- end
- --------------------------------------------------------------------------------------------------
- Checks()
- if Target then
- -- Stun enemy in range 400
- if myHero:GetSpellData(_Q).name == "EliseHumanQ" and myHero:GetSpellData(_W).name == "EliseHumanW" and myHero:GetSpellData(_E).name == "EliseHumanE" then
- if Menu.On and not Col(SkillQ, myHero, Target) and GetDistance(Target) < 400 then
- Cast(SkillQ, Target)
- end
- end
- if myHero:GetSpellData(_Q).name == "EliseHumanQ" and myHero:GetSpellData(_W).name == "EliseHumanW" and myHero:GetSpellData(_E).name == "EliseHumanE" then
- if Menu.On and GetDistance(Target) < 400 then
- CastSpell(_Q, Target)
- Cast(SkillQQ, Target)
- CastSpell(_R)
- end
- end
- if myHero:GetSpellData(_Q).name == "EliseSpiderQCast" and myHero:GetSpellData(_W).name == "EliseSpiderW" then
- if Menu.On and GetDistance(Target) < 400 then
- CastSpell(_Q, Target)
- CastSpell(_W)
- end
- end
- if Menu.Combo then
- -- Stun enemy in range 600
- if myHero:GetSpellData(_Q).name == "EliseHumanQ" and myHero:GetSpellData(_W).name == "EliseHumanW" and myHero:GetSpellData(_E).name == "EliseHumanE" then
- if not Col(SkillQ, myHero, Target) and GetDistance(Target) < 600 then
- Cast(SkillQ, Target)
- end
- end
- if myHero:GetSpellData(_Q).name == "EliseHumanQ" and myHero:GetSpellData(_W).name == "EliseHumanW" and myHero:GetSpellData(_E).name == "EliseHumanE" then
- if GetDistance(Target) < 600 then
- CastSpell(_Q, Target)
- Cast(SkillQQ, Target)
- CastSpell(_R)
- end
- end
- if myHero:GetSpellData(_Q).name == "EliseSpiderQCast" and myHero:GetSpellData(_W).name == "EliseSpiderW" then
- if GetDistance(Target) < 400 then
- CastSpell(_Q, Target)
- CastSpell(_W)
- end
- end
- end
- end
- end
- function PluginOnDraw()
- --> Ranges
- if myHero:GetSpellData(_Q).name == "EliseHumanQ" then
- DrawCircle(myHero.x, myHero.y, myHero.z, 1100, 0x992D3D)
- DrawCircle(myHero.x, myHero.y, myHero.z, 400, 0x992D3D)
- end
- if myHero:GetSpellData(_Q).name == "EliseSpiderQCast" then
- DrawCircle(myHero.x, myHero.y, myHero.z, 980, 0xDC006B)
- DrawCircle(myHero.x, myHero.y, myHero.z, 470, 0x992D3D)
- end
- end
- --> Main Load
- function mainLoad()
- qRange, wRange, rRange = 1200, 900, 550
- QREADY, WREADY, RREADY = false, false, false
- SkillQ = {spellKey = _E, range = 1200, speed = 1.469, delay = 265, width = 75}
- SkillQQ = {spellKey = _W, range = 675, speed = 1.0, delay = 94, width = 75}
- Cast = AutoCarry.CastSkillshot
- Menu = AutoCarry.PluginMenu
- Col = AutoCarry.GetCollision
- end
- --> Main Menu
- function mainMenu()
- Menu:addParam("On", "Auto combo in range 400", SCRIPT_PARAM_ONOFF, true)
- Menu:addParam("Combo", "Combo", SCRIPT_PARAM_ONKEYDOWN, false, 32) -- space
- end
- function PluginOnCreateObj(object)
- end
- function PluginOnDeleteObj(object)
- end
- --> Checks
- function Checks()
- Target = AutoCarry.GetAttackTarget()
- QREADY = (myHero:CanUseSpell(_Q) == READY)
- WREADY = (myHero:CanUseSpell(_W) == READY)
- RREADY = (myHero:CanUseSpell(_R) == READY)
- end
- --UPDATEURL=
- --HASH=FE14FDF5DFBDDBCD0600A369E3F9E676
Advertisement
Add Comment
Please, Sign In to add comment