Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ###################################################################################################### --
- -- # # --
- -- # Auto Carry - Extreme Orbwalking # --
- -- # by Sida # --
- -- # # --
- -- ###################################################################################################### --
- if myHero == nil then myHero = GetMyHero() end
- require "AllClass"
- require "minionArray"
- -- ########### Configuration ############
- autoCarryKey = string.byte("F") -- The hotkey you will press to Orbwalk
- lastHitHarrassKey = string.byte("C") -- The hotkey you will press to Orbwalk
- rangeBuffer = 75 -- The range to use as your "buffer". This is the blue marker in-game. You will orbwalk towards an enemy until they hit your buffer range.
- safeRange = 250 -- Your "OSHIT" range. This is the red marker in-game. If an enemy is within this range and your mouse is aiming away from them, you'll just run the hell away until they are out of this range.
- targetClosest = true -- Always target closest enemy
- adjustRange = true -- Adjust our range indicator to show where our target is
- -- ########### End Configuration ############
- startAttackSpeed = 0.625
- local lastAttack = GetTickCount()
- local shotFired = false
- local shotFiredAt = GetTickCount()
- local range = 999
- local greenRange = 0
- local isMoving = false
- local tp
- local ts
- -- ########### Lasthit ############
- local minionTable, abilityminionTable = {}, {}
- local incDmg = {}
- local objminionTable = {}
- local scanAdditionalRange = 100
- local units = {}
- local unitCount = 0
- local killableCreep = nil
- -- ########### Range Bonus ############
- local attackRangeBonus = 0
- local attackRangeBonusTimeout = 0
- local lastAttackRange = myHero.range
- local weAtBottom = ( myHero.team == 100 )
- local minionInfo = {}
- minionInfo[(weAtBottom and "Blue" or "Red").."_Minion_Basic"] = { aaDelay = 400, projSpeed = 0 }
- minionInfo[(weAtBottom and "Blue" or "Red").."_Minion_Caster"] = { aaDelay = 484, projSpeed = 0.68 }
- minionInfo[(weAtBottom and "Blue" or "Red").."_Minion_Wizard"] = { aaDelay = 484, projSpeed = 0.68 }
- minionInfo[(weAtBottom and "Blue" or "Red").."_Minion_MechCannon"] = { aaDelay = 365, projSpeed = 1.18 }
- minionInfo.obj_AI_Turret = { aaDelay = 150, projSpeed = 1.14 }
- -- ########### ############
- function attackEnemy(enemy) -- Commands our hero to attack the target
- myHero:Attack(enemy)
- lastAttack = GetTickCount()
- shotFired = false
- end
- function timeToShoot() -- Returns if it's time for us to attack
- if GetTickCount() >= getNextAttackTime() then return true
- else return false end
- end
- function getNextAttackTime() -- Returns when we should next attack
- return getLastAttackTime() + (1000/getAttackSpeed())
- end
- function getLastAttackTime() -- Returns when we last attacked
- return lastAttack
- end
- function updateRange()
- if KCConfig.targetClosest then
- local closestEnemy = findClosestEnemy()
- if closestEnemy ~= nil then
- if isEnemyInAttackRange(closestEnemy) then
- range = GetDistance(closestEnemy)
- if getDistanceOffset(closestEnemy) > 0 then
- greenRange = (GetDistance(closestEnemy) + getDistanceOffset(closestEnemy)) - getHitBoxRadius(closestEnemy)
- else
- range = getMyTrueRange()
- greenRange = getMyTrueRange()
- end
- else
- range = getMyTrueRange()
- greenRange = getMyTrueRange()
- end
- else
- range = getMyTrueRange()
- greenRange = getMyTrueRange()
- end
- else
- range = getMyTrueRange()
- greenRange = getMyTrueRange()
- end
- if player.charName == "Tristana" then
- attackRangeBonus = player.level*9
- elseif player.charName == "Twitch" then
- if attackRangeBonusTimeout > GetTickCount() then
- attackRangeBonus = 300
- else
- attackRangeBonus = 0
- end
- end
- ts = TargetSelector(TARGET_LOW_HP, range+attackRangeBonus, DAMAGE_PHYSICAL or DAMAGE_MAGIC, false)
- ts:update()
- end
- function getDistanceOffset(enemy)
- distance = GetDistance(enemy) - getHitBoxRadius(enemy) + 60
- distanceRange = getMyTrueRange()
- if distance > distanceRange then return 0 end
- return distance / 9.85
- end
- function getMinimumRunTimeWhenChasing() -- Returns the minimum amount of time we will run for before shooting if we are chasing
- return 300
- end
- function getMinimumRunTimeWhenFleeing() -- Returns the minimum amount of time we will run for before shooting if we are fleeing
- return 1000
- end
- function getSafeRange() -- Return the range we consider a "safe" range from the closest enemy
- return safeRange
- end
- function isEnemyInAttackRange(enemy) -- Check if we can attack enemy
- local enemyDistance, enemyTrueDistance
- if enemy ~= nil then
- enemyDistance = GetDistance(enemy)
- enemyTrueDistance = enemyDistance - getHitBoxRadius(enemy)
- if enemyTrueDistance <= getMyTrueRange() then return true
- else return false end
- end
- end
- function findClosestEnemy() -- Find the closest enemy
- local closestEnemy = nil
- local currentEnemy = nil
- for i=1, heroManager.iCount do
- currentEnemy = heroManager:GetHero(i)
- if currentEnemy.team ~= myHero.team and not currentEnemy.dead and currentEnemy.visible then
- if closestEnemy == nil then
- closestEnemy = currentEnemy
- elseif GetDistance(currentEnemy) < GetDistance(closestEnemy) then
- closestEnemy = currentEnemy
- end
- end
- end
- return closestEnemy
- end
- function areEnemiesInSafeZone() -- Check if any enemies are in range
- for i=1, heroManager.iCount do
- local enemy = heroManager:GetHero(i)
- if enemy.team ~= myHero.team and GetDistance(enemy) < getSafeRange() then return true end
- end
- return false
- end
- function getTargetMovementDirection() -- See if target is running towards us or away
- local movementPrediction = getTargetNewLocation(getTargetMovementLocation())
- if GetDistance(ts.target) > movementPrediction then return "FLEEING" -- Target is running away!
- elseif GetDistance(ts.target) < movementPrediction then return "CHASING" -- Target is running towards us...GTFO!
- else return "NONE" -- Target isn't moving
- end
- end
- function getTargetNewLocation(target)
- return math.sqrt((myHero.x-target.x)^2+(myHero.z-target.z)^2)
- end
- function getTargetMovementLocation() -- Find out where our target will move to
- return tp:GetPrediction(ts.target)
- end
- function getCursorDirection(enemy) -- See if we are trying to run towards or away from enemy
- local meToEnemy = GetDistance(enemy)
- local cursorToEnemy = GetDistance(enemy, mousePos)
- if meToEnemy > cursorToEnemy then return "TOWARDS"
- elseif meToEnemy < cursorToEnemy then return "AWAY"
- else return nil end
- end
- function doNextAction() -- Perform our next action
- local moveDirection = getCursorDirection(ts.target)
- if moveDirection ~= nil then
- if not timeToShoot() and heroCanMove() and moveDirection == "TOWARDS" and not areEnemiesInSafeZone() then
- moveTowardsEnemy()
- elseif targetInSafeZone() and moveDirection == "AWAY" then
- moveToCursor()
- elseif areEnemiesInSafeZone() and moveDirection == "AWAY" then
- moveToCursor()
- elseif not timeToShoot() and heroCanMove() and moveDirection == "AWAY" then
- moveAwayFromEnemy()
- else
- attackEnemy(ts.target)
- end
- end
- end
- function getBufferRange()
- return getMyTrueRange() - rangeBuffer
- end
- function targetInBufferZone() -- Is target in our buffer zone?
- local targetDistance = GetDistance(ts.target)
- if targetDistance >= getBufferRange() and targetDistance <= getMyTrueRange() then return true
- else return false end
- end
- function targetInNormalZone() -- Is the target in our "normal" zone?
- local targetDistance = GetDistance(ts.target)
- if targetDistance >= getSafeRange() and targetDistance < getBufferRange() then return true
- else return false end
- end
- function targetInSafeZone() -- Is the target in our "Safe" zone?
- if GetDistance(ts.target) < getSafeRange() then
- return true
- else return false end
- end
- function moveTowardsEnemy() -- Move towards enemy if we can
- if targetInSafeZone() then stopMoving()
- elseif targetInNormalZone() then stopMoving()
- elseif targetInBufferZone() then moveToCursor()
- end
- end
- function moveAwayFromEnemy() -- Move away from enemy
- if targetInSafeZone() then moveToCursor()
- elseif targetInNormalZone() then moveToCursor()
- elseif targetInBufferZone() then moveToCursor() end
- end
- function stopMoving()
- if isMoving then myHero:HoldPosition() end
- isMoving = false
- end
- function moveToCursor()
- isMoving = true
- myHero:MoveTo(mousePos.x, mousePos.z)
- end
- function heroCanMove() -- Check if our shot has fired
- if shotFired then return true
- else return false end
- end
- function attackedSuccessfully() -- Our attack particle was fired
- shotFired = true
- shotFiredAt = GetTickCount()
- end
- function getMyTrueRange()
- return getRange() + GetDistance(myHero, myHero.minBBox)
- end
- function getTargetHitboxRange()
- return GetDistance(ts.target) - GetDistance(ts.target.minBBox)
- end
- function OnCreateObj(obj) -- Check if the new object is our attack particle
- minionArray.OnCreateObj(obj)
- if myHero.dead then return end
- if not shotFired then
- for _, v in pairs(aaParticles) do
- if obj.name:lower():find(v:lower()) then
- attackedSuccessfully()
- end
- end
- end
- end
- function OnDeleteObj(obj)
- minionArray.OnDeleteObj(obj)
- end
- function getRange() -- Return our hero's range
- return myHero.range + attackRangeBonus
- end
- function getAttackSpeed() -- Returns our heros attack speed
- return myHero.attackSpeed/(1/startAttackSpeed)
- end
- function getKillableCreep()
- for i, unit in pairs(units) do
- if unit ~= nil then
- local predictedDmg = 0
- local unitDistance = GetDistance(unit)
- if unitDistance < getMyTrueRange() then
- if KCConfig.predictDmg then
- local timeToHit = (( unitDistance / projSpeed ) + GetLatency()/2)
- for k, dmg in pairs(incDmg) do
- if ( dmg == nil or dmg.sourceObj == nil or dmg.sourceObj.dead or dmg.targetObj == nil or dmg.targetObj.dead)
- or (dmg.sourceObj.x ~= dmg.aaPos.x or dmg.sourceObj.z ~= dmg.aaPos.z) then
- incDmg[k] = nil
- elseif unit.networkID == dmg.targetObj.networkID then
- dmg.timeToHit = ( dmg.projSpeed == 0 and ( dmg.aaDelay ) or ( dmg.aaDelay + GetDistance2D(dmg.sourceObj,unit) / dmg.projSpeed ) )
- if GetTickCount() >= (dmg.startTick + dmg.timeToHit) then
- incDmg[k] = nil
- elseif GetTickCount() + timeToHit > (dmg.startTick + dmg.timeToHit) then
- predictedDmg = predictedDmg + dmg.amount
- end
- end
- end
- end
- local damage = myHero:CalcDamage(unit, myHero.totalDamage)
- if unit.health - predictedDmg < damage then
- return unit
- end
- end
- end
- end
- return nil
- end
- function OnProcessSpell(object, spell)
- if object ~= nil and object.isMe then
- if isAttackResetSpell(spell) then
- lastAttack = lastAttack-(1000/getAttackSpeed())
- elseif (spell.name == "FullAutomatic") then
- attackRangeBonus = 300
- attackRangeBonusTimeout = GetTickCount()+7000
- end
- end
- if KCConfig.predictDmg then
- OnProcessMinionsSpell(object, spell)
- end
- end
- function isAttackResetSpell(spell)
- if (spell.name == "Ricochet"
- or spell.name == "VayneTumble"
- or spell.name == "DariusNoxianTacticsONH"
- or spell.name == "BlindingDart"
- or spell.name == "EzrealMysticShot"
- or spell.name == "GravesBuckShot") then
- return true
- end
- return false
- end
- function OnProcessMinionsSpell(object,spell)
- if object ~= nil and object.team == myHero.team
- and (object.type == "obj_AI_Minion" or object.type == "obj_AI_Turret")
- and GetDistance(object) < getMyTrueRange() + scanAdditionalRange * 3 then
- local x1 = spell.startPos.x
- local z1 = spell.startPos.z
- local x2 = spell.endPos.x
- local z2 = spell.endPos.z
- for i,unit in pairs(units) do
- if unit ~= nil and unit.x == x1 and unit.z == z1 then
- if object ~= nil and minionInfo[object.charName] ~= nil then
- m_aaD = ( object.type == "obj_AI_Turret" and minionInfo.obj_AI_Turret.aaDelay or minionInfo[object.charName].aaDelay )
- m_pS = ( object.type == "obj_AI_Turret" and minionInfo.obj_AI_Turret.projSpeed or minionInfo[object.charName].projSpeed )
- incDmg[object.name] = { sourceObj = object, targetObj = unit, amount = object:CalcDamage(unit), startTick = GetTickCount(), aaPos = { x = object.x, z = object.z }, aaDelay = m_aaD, projSpeed = m_pS }
- end
- end
- end
- end
- end
- function getHitBoxDiameter(target)
- return GetDistance(target.minBBox, target.maxBBox)
- end
- function getHitBoxRadius(target)
- return GetDistance(target.minBBox, target.maxBBox)/2
- end
- function drawChampionHitBoxes()
- for i=1, heroManager.iCount do
- enemy = heroManager:GetHero(i)
- if enemy.team ~= myHero.team and not enemy.dead and enemy.visible then
- DrawCircle(enemy.x, enemy.y, enemy.z, getHitBoxRadius(enemy), 0x19A712)
- end
- end
- end
- function OnTick()
- if myHero.dead then return end
- TargetPrediction__OnTick()
- updateRange()
- unitCount,units = minionArray.ennemyMinionInRange(myHero, getMyTrueRange())
- if unitCount == 0 then
- killableCreep = nil
- elseif not ValidTarget(killableCreep,getMyTrueRange()) then
- killableCreep = getKillableCreep()
- end
- if KCConfig.AutoCarry or KCConfig.lastHitHarrass then
- if ts.target ~= nil then
- doNextAction()
- elseif KCConfig.lastHitHarrass and timeToShoot() and killableCreep then
- attackEnemy(killableCreep)
- elseif heroCanMove() or timeToShoot() then
- moveToCursor()
- end
- end
- end
- function OnDraw()
- if not myHero.dead then
- if KCConfig.adjustRange then
- DrawCircle(myHero.x, myHero.y, myHero.z, greenRange, 0x19A712)
- else
- DrawCircle(myHero.x, myHero.y, myHero.z, getMyTrueRange(), 0x19A712)
- end
- DrawCircle(myHero.x, myHero.y, myHero.z, getBufferRange(), 0xFFFFFF)
- for j=0, 3 do
- DrawCircle(myHero.x, myHero.y, myHero.z, getSafeRange()+ j*1.5, 0xFF0000)
- end
- if ts ~= nil and ts.target ~= nil then
- for j=0, 10 do
- DrawCircle(ts.target.x, ts.target.y, ts.target.z, 40 + j*1.5, 0x00FF00)
- end
- end
- drawChampionHitBoxes()
- end
- SC__OnDraw()
- end
- function OnWndMsg(msg,key)
- SC__OnWndMsg(msg,key)
- end
- function OnLoad()
- KCConfig = scriptConfig("Sida's Auto Carry", "autocarry")
- KCConfig:addParam("AutoCarry", "AutoCarry", SCRIPT_PARAM_ONKEYDOWN, false, autoCarryKey)
- KCConfig:addParam("lastHitHarrass", "lastHit and Harrass", SCRIPT_PARAM_ONKEYDOWN, false, lastHitHarrassKey)
- KCConfig:addParam("predictDmg", "Predict minion Damage", SCRIPT_PARAM_ONOFF, true)
- KCConfig:addParam("targetClosest", "Always target closest enemy", SCRIPT_PARAM_ONOFF, targetClosest)
- KCConfig:addParam("adjustRange", "Green marker scales to current range", SCRIPT_PARAM_ONOFF, adjustRange)
- KCConfig:permaShow("AutoCarry")
- ts = TargetSelector(TARGET_LOW_HP, getMyTrueRange(), DAMAGE_PHYSICAL or DAMAGE_MAGIC, false)
- ts.name = "AutoCarry"
- KCConfig:addTS(ts)
- tp = TargetPrediction(getMyTrueRange() + 100,99,0,1)
- range = getMyTrueRange()
- greenRange = getMyTrueRange()
- projSpeed = 1
- minionArray.OnLoad()
- if myHero.charName == "Ahri" then
- aaParticles = {"Ahri_BasicAttack_mis", "Ahri_BasicAttack_tar"}
- aaSpellName = "ahribasicattack"
- startAttackSpeed = "0.668"
- elseif myHero.charName == "Anivia" then
- aaParticles = {"cryo_BasicAttack_mis", "cryo_BasicAttack_tar"}
- aaSpellName = "aniviabasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Annie" then
- aaParticles = {"AnnieBasicAttack_tar", "AnnieBasicAttack_tar_frost", "AnnieBasicAttack2_mis", "AnnieBasicAttack3_mis"}
- aaSpellName = "anniebasicattack"
- startAttackSpeed = "0.579"
- elseif myHero.charName == "Ashe" then
- aaParticles = {"bowmaster_BasicAttack_tar", "bowmaster_frostShot_cas", "bowmaster_frostShot_mis", "bowmasterbasicattack_mis"}
- aaSpellName = "ashebasicattack"
- startAttackSpeed = "0.658"
- elseif myHero.charName == "Brand" then
- aaParticles = {"BrandBasicAttack_cas", "BrandBasicAttack_Frost_tar", "BrandBasicAttack_mis", "BrandBasicAttack_tar", "BrandCritAttack_mis", "BrandCritAttack_tar", "BrandCritAttack_tar"}
- aaSpellName = "brandbasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Caitlyn" then
- aaParticles = {"caitlyn_basicAttack_cas", "caitlyn_headshot_tar", "caitlyn_mis_04"}
- aaSpellName = "caitlynbasicattack"
- startAttackSpeed = "0.668"
- elseif myHero.charName == "Cassiopeia" then
- aaParticles = {"CassBasicAttack_mis"}
- aaSpellName = "cassiopeiabasicattack"
- startAttackSpeed = "0.644"
- elseif myHero.charName == "Corki" then
- aaParticles = {"corki_basicAttack_cas", "corki_basicAttack_mis", "corki_basicAttack_tar", "Corki_crit_mis"}
- aaSpellName = "corkibasicattack"
- startAttackSpeed = "0.658"
- elseif myHero.charName == "Draven" then
- aaParticles = {"Draven_BasicAttack_mis", "Draven_BasicAttack_tar", "Draven_BasicAttack_tar_bloodless", "Draven_BasicAttack_tar_shadow", "Draven_BasicAttack_tar_shadow_bloodless", "Draven_crit_mis", "Draven_crit_tar", "Draven_crit_tar_bloodless", "Draven_crit_tar_shadow", "Draven_crit_tar_shadow_bloodless", "Draven_Q_tar", "Draven_Q_tar_bloodless", "Draven_Q_tar_shadow", "Draven_Q_tar_shadow_bloodless", "Draven_Qcrit_mis"}
- aaSpellName = "corkibasicattack"
- startAttackSpeed = "0.679"
- elseif myHero.charName == "Ezreal" then
- aaParticles = {"Ezreal_BasicAttack_Cas", "Ezreal_basicattack_mis", "Ezreal_critattack_mis"}
- aaSpellName = "corkibasicattack"
- startAttackSpeed = "0.665"
- projSpeed = 1.9
- elseif myHero.charName == "Fiddlesticks" then
- aaParticles = {"FiddleSticks_cas", "FiddleSticks_mis", "FiddleSticksBasicAttack_tar"}
- aaSpellName = "fiddlesticksbasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Graves" then
- aaParticles = {"Graves_BasicAttack_cas", "Graves_BasicAttack_mis", "Graves_BasicAttack_tar", "Graves_CritAttack_cas_smoke"}
- aaSpellName = "fiddlesticksbasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Heimerdinger" then
- aaParticles = {"heimerdinger_basicAttack_mis", "heimerdinger_basicAttack_tar"}
- aaSpellName = "fiddlesticksbasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Janna" then
- aaParticles = {"JannaBasicAttack_mis", "JannaBasicAttack_tar", "JannaBasicAttackFrost_tar"}
- aaSpellName = "jannabasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Jayce" then
- aaParticles = {"Jayce_Range_Basic_mis", "Jayce_Range_Basic_Crit"}
- aaSpellName = "jaycebasicattack"
- startAttackSpeed = "0.658"
- elseif myHero.charName == "Karma" then
- aaParticles = {"karma_basicAttack_cas", "karma_basicAttack_mis", "karma_crit_mis"}
- aaSpellName = "jannabasicattack"
- startAttackSpeed = "0.658"
- elseif myHero.charName == "Karthus" then
- aaParticles = {"LichBasicAttack_cas", "LichBasicAttack_glow", "LichBasicAttack_mis", "LichBasicAttack_tar"}
- aaSpellName = "karthusbasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Kayle" then
- aaParticles = {"JudicatorBasicAttack_tar"}
- aaSpellName = "karthusbasicattack"
- startAttackSpeed = "0.638"
- elseif myHero.charName == "Kennen" then
- aaParticles = {"KennenBasicAttack_mis"}
- aaSpellName = "kennenbasicattack"
- startAttackSpeed = "0.690"
- elseif myHero.charName == "KogMaw" then
- aaParticles = {"KogMawBasicAttack_cas", "KogMawBasicAttack_mis", "KogMawBioArcaneBarrage_cas", "KogMawBioArcaneBarrage_mis"}
- aaSpellName = "kogmawbasicattack"
- startAttackSpeed = "0.665"
- elseif myHero.charName == "Leblanc" then
- aaParticles = {"leBlanc_basicAttack_cas", "leBlancBasicAttack_mis"}
- aaSpellName = "leblancbasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Lulu" then
- aaParticles = {"lulu_attack_cas", "LuluBasicAttack", "LuluBasicAttack_tar"}
- aaSpellName = "lulubasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Lux" then
- aaParticles = {"LuxBasicAttack_mis", "LuxBasicAttack_tar", "LuxBasicAttack01"}
- aaSpellName = "luxbasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Malzahar" then
- aaParticles = {"AlzaharBasicAttack_cas", "AlZaharBasicAttack_mis"}
- aaSpellName = "malzaharbasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Miss Fortune" then
- aaParticles = {"missFortune_basicAttack_cas", "missFortune_basicAttack_left_cas", "missFortune_basicAttack_mis", "missFortune_crit_cas", "missFortune_crit_mis"}
- aaSpellName = "malzaharbasicattack"
- startAttackSpeed = "0.658"
- elseif myHero.charName == "Morgana" then
- aaParticles = {"FallenAngelBasicAttack_mis", "FallenAngelBasicAttack_tar", "FallenAngelBasicAttack2_mis"}
- aaSpellName = "Morganabasicattack"
- startAttackSpeed = "0.579"
- elseif myHero.charName == "Nidalee" then
- aaParticles = {"nidalee_javelin_birth", "nidalee_javelin_empty", "nidalee_javelin_mis"}
- aaSpellName = "nidaleebasicattack"
- startAttackSpeed = "0.672"
- elseif myHero.charName == "Orianna" then
- aaParticles = {"OrianaBasicAttack_mis", "OrianaBasicAttack_tar"}
- aaSpellName = "oriannabasicattack"
- startAttackSpeed = "0.658"
- elseif myHero.charName == "Ryze" then
- aaParticles = {"rhyzebasicattack2_mis", "RyzeBasicAttack_mis", "RyzeBasicAttack_hit"}
- aaSpellName = "ryzebasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Sivir" then
- aaParticles = {"Ricochet_mis", "Ricochet_tar", "sivirbasicattack_mis", "sivirbasicattack_mis", "sivirbasicattack2_mis", "SivirBasicAttack_tar", "SivirCriticalAttack_tar", "SivirRicochetAttack_tar", "SivirRicochetAttack_mis"}
- aaSpellName = "sivirbasicattack"
- startAttackSpeed = "0.658"
- elseif myHero.charName == "Sona" then
- aaParticles = {"SonaBasicAttack_mis", "SonaBasicAttack_tar", "SonaCritAttack_mis", "SonaPowerChord_AriaofPerseverance_mis", "SonaPowerChord_AriaofPerseverance_tar", "SonaPowerChord_HymnofValor_mis", "SonaPowerChord_HymnofValor_tar", "SonaPowerChord_SongOfSelerity_mis", "SonaPowerChord_SongOfSelerity_tar", "SonaPowerChord_mis", "SonaPowerChord_tar"}
- aaSpellName = "sonabasicattack"
- startAttackSpeed = "0.644"
- elseif myHero.charName == "Soraka" then
- aaParticles = {"SorakaBasicAttack_mis", "SorakaBasicAttack_tar"}
- aaSpellName = "sorakabasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Swain" then
- aaParticles = {"swain_basicAttack_bird_cas", "swain_basicAttack_cas", "swainBasicAttack_mis"}
- aaSpellName = "sorakabasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Syndra" then
- aaParticles = {"Syndra_attack_hit", "Syndra_attack_mis"}
- aaSpellName = "sorakabasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Teemo" then
- aaParticles = {"TeemoBasicAttack_mis", "TeemoBasicAttack_tar", "ToxicShot_cas", "Toxicshot_mis", "Toxicshot_tar"}
- aaSpellName = "teemobasicattack"
- startAttackSpeed = "0.690"
- elseif myHero.charName == "Tristana" then
- aaParticles = {"TristanaBasicAttack_tar"}
- aaSpellName = "tristanabasicattack"
- startAttackSpeed = "0.658"
- elseif myHero.charName == "Twistedfate" then
- aaParticles = {"CardmasterBasicAttack_tar", "CardmasterStackAttack_tar", "TwistedFateBasicAttack_hit", "TwistedFateBasicAttack_mis", "TwistedFateStackAttack_mis"}
- aaSpellName = "twistedfatebasicattack"
- startAttackSpeed = "0.651"
- elseif myHero.charName == "Twitch" then
- aaParticles = {"twitch_basicAttack_cas", "twitch_basicAttack_mis", "twitch_gangster_sprayandPray_tar", "twitch_punk_sprayandPray_tar", "twitch_sprayandPray_tar", "twitch_sprayandPray_mis"}
- startAttackSpeed = "0.679"
- projSpeed = 1.9
- elseif myHero.charName == "Urgot" then
- aaParticles = {"Urgot_Battlecast_BasicAttack_Vent", "UrgotBasicAttack_cas", "UrgotBasicAttack_mis", "UrgotBasicAttack_tar"}
- aaSpellName = "twitchbasicattack"
- startAttackSpeed = "0.644"
- elseif myHero.charName == "Varus" then
- aaParticles = {"Varus_basicAttack_charge", "Varus_basicAttack_charge2", "Varus_basicAttack_hit", "Varus_basicAttack_mis", "Varus_critAttack_mis", "Varus_critAttack_hit"}
- aaSpellName = "varusbasicattack"
- startAttackSpeed = "0.658"
- elseif myHero.charName == "Vayne" then
- aaParticles = {"vayne_basicAttack_mis", "vayne_critAttack_mis", "vayne_critAttack_tar"}
- aaSpellName = "vaynebasicattack"
- startAttackSpeed = "0.658"
- elseif myHero.charName == "Veigar" then
- aaParticles = {"ahri_basicattack_mis"}
- aaSpellName = "veigarbasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Viktor" then
- aaParticles = {"ViktorBasicAttack_cas", "ViktorBasicAttack_mis", "ViktorBasicAttack_tar"}
- aaSpellName = "viktorbasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Vladimir" then
- aaParticles = {"VladBasicAttack_mis", "VladBasicAttack_mis_bloodless", "VladBasicAttack_tar", "VladBasicAttack_tar_bloodless"}
- aaSpellName = "vladimirbasicattack"
- startAttackSpeed = "0.658"
- elseif myHero.charName == "Xerath" then
- aaParticles = {"XerathBasicAttack_mis", "XerathBasicAttack_tar"}
- aaSpellName = "xerathbasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Ziggs" then
- aaParticles = {"ZiggsBasicAttack_cas", "ZiggsBasicAttack_mis", "ZiggsBasicAttack_tar"}
- aaSpellName = "ziggsbasicattack"
- startAttackSpeed = "0.656"
- elseif myHero.charName == "Zilean" then
- aaParticles = {"ChronoBasicAttack_mis"}
- aaSpellName = "zileanbasicattack"
- startAttackSpeed = "0.625"
- elseif myHero.charName == "Zyra" then
- aaParticles = {"Zyra_basicAttack_cas", "Zyra_basicAttack_cas_02", "Zyra_basicAttack_mis", "Zyra_basicAttack_tar", "Zyra_basicAttack_tar_hellvine"}
- aaSpellName = "zileanbasicattack"
- startAttackSpeed = "0.625"
- end
- end
- PrintChat(">> Sida's Auto Carry Loaded!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement