Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Pytanie] Autolasthit


unicornofgloom

Rekomendowane odpowiedzi

Opublikowano

użyj Sida's Auto Carry

jest to skrypt do BoLa

 

gdy przytrzymujesz x to bot zabija miniona 1 hitem przyczym zawsze biega tam gdzie masz kursor

pod V bot czyści linie - atakuje każdego miniona starając się dobijać

1371985602-U137250.jpg by ScoTubeDev

2x ExModerator NosTale I 2x Gold Member

Opublikowano

 

--[[
Sida's Auto Carry: Revamped
v3.7
]]--

--[[ Configuration ]]--

local AutoCarryKey = 32
local LastHitKey = string.byte("X")
local MixedModeKey = string.byte("C")
local LaneClearKey = string.byte("V")

------------ > Don't touch anything below here < --------------

--[[ Vars ]] --
local projSpeed = 0
local startAttackSpeed = 0.665
local attackDelayOffset = 600
local lastAttack = 0
local projAt = 0
local Skills
local enemyMinions
local allyMinions
local lastEnemy
local lastRange
local killableMinion
local minionInfo = {}
local incomingDamage = {}
local jungleMobs = {}
local turretMinion = {timeToHit = 0, obj = nil}
local isMelee = myHero.range < 300
local movementStopped = false
local hasPlugin = false
_G.AutoCarry = _G

--[[ Global Vars : Can be used by plugins ]]--
AutoCarry.Orbwalker = nil
AutoCarry.SkillsCrosshair = nil
AutoCarry.CanMove = true
AutoCarry.CanAttack = true
AutoCarry.MainMenu = nil
AutoCarry.PluginMenu = nil
AutoCarry.EnemyTable = nil
AutoCarry.shotFired = false

--[[ Global Functions ]]--
function getTrueRange()
return myHero.range + GetDistance(myHero.minBBox)
end

function attackEnemy(enemy)
if CustomAttackEnemy then CustomAttackEnemy(enemy) return end
if enemy.dead or not enemy.valid or not AutoCarry.CanAttack then return end
myHero:Attack(enemy)
AutoCarry.shotFired = true
end

function getHitBoxRadius(target)
return GetDistance(target.minBBox, target.maxBBox)/2
end

function timeToShoot()
if GetTickCount() > getNextAttackTime() then
return true
end
return false
end

function getAttackSpeed()
return myHero.attackSpeed/(1/startAttackSpeed)
end

function getNextAttackTime()
return lastAttack + (1000 * ( -0.375 + (0.625 / startAttackSpeed))) / getAttackSpeed()
end

function attackedSuccessfully()
AutoCarry.shotFired = false
lastAttack = GetTickCount()
projAt = GetTickCount()
if OnAttacked then OnAttacked() end
end

function heroCanMove()
if AutoCarry.shotFired == false or timeToShoot() or isMelee then
return true
end
return false
end

function setMovement()
if GetDistance(mousePos) maxRange then maxRange = skill.range end
end
AutoCarry.SkillsCrosshair = TargetSelector(TARGET_LOW_HP_PRIORITY, maxRange, DAMAGE_PHYSICAL, false)
end

function SkillsOnTick()
if Skills == nil then return end
local target
if ValidTarget(AutoCarry.Orbwalker.target) then
target = AutoCarry.Orbwalker.target
else
AutoCarry.SkillsCrosshair:update()
target = AutoCarry.SkillsCrosshair.target
end
if ValidTarget(target) and target.type == myHero.type then
for _, skill in pairs(Skills) do
if (AutoCarry.MainMenu.AutoCarry and SkillsMenu[skill.configName.."AutoCarry"]) or
(AutoCarry.MainMenu.LastHit and SkillsMenu[skill.configName.."LastHit"]) or
(AutoCarry.MainMenu.MixedMode and SkillsMenu[skill.configName.."MixedMode"]) then
if not skill.reset or (skill.reset and projAt + 500 > GetTickCount()) then
if skill.skillShot then
AutoCarry.CastSkillshot(skill, target)
elseif skill.reqTarget == false and not skill.atMouse then
CastSelf(skill, target)
elseif skill.reqTarget == false and skill.atMouse then
CastMouse(skill)
else
CastTargettedSpell(skill, target)
end
end
end
end
end
end

AutoCarry.GetCollision = function (skill, source, destination)
if VIP_USER then
local col = Collision(skill.range, skill.speed*1000, skill.delay/1000, skill.width)
return col:GetMinionCollision(source, destination)
else
return willHitMinion(destination, skill.width)
end
end

AutoCarry.CastSkillshot = function (skill, target)
if VIP_USER then
pred = TargetPredictionVIP(skill.range, skill.speed*1000, skill.delay/1000, skill.width)
elseif not VIP_USER then
pred = TargetPrediction(skill.range, skill.speed, skill.delay, skill.width)
end
local predPos = pred:GetPrediction(target)
if predPos and GetDistance(predPos) SkillsMenu.hitChance/100 then
if not skill.minions or not AutoCarry.GetCollision(skill, myHero, predPos) then
CastSpell(skill.spellKey, predPos.x, predPos.z)
end
elseif not VIP_USER then
if not skill.minions or not AutoCarry.GetCollision(skill, myHero, predPos) then
CastSpell(skill.spellKey, predPos.x, predPos.z)
end
end
end
end

function CastTargettedSpell(skill, target)
if GetDistance(target) > Vayne 0 and myHero:CanUseSpell(_Q) == SUPRESSED then
return math.round( ((0.05*myHero:GetSpellData(_Q).level) + 0.25 )*myHero.totalDamage )
end
return 0
end

-- >> Teemo 0 then
return math.floor( (myHero:GetSpellData(_E).level * 10) + (myHero.ap * 0.3) )
end
return 0
end
-- >> Corki > Miss Fortune 0 then
return (4+2*myHero:GetSpellData(_W).level) + (myHero.ap/20)
end
return 0
end

-- >> Varus 0 then
return (6 + (myHero:GetSpellData(_W).level * 4) + (myHero.ap * 0.25))
end
return 0
end

-- >> Caitlyn > Tristana > KogMaw > Twisted Fate > Draven qRad then
qStacks = qStacks - 1
end
for i, reticle in ipairs(reticles) do
if obj and obj.valid and reticle.object and reticle.object.valid and obj.x == reticle.object.x and obj.z == reticle.object.z then
table.remove(reticles, i)
end
end
elseif obj.name == "Draven_Q_buf.troy" then
qBuff = qBuff - 1
end
end

function axesActive()
if (AutoCarry.MainMenu.AutoCarry and DravenConfig.AutoCarry)
or (AutoCarry.MainMenu.LastHit and DravenConfig.LastHit)
or (AutoCarry.MainMenu.MixedMode and DravenConfig.MixedMode)
or (AutoCarry.MainMenu.LaneClear and DravenConfig.LaneClear) then
return true
end
return false
end

function CustomAttackEnemy(enemy)
if enemy.dead or not enemy.valid or disableAttacks then return end
if axesActive() and GetDistance(mousePos) GetDistance(closestReticle.object) then
closestReticle = particle
end
else
closestReticle = particle
end
end

if GetDistance(mousePos) getTrueRange() + getHitBoxRadius(closestEnemy) then
return false
end
return true
else
return true
end
end
end

function BonusLastHitDamage(minion)
if myHero:GetSpellData(_Q).level > 0 and qBuff > 0 then
return ((myHero.damage + myHero.addDamage) * (0.35 + (0.1 * myHero:GetSpellData(_Q).level)))
end
end

function CustomOnDraw()
DrawCircle(myHero.x, myHero.y, myHero.z, DravenConfig.HoldRange, 0xFFFFFF)
DrawCircle(myHero.x, myHero.y, myHero.z, DravenConfig.HoldRange-1, 0xFFFFFF)
DrawCircle(myHero.x, myHero.y, myHero.z, DravenConfig.CatchRange-1, 0x19A712)

if axesActive() and DravenConfig.Reminder then
if GetDistance(mousePos) getTimeToHit(turretMinion.obj, projSpeed) then
attackEnemy(turretMinion.obj)
elseif heroCanMove() and FarmMenu.moveLastHit then
moveToCursor()
end
end

if AutoCarry.MainMenu.MixedMode then
if AutoCarry.Orbwalker.target ~= nil and EnemyInRange(AutoCarry.Orbwalker.target) then
if timeToShoot() and AutoCarry.CanAttack then
attackEnemy(AutoCarry.Orbwalker.target)
elseif heroCanMove() then
moveToCursor()
end
else
if not ValidTarget(killableMinion) then killableMinion = getKillableCreep(1) end
if ValidTarget(killableMinion) and (timeToShoot() or isMelee) and AutoCarry.CanAttack then
attackEnemy(killableMinion)
elseif heroCanMove() and FarmMenu.moveMixed then
moveToCursor()
end
end
end

if AutoCarry.MainMenu.LaneClear then
if not ValidTarget(killableMinion) then killableMinion = getKillableCreep(1) end
if ValidTarget(killableMinion) and (timeToShoot() or isMelee) and AutoCarry.CanAttack then
attackEnemy(killableMinion)
else
local tMinion = getHighestMinion()
if tMinion and ValidTarget(tMinion) and timeToShoot() and AutoCarry.CanAttack then
attackEnemy(tMinion)
else
local tMinion = getJungleMinion()
if tMinion and ValidTarget(tMinion) and timeToShoot() and AutoCarry.CanAttack then
attackEnemy(tMinion)
elseif heroCanMove() and FarmMenu.moveClear then
moveToCursor()
end
end
end
end

if CustomOnTick then CustomOnTick() end
end

function OnProcessSpell(unit, spell)
OrbwalkingOnProcessSpell(unit, spell)
LastHitOnProcessSpell(unit, spell)
if CustomOnProcessSpell then CustomOnProcessSpell(unit, spell) end
end

function OnCreateObj(obj)
if myHero.dead or getChampTable()[myHero.charName] == nil then return end
for _, v in pairs(getChampTable()[myHero.charName].aaParticles) do
if obj ~= nil and obj.valid and obj.name:lower():find(v:lower()) then
if obj.name:lower():find("tristanna") then
if GetDistance(obj) > 100 then return end
end
attackedSuccessfully()
end
end
LastHitOnCreateObj(obj)
if CustomOnCreateObj then CustomOnCreateObj(obj) end
end

function OnDeleteObj(obj)
LastHitOnDeleteObj(obj)
if CustomOnDeleteObj then CustomOnDeleteObj(obj) end
end

function OnDraw()
if DisplayMenu.myRange and not disableRangeDraw then
DrawCircle(myHero.x, myHero.y, myHero.z, getTrueRange(), 0x19A712)
end
DrawCircle(myHero.x, myHero.y, myHero.z, AutoCarry.MainMenu.HoldZone, 0xFFFFFF)
OrbwalkingOnDraw()
LastHitOnDraw()
if CustomOnDraw then CustomOnDraw() end
end

--[[ Data ]]--
function getChampTable()
return {
Ahri = { projSpeed = 1.6, aaParticles = {"Ahri_BasicAttack_mis", "Ahri_BasicAttack_tar"}, aaSpellName = "ahribasicattack", startAttackSpeed = "0.668", },
Anivia = { projSpeed = 1.05, aaParticles = {"cryo_BasicAttack_mis", "cryo_BasicAttack_tar"}, aaSpellName = "aniviabasicattack", startAttackSpeed = "0.625", },
Annie = { projSpeed = 1.0, aaParticles = {"AnnieBasicAttack_tar", "AnnieBasicAttack_tar_frost", "AnnieBasicAttack2_mis", "AnnieBasicAttack3_mis"}, aaSpellName = "anniebasicattack", startAttackSpeed = "0.579", },
Ashe = { projSpeed = 2.0, aaParticles = {"bowmaster_frostShot_mis", "bowmasterbasicattack_mis"}, aaSpellName = "ashebasicattack", startAttackSpeed = "0.658" },
Brand = { projSpeed = 1.975, aaParticles = {"BrandBasicAttack_cas", "BrandBasicAttack_Frost_tar", "BrandBasicAttack_mis", "BrandBasicAttack_tar", "BrandCritAttack_mis", "BrandCritAttack_tar", "BrandCritAttack_tar"}, aaSpellName = "brandbasicattack", startAttackSpeed = "0.625" },
Caitlyn = { projSpeed = 2.5, aaParticles = {"caitlyn_basicAttack_cas", "caitlyn_headshot_tar", "caitlyn_mis_04"}, aaSpellName = "caitlynbasicattack", startAttackSpeed = "0.668" },
Cassiopeia = { projSpeed = 1.22, aaParticles = {"CassBasicAttack_mis"}, aaSpellName = "cassiopeiabasicattack", startAttackSpeed = "0.644" },
Corki = { projSpeed = 2.0, aaParticles = {"corki_basicAttack_mis", "Corki_crit_mis"}, aaSpellName = "CorkiBasicAttack", startAttackSpeed = "0.658" },
Draven = { projSpeed = 1.4, aaParticles = {"Draven_BasicAttackAlt_mis", "Draven_BasicAttack_mis", "Draven_BasicAttack_mis_bloodless", "Draven_BasicAttack_mis_shadow", "Draven_BasicAttack_mis_shadow_bloodless", "Draven_crit_mis", "Draven_crit_mis_bloodless", "Draven_crit_mis_shadow", "Draven_crit_mis_shadow_bloodless" } , aaSpellName = "dravenbasicattack", startAttackSpeed = "0.679", },
Ezreal = { projSpeed = 2.0, aaParticles = {"Ezreal_basicattack_mis", "Ezreal_critattack_mis"}, aaSpellName = "ezrealbasicattack", startAttackSpeed = "0.625" },
FiddleSticks = { projSpeed = 1.75, aaParticles = {"FiddleSticks_cas", "FiddleSticks_mis", "FiddleSticksBasicAttack_tar"}, aaSpellName = "fiddlesticksbasicattack", startAttackSpeed = "0.625" },
Graves = { projSpeed = 3.0, aaParticles = {"Graves_BasicAttack_mis",}, aaSpellName = "gravesbasicattack", startAttackSpeed = "0.625" },
Heimerdinger = { projSpeed = 1.4, aaParticles = {"heimerdinger_basicAttack_mis", "heimerdinger_basicAttack_tar"}, aaSpellName = "heimerdingerbasicAttack", startAttackSpeed = "0.625" },
Janna = { projSpeed = 1.2, aaParticles = {"JannaBasicAttack_mis", "JannaBasicAttack_tar", "JannaBasicAttackFrost_tar"}, aaSpellName = "jannabasicattack", startAttackSpeed = "0.625" },
Jayce = { projSpeed = 2.2, aaParticles = {"Jayce_Range_Basic_mis", "Jayce_Range_Basic_Crit"}, aaSpellName = "jaycebasicattack", startAttackSpeed = "0.658", },
Karma = { projSpeed = nil, aaParticles = {"karma_basicAttack_cas", "karma_basicAttack_mis", "karma_crit_mis"}, aaSpellName = "karmabasicattack", startAttackSpeed = "0.658", },
Karthus = { projSpeed = 1.25, aaParticles = {"LichBasicAttack_cas", "LichBasicAttack_glow", "LichBasicAttack_mis", "LichBasicAttack_tar"}, aaSpellName = "karthusbasicattack", startAttackSpeed = "0.625" },
Kayle = { projSpeed = 1.8, aaParticles = {"RighteousFury_nova"}, aaSpellName = "KayleBasicAttack", startAttackSpeed = "0.638", },
Kennen = { projSpeed = 1.35, aaParticles = {"KennenBasicAttack_mis", "kennen_ds_mis" }, aaSpellName = "kennenbasicattack", startAttackSpeed = "0.690" },
KogMaw = { projSpeed = 1.8, aaParticles = {"KogMawBasicAttack_mis", "KogMawBioArcaneBarrage_mis"}, aaSpellName = "kogmawbasicattack", startAttackSpeed = "0.665", },
Leblanc = { projSpeed = 1.7, aaParticles = {"leBlanc_basicAttack_cas", "leBlancBasicAttack_mis"}, aaSpellName = "leblancbasicattack", startAttackSpeed = "0.625" },
Lulu = { projSpeed = 2.5, aaParticles = {"lulu_attack_cas", "LuluBasicAttack", "LuluBasicAttack_tar"}, aaSpellName = "LuluBasicAttack", startAttackSpeed = "0.625" },
Lux = { projSpeed = 1.55, aaParticles = {"LuxBasicAttack_mis", "LuxBasicAttack_tar", "LuxBasicAttack01"}, aaSpellName = "luxbasicattack", startAttackSpeed = "0.625" },
Malzahar = { projSpeed = 1.5, aaParticles = {"AlzaharBasicAttack_cas", "AlZaharBasicAttack_mis"}, aaSpellName = "malzaharbasicattack", startAttackSpeed = "0.625" },
MissFortune = { projSpeed = 2.0, aaParticles = {"missFortune_basicAttack_mis", "missFortune_crit_mis"}, aaSpellName = "missfortunebasicattack", startAttackSpeed = "0.656" },
Morgana = { projSpeed = 1.6, aaParticles = {"FallenAngelBasicAttack_mis", "FallenAngelBasicAttack_tar", "FallenAngelBasicAttack2_mis"}, aaSpellName = "Morganabasicattack", startAttackSpeed = "0.579" },
Nidalee = { projSpeed = 1.7, aaParticles = {"nidalee_javelin_mis"}, aaSpellName = "nidaleebasicattack", startAttackSpeed = "0.670" },
Orianna = { projSpeed = 1.4, aaParticles = {"OrianaBasicAttack_mis", "OrianaBasicAttack_tar"}, aaSpellName = "oriannabasicattack", startAttackSpeed = "0.658" },
Quinn = { projSpeed = 1.85, aaParticles = {"Quinn_basicattack_mis", "QuinnValor_BasicAttack_01", "QuinnValor_BasicAttack_02", "QuinnValor_BasicAttack_03", "Quinn_W_mis"}, aaSpellName = "QuinnBasicAttack", startAttackSpeed = "0.668" },
Ryze = { projSpeed = 2.4, aaParticles = {"ManaLeach_mis"}, aaSpellName = {"RyzeBasicAttack"}, startAttackSpeed = "0.625" },
Sivir = { projSpeed = 1.4, aaParticles = {"sivirbasicattack_mis", "sivirbasicattack2_mis", "SivirRicochetAttack_mis"}, aaSpellName = "sivirbasicattack", startAttackSpeed = "0.658" },
Sona = { projSpeed = 1.6, 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" },
Soraka = { projSpeed = 1.0, aaParticles = {"SorakaBasicAttack_mis", "SorakaBasicAttack_tar"}, aaSpellName = "sorakabasicattack", startAttackSpeed = "0.625" },
Swain = { projSpeed = 1.6, aaParticles = {"swain_basicAttack_bird_cas", "swain_basicAttack_cas", "swainBasicAttack_mis"}, aaSpellName = "swainbasicattack", startAttackSpeed = "0.625" },
Syndra = { projSpeed = 1.2, aaParticles = {"Syndra_attack_hit", "Syndra_attack_mis"}, aaSpellName = "sorakabasicattack", startAttackSpeed = "0.625", },
Teemo = { projSpeed = 1.3, aaParticles = {"TeemoBasicAttack_mis", "Toxicshot_mis"}, aaSpellName = "teemobasicattack", startAttackSpeed = "0.690" },
Tristana = { projSpeed = 2.25, aaParticles = {"TristannaBasicAttack_mis"}, aaSpellName = "tristanabasicattack", startAttackSpeed = "0.656", },
TwistedFate = { projSpeed = 1.5, aaParticles = {"TwistedFateBasicAttack_mis", "TwistedFateStackAttack_mis", "PickaCard_blue_mis", "PickaCard_red_mis", "PickaCard_yellow_mis"}, aaSpellName = "twistedfatebasicattack", startAttackSpeed = "0.651", },
Twitch = { projSpeed = 2.5, aaParticles = {"twitch_basicAttack_mis", "twitch_sprayandPray_mis"}, aaSpellName = "twitchbasicattack", startAttackSpeed = "0.679" },
Urgot = { projSpeed = 1.3, aaParticles = {"UrgotBasicAttack_mis"}, aaSpellName = "urgotbasicattack", startAttackSpeed = "0.644" },
Vayne = { projSpeed = 2.0, aaParticles = {"vayne_basicAttack_mis", "vayne_critAttack_mis", "vayne_ult_mis" }, aaSpellName = "vaynebasicattack", startAttackSpeed = "0.658", },
Varus = { projSpeed = 2.0, aaParticles = {"varus_basicAttack_mis", "varus_critAttack_mis" }, aaSpellName = "varusbasicattack", startAttackSpeed = "0.658", },
Veigar = { projSpeed = 1.05, aaParticles = {"ahri_basicattack_mis"}, aaSpellName = "veigarbasicattack", startAttackSpeed = "0.625" },
Viktor = { projSpeed = 2.25, aaParticles = {"ViktorBasicAttack_cas", "ViktorBasicAttack_mis", "ViktorBasicAttack_tar"}, aaSpellName = "viktorbasicattack", startAttackSpeed = "0.625" },
Vladimir = { projSpeed = 1.4, aaParticles = {"VladBasicAttack_mis", "VladBasicAttack_mis_bloodless", "VladBasicAttack_tar", "VladBasicAttack_tar_bloodless"}, aaSpellName = "vladimirbasicattack", startAttackSpeed = "0.658" },
Xerath = { projSpeed = 1.2, aaParticles = {"XerathBasicAttack_mis", "XerathBasicAttack_tar"}, aaSpellName = "xerathbasicattack", startAttackSpeed = "0.625" },
Ziggs = { projSpeed = 1.5, aaParticles = {"ZiggsBasicAttack_mis", "ZiggsPassive_mis"}, aaSpellName = "ziggsbasicattack", startAttackSpeed = "0.656" },
Zilean = { projSpeed = 1.25, aaParticles = {"ChronoBasicAttack_mis"}, aaSpellName = "zileanbasicattack" },
Zyra = { projSpeed = 1.7, aaParticles = {"Zyra_basicAttack_cas", "Zyra_basicAttack_cas_02", "Zyra_basicAttack_mis", "Zyra_basicAttack_tar", "Zyra_basicAttack_tar_hellvine"}, aaSpellName = "zileanbasicattack", startAttackSpeed = "0.625", },
}
end

function getSpellList()
local spellArray = nil
if myHero.charName == "Ezreal" then
spellArray = {
{ spellKey = _Q, range = 1100, speed = 2.0, delay = 250, width = 70, configName = "mysticShot", displayName = "Q (Mystic Shot)", enabled = true, skillShot = true, minions = true, reset = false, reqTarget = true },
{ spellKey = _W, range = 1050, speed = 1.6, delay = 250, width = 90, configName = "essenceFlux", displayName = "W (Essence Flux)", enabled = true, skillShot = true, minions = false, reset = false, reqTarget = true },
}
elseif myHero.charName == "KogMaw" then
spellArray = {
{ spellKey = _Q, range = 625, speed = 1.3, delay = 260, width = 200, configName = "causticSpittle", displayName = "Q (Caustic Spittle)", enabled = true, skillShot = false, minions = false, reset = true, reqTarget = true },
{ spellKey = _W, range = 625, speed = 1.3, delay = 260, width = 200, configName = "bioArcaneBarrage", displayName = "W (Bio-Arcane Barrage)", enabled = true, forceRange = true, forceToHitBox = true, skillShot = false, minions = false, reset = false, reqTarget = false },
{ spellKey = _E, range = 850, speed = 1.3, delay = 260, width = 200, configName = "voidOoze", displayName = "E (Void Ooze)", enabled = true, skillShot = true, minions = false, reset = false, reqTarget = true },
{ spellKey = _R, range = 1700, speed = math.huge, delay = 1000, width = 200, configName = "livingArtillery", displayName = "R (Living Artillery)", enabled = true, skillShot = true, minions = false, reset = false, reqTarget = true },
}
elseif myHero.charName == "Sivir" then
spellArray = {
{ spellKey = _Q, range = 1000, speed = 1.33, delay = 250, width = 120, configName = "boomerangBlade", displayName = "Q (Boomerang Blade)", enabled = true, skillShot = true, minions = false, reset = false, reqTarget = true },
{ spellKey = _W, range = getTrueRange(), speed = 1, delay = 0, width = 200, configName = "Ricochet", displayName = "W (Ricochet)", enabled = true, skillShot = false, minions = false, reset = true, reqTarget = true },
}
elseif myHero.charName == "Graves" then
spellArray = {
{ spellKey = _Q, range = 750, speed = 2, delay = 250, width = 200, configName = "buckShot", displayName = "Q (Buck Shot)", enabled = true, skillShot = true, minions = false, reset = false, reqTarget = true },
{ spellKey = _W, range = 700, speed = 1400, delay = 300, width = 500, configName = "smokeScreen", displayName = "W (Smoke Screen)", enabled = false, skillShot = true, minions = false, reset = false, reqTarget = true },
{ spellKey = _E, range = 580, speed = 1450, delay = 250, width = 200, configName = "quickDraw", displayName = "E (Quick Draw)", enabled = true, skillShot = false, minions = false, reset = true, reqTarget = false, atMouse = true },
}
elseif myHero.charName == "Caitlyn" then
spellArray = {
{ spellKey = _Q, range = 1300, speed = 2.1, delay = 625, width = 100, configName = "piltoverPeacemaker", displayName = "Q (Piltover Peacemaker)", enabled = true, skillShot = true, minions = true, reset = false, reqTarget = true },
}
elseif myHero.charName == "Corki" then
spellArray = {
{ spellKey = _Q, range = 600, speed = 2, delay = 200, width = 500, configName = "phosphorusBomb", displayName = "Q (Phosphorus Bomb)", enabled = true, skillShot = true, minions = false, reset = false, reqTarget = true },
{ spellKey = _R, range = 1225, speed = 2, delay = 200, width = 50, configName = "missileBarrage", displayName = "R (Missile Barrage)", enabled = true, skillShot = true, minions = true, reset = false, reqTarget = true },
}
elseif myHero.charName == "Teemo" then
spellArray = {
{ spellKey = _Q, range = 580, speed = 2, delay = 0, width = 200, configName = "blindingDart", displayName = "Q (Blinding Dart)", enabled = true, skillShot = false, minions = false, reset = false, reqTarget = true },
}
elseif myHero.charName == "TwistedFate" then
spellArray = {
{ spellKey = _Q, range = 1200, speed = 1.45, delay = 250, width = 200, configName = "wildCards", displayName = "Q (Wild Cards)", enabled = true, skillShot = true, minions = false, reset = false, reqTarget = true },
}
elseif myHero.charName == "Vayne" then
spellArray = {
{ spellKey = _Q, range = 580, speed = 1.45, delay = 250, width = 200, configName = "tumble", displayName = "Q (Tumble)", enabled = true, skillShot = false, minions = false, reset = true, reqTarget = false, atMouse = true },
{ spellKey = _R, range = 580, speed = 1.45, delay = 250, width = 200, configName = "finalHour", displayName = "R (Final Hour)", enabled = true, skillShot = false, minions = false, reset = false, reqTarget = false},
}
elseif myHero.charName == "MissFortune" then
spellArray = {
{ spellKey = _Q, range = 580, speed = 1.45, delay = 250, width = 200, configName = "doubleUp", displayName = "Q (Double Up)", enabled = true, skillShot = false, minions = false, reset = true, reqTarget = true},
{ spellKey = _W, range = 580, speed = 1.45, delay = 250, width = 200, configName = "impureShots", displayName = "W (Impure Shots)", enabled = true, skillShot = false, minions = false, reset = false, reqTarget = false},
{ spellKey = _E, range = 800, speed = math.huge, delay = 500, width = 500, configName = "makeItRain", displayName = "E (Make It Rain)", enabled = false, skillShot = true, minions = false, reset = false, reqTarget = true },
}
elseif myHero.charName == "Tristana" then
spellArray = {
{ spellKey = _Q, range = 580, speed = 1.45, delay = 250, width = 200, configName = "rapidFire", displayName = "Q (Rapid Fire)", enabled = true, skillShot = false, minions = false, reset = false, reqTarget = false},
{ spellKey = _E, range = 550, speed = 1.45, delay = 250, width = 200, configName = "explosiveShot", displayName = "E (Explosive Shot)", enabled = true, skillShot = false, minions = false, reset = false, reqTarget = true},
}
elseif myHero.charName == "Draven" then
spellArray = {
{ spellKey = _E, range = 950, speed = 1.37, delay = 300, width = 130, configName = "standAside", displayName = "E (Stand Aside)", enabled = true, skillShot = true, minions = false, reset = false, reqTarget = true},
}
--[[ Added Champs ]]
elseif myHero.charName == "Kennen" then
spellArray = {
{ spellKey = _Q, range = 1050, speed = 1.65, delay = 180, width = 80, configName = "thunderingShuriken", displayName = "Q (Thundering Shuriken)", enabled = true, skillShot = true, minions = true, reset = false, reqTarget = true },
}
elseif myHero.charName == "Ashe" then
spellArray = {
{ spellKey = _W, range = 1200, speed = 2.0, delay = 120, width = 85, configName = "Volley", displayName = "W (Volley)", enabled = true, skillShot = true, minions = true, reset = false, reqTarget = true },
}
elseif myHero.charName == "Syndra" then
spellArray = {
{ spellKey = _Q, range = 800, speed = math.huge, delay = 400, width = 100, configName = "darkSphere", displayName = "Q (Dark Sphere)", enabled = true, skillShot = true, minions = false, reset = false, reqTarget = true },
}
elseif myHero.charName == "Jayce" then
spellArray = {
{ spellKey = _Q, range = 1600, speed = 2.0, delay = 350, width = 90, configName = "shockBlast", displayName = "Q (Shock Blast)", enabled = true, skillShot = true, minions = true, reset = false, reqTarget = true },
}
elseif myHero.charName == "Nidalee" then
spellArray = {
{ spellKey = _Q, range = 1500, speed = 1.3, delay = 125, width = 80, configName = "javelinToss", displayName = "Q (Javelin Toss)", enabled = true, skillShot = true, minions = true, reset = false, reqTarget = true },
}
--[[elseif myHero.charName == "Varus" then
spellArray = {
{ spellKey = _E, range = 925, speed = 1.75, delay = 240, width = 235, configName = "hailofArrows", displayName = "E (Hail of Arrows)", enabled = true, skillShot = true, minions = false, reset = false, reqTarget = true },
}]]
elseif myHero.charName == "Quinn" then
spellArray = {
{ spellKey = _Q, range = 1050, speed = 1.55, delay = 220, width = 90, configName = "blindingAssault", displayName = "Q (Blinding Assault)", enabled = true, skillShot = true, minions = true, reset = false, reqTarget = true },
--{ spellKey = _E, range = 725, speed = 1.45, delay = 250, width = nil, configName = "vault", displayName = "E (Vault)", enabled = true, skillShot = false, minions = false, reset = true, reqTarget = true},
}
elseif myHero.charName == "LeeSin" then
spellArray = {
{ spellKey = _Q, range = 975, speed = 1.5, delay = 250, width = 70, configName = "sonicWave", displayName = "Q (Sonic Wave)", enabled = true, skillShot = true, minions = true, reset = false, reqTarget = true },
}
elseif myHero.charName == "Gangplank" then
spellArray = {
{ spellKey = _Q, range = 625, speed = 1.45, delay = 250, width = 200, configName = "parrrley", displayName = "Q (Parrrley)", enabled = true, skillShot = false, minions = false, reset = false, reqTarget = true},
}
elseif myHero.charName == "Twitch" then
spellArray = {
{ spellKey = _W, range = 950, speed = 1.75, delay = 180, width = 275, configName = "venomCask", displayName = "W (Venom Cask)", enabled = false, skillShot = true, minions = false, reset = false, reqTarget = true },
}
end
return spellArray
end

local priorityTable = {

AP = {
"Annie", "Ahri", "Akali", "Anivia", "Annie", "Brand", "Cassiopeia", "Diana", "Evelynn", "FiddleSticks", "Fizz", "Gragas", "Heimerdinger", "Karthus",
"Kassadin", "Katarina", "Kayle", "Kennen", "Leblanc", "Lissandra", "Lux", "Malzahar", "Mordekaiser", "Morgana", "Nidalee", "Orianna",
"Rumble", "Ryze", "Sion", "Swain", "Syndra", "Teemo", "TwistedFate", "Veigar", "Viktor", "Vladimir", "Xerath", "Ziggs", "Zyra", "MasterYi",
},
Support = {
"Alistar", "Blitzcrank", "Janna", "Karma", "Leona", "Lulu", "Nami", "Nunu", "Sona", "Soraka", "Taric", "Thresh", "Zilean",
},

Tank = {
"Amumu", "Chogath", "DrMundo", "Galio", "Hecarim", "Malphite", "Maokai", "Nasus", "Rammus", "Sejuani", "Shen", "Singed", "Skarner", "Volibear",
"Warwick", "Yorick", "Zac",
},

AD_Carry = {
"Ashe", "Caitlyn", "Corki", "Draven", "Ezreal", "Graves", "Jayce", "KogMaw", "MissFortune", "Pantheon", "Quinn", "Shaco", "Sivir",
"Talon", "Tristana", "Twitch", "Urgot", "Varus", "Vayne", "Zed",

},

Bruiser = {
"Darius", "Elise", "Fiora", "Gangplank", "Garen", "Irelia", "JarvanIV", "Jax", "Khazix", "LeeSin", "Nautilus", "Nocturne", "Olaf", "Poppy",
"Renekton", "Rengar", "Riven", "Shyvana", "Trundle", "Tryndamere", "Udyr", "Vi", "MonkeyKing", "XinZhao",
},

}

function SetPriority(table, hero, priority)
for i=1, #table, 1 do
if hero.charName:find(table) ~= nil then
TS_SetHeroPriority(priority, hero.charName)
end
end
end

function arrangePrioritys()
for i, enemy in ipairs(AutoCarry.EnemyTable) do
SetPriority(priorityTable.AD_Carry, enemy, 1)
SetPriority(priorityTable.AP, enemy, 2)
SetPriority(priorityTable.Support, enemy, 3)
SetPriority(priorityTable.Bruiser, enemy, 4)
SetPriority(priorityTable.Tank, enemy, 5)
end
end

function PriorityOnLoad()
if heroManager.iCount < 10 then
PrintChat(" >> Too few champions to arrange priority")
else
TargetSelector(TARGET_LOW_HP_PRIORITY, 0)
arrangePrioritys()
end
end

function getJungleMobs()
return {"Dragon6.1.1", "Worm12.1.1", "GiantWolf8.1.3", "wolf8.1.1", "wolf8.1.2", "AncientGolem7.1.1", "YoungLizard7.1.2", "YoungLizard7.1.3", "Wraith9.1.3", "LesserWraith9.1.1", "LesserWraith9.1.2",
"LesserWraith9.1.4", "LizardElder10.1.1", "YoungLizard10.1.2", "YoungLizard10.1.3", "Golem11.1.2", "SmallGolem11.1.1", "GiantWolf2.1.3", "wolf2.1.1",
"wolf2.1.2", "AncientGolem1.1.1", "YoungLizard1.1.2", "YoungLizard1.1.3", "Wraith3.1.3", "LesserWraith3.1.1", "LesserWraith3.1.2", "LesserWraith3.1.4",
"LizardElder4.1.1", "YoungLizard4.1.2", "YoungLizard4.1.3", "Golem5.1.2", "SmallGolem5.1.1"}
end

--[[ Menus ]]--
function setMenus()
mainMenu()
skillsMenu()
itemMenu()
displayMenu()
permaMenu()
masteryMenu()
farmMenu()
summonerMenu()
pluginMenu()
end

function itemMenu()
ItemMenu = scriptConfig("Sida's Auto Carry: Items", "sidasacitems")
ItemMenu:addParam("sep", "-- Settings --", SCRIPT_PARAM_INFO, "")
ItemMenu:addParam("UseItemsAC", "Use Items With AutoCarry", SCRIPT_PARAM_ONOFF, true)
ItemMenu:addParam("UseItemsLastHit", "Use Items With Harass", SCRIPT_PARAM_ONOFF, true)
ItemMenu:addParam("UseItemsMixed", "Use Items With Mixed Mode", SCRIPT_PARAM_ONOFF, true)
ItemMenu:addParam("sep2", "-- Items --", SCRIPT_PARAM_INFO, "")
for _, item in ipairs(items) do
ItemMenu:addParam(item.menu, "Use "..item.name, SCRIPT_PARAM_ONOFF, true)
end
ItemMenu:addParam("muraMana", "Use Muramana", SCRIPT_PARAM_ONOFF, true)
end

function mainMenu()
AutoCarry.MainMenu = scriptConfig("Sida's Auto Carry: Settings", "sidasacmain")
AutoCarry.MainMenu:addParam("AutoCarry", "Auto Carry", SCRIPT_PARAM_ONKEYDOWN, false, AutoCarryKey)
AutoCarry.MainMenu:addParam("LastHit", "Last Hit", SCRIPT_PARAM_ONKEYDOWN, false, LastHitKey)
AutoCarry.MainMenu:addParam("MixedMode", "Mixed Mode", SCRIPT_PARAM_ONKEYDOWN, false, MixedModeKey)
AutoCarry.MainMenu:addParam("LaneClear", "Lane Clear", SCRIPT_PARAM_ONKEYDOWN, false, LaneClearKey)
AutoCarry.MainMenu:addParam("Focused", "Prioritise Selected Target", SCRIPT_PARAM_ONOFF, false)
AutoCarry.MainMenu:addParam("HoldZone", "Stand Still And Shoot Range", SCRIPT_PARAM_SLICE, 0, 0, getTrueRange(), 0)
AutoCarry.MainMenu:addTS(AutoCarry.Orbwalker)
end

function skillsMenu()
SkillsMenu = scriptConfig("Sida's Auto Carry: Skills", "sidasacskills")
if Skills then
SkillsMenu:addParam("sep", "-- Auto Carry Skills --", SCRIPT_PARAM_INFO, "")
for _, skill in ipairs(Skills) do
SkillsMenu:addParam(skill.configName.."AutoCarry", "Use "..skill.displayName, SCRIPT_PARAM_ONOFF, true)
end
SkillsMenu:addParam("sep1", "-- Last Hit Skills --", SCRIPT_PARAM_INFO, "")
for _, skill in ipairs(Skills) do
SkillsMenu:addParam(skill.configName.."LastHit", "Use "..skill.displayName, SCRIPT_PARAM_ONOFF, true)
end
SkillsMenu:addParam("sep2", "-- Mixed Mode Skills --", SCRIPT_PARAM_INFO, "")
for _, skill in ipairs(Skills) do
SkillsMenu:addParam(skill.configName.."MixedMode", "Use "..skill.displayName, SCRIPT_PARAM_ONOFF, true)
end
if VIP_USER then
SkillsMenu:addParam("hitChance", "Ability Hitchance", SCRIPT_PARAM_SLICE, 60, 0, 100, 0)
end
else
SkillsMenu:addParam("sep", myHero.charName.." does not have any supported skills", SCRIPT_PARAM_INFO, "")
end
end

function displayMenu()
DisplayMenu = scriptConfig("Sida's Auto Carry: Display", "sidasacdisplay")
DisplayMenu:addParam("myRange", "Attack Range Circle", SCRIPT_PARAM_ONOFF, true)
DisplayMenu:addParam("target", "Circle Around Target", SCRIPT_PARAM_ONOFF, true)
DisplayMenu:addParam("minion", "Circle Next Minion To Last Hit", SCRIPT_PARAM_ONOFF, true)
DisplayMenu:addParam("sep", "-- Always Display (Requires Reload) --", SCRIPT_PARAM_INFO, "")
DisplayMenu:addParam("AutoCarry", "Auto Carry Hotkey Status", SCRIPT_PARAM_ONOFF, true)
DisplayMenu:addParam("LastHit", "Last Hit Hotkey Status", SCRIPT_PARAM_ONOFF, true)
DisplayMenu:addParam("MixedMode", "Mixed Mode Hotkey Status", SCRIPT_PARAM_ONOFF, true)
DisplayMenu:addParam("LaneClear", "Lane Clear Hotkey Status", SCRIPT_PARAM_ONOFF, true)
end

function permaMenu()
if DisplayMenu.AutoCarry then AutoCarry.MainMenu:permaShow("AutoCarry") end
if DisplayMenu.LastHit then AutoCarry.MainMenu:permaShow("LastHit") end
if DisplayMenu.MixedMode then AutoCarry.MainMenu:permaShow("MixedMode") end
if DisplayMenu.LaneClear then AutoCarry.MainMenu:permaShow("LaneClear") end
end

function masteryMenu()
MasteryMenu = scriptConfig("Sida's Auto Carry: Masteries", "sidasacmasteries")
MasteryMenu:addParam("Butcher", "Butcher", SCRIPT_PARAM_SLICE, 0, 0, 2, 0)
MasteryMenu:addParam("Spellblade", "Spellblade", SCRIPT_PARAM_ONOFF, false)
MasteryMenu:addParam("Executioner", "Executioner", SCRIPT_PARAM_ONOFF, false)
end

function farmMenu()
FarmMenu = scriptConfig("Sida's Auto Carry: Farming", "sidasacfarming")
FarmMenu:addParam("Predict", "Predict Minion Damage", SCRIPT_PARAM_ONOFF, true)
FarmMenu:addParam("moveLastHit", "Move To Mouse Last Hit Farming", SCRIPT_PARAM_ONOFF, true)
FarmMenu:addParam("moveMixed", "Move To Mouse Mixed Mode Farming", SCRIPT_PARAM_ONOFF, true)
FarmMenu:addParam("moveClear", "Move To Mouse Lane Clear Farming", SCRIPT_PARAM_ONOFF, true)
end

function summonerMenu()
SummonerMenu = scriptConfig("Sida's Auto Carry: Summoner Spells", "sidasacsummoner")
SummonerMenu:addParam("Ignite", "Ignite Killable Enemies", SCRIPT_PARAM_ONOFF, true)
SummonerMenu:addParam("Barrier", "Auto Barrier Upon High Damage", SCRIPT_PARAM_ONOFF, true)
end

function pluginMenu()
if hasPlugin then
AutoCarry.PluginMenu = scriptConfig("Sida's Auto Carry: "..myHero.charName.." Plugin", "sidasacplugin"..myHero.charName)
require("SidasAutoCarryPlugin - "..myHero.charName)
PrintChat(">> Sida's Auto Carry: Loaded "..myHero.charName.." plugin!")
end
end

 

  • 2 tygodnie później...

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...