Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Pantheon RageBot by Koelionek Beta
- --Ks by Ivan
- if myHero.charName ~= "Pantheon" then return end
- --Libs
- require "AIFind"
- require "AIData"
- require "AIMath"
- require "AICondition"
- require "AIStat"
- -- Range
- local qRange = 600
- local wRange = 600
- local eRange = 400
- local rRange = 5000
- local aarange = 218
- local us = TargetSelector(TARGET_LOW_HP,5500, DAMAGE_PHYSICAL,false)
- -- ts
- local ts
- -- Draw
- local drawCircle = 600
- -- Spells
- local ignite = nil
- local Heartseeker = false
- local eDelay = 3000
- local rDelay = 5000
- -- Farm
- local EnemyMinions = {}
- local nextTick = 0
- local waitDelay = 400
- --
- local combo1
- local combo2
- local combo3
- local combo4
- --
- local ignite = nil
- local DFGSlot, HXGSlot, BWCSlot, SheenSlot, TrinitySlot, LichBaneSlot, TMTSlot, RAHSlot, RNDSlot, STDSlot = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
- local QREADY, WREADY, EREADY, RREADY, DFGREADY, HXGREADY, BWCREADY, IREADY, TMTREADY, RAHREADY, RNDREADY, STDREADY, BRKREADY = false, false, false, false, false, false, false, false, false, false, false, false, false
- local waite=2000 --time for e cast in combo
- local nextbuyIndex = 1
- local levelSequence = {1,2,3,1,1,4,1,2,1,3,4,3,3,3,2,4,2,2}
- local NextBuy = 0
- function OnLoad()
- PantheonConfig = scriptConfig("Pantheon Basic Config", "Pantheon")
- PantheonConfig:addParam("ragemode","RageMode", SCRIPT_PARAM_ONKEYTOGGLE, false, 73)
- PantheonConfig:addParam("combo", "Combo", SCRIPT_PARAM_ONKEYDOWN, false, 32)
- PantheonConfig:addParam("combo2", "Combo Ignoring Health Check", SCRIPT_PARAM_ONKEYDOWN, false, 83)
- PantheonConfig:addParam("combo3", "RageCombo Combo with R", SCRIPT_PARAM_ONKEYDOWN, false, 84)
- PantheonConfig:addParam("harass", "Haras", SCRIPT_PARAM_ONKEYDOWN, false, 90)
- PantheonConfig:addParam("autoignite", "Ignite when Killable", SCRIPT_PARAM_ONOFF, true)
- PantheonConfig:addParam("autoks","Auto KS",SCRIPT_PARAM_ONOFF, true)
- PantheonConfig:addParam("farm","AA Farm", SCRIPT_PARAM_ONKEYDOWN, false, 88)
- PantheonConfig:addParam("autoqfarm","Auto Q Farming", SCRIPT_PARAM_ONKEYTOGGLE, false, 67)
- PantheonConfig:addParam("autobuy","Auto buy items",SCRIPT_PARAM_ONOFF, false)
- PantheonConfig:addParam("autoadd","Auto add spels",SCRIPT_PARAM_ONOFF, false)
- PantheonConfig:addParam("move","Move to mouse",SCRIPT_PARAM_ONOFF, false)
- -- //////////////////////////////////////////////////////////////// drawultarrow
- PantheonConfigAdvanced = scriptConfig("Pantheon Advanced Config", "Pantheon")
- PantheonConfigAdvanced:addParam("combotype","Combo type",SCRIPT_PARAM_SLICE, 1, 0, 2, 0)
- PantheonConfigAdvanced:addParam("minqmana","Min Mana for Q Haras/Farm",SCRIPT_PARAM_SLICE, 50, 0, 100, 2)
- PantheonConfigAdvanced:addParam("minhp","Min Health for Combo",SCRIPT_PARAM_SLICE, 50, 0, 100, 2)
- PantheonConfigAdvanced:addParam("lowhpwarrning","Min Health for low hp warrning",SCRIPT_PARAM_SLICE, 50, 0, 100, 2)
- PantheonConfigAdvanced:addParam("typelowhpwarrning","Type of low hp warrning",SCRIPT_PARAM_SLICE, 3, 0, 3, 0)
- PantheonConfigAdvanced:addParam("drawcircle", "Draw Circle", SCRIPT_PARAM_ONOFF, true)
- PantheonConfigAdvanced:addParam("drawtarget", "Draw current Target Text", SCRIPT_PARAM_ONOFF, true)
- PantheonConfigAdvanced:addParam("drawlowhpwarrning", "Draw low hp warrning", SCRIPT_PARAM_ONOFF, true)
- PantheonConfigAdvanced:addParam("drawultarrow", "Draw line to killable enemy when ulti ready", SCRIPT_PARAM_ONOFF, true)
- PantheonConfig:permaShow("combo")
- PantheonConfig:permaShow("harass")
- PantheonConfig:permaShow("autoks")
- PantheonConfig:permaShow("farm")
- PantheonConfig:permaShow("autoqfarm")
- PantheonConfig:permaShow("move")
- ts = TargetSelector(TARGET_LOW_HP, qRange+50, DAMAGE_PHYSICAL)
- ts.name = "Pantheon"
- PantheonConfig:addTS(ts)
- for i = 0, objManager.maxObjects, 1 do
- local object = objManager:GetObject(i)
- if objectIsValid(object) then table.insert(EnemyMinions, object) end
- end
- enemyMinions = minionManager(MINION_ENEMY, 600, player, MINION_SORT_HEALTH_ASC)
- if myHero:GetSpellData(SUMMONER_1).name:find("SummonerDot") then ignite = SUMMONER_1
- elseif myHero:GetSpellData(SUMMONER_2).name:find("SummonerDot") then ignite = SUMMONER_2
- end
- shopList = {1001, 2003, 2003, 2003, 1036, 1028, 3044, 1036, 1036, 3134, 1028, 3071, 1033, 3111, 1011, 3022, 1036, 1033, 3155, 1037, 1011, 3156, 1028, 3083, 1031, 3005}
- PrintChat(" >> RageBot Loaded!!!")
- PrintChat(" >> LIVE!!!")
- PrintChat(" >> LIVE!!!")
- PrintChat(" >> LIVE!!!")
- end
- function OnTick()
- ts:update()
- us:update()
- enemyMinions:update()
- dmg()
- if tick == nil or GetTickCount()-tick>=100 then
- tick = GetTickCount()
- end
- DFGSlot, BRKSlot, HXGSlot, BWCSlot = GetInventorySlotItem(3153), GetInventorySlotItem(3128), GetInventorySlotItem(3146), GetInventorySlotItem(3144)
- DFGREADY = (DFGSlot ~= nil and myHero:CanUseSpell(DFGSlot) == READY)
- HXGREADY = (HXGSlot ~= nil and myHero:CanUseSpell(HXGSlot) == READY)
- BWCREADY = (BWCSlot ~= nil and myHero:CanUseSpell(BWCSlot) == READY)
- BRKREADY = (BRKSlot ~= nil and myHero:CanUseSpell(BRKSlot) == READY)
- TMTREADY = (TMTSlot ~= nil and myHero:CanUseSpell(TMTSlot) == READY)
- RAHREADY = (RAHSlot ~= nil and myHero:CanUseSpell(RAHSlot) == READY)
- RNDREADY = (RNDSlot ~= nil and myHero:CanUseSpell(RNDSlot) == READY)
- QREADY = (myHero:CanUseSpell(_Q) == READY)
- WREADY = (myHero:CanUseSpell(_W) == READY)
- EREADY = (myHero:CanUseSpell(_E) == READY)
- RREADY = (myHero:CanUseSpell(_R) == READY)
- iReady = (ignite ~= nil and myHero:CanUseSpell(ignite) == READY)
- -- Auto lvl spels
- if PantheonConfig.autoadd then
- autoLevelSetSequence(levelSequence)
- end
- -- Ignite
- if PantheonConfig.autoignite then
- autoignite()
- end
- -- Autobuy
- if PantheonConfig.autobuy then
- autobuy()
- end
- -- Haras
- if PantheonConfig.harass then
- haras()
- end
- -- Autoks
- if PantheonConfig.autoks then
- autoks()
- end
- -- Combo
- if PantheonConfig.combo and PantheonConfigAdvanced.minhp <=((myHero.health/myHero.maxHealth)*100) and ts.target ~= nil then
- if PantheonConfigAdvanced.combotype == 1 then
- comboa()
- elseif PantheonConfigAdvanced.combotype == 2 then
- combob()
- end
- end
- -- Combo Ignorinh HP Check
- if PantheonConfig.combo2 and ts.target ~= nil then
- if PantheonConfigAdvanced.combotype == 1 then
- comboa()
- elseif PantheonConfigAdvanced.combotype == 2 then
- combob()
- end
- end
- -- Rage Combo
- if PantheonConfig.combo3 and us.target ~= nil then
- if PantheonConfigAdvanced.combotype == 1 then
- RageComboA()
- elseif PantheonConfigAdvanced.combotype == 2 then
- RageComboB()
- end
- end
- -- Rage Mode
- if PantheonConfig.ragemode and ts.target ~= nil then
- RageMode()
- end
- -- Farm
- farm()
- end
- function Wait(ms)
- local t = GetTickCount()
- if GetTickCount() - t <= ms then
- if GetDistance(ts.target) > eRange then
- return nil
- end
- end
- end
- function objectIsValid(object)
- return object and object.valid and object.name:find("Minion_") and object.team ~= myHero.team and object.dead == false
- end
- function OnCreateObj(object)
- if objectIsValid(object) then table.insert(EnemyMinions, object) end
- end
- function comboa()
- if GetDistance(ts.target) < 598 then
- if DFGREADY then CastSpell(DFGSlot, ts.target) end
- if HXGREADY then CastSpell(HXGSlot, ts.target) end
- if BWCREADY then CastSpell(BWCSlot, ts.target) end
- if BRKREADY then CastSpell(BRKSlot, ts.target) end
- if TMTREADY and GetDistance(ts.target) < 275 then CastSpell(TMTSlot) end
- if RAHREADY and GetDistance(ts.target) < 275 then CastSpell(RAHSlot) end
- if RNDREADY and GetDistance(ts.target) < 275 then CastSpell(RNDSlot) end
- end
- if QREADY and GetDistance(ts.target)<qRange then
- CastSpell(_Q, ts.target)
- end
- if WREADY and GetDistance(ts.target)<wRange then
- CastSpell(_W, ts.target)
- end
- if GetDistance(ts.target) <= aarange then
- myHero:Attack(ts.target)
- end
- if EREADY and not WREADY and GetDistance(ts.target)<eRange then
- CastSpell(_E, ts.target)
- Wait(eDelay)
- end
- if GetDistance(ts.target) <= aarange then
- myHero:Attack(ts.target)
- end
- end
- function combob()
- if GetDistance(ts.target) < 598 then
- if DFGREADY then CastSpell(DFGSlot, ts.target) end
- if HXGREADY then CastSpell(HXGSlot, ts.target) end
- if BWCREADY then CastSpell(BWCSlot, ts.target) end
- if BRKREADY then CastSpell(BRKSlot, ts.target) end
- if TMTREADY and GetDistance(ts.target) < 275 then CastSpell(TMTSlot) end
- if RAHREADY and GetDistance(ts.target) < 275 then CastSpell(RAHSlot) end
- if RNDREADY and GetDistance(ts.target) < 275 then CastSpell(RNDSlot) end
- end
- if WREADY and GetDistance(ts.target)<wRange then
- CastSpell(_W, ts.target)
- end
- if GetDistance(ts.target) <= aarange then
- myHero:Attack(ts.target)
- end
- if EREADY and GetDistance(ts.target)<eRange then
- CastSpell(_E, ts.target)
- Wait(eDelay)
- end
- if QREADY and not EREADY and GetDistance(ts.target)<qRange then
- CastSpell(_Q, ts.target)
- end
- if GetDistance(ts.target) <= aarange then
- myHero:Attack(ts.target)
- end
- end
- function RageComboA()
- if RREADY and GetDistance(us.target) > 1500 then
- for i = 1, heroManager.iCount do
- local enemy = heroManager:getHero(i)
- if ValidTarget(enemy, 5000, true) and enemy.health <10000 then
- local rPos = getPred(10, rDelay, enemy)
- if rPos ~= nil and GetDistance(rPos) < 5000 then
- CastSpell(_R, rPos.x, rPos.z)
- end
- end
- end
- end
- if GetDistance(us.target) < 598 then
- if DFGREADY then CastSpell(DFGSlot, us.target) end
- if HXGREADY then CastSpell(HXGSlot, us.target) end
- if BWCREADY then CastSpell(BWCSlot, us.target) end
- if BRKREADY then CastSpell(BRKSlot, us.target) end
- if TMTREADY and GetDistance(us.target) < 275 then CastSpell(TMTSlot) end
- if RAHREADY and GetDistance(us.target) < 275 then CastSpell(RAHSlot) end
- if RNDREADY and GetDistance(us.target) < 275 then CastSpell(RNDSlot) end
- end
- if QREADY and GetDistance(us.target)<qRange then
- CastSpell(_Q, us.target)
- end
- if WREADY and GetDistance(us.target)<wRange then
- CastSpell(_W, us.target)
- end
- if GetDistance(us.target) <= aarange then
- myHero:Attack(us.target)
- end
- if EREADY and not WREADY and GetDistance(us.target)<eRange then
- CastSpell(_E, us.target)
- Wait(eDelay)
- end
- if GetDistance(us.target) <= aarange then
- myHero:Attack(us.target)
- end
- end
- function RageComboB()
- if RREADY and GetDistance(us.target) > 1500 then
- for i = 1, heroManager.iCount do
- local enemy = heroManager:getHero(i)
- if ValidTarget(enemy, 5000, true) and enemy.health <10000 then
- local rPos = getPred(10, rDelay, enemy)
- if rPos ~= nil and GetDistance(rPos) < 5000 then
- CastSpell(_R, rPos.x, rPos.z)
- end
- end
- end
- end
- if GetDistance(us.target) < 598 then
- if DFGREADY then CastSpell(DFGSlot, us.target) end
- if HXGREADY then CastSpell(HXGSlot, us.target) end
- if BWCREADY then CastSpell(BWCSlot, us.target) end
- if BRKREADY then CastSpell(BRKSlot, us.target) end
- if TMTREADY and GetDistance(us.target) < 275 then CastSpell(TMTSlot) end
- if RAHREADY and GetDistance(us.target) < 275 then CastSpell(RAHSlot) end
- if RNDREADY and GetDistance(us.target) < 275 then CastSpell(RNDSlot) end
- end
- if WREADY and GetDistance(us.target)<wRange then
- CastSpell(_W, us.target)
- end
- if GetDistance(us.target) <= aarange then
- myHero:Attack(us.target)
- end
- if EREADY and GetDistance(us.target)<eRange then
- CastSpell(_E, us.target)
- Wait(eDelay)
- end
- if QREADY and not EREADY and GetDistance(us.target)<qRange then
- CastSpell(_Q, us.target)
- end
- if GetDistance(us.target) <= aarange then
- myHero:Attack(us.target)
- end
- end
- function RageMode()
- if GetDistance(ts.target) < 598 then
- if DFGREADY then CastSpell(DFGSlot, ts.target) end
- if HXGREADY then CastSpell(HXGSlot, ts.target) end
- if BWCREADY then CastSpell(BWCSlot, ts.target) end
- if BRKREADY then CastSpell(BRKSlot, ts.target) end
- if TMTREADY and GetDistance(ts.target) < 275 then CastSpell(TMTSlot) end
- if RAHREADY and GetDistance(ts.target) < 275 then CastSpell(RAHSlot) end
- if RNDREADY and GetDistance(ts.target) < 275 then CastSpell(RNDSlot) end
- end
- if QREADY and GetDistance(ts.target)<qRange then
- CastSpell(_Q, ts.target)
- end
- if WREADY and GetDistance(ts.target)<wRange then
- CastSpell(_W, ts.target)
- end
- if EREADY and GetDistance(ts.target)<eRange then
- CastSpell(_E, ts.target)
- end
- end
- function farm()
- -- Farm Q
- for i, minion in pairs(EnemyMinions) do
- if (minion ~= nil and not minion.valid) or (minion ~= nil and minion.valid and minion.dead) then
- table.remove(EnemyMinions, i)
- end
- end
- if PantheonConfig.autoqfarm and PantheonConfigAdvanced.minqmana <=((myHero.mana/myHero.maxMana)*100) and not PantheonConfig.combo then
- local tick = GetTickCount()
- for i,object in ipairs(EnemyMinions) do
- if object ~= nil and objectIsValid(object) then
- local QDMG = (getDmg("Q", object, myHero)-40)
- if QREADY and GetDistance(object) <= qRange and object.health <= QDMG then
- CastSpell(_Q, object)
- end
- end
- end
- end
- -- Farm AA
- if PantheonConfig.farm then
- if PantheonConfig.move and GetTickCount() > nextTick then
- myHero:MoveTo(mousePos.x, mousePos.z)
- end
- for index, minion in pairs(enemyMinions.objects) do
- local aDmg = getDmg("AD", minion, myHero)
- if minion.health <= aDmg and GetDistance(minion) <= (myHero.range+75) and GetTickCount() > nextTick then
- myHero:Attack(minion)
- nextTick = GetTickCount() + waitDelay
- end
- end
- end
- end
- function autoks()
- for i=1, heroManager.iCount do
- Target = heroManager:GetHero(i)
- wDMG=getDmg("W",Target,myHero)
- if QREADY then
- local enemy = AI.find.weakPhysicEnemy(myHero,GetSpellData(_Q).range,myHero.armorPenPercent,myHero.armorPen)
- if enemy ~= nil then
- if GetSpellData(_Q).level > 0 and enemy.health/enemy.maxHealth < 0.15 and myHero:CalcDamage(enemy,(25 + GetSpellData(_Q).level * 40 + myHero.addDamage + 1.4) * 2) > enemy.health then
- CastSpell(_Q,enemy)
- elseif myHero:CalcDamage(enemy,(25 + GetSpellData(_Q).level * 40 + myHero.addDamage + 1.4)) > enemy.health then
- CastSpell(_Q,enemy)
- end
- end
- end
- if WREADY and Target ~= nil and Target.team ~= myHero.team and not Target.dead and Target.visible and GetDistance(Target) < wRange and Target.health < wDMG then
- CastSpell(_W, Target)
- end
- end
- end
- function haras()
- if PantheonConfigAdvanced.minqmana <=((myHero.mana/myHero.maxMana)*100) and ts.target ~= nil then
- if QREADY and GetDistance(ts.target)<qRange then
- CastSpell(_Q, ts.target)
- end
- end
- if PantheonConfig.move and PantheonConfig.harass then
- myHero:MoveTo(mousePos.x, mousePos.z)
- end
- end
- function autobuy()
- if GetTickCount() > NextBuy then
- if GetInventorySlotItem(shopList[nextbuyIndex]) ~= nil then
- nextbuyIndex = nextbuyIndex + 1
- else
- BuyItem(shopList[nextbuyIndex])
- end
- NextBuy = GetTickCount() + 1000
- end
- end
- function autoignite()
- if iReady then
- local ignitedmg = 0
- for i = 1, heroManager.iCount, 1 do
- local enemyhero = heroManager:getHero(i)
- if ValidTarget(enemyhero,600) then
- ignitedmg = 50 + 20 * myHero.level
- if enemyhero.health <= ignitedmg then
- CastSpell(ignite, enemyhero)
- end
- end
- end
- end
- end
- function getPred(speed, delay, target)
- if target == nil then return nil end
- local travelDuration = (delay + GetDistance(myHero, target)/speed)
- travelDuration = (delay + GetDistance(GetPredictionPos(target, travelDuration))/speed)
- travelDuration = (delay + GetDistance(GetPredictionPos(target, travelDuration))/speed)
- travelDuration = (delay + GetDistance(GetPredictionPos(target, travelDuration))/speed)
- return GetPredictionPos(target, travelDuration)
- end
- function dmg()
- if ts.target ~= nil then
- for i=1, heroManager.iCount do
- Target = heroManager:GetHero(i)
- combo1 = 0
- combo2 = 0
- combo3 = 0
- combo4 = 0
- local enemy = AI.find.weakPhysicEnemy(myHero,GetSpellData(_Q).range,myHero.armorPenPercent,myHero.armorPen)
- local wDamage = getDmg("W",Target,myHero)
- local qDamage = getDmg("Q",Target,myHero)*0.7
- local eDamage = (getDmg("E",Target,myHero))*0.5
- if enemy ~= nil then
- qDamage = myHero:CalcDamage(enemy,(25 + GetSpellData(_Q).level * 40 + myHero.addDamage + 1.4))
- end
- if QREADY then
- combo1=combo1+qDamage
- combo2=combo2+qDamage
- end
- if WREADY then
- combo1=combo1+wDamage
- combo2=combo2+wDamage
- end
- if EREADY then
- combo1=combo1+eDamage
- combo2=combo2+eDamage
- end
- combo2=combo2+100
- end
- end
- end
- function OnDraw()
- local coloraqua=ARGB(0xFF,0x00,0xFF,0xFF)
- local colorblue=ARGB(0xFF,0x0F,0x0F,0xFF)
- local colorwhite=ARGB(0xFF,0xF0,0xFF,0xFF)
- local colorred=ARGB(0xFF,0xFF,0x00,0x00)
- local colorgreen=ARGB(0xFF,0x00,0xFF,0x00)
- local colordarkblue=ARGB(0xFF,0x00,0x00,0x8B)
- local colordarkred=ARGB(0xFF,0x8B,0x00,0x00)
- local colorlime=ARGB(0xFF,0x00,0xFF,0x00)
- DrawText("Pantheon RageBot Beta", 18, 750, 20, coloraqua)
- if PantheonConfig.ragemode then
- DrawText("Pantheon RageMode: ON", 40, 650, 150, colorred)
- end
- if PantheonConfigAdvanced.drawlowhpwarrning and not myHero.dead then
- if PantheonConfigAdvanced.lowhpwarrning >= ((myHero.health/myHero.maxHealth)*100) then
- for i=0, 5 do
- if PantheonConfigAdvanced.typelowhpwarrning == 1 then
- DrawCircle(myHero.x, myHero.y, myHero.z, 200 +i*5, colorred)
- elseif PantheonConfigAdvanced.typelowhpwarrning == 2 then
- DrawCircle(myHero.x, myHero.y, myHero.z, 100 +i*5, colorred)
- DrawCircle(myHero.x, myHero.y, myHero.z, 200 +i*5, colorred)
- elseif PantheonConfigAdvanced.typelowhpwarrning == 3 then
- DrawCircle(myHero.x, myHero.y, myHero.z, 100 +i*5, colorred)
- DrawCircle(myHero.x, myHero.y, myHero.z, 200 +i*5, colorred)
- DrawCircle(myHero.x, myHero.y, myHero.z, 300 +i*5, colorred)
- end
- end
- end
- end
- if PantheonConfigAdvanced.drawtarget and ValidTarget(ts.target) then
- DrawText("Targetting: " .. ts.target.charName, 18, 750, 40, 0xFFFF0000)
- for i=0, 10 do
- DrawCircle(ts.target.x, ts.target.y, ts.target.z, 60 + i*1.5, coloraqua)
- end
- end
- if PantheonConfigAdvanced.drawcircle and not myHero.dead then
- if QREADY and WREADY and EREADY and RREADY then
- DrawCircle(myHero.x, myHero.y, myHero.z, qRange, colorlime)
- elseif QREADY and WREADY and EREADY and not RREADY then
- DrawCircle(myHero.x, myHero.y, myHero.z, qRange, coloraqua)
- elseif not QREADY and WREADY or not EREADY then
- DrawCircle(myHero.x, myHero.y, myHero.z, qRange, colordarkblue)
- elseif not WREADY then
- DrawCircle(myHero.x, myHero.y, myHero.z, qRange, colordarkred)
- end
- if PantheonConfigAdvanced.lowhpwarrning < ((myHero.health/myHero.maxHealth)*100) then
- DrawCircle(myHero.x, myHero.y, myHero.z, aarange, 0xFF33FF)
- end
- if RREADY then
- DrawCircle(myHero.x, myHero.y, myHero.z, rRange, 0xFF33FF)
- end
- end
- if PantheonConfigAdvanced.drawcircle and PantheonConfig.farm and not myHero.dead and PantheonConfigAdvanced.lowhpwarrning < ((myHero.health/myHero.maxHealth)*100) then
- DrawCircle(myHero.x, myHero.y, myHero.z, myHero.range+75, 0x00FF00)
- end
- if PantheonConfigAdvanced.drawultarrow then
- if us.target ~= nil and RREADY and GetDistance(us.target) > 1500 and us.target.health < 600 then
- startPos = Vector(myHero.x,myHero.y,myHero.z)
- if us.target ~= nil and us.target.visible == true then
- endPos = Vector(us.target.x,us.target.y,us.target.z)
- DrawArrows(D3DXVECTOR3(startPos.x,startPos.y,startPos.z),D3DXVECTOR3(endPos.x,endPos.y,endPos.z),100,0xFF00FF,100)
- end
- end
- end
- if PantheonConfigAdvanced.drawtarget then
- for i = 1, heroManager.iCount, 1 do
- local enemyhero = heroManager:getHero(i)
- if ValidTarget(enemyhero,qRange + 1) and not enemyhero.dead then
- if enemyhero.health <= combo1 then
- for i=0, 10 do
- DrawCircle(enemyhero.x, enemyhero.y, enemyhero.z, 60 + i*1.5, colordarkred)
- DrawCircle(enemyhero.x, enemyhero.y, enemyhero.z, 130 + i*1.5, colorred)
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement