Advertisement
Koelion

Pantheon RageBot by Koelion Beta

May 10th, 2013
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.95 KB | None | 0 0
  1. --Pantheon RageBot by Koelionek Beta
  2. --Ks by Ivan
  3.  
  4. if myHero.charName ~= "Pantheon" then return end
  5. --Libs
  6. require "AIFind"
  7. require "AIData"
  8. require "AIMath"
  9. require "AICondition"
  10. require "AIStat"
  11. -- Range
  12. local qRange = 600
  13. local wRange = 600
  14. local eRange = 400
  15. local rRange = 5000
  16. local aarange = 218
  17. local us = TargetSelector(TARGET_LOW_HP,5500, DAMAGE_PHYSICAL,false)
  18. -- ts
  19. local ts
  20. -- Draw
  21. local drawCircle = 600
  22. -- Spells
  23. local ignite = nil
  24. local Heartseeker = false
  25. local eDelay = 3000
  26. local rDelay = 5000
  27. -- Farm
  28. local EnemyMinions = {}
  29. local nextTick = 0
  30. local waitDelay = 400
  31. --
  32. local combo1
  33. local combo2
  34. local combo3
  35. local combo4
  36. --
  37. local ignite = nil
  38. local DFGSlot, HXGSlot, BWCSlot, SheenSlot, TrinitySlot, LichBaneSlot, TMTSlot, RAHSlot, RNDSlot, STDSlot = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
  39. 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
  40. local waite=2000 --time for e cast in combo
  41. local nextbuyIndex = 1
  42. local levelSequence = {1,2,3,1,1,4,1,2,1,3,4,3,3,3,2,4,2,2}
  43. local NextBuy = 0
  44.  
  45. function OnLoad()
  46.  
  47. PantheonConfig = scriptConfig("Pantheon Basic Config", "Pantheon")
  48. PantheonConfig:addParam("ragemode","RageMode", SCRIPT_PARAM_ONKEYTOGGLE, false, 73)
  49. PantheonConfig:addParam("combo", "Combo", SCRIPT_PARAM_ONKEYDOWN, false, 32)
  50. PantheonConfig:addParam("combo2", "Combo Ignoring Health Check", SCRIPT_PARAM_ONKEYDOWN, false, 83)
  51. PantheonConfig:addParam("combo3", "RageCombo Combo with R", SCRIPT_PARAM_ONKEYDOWN, false, 84)
  52. PantheonConfig:addParam("harass", "Haras", SCRIPT_PARAM_ONKEYDOWN, false, 90)
  53. PantheonConfig:addParam("autoignite", "Ignite when Killable", SCRIPT_PARAM_ONOFF, true)
  54. PantheonConfig:addParam("autoks","Auto KS",SCRIPT_PARAM_ONOFF, true)
  55. PantheonConfig:addParam("farm","AA Farm", SCRIPT_PARAM_ONKEYDOWN, false, 88)
  56. PantheonConfig:addParam("autoqfarm","Auto Q Farming", SCRIPT_PARAM_ONKEYTOGGLE, false, 67)
  57. PantheonConfig:addParam("autobuy","Auto buy items",SCRIPT_PARAM_ONOFF, false)
  58. PantheonConfig:addParam("autoadd","Auto add spels",SCRIPT_PARAM_ONOFF, false)
  59. PantheonConfig:addParam("move","Move to mouse",SCRIPT_PARAM_ONOFF, false)
  60.  
  61. -- //////////////////////////////////////////////////////////////// drawultarrow
  62.  
  63. PantheonConfigAdvanced = scriptConfig("Pantheon Advanced Config", "Pantheon")
  64. PantheonConfigAdvanced:addParam("combotype","Combo type",SCRIPT_PARAM_SLICE, 1, 0, 2, 0)
  65. PantheonConfigAdvanced:addParam("minqmana","Min Mana for Q Haras/Farm",SCRIPT_PARAM_SLICE, 50, 0, 100, 2)
  66. PantheonConfigAdvanced:addParam("minhp","Min Health for Combo",SCRIPT_PARAM_SLICE, 50, 0, 100, 2)
  67. PantheonConfigAdvanced:addParam("lowhpwarrning","Min Health for low hp warrning",SCRIPT_PARAM_SLICE, 50, 0, 100, 2)
  68. PantheonConfigAdvanced:addParam("typelowhpwarrning","Type of low hp warrning",SCRIPT_PARAM_SLICE, 3, 0, 3, 0)
  69. PantheonConfigAdvanced:addParam("drawcircle", "Draw Circle", SCRIPT_PARAM_ONOFF, true)
  70. PantheonConfigAdvanced:addParam("drawtarget", "Draw current Target Text", SCRIPT_PARAM_ONOFF, true)
  71. PantheonConfigAdvanced:addParam("drawlowhpwarrning", "Draw low hp warrning", SCRIPT_PARAM_ONOFF, true)
  72. PantheonConfigAdvanced:addParam("drawultarrow", "Draw line to killable enemy when ulti ready", SCRIPT_PARAM_ONOFF, true)
  73.  
  74. PantheonConfig:permaShow("combo")
  75. PantheonConfig:permaShow("harass")
  76. PantheonConfig:permaShow("autoks")
  77. PantheonConfig:permaShow("farm")
  78. PantheonConfig:permaShow("autoqfarm")
  79. PantheonConfig:permaShow("move")
  80.  
  81.  
  82. ts = TargetSelector(TARGET_LOW_HP, qRange+50, DAMAGE_PHYSICAL)
  83. ts.name = "Pantheon"
  84. PantheonConfig:addTS(ts)
  85.  
  86. for i = 0, objManager.maxObjects, 1 do
  87. local object = objManager:GetObject(i)
  88. if objectIsValid(object) then table.insert(EnemyMinions, object) end
  89. end
  90.  
  91. enemyMinions = minionManager(MINION_ENEMY, 600, player, MINION_SORT_HEALTH_ASC)
  92.  
  93. if myHero:GetSpellData(SUMMONER_1).name:find("SummonerDot") then ignite = SUMMONER_1
  94. elseif myHero:GetSpellData(SUMMONER_2).name:find("SummonerDot") then ignite = SUMMONER_2
  95. end
  96.  
  97. 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}
  98. PrintChat(" >> RageBot Loaded!!!")
  99. PrintChat(" >> LIVE!!!")
  100. PrintChat(" >> LIVE!!!")
  101. PrintChat(" >> LIVE!!!")
  102. end
  103.  
  104. function OnTick()
  105.  
  106. ts:update()
  107. us:update()
  108. enemyMinions:update()
  109. dmg()
  110. if tick == nil or GetTickCount()-tick>=100 then
  111. tick = GetTickCount()
  112. end
  113.  
  114. DFGSlot, BRKSlot, HXGSlot, BWCSlot = GetInventorySlotItem(3153), GetInventorySlotItem(3128), GetInventorySlotItem(3146), GetInventorySlotItem(3144)
  115. DFGREADY = (DFGSlot ~= nil and myHero:CanUseSpell(DFGSlot) == READY)
  116. HXGREADY = (HXGSlot ~= nil and myHero:CanUseSpell(HXGSlot) == READY)
  117. BWCREADY = (BWCSlot ~= nil and myHero:CanUseSpell(BWCSlot) == READY)
  118. BRKREADY = (BRKSlot ~= nil and myHero:CanUseSpell(BRKSlot) == READY)
  119. TMTREADY = (TMTSlot ~= nil and myHero:CanUseSpell(TMTSlot) == READY)
  120. RAHREADY = (RAHSlot ~= nil and myHero:CanUseSpell(RAHSlot) == READY)
  121. RNDREADY = (RNDSlot ~= nil and myHero:CanUseSpell(RNDSlot) == READY)
  122. QREADY = (myHero:CanUseSpell(_Q) == READY)
  123. WREADY = (myHero:CanUseSpell(_W) == READY)
  124. EREADY = (myHero:CanUseSpell(_E) == READY)
  125. RREADY = (myHero:CanUseSpell(_R) == READY)
  126. iReady = (ignite ~= nil and myHero:CanUseSpell(ignite) == READY)
  127.  
  128. -- Auto lvl spels
  129. if PantheonConfig.autoadd then
  130. autoLevelSetSequence(levelSequence)
  131. end
  132. -- Ignite
  133. if PantheonConfig.autoignite then
  134. autoignite()
  135. end
  136. -- Autobuy
  137. if PantheonConfig.autobuy then
  138. autobuy()
  139. end
  140. -- Haras
  141. if PantheonConfig.harass then
  142. haras()
  143. end
  144. -- Autoks
  145. if PantheonConfig.autoks then
  146. autoks()
  147. end
  148. -- Combo
  149. if PantheonConfig.combo and PantheonConfigAdvanced.minhp <=((myHero.health/myHero.maxHealth)*100) and ts.target ~= nil then
  150. if PantheonConfigAdvanced.combotype == 1 then
  151. comboa()
  152. elseif PantheonConfigAdvanced.combotype == 2 then
  153. combob()
  154. end
  155. end
  156. -- Combo Ignorinh HP Check
  157. if PantheonConfig.combo2 and ts.target ~= nil then
  158. if PantheonConfigAdvanced.combotype == 1 then
  159. comboa()
  160. elseif PantheonConfigAdvanced.combotype == 2 then
  161. combob()
  162. end
  163. end
  164. -- Rage Combo
  165. if PantheonConfig.combo3 and us.target ~= nil then
  166. if PantheonConfigAdvanced.combotype == 1 then
  167. RageComboA()
  168. elseif PantheonConfigAdvanced.combotype == 2 then
  169. RageComboB()
  170. end
  171. end
  172. -- Rage Mode
  173. if PantheonConfig.ragemode and ts.target ~= nil then
  174. RageMode()
  175. end
  176. -- Farm
  177. farm()
  178. end
  179.  
  180.  
  181. function Wait(ms)
  182. local t = GetTickCount()
  183. if GetTickCount() - t <= ms then
  184. if GetDistance(ts.target) > eRange then
  185. return nil
  186. end
  187. end
  188. end
  189.  
  190.  
  191. function objectIsValid(object)
  192. return object and object.valid and object.name:find("Minion_") and object.team ~= myHero.team and object.dead == false
  193. end
  194.  
  195.  
  196. function OnCreateObj(object)
  197. if objectIsValid(object) then table.insert(EnemyMinions, object) end
  198. end
  199.  
  200.  
  201. function comboa()
  202.  
  203. if GetDistance(ts.target) < 598 then
  204.  
  205. if DFGREADY then CastSpell(DFGSlot, ts.target) end
  206. if HXGREADY then CastSpell(HXGSlot, ts.target) end
  207. if BWCREADY then CastSpell(BWCSlot, ts.target) end
  208. if BRKREADY then CastSpell(BRKSlot, ts.target) end
  209. if TMTREADY and GetDistance(ts.target) < 275 then CastSpell(TMTSlot) end
  210. if RAHREADY and GetDistance(ts.target) < 275 then CastSpell(RAHSlot) end
  211. if RNDREADY and GetDistance(ts.target) < 275 then CastSpell(RNDSlot) end
  212.  
  213. end
  214.  
  215. if QREADY and GetDistance(ts.target)<qRange then
  216. CastSpell(_Q, ts.target)
  217. end
  218.  
  219. if WREADY and GetDistance(ts.target)<wRange then
  220. CastSpell(_W, ts.target)
  221. end
  222.  
  223. if GetDistance(ts.target) <= aarange then
  224. myHero:Attack(ts.target)
  225. end
  226.  
  227. if EREADY and not WREADY and GetDistance(ts.target)<eRange then
  228. CastSpell(_E, ts.target)
  229. Wait(eDelay)
  230. end
  231.  
  232. if GetDistance(ts.target) <= aarange then
  233. myHero:Attack(ts.target)
  234. end
  235.  
  236. end
  237.  
  238. function combob()
  239.  
  240. if GetDistance(ts.target) < 598 then
  241.  
  242. if DFGREADY then CastSpell(DFGSlot, ts.target) end
  243. if HXGREADY then CastSpell(HXGSlot, ts.target) end
  244. if BWCREADY then CastSpell(BWCSlot, ts.target) end
  245. if BRKREADY then CastSpell(BRKSlot, ts.target) end
  246. if TMTREADY and GetDistance(ts.target) < 275 then CastSpell(TMTSlot) end
  247. if RAHREADY and GetDistance(ts.target) < 275 then CastSpell(RAHSlot) end
  248. if RNDREADY and GetDistance(ts.target) < 275 then CastSpell(RNDSlot) end
  249.  
  250. end
  251.  
  252. if WREADY and GetDistance(ts.target)<wRange then
  253. CastSpell(_W, ts.target)
  254. end
  255.  
  256. if GetDistance(ts.target) <= aarange then
  257. myHero:Attack(ts.target)
  258. end
  259.  
  260. if EREADY and GetDistance(ts.target)<eRange then
  261. CastSpell(_E, ts.target)
  262. Wait(eDelay)
  263. end
  264.  
  265. if QREADY and not EREADY and GetDistance(ts.target)<qRange then
  266. CastSpell(_Q, ts.target)
  267. end
  268.  
  269. if GetDistance(ts.target) <= aarange then
  270. myHero:Attack(ts.target)
  271. end
  272.  
  273. end
  274.  
  275.  
  276. function RageComboA()
  277.  
  278. if RREADY and GetDistance(us.target) > 1500 then
  279. for i = 1, heroManager.iCount do
  280. local enemy = heroManager:getHero(i)
  281. if ValidTarget(enemy, 5000, true) and enemy.health <10000 then
  282. local rPos = getPred(10, rDelay, enemy)
  283. if rPos ~= nil and GetDistance(rPos) < 5000 then
  284. CastSpell(_R, rPos.x, rPos.z)
  285. end
  286. end
  287. end
  288. end
  289.  
  290. if GetDistance(us.target) < 598 then
  291.  
  292. if DFGREADY then CastSpell(DFGSlot, us.target) end
  293. if HXGREADY then CastSpell(HXGSlot, us.target) end
  294. if BWCREADY then CastSpell(BWCSlot, us.target) end
  295. if BRKREADY then CastSpell(BRKSlot, us.target) end
  296. if TMTREADY and GetDistance(us.target) < 275 then CastSpell(TMTSlot) end
  297. if RAHREADY and GetDistance(us.target) < 275 then CastSpell(RAHSlot) end
  298. if RNDREADY and GetDistance(us.target) < 275 then CastSpell(RNDSlot) end
  299.  
  300. end
  301.  
  302. if QREADY and GetDistance(us.target)<qRange then
  303. CastSpell(_Q, us.target)
  304. end
  305.  
  306. if WREADY and GetDistance(us.target)<wRange then
  307. CastSpell(_W, us.target)
  308. end
  309.  
  310. if GetDistance(us.target) <= aarange then
  311. myHero:Attack(us.target)
  312. end
  313.  
  314. if EREADY and not WREADY and GetDistance(us.target)<eRange then
  315. CastSpell(_E, us.target)
  316. Wait(eDelay)
  317. end
  318.  
  319. if GetDistance(us.target) <= aarange then
  320. myHero:Attack(us.target)
  321. end
  322.  
  323. end
  324.  
  325. function RageComboB()
  326. if RREADY and GetDistance(us.target) > 1500 then
  327. for i = 1, heroManager.iCount do
  328. local enemy = heroManager:getHero(i)
  329. if ValidTarget(enemy, 5000, true) and enemy.health <10000 then
  330. local rPos = getPred(10, rDelay, enemy)
  331. if rPos ~= nil and GetDistance(rPos) < 5000 then
  332. CastSpell(_R, rPos.x, rPos.z)
  333. end
  334. end
  335. end
  336. end
  337.  
  338. if GetDistance(us.target) < 598 then
  339.  
  340. if DFGREADY then CastSpell(DFGSlot, us.target) end
  341. if HXGREADY then CastSpell(HXGSlot, us.target) end
  342. if BWCREADY then CastSpell(BWCSlot, us.target) end
  343. if BRKREADY then CastSpell(BRKSlot, us.target) end
  344. if TMTREADY and GetDistance(us.target) < 275 then CastSpell(TMTSlot) end
  345. if RAHREADY and GetDistance(us.target) < 275 then CastSpell(RAHSlot) end
  346. if RNDREADY and GetDistance(us.target) < 275 then CastSpell(RNDSlot) end
  347.  
  348. end
  349.  
  350. if WREADY and GetDistance(us.target)<wRange then
  351. CastSpell(_W, us.target)
  352. end
  353.  
  354. if GetDistance(us.target) <= aarange then
  355. myHero:Attack(us.target)
  356. end
  357.  
  358. if EREADY and GetDistance(us.target)<eRange then
  359. CastSpell(_E, us.target)
  360. Wait(eDelay)
  361. end
  362.  
  363. if QREADY and not EREADY and GetDistance(us.target)<qRange then
  364. CastSpell(_Q, us.target)
  365. end
  366.  
  367. if GetDistance(us.target) <= aarange then
  368. myHero:Attack(us.target)
  369. end
  370.  
  371. end
  372.  
  373.  
  374. function RageMode()
  375.  
  376. if GetDistance(ts.target) < 598 then
  377.  
  378. if DFGREADY then CastSpell(DFGSlot, ts.target) end
  379. if HXGREADY then CastSpell(HXGSlot, ts.target) end
  380. if BWCREADY then CastSpell(BWCSlot, ts.target) end
  381. if BRKREADY then CastSpell(BRKSlot, ts.target) end
  382. if TMTREADY and GetDistance(ts.target) < 275 then CastSpell(TMTSlot) end
  383. if RAHREADY and GetDistance(ts.target) < 275 then CastSpell(RAHSlot) end
  384. if RNDREADY and GetDistance(ts.target) < 275 then CastSpell(RNDSlot) end
  385.  
  386. end
  387.  
  388. if QREADY and GetDistance(ts.target)<qRange then
  389. CastSpell(_Q, ts.target)
  390. end
  391.  
  392. if WREADY and GetDistance(ts.target)<wRange then
  393. CastSpell(_W, ts.target)
  394. end
  395.  
  396. if EREADY and GetDistance(ts.target)<eRange then
  397. CastSpell(_E, ts.target)
  398. end
  399.  
  400. end
  401.  
  402.  
  403. function farm()
  404. -- Farm Q
  405. for i, minion in pairs(EnemyMinions) do
  406. if (minion ~= nil and not minion.valid) or (minion ~= nil and minion.valid and minion.dead) then
  407. table.remove(EnemyMinions, i)
  408. end
  409. end
  410.  
  411. if PantheonConfig.autoqfarm and PantheonConfigAdvanced.minqmana <=((myHero.mana/myHero.maxMana)*100) and not PantheonConfig.combo then
  412. local tick = GetTickCount()
  413. for i,object in ipairs(EnemyMinions) do
  414. if object ~= nil and objectIsValid(object) then
  415. local QDMG = (getDmg("Q", object, myHero)-40)
  416. if QREADY and GetDistance(object) <= qRange and object.health <= QDMG then
  417. CastSpell(_Q, object)
  418. end
  419. end
  420. end
  421. end
  422. -- Farm AA
  423.  
  424. if PantheonConfig.farm then
  425. if PantheonConfig.move and GetTickCount() > nextTick then
  426. myHero:MoveTo(mousePos.x, mousePos.z)
  427. end
  428. for index, minion in pairs(enemyMinions.objects) do
  429. local aDmg = getDmg("AD", minion, myHero)
  430. if minion.health <= aDmg and GetDistance(minion) <= (myHero.range+75) and GetTickCount() > nextTick then
  431. myHero:Attack(minion)
  432. nextTick = GetTickCount() + waitDelay
  433. end
  434. end
  435. end
  436. end
  437.  
  438.  
  439. function autoks()
  440.  
  441. for i=1, heroManager.iCount do
  442. Target = heroManager:GetHero(i)
  443. wDMG=getDmg("W",Target,myHero)
  444. if QREADY then
  445. local enemy = AI.find.weakPhysicEnemy(myHero,GetSpellData(_Q).range,myHero.armorPenPercent,myHero.armorPen)
  446. if enemy ~= nil then
  447. 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
  448. CastSpell(_Q,enemy)
  449. elseif myHero:CalcDamage(enemy,(25 + GetSpellData(_Q).level * 40 + myHero.addDamage + 1.4)) > enemy.health then
  450. CastSpell(_Q,enemy)
  451. end
  452. end
  453. end
  454.  
  455. 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
  456. CastSpell(_W, Target)
  457. end
  458. end
  459.  
  460. end
  461.  
  462.  
  463. function haras()
  464.  
  465. if PantheonConfigAdvanced.minqmana <=((myHero.mana/myHero.maxMana)*100) and ts.target ~= nil then
  466. if QREADY and GetDistance(ts.target)<qRange then
  467. CastSpell(_Q, ts.target)
  468. end
  469. end
  470.  
  471. if PantheonConfig.move and PantheonConfig.harass then
  472. myHero:MoveTo(mousePos.x, mousePos.z)
  473. end
  474. end
  475.  
  476.  
  477. function autobuy()
  478.  
  479. if GetTickCount() > NextBuy then
  480. if GetInventorySlotItem(shopList[nextbuyIndex]) ~= nil then
  481. nextbuyIndex = nextbuyIndex + 1
  482. else
  483. BuyItem(shopList[nextbuyIndex])
  484. end
  485. NextBuy = GetTickCount() + 1000
  486. end
  487.  
  488. end
  489.  
  490.  
  491. function autoignite()
  492.  
  493. if iReady then
  494. local ignitedmg = 0
  495. for i = 1, heroManager.iCount, 1 do
  496. local enemyhero = heroManager:getHero(i)
  497. if ValidTarget(enemyhero,600) then
  498. ignitedmg = 50 + 20 * myHero.level
  499. if enemyhero.health <= ignitedmg then
  500. CastSpell(ignite, enemyhero)
  501. end
  502. end
  503. end
  504. end
  505.  
  506. end
  507.  
  508.  
  509. function getPred(speed, delay, target)
  510.  
  511. if target == nil then return nil end
  512. local travelDuration = (delay + GetDistance(myHero, target)/speed)
  513. travelDuration = (delay + GetDistance(GetPredictionPos(target, travelDuration))/speed)
  514. travelDuration = (delay + GetDistance(GetPredictionPos(target, travelDuration))/speed)
  515. travelDuration = (delay + GetDistance(GetPredictionPos(target, travelDuration))/speed)
  516. return GetPredictionPos(target, travelDuration)
  517. end
  518.  
  519.  
  520. function dmg()
  521. if ts.target ~= nil then
  522. for i=1, heroManager.iCount do
  523. Target = heroManager:GetHero(i)
  524.  
  525. combo1 = 0
  526. combo2 = 0
  527. combo3 = 0
  528. combo4 = 0
  529.  
  530. local enemy = AI.find.weakPhysicEnemy(myHero,GetSpellData(_Q).range,myHero.armorPenPercent,myHero.armorPen)
  531. local wDamage = getDmg("W",Target,myHero)
  532. local qDamage = getDmg("Q",Target,myHero)*0.7
  533. local eDamage = (getDmg("E",Target,myHero))*0.5
  534.  
  535. if enemy ~= nil then
  536. qDamage = myHero:CalcDamage(enemy,(25 + GetSpellData(_Q).level * 40 + myHero.addDamage + 1.4))
  537. end
  538.  
  539. if QREADY then
  540. combo1=combo1+qDamage
  541. combo2=combo2+qDamage
  542. end
  543.  
  544. if WREADY then
  545. combo1=combo1+wDamage
  546. combo2=combo2+wDamage
  547. end
  548.  
  549. if EREADY then
  550. combo1=combo1+eDamage
  551. combo2=combo2+eDamage
  552. end
  553.  
  554. combo2=combo2+100
  555.  
  556. end
  557. end
  558. end
  559.  
  560.  
  561.  
  562. function OnDraw()
  563.  
  564. local coloraqua=ARGB(0xFF,0x00,0xFF,0xFF)
  565. local colorblue=ARGB(0xFF,0x0F,0x0F,0xFF)
  566. local colorwhite=ARGB(0xFF,0xF0,0xFF,0xFF)
  567. local colorred=ARGB(0xFF,0xFF,0x00,0x00)
  568. local colorgreen=ARGB(0xFF,0x00,0xFF,0x00)
  569. local colordarkblue=ARGB(0xFF,0x00,0x00,0x8B)
  570. local colordarkred=ARGB(0xFF,0x8B,0x00,0x00)
  571. local colorlime=ARGB(0xFF,0x00,0xFF,0x00)
  572. DrawText("Pantheon RageBot Beta", 18, 750, 20, coloraqua)
  573.  
  574. if PantheonConfig.ragemode then
  575. DrawText("Pantheon RageMode: ON", 40, 650, 150, colorred)
  576. end
  577.  
  578. if PantheonConfigAdvanced.drawlowhpwarrning and not myHero.dead then
  579. if PantheonConfigAdvanced.lowhpwarrning >= ((myHero.health/myHero.maxHealth)*100) then
  580. for i=0, 5 do
  581. if PantheonConfigAdvanced.typelowhpwarrning == 1 then
  582. DrawCircle(myHero.x, myHero.y, myHero.z, 200 +i*5, colorred)
  583.  
  584. elseif PantheonConfigAdvanced.typelowhpwarrning == 2 then
  585. DrawCircle(myHero.x, myHero.y, myHero.z, 100 +i*5, colorred)
  586. DrawCircle(myHero.x, myHero.y, myHero.z, 200 +i*5, colorred)
  587.  
  588. elseif PantheonConfigAdvanced.typelowhpwarrning == 3 then
  589. DrawCircle(myHero.x, myHero.y, myHero.z, 100 +i*5, colorred)
  590. DrawCircle(myHero.x, myHero.y, myHero.z, 200 +i*5, colorred)
  591. DrawCircle(myHero.x, myHero.y, myHero.z, 300 +i*5, colorred)
  592. end
  593. end
  594. end
  595. end
  596.  
  597. if PantheonConfigAdvanced.drawtarget and ValidTarget(ts.target) then
  598. DrawText("Targetting: " .. ts.target.charName, 18, 750, 40, 0xFFFF0000)
  599. for i=0, 10 do
  600. DrawCircle(ts.target.x, ts.target.y, ts.target.z, 60 + i*1.5, coloraqua)
  601. end
  602. end
  603.  
  604. if PantheonConfigAdvanced.drawcircle and not myHero.dead then
  605.  
  606. if QREADY and WREADY and EREADY and RREADY then
  607. DrawCircle(myHero.x, myHero.y, myHero.z, qRange, colorlime)
  608.  
  609. elseif QREADY and WREADY and EREADY and not RREADY then
  610. DrawCircle(myHero.x, myHero.y, myHero.z, qRange, coloraqua)
  611.  
  612. elseif not QREADY and WREADY or not EREADY then
  613. DrawCircle(myHero.x, myHero.y, myHero.z, qRange, colordarkblue)
  614.  
  615. elseif not WREADY then
  616. DrawCircle(myHero.x, myHero.y, myHero.z, qRange, colordarkred)
  617. end
  618.  
  619. if PantheonConfigAdvanced.lowhpwarrning < ((myHero.health/myHero.maxHealth)*100) then
  620. DrawCircle(myHero.x, myHero.y, myHero.z, aarange, 0xFF33FF)
  621. end
  622. if RREADY then
  623. DrawCircle(myHero.x, myHero.y, myHero.z, rRange, 0xFF33FF)
  624. end
  625. end
  626.  
  627. if PantheonConfigAdvanced.drawcircle and PantheonConfig.farm and not myHero.dead and PantheonConfigAdvanced.lowhpwarrning < ((myHero.health/myHero.maxHealth)*100) then
  628. DrawCircle(myHero.x, myHero.y, myHero.z, myHero.range+75, 0x00FF00)
  629. end
  630.  
  631. if PantheonConfigAdvanced.drawultarrow then
  632. if us.target ~= nil and RREADY and GetDistance(us.target) > 1500 and us.target.health < 600 then
  633. startPos = Vector(myHero.x,myHero.y,myHero.z)
  634. if us.target ~= nil and us.target.visible == true then
  635. endPos = Vector(us.target.x,us.target.y,us.target.z)
  636. DrawArrows(D3DXVECTOR3(startPos.x,startPos.y,startPos.z),D3DXVECTOR3(endPos.x,endPos.y,endPos.z),100,0xFF00FF,100)
  637. end
  638. end
  639. end
  640.  
  641. if PantheonConfigAdvanced.drawtarget then
  642. for i = 1, heroManager.iCount, 1 do
  643. local enemyhero = heroManager:getHero(i)
  644. if ValidTarget(enemyhero,qRange + 1) and not enemyhero.dead then
  645. if enemyhero.health <= combo1 then
  646. for i=0, 10 do
  647. DrawCircle(enemyhero.x, enemyhero.y, enemyhero.z, 60 + i*1.5, colordarkred)
  648. DrawCircle(enemyhero.x, enemyhero.y, enemyhero.z, 130 + i*1.5, colorred)
  649. end
  650. end
  651. end
  652. end
  653. end
  654. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement