Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- ====================================
- | IPJ Presents: |
- | ValEz-real Reinvisioned |
- | Version 0.1 |
- | Let The good Times Roll |
- ====================================
- ====================================
- | Version Log |
- ====================================
- 0.1 - First beta build! Exciting!
- Features Included...Valz Ez, Reworked Auto-Carry, Red Elixer, and Tailored Auto-Dodge---All inside the fancy menues! Yay!
- ]]--
- require 'Utils'
- require 'winapi'
- require 'SKeys'
- require "spell_damage"
- local send = require 'SendInputScheduled'
- local uiconfig = require 'uiconfig'
- local Q,W,E,R = 'Q','W','E','R'
- local delaay = 200
- local timer3 = 0
- local iHero = GetSelf()
- local wUsedAt = 0
- local vUsedAt = 0
- local timer=os.clock()
- local bluePill = nil
- local dodgedelay = 500
- local targetac
- local target2
- local targetHero
- local startAttackSpeed
- local projSpeed = 1
- local lastAttack = GetTickCount()
- local shotFired = false
- local range = myHero.range + GetDistance(GetMinBBox(myHero))
- local attackDelayOffset = 275
- local isMoving = false
- local startAttackSpeed = 0.625
- local version = 'IPJs Valezreal 0.1'
- local target
- local targetaa
- local RangeAttackQ = false
- local RangeAttackW = false
- local Qrange = 1100
- local Qspeed = 20
- local Wrange = 900
- local Wspeed = 15
- local delay = 1.6
- local metakey = SKeys.Control
- local attempts = 0
- local lastAttempt = 0
- local cc = 0
- local colorcyan = 0x0000FFFF
- local coloryellow = 0xFFFFFF00
- local colorgreen = 0xFF00FF00
- local skillshotcharexist = false
- local skillshotArray = {}
- local show_allies = 0
- local Enemies = {}
- local EnemyIndex = 1
- local HavocDamage = 0
- local ExecutionerDamage = 0
- local skillingOrder = {Ezreal = {Q,E,Q,E,Q,R,W,Q,Q,E,R,E,E,W,W,R,W,W},}
- function Timer()
- if GetTickCount() - timer3 > dodgedelay then
- mvblock = 0
- timer3 = 0
- end
- end
- function EzrealRun()
- if IsChatOpen() == 0 and myHero.name == "Ezreal" then
- target = GetWeakEnemy('PHYS',1100)
- targetaa = GetWeakEnemy('PHYS',700)
- --[[attRange()]]--
- RedElixir()
- Timer()
- targetReset()
- if targetac and targetac.dead == 1 then targetac = nil end
- if EzrealConfig.AutoCarry and IsChatOpen() == 0 and timer3 == 0 then
- AutoCarry()
- end
- if EzrealConfig.Hybrid and IsChatOpen() == 0 and timer3 == 0 then
- Hybrid()
- end
- if EzrealConfig.AutoCarry or EzrealConfig.Hybrid and timer3 == 0 then
- moveToCursor()
- end
- if EzrealConfig.Draw then
- if myHero.dead ~= 1 then
- CustomCircle(trueRange(),2,5,myHero)
- end
- end
- xa = 50/1920*GetScreenX()
- xb = 1870/1920*GetScreenX()
- ya = 50/1080*GetScreenY()
- yb = 1030/1080*GetScreenY()
- if myHero.SpellTimeQ > 1.0 and GetSpellLevel('Q')~=0 and myHero.mana > (25+(myHero.SpellLevelQ*3))then
- QRDY = 1
- else QRDY = 0
- end
- if myHero.SpellTimeW > 1.0 and GetSpellLevel('W')~=0 and myHero.mana > (40+(myHero.SpellLevelW*10))then
- WRDY = 1
- else WRDY = 0
- end
- if myHero.SpellTimeE > 1.0 and GetSpellLevel('E')~=0 and myHero.mana > 90 then
- ERDY = 1
- else ERDY = 0
- end
- if myHero.SpellTimeR > 1.0 and GetSpellLevel('R')~=0 and myHero.mana > 100 then
- RRDY = 1
- else RRDY = 0
- end
- if EzrealConfig.useQ and timer3 == 0 then
- SpellPred(Q,QRDY,myHero,target,Qrange,delay,Qspeed,1)
- end
- if EzrealConfig.useW and timer3 == 0 then
- SpellPred(W,WRDY,myHero,target,Wrange,delay,Wspeed,0)
- end
- if EzrealConfig.useQW and timer3 == 0 then
- SpellPred(Q,QRDY,myHero,target,Wrange,delay,Wspeed,1)
- SpellPred(W,WRDY,myHero,target,Wrange,delay,Wspeed,1)
- end
- if EzrealConfig.useE then
- SpellXYZ(E,ERDY,myHero,myHero,100,mousePos.x,mousePos.z)
- moveToCursor()
- end
- if EzrealConfig.Autolevel then Autolevel() end
- if EzrealConfig.drawskillshots then Skillshots() end
- for i = 1, objManager:GetMaxHeroes(), 1 do
- Hero = objManager:GetHero(i)
- if Hero ~= nil and Hero.team ~= myHero.team then
- if Enemies[Hero.name] == nil then
- Enemies[Hero.name] = { Unit = Hero, Number = EnemyIndex }
- EnemyIndex = EnemyIndex + 1
- end
- end
- end
- end
- end
- EzrealConfig, menu = uiconfig.add_menu('Valezreal Config', 200)
- menu.keydown('useQ', 'Use Q', Keys.Space)
- menu.keydown('useW', 'Use W', Keys.Space)
- menu.keydown('useQW', 'Use QW', Keys.W)
- menu.keydown('useE', 'Use E', Keys.X)
- menu.keydown('AutoCarry', 'AutoCarry', Keys.A)
- menu.keydown('Hybrid', 'Hybrid', Keys.Space)
- menu.checkbutton('autoq', 'Auto-Q after AA', true)
- menu.checkbutton('autow', 'Auto-W after AA', true)
- menu.checkbutton('Autolevel', 'Auto Level', true)
- menu.checkbutton('Draw', 'Draw', true)
- menu.checkbutton('drawskillshots', 'Draw Skillshots', true)
- menu.checkbutton('dodgeskillshots', 'dodge Skillshots', true)
- menu.permashow('useQ')
- menu.permashow('useW')
- menu.permashow('useQW')
- menu.permashow('useE')
- menu.permashow('AutoCarry')
- menu.permashow('Hybrid')
- PotConfig = scriptConfig("AutoPot Config", "Pot")
- PotConfig:addParam("Potion", "Script Toggle", SCRIPT_PARAM_ONKEYTOGGLE, true, 117)
- PotConfig:addParam("HpPotion", "Potion Toggle", SCRIPT_PARAM_ONOFF, true)
- PotConfig:addParam("Flask", "Flask Toggle", SCRIPT_PARAM_ONOFF, true)
- PotConfig:addParam("Biscuit", "Biscuit Toggle", SCRIPT_PARAM_ONOFF, true)
- PotConfig:addParam("Elixir", "Elixir Toggle", SCRIPT_PARAM_ONOFF, true)
- PotConfig:addParam("PotionValue", "Potion Trigger HP", SCRIPT_PARAM_NUMERICUPDOWN, 0.75, 103, 0, 1, .1)
- PotConfig:addParam("FlaskValue", "Flask Trigger HP", SCRIPT_PARAM_NUMERICUPDOWN, 0.74, 100, 0, 1, .1)
- PotConfig:addParam("BiscuitValue", "Biscuit Trigger HP", SCRIPT_PARAM_NUMERICUPDOWN, 0.60, 97, 0, 1, .1)
- PotConfig:addParam("ElixirValue", "Elixir Trigger HP", SCRIPT_PARAM_NUMERICUPDOWN, 0.30, 96, 0, 1, .1)
- --[[START RANGEFINDER]]--
- --[[function attRange()
- if targetac ~= nil then
- if GetDistance(targetac) >= 450 then
- return 0
- elseif GetDistance(targetac) <= 449 and GetDistance(targetac) >= 400 then
- return .25
- elseif GetDistance(targetac) <= 399 and GetDistance(targetac) >= 200 then
- return .45
- elseif GetDistance(targetac) <= 299 and GetDistance(targetac) >= 200 then
- return .65
- elseif GetDistance(targetac) <= 199 and GetDistance(targetac) >= 0 then
- return 1
- end
- end
- end]]--
- function usePotion()
- GetInventorySlot(2003)
- UseItemOnTarget(2003,iHero)
- end
- function useFlask()
- GetInventorySlot(2041)
- UseItemOnTarget(2041,iHero)
- end
- function useBiscuit()
- GetInventorySlot(2009)
- UseItemOnTarget(2009,iHero)
- end
- function useElixir()
- GetInventorySlot(2037)
- UseItemOnTarget(2037,iHero)
- end
- function GetTick()
- return GetClock()
- end
- function RedElixir()
- if PotConfig.Potion and bluePill == nil then
- if iHero.health < iHero.maxHealth * PotConfig.PotionValue and PotConfig.HpPotion and GetClock() > wUsedAt + 15000 then
- usePotion()
- wUsedAt = GetTick()
- elseif iHero.health < iHero.maxHealth * PotConfig.FlaskValue and PotConfig.Flask and GetClock() > vUsedAt + 10000 then
- useFlask()
- vUsedAt = GetTick()
- elseif iHero.health < iHero.maxHealth * PotConfig.BiscuitValue and PotConfig.Biscuit then
- useBiscuit()
- elseif iHero.health < iHero.maxHealth * PotConfig.ElixirValue and PotConfig.Elixir then
- useElixir()
- end
- end
- if (os.clock() < timer + 5000) then
- bluePill = nil
- end
- end
- function OnLoad()
- if GetAAData()[myHero.name] ~= nil then
- if GetAAData()[myHero.name].projSpeed ~= nil then
- projSpeed = GetAAData()[myHero.name].projSpeed
- end
- end
- if GetAAData()[myHero.name] ~= nil then
- if GetAAData()[myHero.name].startAttackSpeed ~= nil then
- startAttackSpeed = GetAAData()[myHero.name].startAttackSpeed
- end
- end
- print("\nTrue Range: "..math.ceil(range).."\nTraditional Range: "..myHero.range)
- end
- function trueRange()
- local trueRangeValue
- if targetac ~= nil and GetDistance(targetac) < range then
- trueRangeValue = range -(range-GetDistance(targetac))
- else
- trueRangeValue = range
- end
- return trueRangeValue
- end
- function targetReset()
- if not targetac and not target2 and not targetHero then
- targetac = nil
- target2 = nil
- targetHero = nil
- end
- end
- function Action()
- if timeToShoot() then
- attackEnemy(targetac)
- CustomCircle(100,10,1,targetac)
- else
- CustomCircle(100,5,2,targetac)
- if heroCanMove() then moveToCursor() end
- end
- end
- function attackEnemy(targetac)
- if ValidTarget(targetac) then
- AttackTarget(targetac)
- shotFired = True
- end
- end
- function GetNextAttackTime()
- return lastAttack + attackDelayOffset / GetAttackSpeed()
- end
- function GetAttackSpeed()
- return myHero.attackspeed/(1/startAttackSpeed)
- end
- function timeToShoot()
- if GetTickCount() > GetNextAttackTime() then
- return true
- end
- return false
- end
- function heroCanMove()
- if shotFired == false or timeToShoot() then
- if mvblock == 0 then
- return true
- end
- end
- return false
- end
- function moveToCursor() -- Removes derping when mouse is in one position instead of myHero:MoveTo mousePos
- if mvblock == 0 then
- isMoving = true
- --local moveSqr = math.sqrt((mousePos.x - myHero.x)^2+(mousePos.z - myHero.z)^2)
- --local moveX = myHero.x + 300*((mousePos.x - myHero.x)/moveSqr)
- --local moveZ = myHero.z + 300*((mousePos.z - myHero.z)/moveSqr)
- --MoveToXYZ(moveX,0,moveZ)
- CastHotkey('PATROLSTRAFE')
- end
- end
- function On()
- local HP = (myHero.maxHealth *(.25))
- local HPB = (myHero.maxHealth *(.20))
- if myHero.health < HP and target~=nil and myHero.SummonerF == "SummonerHeal" then
- CastSpellTarget("F",myHero)
- elseif myHero.health < HP and target~=nil and myHero.SummonerD == "SummonerHeal" then
- CastSpellTarget("D",myHero)
- end
- if myHero.health < HPB and target~=nil and myHero.SummonerF == "SummonerBarrier" then
- CastSpellTarget("F",myHero)
- elseif myHero.health < HPB and target~=nil and myHero.SummonerD == "SummonerBarrier" then
- CastSpellTarget("D",myHero)
- end
- end
- function OnProcessSpell(unit,spell)
- if unit ~= nil and unit.name == myHero.name then
- if string.find(spell.name,"attack") then
- lastAttack = GetTickCount()
- end
- end
- if unit ~= nil and spell ~= nil and unit.charName == myHero.charName then
- if spell.name == "EzrealBasicAttack" or spell.name == "EzrealBasicAttack2" or spell.name == "EzrealCritAttack" and targetaa ~= nil and spell.targetaa and QRDY == 1 and CreepBlock(GetFireahead(targetaa,delay,Qspeed)) == 0 and EzrealConfig.autoq then
- RangeAttackQ = true
- end
- if spell.name == "EzrealBasicAttack" or spell.name == "EzrealBasicAttack2" or spell.name == "EzrealCritAttack" and targetaa ~= nil and spell.targetaa and QRDY == 0 and WRDY == 1 and EzrealConfig.autow then
- RangeAttackW = true
- end
- end
- local P1 = spell.startPos
- local P2 = spell.endPos
- local calc = (math.floor(math.sqrt((P2.x-unit.x)^2 + (P2.z-unit.z)^2)))
- if string.find(unit.name,"Minion_") == nil and string.find(unit.name,"Turret_") == nil then
- if (unit.team ~= myHero.team or (show_allies==1)) and string.find(spell.name,"Basic") == nil then
- for i=1, #skillshotArray, 1 do
- local maxdist
- local dodgeradius
- dodgeradius = skillshotArray[i].radius
- maxdist = skillshotArray[i].maxdistance
- if spell.name == skillshotArray[i].name then
- skillshotArray[i].shot = 1
- skillshotArray[i].lastshot = os.clock()
- if skillshotArray[i].type == 1 then
- skillshotArray[i].p1x = unit.x
- skillshotArray[i].p1y = unit.y
- skillshotArray[i].p1z = unit.z
- skillshotArray[i].p2x = unit.x + (maxdist)/calc*(P2.x-unit.x)
- skillshotArray[i].p2y = P2.y
- skillshotArray[i].p2z = unit.z + (maxdist)/calc*(P2.z-unit.z)
- dodgelinepass(unit, P2, dodgeradius, maxdist)
- elseif skillshotArray[i].type == 2 then
- skillshotArray[i].px = P2.x
- skillshotArray[i].py = P2.y
- skillshotArray[i].pz = P2.z
- dodgelinepoint(unit, P2, dodgeradius)
- elseif skillshotArray[i].type == 3 then
- skillshotArray[i].skillshotpoint = calculateLineaoe(unit, P2, maxdist)
- if skillshotArray[i].name ~= "SummonerClairvoyance" then
- dodgeaoe(unit, P2, dodgeradius)
- end
- elseif skillshotArray[i].type == 4 then
- skillshotArray[i].px = unit.x + (maxdist)/calc*(P2.x-unit.x)
- skillshotArray[i].py = P2.y
- skillshotArray[i].pz = unit.z + (maxdist)/calc*(P2.z-unit.z)
- dodgelinepass(unit, P2, dodgeradius, maxdist)
- elseif skillshotArray[i].type == 5 then
- skillshotArray[i].skillshotpoint = calculateLineaoe2(unit, P2, maxdist)
- dodgeaoe(unit, P2, dodgeradius)
- end
- end
- end
- end
- end
- end
- function OnCreateObj(obj)
- if GetAAData()[myHero.name] ~= nil then
- for _, v in pairs(GetAAData()[myHero.name].aaParticles) do
- if string.find(obj.charName,v) then
- shotFired = false
- lastAttack = GetTickCount()
- end
- end
- end
- if obj ~= nil and targetaa ~= nil then
- if string.find(obj.charName, "Ezreal_basicattack_mis") ~= nil and GetDistance(myHero, obj) < 250 and RangeAttackQ == true and timer3 == 0 then
- SpellPred(Q,QRDY,myHero,target,Qrange,delay,Qspeed,1)
- RangeAttackQ = false
- end
- if string.find(obj.charName, "Ezreal_basicattack_mis") ~= nil and GetDistance(myHero, obj) < 250 and RangeAttackW == true and timer3 == 0 then
- SpellPred(W,WRDY,myHero,target,Wrange,delay,Wspeed,0)
- RangeAttackW = false
- end
- end
- end
- function GetAAData()
- return {
- Ezreal = { projSpeed = 2.0, aaParticles = {"Ezreal_basicattack_mis", "Ezreal_critattack_mis"}, aaSpellName = "ezrealbasicattack", startAttackSpeed = "0.625" }
- }
- end
- function AutoCarry()
- CustomCircle(range,2,4,myHero)
- if target2 ~= nil then
- targetac = target2
- else
- targetac = GetWeakEnemy("PHYS",range)
- end
- if targetac ~= nil and timer3 == 0 then
- UseAllItems(targetac)
- Action()
- else
- moveToCursor()
- end
- end
- function Hybrid()
- CustomCircle(range,2,4,myHero)
- targetHero = GetWeakEnemy("PHYS",range)
- if targetHero ~= nil then
- targetac = targetHero
- Action()
- else
- targetac = GetLowestHealthEnemyMinion(range)
- end
- if targetac ~= nil and timer3 == 0 then
- if ( getDmg("AD",targetac,myHero)) >= targetac.health then
- send.block_input(true,delaay)
- Action()
- end
- else
- moveToCursor()
- end
- end
- function Round(val, decimal)
- if (decimal) then
- return math.floor( (val * 10 ^ decimal) + 0.5) / (10 ^ decimal)
- else
- return math.floor(val + 0.5)
- end
- end
- function OnDraw()
- if QRDY == 1 then
- CustomCircle(Qrange,1,2,myHero)
- else
- CustomCircle(Qrange,1,3,myHero)
- end
- if targetac ~= nil then
- CustomCircle(100,10,2,targetac)
- end
- for i, Enemy in pairs(Enemies) do
- if Enemy ~= nil then
- Hero = Enemy.Unit
- local PositionX = (13.3/16) * GetScreenX()
- local QDMG = getDmg('Q', Hero, myHero)+(getDmg('Q',Hero,myHero)*(HavocDamage + ExecutionerDamage))
- local WDMG = getDmg('W', Hero, myHero)+(getDmg('W',Hero,myHero)*(HavocDamage + ExecutionerDamage))
- local EDMG = getDmg('E', Hero, myHero)+(getDmg('E',Hero,myHero)*(HavocDamage + ExecutionerDamage))
- local RDMG = getDmg('R', Hero, myHero)+(getDmg('R',Hero,myHero)*(HavocDamage + ExecutionerDamage))
- local Current_Burst
- local Damage
- if myHero.selflevel >= 6 and myHero.SpellTimeR > 1.0 then
- Current_Burst = Round(WDMG + EDMG + RDMG, 0) --Show damage of WER combo if Ult is available
- else
- Current_Burst = Round(WDMG + EDMG, 0) --Show damage of WE combo if Ult is not available
- end
- Damage = Current_Burst
- DrawText("Champion: "..Hero.name, PositionX, ((15/900) * GetScreenY()) * Enemy.Number + ((53/90) * GetScreenY()), 0xFF87CEFA)
- if Hero.visible == 1 and Hero.dead ~= 1 then
- if Damage < Hero.health then
- DrawText("DMG "..Damage, PositionX + 150, ((15/900) * GetScreenY()) * Enemy.Number + ((53/90) * GetScreenY()), 0xFFFFFF00)
- elseif Damage > Hero.health then
- DrawText("Killable!", PositionX + 150, ((15/900) * GetScreenY()) * Enemy.Number + ((53/90) * GetScreenY()), 0xFFFF0000)
- end
- end
- if Hero.visible == 0 and Hero.dead ~= 1 then
- DrawText("MIA", PositionX + 150, ((15/900) * GetScreenY()) * Enemy.Number + ((53/90) * GetScreenY()), 0xFFFF8000)
- elseif Hero.dead == 1 then
- DrawText("Dead", PositionX + 150, ((15/900) * GetScreenY()) * Enemy.Number + ((53/90) * GetScreenY()), 0xFF32CD32)
- end
- end
- end
- end
- function SpellXYZ(spell,cd,a,b,range,x,z)
- local y = 0
- if (cd == 1 or cd) and a ~= nil and b ~= nil and x ~= nil and z ~= nil and GetDistance(a,b) < range and timer3 == 0 then
- CastSpellXYZ(spell,x,y,z)
- end
- end
- function SpellPred(spell,cd,a,b,range,delay,speed,block)
- if (cd == 1 or cd) and a ~= nil and b ~= nil and delay ~= nil and speed ~= nil and GetDistance(a,b) < range then
- local bx,by,bz = GetFireahead(b,delay,speed)
- if (distXYZ(a.x,a.z,bx,bz)+(((((distXYZ(a.x,a.z,bx,bz)*1000)/(speed*100))*(b.movespeed*1000))/1000000))+((b.movespeed*(delay*100))/1000))<range then
- if block == 1 and timer3 == 0 then
- if CreepBlock(GetFireahead(b,delay,speed)) == 0 then
- CastSpellXYZ(spell,GetFireahead(b,delay,speed))
- end
- else CastSpellXYZ(spell,GetFireahead(b,delay,speed))
- end
- end
- end
- end
- function distXYZ(a1,a2,b1,b2)
- if b1 == nil or b2 == nil then
- b1 = myHero.x
- b2 = myHero.z
- end
- if a2 ~= nil and b2 ~= nil and a1~=nil and b1~=nil then
- a = (b1-a1)
- b = (b2-a2)
- if a~=nil and b~=nil then
- a2=a*a
- b2=b*b
- if a2~=nil and b2~=nil then
- return math.sqrt(a2+b2)
- else
- return 99999
- end
- else
- return 99999
- end
- end
- end
- function dodgelinepoint(pos1, pos2, radius)
- local calc1 = (math.floor(math.sqrt((pos2.x-myHero.x)^2 + (pos2.z-myHero.z)^2)))
- local calc2 = (math.floor(math.sqrt((pos1.x-myHero.x)^2 + (pos1.z-myHero.z)^2)))
- local calc4 = (math.floor(math.sqrt((pos1.x-pos2.x)^2 + (pos1.z-pos2.z)^2)))
- local calc3
- local perpendicular
- local k
- local x4
- local z4
- local dodgex
- local dodgez
- perpendicular = (math.floor((math.abs((pos2.x-pos1.x)*(pos1.z-myHero.z)-(pos1.x-myHero.x)*(pos2.z-pos1.z)))/(math.sqrt((pos2.x-pos1.x)^2 + (pos2.z-pos1.z)^2))))
- k = ((pos2.z-pos1.z)*(myHero.x-pos1.x) - (pos2.x-pos1.x)*(myHero.z-pos1.z)) / ((pos2.z-pos1.z)^2 + (pos2.x-pos1.x)^2)
- x4 = myHero.x - k * (pos2.z-pos1.z)
- z4 = myHero.z + k * (pos2.x-pos1.x)
- calc3 = (math.floor(math.sqrt((x4-myHero.x)^2 + (z4-myHero.z)^2)))
- dodgex = x4 + ((radius+75)/calc3)*(myHero.x-x4)
- dodgez = z4 + ((radius+75)/calc3)*(myHero.z-z4)
- if perpendicular < radius and calc1 < calc4 and calc2 < calc4 and GetCursorX() > xa and GetCursorX() < xb and GetCursorY() > ya and GetCursorY() < yb and EzrealConfig.dodgeskillshots then
- timer3 = GetTickCount()
- EzrealConfig.Hybrid = false
- EzrealConfig.AutoCarry = false
- EzrealConfig.useQ = false
- EzrealConfig.useE = false
- mvblock = 1
- send.block_input(true,500)
- MoveToXYZ(dodgex,0,dodgez)
- end
- end
- function dodgelinepass(pos1, pos2, radius, maxDist)
- local pm2x = pos1.x + (maxDist)/(math.floor(math.sqrt((pos1.x-pos2.x)^2 + (pos1.z-pos2.z)^2)))*(pos2.x-pos1.x)
- local pm2z = pos1.z + (maxDist)/(math.floor(math.sqrt((pos1.x-pos2.x)^2 + (pos1.z-pos2.z)^2)))*(pos2.z-pos1.z)
- local calc1 = (math.floor(math.sqrt((pm2x-myHero.x)^2 + (pm2z-myHero.z)^2)))
- local calc2 = (math.floor(math.sqrt((pos1.x-myHero.x)^2 + (pos1.z-myHero.z)^2)))
- local calc3
- local calc4 = (math.floor(math.sqrt((pos1.x-pm2x)^2 + (pos1.z-pm2z)^2)))
- local perpendicular
- local k
- local x4
- local z4
- local dodgex
- local dodgez
- perpendicular = (math.floor((math.abs((pm2x-pos1.x)*(pos1.z-myHero.z)-(pos1.x-myHero.x)*(pm2z-pos1.z)))/(math.sqrt((pm2x-pos1.x)^2 + (pm2z-pos1.z)^2))))
- k = ((pm2z-pos1.z)*(myHero.x-pos1.x) - (pm2x-pos1.x)*(myHero.z-pos1.z)) / ((pm2z-pos1.z)^2 + (pm2x-pos1.x)^2)
- x4 = myHero.x - k * (pm2z-pos1.z)
- z4 = myHero.z + k * (pm2x-pos1.x)
- calc3 = (math.floor(math.sqrt((x4-myHero.x)^2 + (z4-myHero.z)^2)))
- dodgex = x4 + ((radius+75)/calc3)*(myHero.x-x4)
- dodgez = z4 + ((radius+75)/calc3)*(myHero.z-z4)
- if perpendicular < radius and calc1 < calc4 and calc2 < calc4 and GetCursorX() > xa and GetCursorX() < xb and GetCursorY() > ya and GetCursorY() < yb and EzrealConfig.dodgeskillshots then
- timer3 = GetTickCount()
- EzrealConfig.Hybrid = false
- EzrealConfig.AutoCarry = false
- EzrealConfig.useQ = false
- EzrealConfig.useE = false
- mvblock = 1
- send.block_input(true,500)
- MoveToXYZ(dodgex,0,dodgez)
- end
- end
- function Autolevel()
- local spellLevelSum = GetSpellLevel(Q) + GetSpellLevel(W) + GetSpellLevel(E) + GetSpellLevel(R)
- if attempts <= 10 or (attempts > 10 and GetTickCount() > lastAttempt+1500) then
- if spellLevelSum < myHero.selflevel then
- if lastSpellLevelSum ~= spellLevelSum then attempts = 0 end
- letter = skillingOrder[myHero.name][spellLevelSum+1]
- Level_Spell(letter, spellLevelSum)
- attempts = attempts+1
- lastAttempt = GetTickCount()
- lastSpellLevelSum = spellLevelSum
- else
- attempts = 0
- end
- end
- send.tick()
- end
- function Skillshots()
- cc=cc+1
- if (cc==30) then
- LoadTable()
- end
- for i=1, #skillshotArray, 1 do
- if skillshotArray[i].shot == 1 then
- local radius = skillshotArray[i].radius
- local color = skillshotArray[i].color
- if skillshotArray[i].isline == false then
- for number, point in pairs(skillshotArray[i].skillshotpoint) do
- DrawCircle(point.x, point.y, point.z, radius, color)
- end
- else
- startVector = Vector(skillshotArray[i].p1x,skillshotArray[i].p1y,skillshotArray[i].p1z)
- endVector = Vector(skillshotArray[i].p2x,skillshotArray[i].p2y,skillshotArray[i].p2z)
- directionVector = (endVector-startVector):normalized()
- local angle=0
- if (math.abs(directionVector.x)<.00001) then
- if directionVector.z > 0 then angle=90
- elseif directionVector.z < 0 then angle=270
- else angle=0
- end
- else
- local theta = math.deg(math.atan(directionVector.z / directionVector.x))
- if directionVector.x < 0 then theta = theta + 180 end
- if theta < 0 then theta = theta + 360 end
- angle=theta
- end
- angle=((90-angle)*2*math.pi)/360
- DrawLine(startVector.x, startVector.y, startVector.z, GetDistance(startVector, endVector)+170, 1,angle,radius)
- end
- end
- end
- for i=1, #skillshotArray, 1 do
- if os.clock() > (skillshotArray[i].lastshot + skillshotArray[i].time) then
- skillshotArray[i].shot = 0
- end
- end
- end
- function Level_Spell(letter)
- if letter == Q then send.key_press(0x69)
- elseif letter == W then send.key_press(0x6a)
- elseif letter == E then send.key_press(0x6b)
- elseif letter == R then send.key_press(0x6c) end
- end
- function dodgeaoe(pos1, pos2, radius)
- local calc = (math.floor(math.sqrt((pos2.x-myHero.x)^2 + (pos2.z-myHero.z)^2)))
- local dodgex
- local dodgez
- dodgex = pos2.x + ((radius+50)/calc)*(myHero.x-pos2.x)
- dodgez = pos2.z + ((radius+50)/calc)*(myHero.z-pos2.z)
- if EzrealConfig.dodgeskillshots and calc < radius then
- mvblock = 1
- EzrealConfig.Hybrid = false
- EzrealConfig.AutoCarry = false
- EzrealConfig.useQ = false
- EzrealConfig.useE = false
- send.block_input(true,500)
- MoveToXYZ(dodgex,0,dodgez)
- end
- end
- function calculateLinepass(pos1, pos2, spacing, maxDist)
- local calc = (math.floor(math.sqrt((pos2.x-pos1.x)^2 + (pos2.z-pos1.z)^2)))
- local line = {}
- local point1 = {}
- point1.x = pos1.x
- point1.y = pos1.y
- point1.z = pos1.z
- local point2 = {}
- point1.x = pos1.x + (maxDist)/calc*(pos2.x-pos1.x)
- point1.y = pos2.y
- point1.z = pos1.z + (maxDist)/calc*(pos2.z-pos1.z)
- table.insert(line, point2)
- table.insert(line, point1)
- return line
- end
- function calculateLineaoe(pos1, pos2, maxDist)
- local line = {}
- local point = {}
- point.x = pos2.x
- point.y = pos2.y
- point.z = pos2.z
- table.insert(line, point)
- return line
- end
- function calculateLineaoe2(pos1, pos2, maxDist)
- local calc = (math.floor(math.sqrt((pos2.x-pos1.x)^2 + (pos2.z-pos1.z)^2)))
- local line = {}
- local point = {}
- if calc < maxDist then
- point.x = pos2.x
- point.y = pos2.y
- point.z = pos2.z
- table.insert(line, point)
- else
- point.x = pos1.x + maxDist/calc*(pos2.x-pos1.x)
- point.z = pos1.z + maxDist/calc*(pos2.z-pos1.z)
- point.y = pos2.y
- table.insert(line, point)
- end
- return line
- end
- function calculateLinepoint(pos1, pos2, spacing, maxDist)
- local line = {}
- local point1 = {}
- point1.x = pos1.x
- point1.y = pos1.y
- point1.z = pos1.z
- local point2 = {}
- point1.x = pos2.x
- point1.y = pos2.y
- point1.z = pos2.z
- table.insert(line, point2)
- table.insert(line, point1)
- return line
- end
- function table_print (tt, indent, done)
- done = done or {}
- indent = indent or 0
- if type(tt) == "table" then
- local sb = {}
- for key, value in pairs (tt) do
- table.insert(sb, string.rep (" ", indent)) -- indent it
- if type (value) == "table" and not done [value] then
- done [value] = true
- table.insert(sb, "{\n");
- table.insert(sb, table_print (value, indent + 2, done))
- table.insert(sb, string.rep (" ", indent)) -- indent it
- table.insert(sb, "}\n");
- elseif "number" == type(key) then
- table.insert(sb, string.format("\"%s\"\n", tostring(value)))
- else
- table.insert(sb, string.format(
- "%s = \"%s\"\n", tostring (key), tostring(value)))
- end
- end
- return table.concat(sb)
- else
- return tt .. "\n"
- end
- end
- function LoadTable()
- print("table loaded::")
- local iCount=objManager:GetMaxHeroes()
- print(" heros:" .. tostring(iCount))
- iCount=1;
- for i=0, iCount, 1 do
- local skillshotplayerObj = GetSelf();
- print(" name:" .. skillshotplayerObj.name);
- if 1==1 or skillshotplayerObj.name == "Quinn" then
- table.insert(skillshotArray,{name= "QuinnQMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1025, type = 1, radius = 40, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Lissandra" then
- table.insert(skillshotArray,{name= "LissandraQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 725, type = 1, radius = 100, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "LissandraE", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1050, type = 1, radius = 100, color= coloryellow, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Zac" then
- table.insert(skillshotArray,{name= "ZacQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 550, type = 1, radius = 100, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "ZacE", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1550, type = 3, radius = 200, color= colorcyan, time = 2, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Syndra" then
- table.insert(skillshotArray,{name= "SyndraQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 800, type = 3, radius = 200, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "SyndraE", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 650, type = 1, radius = 100, color= coloryellow, time = 0.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "syndrawcast", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 950, type = 3, radius = 200, color= colorcyan, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Jayce" then
- table.insert(skillshotArray,{name= "jayceshockblast", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1470, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Nami" then
- table.insert(skillshotArray,{name= "NamiQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 875, type = 3, radius = 200, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "NamiR", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 2550, type = 1, radius = 350, color= colorcyan, time = 3, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Vi" then
- table.insert(skillshotArray,{name= "ViQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 1, radius = 150, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Thresh" then
- table.insert(skillshotArray,{name= "ThreshQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 1, radius = 100, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Khazix" then
- table.insert(skillshotArray,{name= "KhazixE", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 3, radius = 200, color= colorcyan, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "KhazixW", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 120, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "khazixwlong", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 150, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "khazixelong", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 200, color= colorcyan, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Elise" then
- table.insert(skillshotArray,{name= "EliseHumanE", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1075, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Zed" then
- table.insert(skillshotArray,{name= "ZedShuriken", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 1, radius = 100, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "ZedShadowDash", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 550, type = 3, radius = 150, color= colorcyan, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "zedw2", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 550, type = 3, radius = 150, color= colorcyan, time = 0.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Ahri" then
- table.insert(skillshotArray,{name= "AhriOrbofDeception", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 880, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
- table.insert(skillshotArray,{name= "AhriSeduce", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 975, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Amumu" then
- table.insert(skillshotArray,{name= "BandageToss", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Anivia" then
- table.insert(skillshotArray,{name= "FlashFrostSpell", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 1, radius = 90, color= colorcyan, time = 2, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Ashe" then
- table.insert(skillshotArray,{name= "EnchantedCrystalArrow", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 50000, type = 4, radius = 120, color= colorcyan, time = 4, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Blitzcrank" then
- table.insert(skillshotArray,{name= "RocketGrabMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 925, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Brand" then
- table.insert(skillshotArray,{name= "BrandBlazeMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1050, type = 1, radius = 70, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
- table.insert(skillshotArray,{name= "BrandFissure", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 250, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Cassiopeia" then
- table.insert(skillshotArray,{name= "CassiopeiaMiasma", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 850, type = 3, radius = 175, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "CassiopeiaNoxiousBlast", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 850, type = 3, radius = 75, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Caitlyn" then
- table.insert(skillshotArray,{name= "CaitlynEntrapmentMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 50, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "CaitlynPiltoverPeacemaker", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1300, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Corki" then
- table.insert(skillshotArray,{name= "MissileBarrageMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1225, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "MissileBarrageMissile2", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1225, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "CarpetBomb", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 800, type = 2, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Chogath" then
- table.insert(skillshotArray,{name= "Rupture", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 950, type = 3, radius = 275, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "DrMundo" then
- table.insert(skillshotArray,{name= "InfectedCleaverMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Heimerdinger" then
- table.insert(skillshotArray,{name= "CH1ConcussionGrenade", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 950, type = 3, radius = 225, color= coloryellow, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Draven" then
- table.insert(skillshotArray,{name= "DravenDoubleShot", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1050, type = 1, radius = 125, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "DravenRCast", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 5000, type = 1, radius = 100, color= colorcyan, time = 4, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Ezreal" then
- table.insert(skillshotArray,{name= "EzrealEssenceFluxMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "EzrealMysticShotMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "EzrealTrueshotBarrage", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 5000, type = 4, radius = 150, color= colorcyan, time = 4, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "EzrealArcaneShift", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 475, type = 5, radius = 100, color= colorgreen, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Fizz" then
- table.insert(skillshotArray,{name= "FizzMarinerDoom", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1275, type = 2, radius = 100, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "FiddleSticks" then
- table.insert(skillshotArray,{name= "Crowstorm", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 800, type = 3, radius = 600, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Karthus" then
- table.insert(skillshotArray,{name= "LayWaste", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 875, type = 3, radius = 150, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Galio" then
- table.insert(skillshotArray,{name= "GalioResoluteSmite", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 905, type = 3, radius = 200, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "GalioRighteousGust", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 120, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Graves" then
- table.insert(skillshotArray,{name= "GravesChargeShot", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 110, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "GravesClusterShot", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 750, type = 1, radius = 50, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "GravesSmokeGrenade", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 700, type = 3, radius = 275, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Gragas" then
- table.insert(skillshotArray,{name= "GragasBarrelRoll", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 3, radius = 320, color= coloryellow, time = 2.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "GragasBodySlam", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 650, type = 2, radius = 60, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "GragasExplosiveCask", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1050, type = 3, radius = 400, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Irelia" then
- table.insert(skillshotArray,{name= "IreliaTranscendentBlades", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1200, type = 1, radius = 150, color= colorcyan, time = 0.8, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Janna" then
- table.insert(skillshotArray,{name= "HowlingGale", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1700, type = 1, radius = 100, color= colorcyan, time = 2, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "JarvanIV" then
- table.insert(skillshotArray,{name= "JarvanIVDemacianStandard", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 830, type = 3, radius = 150, color= coloryellow, time = 2, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "JarvanIVDragonStrike", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 770, type = 1, radius = 70, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "JarvanIVCataclysm", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 650, type = 3, radius = 300, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Kassadin" then
- table.insert(skillshotArray,{name= "RiftWalk", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 700, type = 5, radius = 150, color= colorgreen, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Katarina" then
- table.insert(skillshotArray,{name= "ShadowStep", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 700, type = 3, radius = 75, color= colorgreen, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Kennen" then
- table.insert(skillshotArray,{name= "KennenShurikenHurlMissile1", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1050, type = 1, radius = 75, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "KogMaw" then
- table.insert(skillshotArray,{name= "KogMawVoidOozeMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1115, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "KogMawLivingArtillery", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 2200, type = 3, radius = 200, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Leblanc" then
- table.insert(skillshotArray,{name= "LeblancSoulShackle", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "LeblancSoulShackleM", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "LeblancSlide", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 3, radius = 250, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "LeblancSlideM", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 3, radius = 250, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "leblancslidereturn", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 3, radius = 50, color= colorgreen, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "leblancslidereturnm", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 3, radius = 50, color= colorgreen, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "LeeSin" then
- table.insert(skillshotArray,{name= "BlindMonkQOne", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 975, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "BlindMonkRKick", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1200, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Leona" then
- table.insert(skillshotArray,{name= "LeonaZenithBladeMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 700, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Lux" then
- table.insert(skillshotArray,{name= "LuxLightBinding", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1175, type = 1, radius = 225, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "LuxLightStrikeKugel", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 3, radius = 300, color= coloryellow, time = 2.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "LuxMaliceCannon", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 3000, type = 1, radius = 180, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Lulu" then
- table.insert(skillshotArray,{name= "LuluQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 925, type = 1, radius = 50, color= colorcyan, time = 1, isline = true, px =0, py =0 , pz =0, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Maokai" then
- table.insert(skillshotArray,{name= "MaokaiTrunkLineMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "MaokaiSapling2", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 3, radius = 350 , color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Malphite" then
- table.insert(skillshotArray,{name= "UFSlash", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 3, radius = 325, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Malzahar" then
- table.insert(skillshotArray,{name= "AlZaharCalloftheVoid", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 100 , color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "AlZaharNullZone", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 800, type = 3, radius = 250 , color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "MissFortune" then
- table.insert(skillshotArray,{name= "MissFortuneScattershot", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 800, type = 3, radius = 400, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Morgana" then
- table.insert(skillshotArray,{name= "DarkBindingMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1300, type = 1, radius = 90, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "TormentedSoil", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 300, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Nautilus" then
- table.insert(skillshotArray,{name= "NautilusAnchorDrag", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 950, type = 1, radius = 150, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Nidalee" then
- table.insert(skillshotArray,{name= "JavelinToss", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1500, type = 1, radius = 350, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Nocturne" then
- table.insert(skillshotArray,{name= "NocturneDuskbringer", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1200, type = 1, radius = 150, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Olaf" then
- table.insert(skillshotArray,{name= "OlafAxeThrow", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 2, radius = 100, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Orianna" then
- table.insert(skillshotArray,{name= "OrianaIzunaCommand", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 825, type = 3, radius = 150, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Renekton" then
- table.insert(skillshotArray,{name= "RenektonSliceAndDice", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 450, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "renektondice", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 450, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Rumble" then
- table.insert(skillshotArray,{name= "RumbleGrenadeMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 100, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "RumbleCarpetBomb", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1700, type = 1, radius = 100, color= coloryellow, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Sivir" then
- table.insert(skillshotArray,{name= "SpiralBlade", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Singed" then
- table.insert(skillshotArray,{name= "MegaAdhesive", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 3, radius = 350, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Shen" then
- table.insert(skillshotArray,{name= "ShenShadowDash", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 2, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Shaco" then
- table.insert(skillshotArray,{name= "Deceive", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 500, type = 5, radius = 100, color= colorgreen, time = 3.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Shyvana" then
- table.insert(skillshotArray,{name= "ShyvanaTransformLeap", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 925, type = 1, radius = 150, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "ShyvanaFireballMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Skarner" then
- table.insert(skillshotArray,{name= "SkarnerFracture", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Sona" then
- table.insert(skillshotArray,{name= "SonaCrescendo", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Sejuani" then
- table.insert(skillshotArray,{name= "SejuaniGlacialPrison", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1150, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Swain" then
- table.insert(skillshotArray,{name= "SwainShadowGrasp", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 265 , color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Tryndamere" then
- table.insert(skillshotArray,{name= "Slash", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 2, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Tristana" then
- table.insert(skillshotArray,{name= "RocketJump", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 200, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "TwistedFate" then
- table.insert(skillshotArray,{name= "WildCards", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1450, type = 1, radius = 150, color= colorcyan, time = 2, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Urgot" then
- table.insert(skillshotArray,{name= "UrgotHeatseekingLineMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 150, color= colorcyan, time = 0.8, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "UrgotPlasmaGrenade", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 950, type = 3, radius = 300, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Vayne" then
- table.insert(skillshotArray,{name= "VayneTumble", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 250, type = 3, radius = 100, color= colorgreen, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Varus" then
- table.insert(skillshotArray,{name= "VarusQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1475, type = 1, radius = 50, color= coloryellow, time = 1})
- table.insert(skillshotArray,{name= "VarusR", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1075, type = 1, radius = 150, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Veigar" then
- table.insert(skillshotArray,{name= "VeigarDarkMatter", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 225, color= coloryellow, time = 2, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Viktor" then
- table.insert(skillshotArray,{name= "ViktorDeathRay", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 700, type = 1, radius = 150, color= coloryellow, time = 2})
- end
- if 1==1 or skillshotplayerObj.name == "Xerath" then
- table.insert(skillshotArray,{name= "xeratharcanopulsedamage", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "xeratharcanopulsedamageextended", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1300, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "xeratharcanebarragewrapper", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 250, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "xeratharcanebarragewrapperext", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1300, type = 3, radius = 250, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Ziggs" then
- table.insert(skillshotArray,{name= "ZiggsQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 850, type = 3, radius = 160, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "ZiggsW", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 3, radius = 225 , color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "ZiggsE", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 250, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "ZiggsR", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 5300, type = 3, radius = 550, color= coloryellow, time = 3, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Zyra" then
- table.insert(skillshotArray,{name= "ZyraQFissure", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 825, type = 3, radius = 275, color= coloryellow, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- table.insert(skillshotArray,{name= "ZyraGraspingRoots", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 1, radius = 90, color= colorcyan, time = 2, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- if 1==1 or skillshotplayerObj.name == "Diana" then
- table.insert(skillshotArray,{name= "DianaArc", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 205, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
- skillshotcharexist = true
- end
- end
- end
- OnLoad()
- if GetAAData()[myHero.name] ~= nil then print("\n\nEzreal Auto Carry: "..myHero.name.."\n") end
- SetTimerCallback('EzrealRun')
- print("\nIPJs Valezreal v \n")
Advertisement
Add Comment
Please, Sign In to add comment