Enemycontrol


SUBMITTED BY: Guest

DATE: Sept. 16, 2012, 7:02 p.m.

FORMAT: Text only

SIZE: 20.3 kB

HITS: 84098

  1. --[[
  2. Script: ennemyControl v0.2
  3. Author: SurfaceS
  4. Based on mixed ideas from :
  5. Kilua -> Kilia UI, minimap Hack
  6. Manciuszz -> Low Awareness SCRIPT
  7. required libs : common, gameOver, minimap (if minimapHack)
  8. exposed variables : -
  9. UPDATES :
  10. v0.1 initial release
  11. v0.2 BoL Studio Version
  12. ]]
  13. do
  14. require "common"
  15. require "gameOver"
  16. local ennemyControl = {}
  17. ennemyControl.alert = {}
  18. --[[ CONFIG ]]
  19. ennemyControl.minimapHack = false -- Show last position of enemy champions hidden. (not more needed, included in BoL Studio)
  20. ennemyControl.alert.active = true -- Draw cricle on approching enemy champions hidden for defined time.
  21. ennemyControl.alert.range = 2500 -- Distance that the script will consider worthy of alerting you of incoming enemy champions.
  22. ennemyControl.alert.missTime = 10000 -- How long, in ms, enemy champion has to be missing in order for the script to alert of his arrival. (10s)
  23. ennemyControl.alert.circleSize = 1250 -- Circle radius that surrounds incoming enemy champion.
  24. ennemyControl.alert.time = 5000 -- How long, in ms, the circle will remain there. (5s)
  25. --[[ GLOBAL ]]
  26. ennemyControl.configFile = LIB_PATH.."ennemyControl.cfg"
  27. ennemyControl.ennemyHeros = {}
  28. ennemyControl.herosSprite = {}
  29. ennemyControl.summonerSprite = {}
  30. ennemyControl.minimapSprite = {}
  31. ennemyControl.shiftKeyPressed = false
  32. ennemyControl.spells = {SPELL_1, SPELL_2, SPELL_3, SPELL_4}
  33. ennemyControl.summoners = {SUMMONER_1, SUMMONER_2}
  34. ennemyControl.display = {x = 300, y = 200, rotation = 0, move = false}
  35. ennemyControl.case_gap = 86 --70
  36. --[[ CODE ]]
  37. function ennemyControl.writeConfigs()
  38. local file = io.open(ennemyControl.configFile, "w")
  39. if file then
  40. local offset1 = ennemyControl.display.x
  41. local offset2 = ennemyControl.display.y
  42. file:write("return { x = "..ennemyControl.display.x..", y = "..ennemyControl.display.y..", rotation = "..ennemyControl.display.rotation..", move = false }")
  43. file:close()
  44. end
  45. end
  46. function ennemyControl.refreshDrawPositions(ennemyIndex)
  47. local ennemyHero = ennemyControl.ennemyHeros[ennemyIndex]
  48. -- refresh ennemyControl display
  49. ennemyHero.display.teamFrame = {name = (ennemyControl.display.rotation == 1 and "R" or ""), x = ennemyControl.display.x +(ennemyIndex-1)*65 ,y = ennemyControl.display.y }
  50. ennemyHero.display.icon = {x = ennemyHero.display.teamFrame.x + (ennemyControl.display.rotation == 1 and 19 or 4) ,y = ennemyHero.display.teamFrame.y + 9 }
  51. ennemyHero.display.level = {x = ennemyHero.display.teamFrame.x + (ennemyControl.display.rotation == 1 and 15 or 34) + (ennemyHero.hero.level < 10 and 4 or 0), y = ennemyHero.display.teamFrame.y + 37}
  52. ennemyHero.display.ulti = {x = ennemyHero.display.teamFrame.x + (ennemyControl.display.rotation == 1 and 9 or 43) ,y = ennemyHero.display.teamFrame.y + 2}
  53. ennemyHero.display.timerMask = {x = ennemyHero.display.teamFrame.x + (ennemyControl.display.rotation == 1 and 32 or 6), y = ennemyHero.display.teamFrame.y + 44}
  54. ennemyHero.display.timer = {x = ennemyHero.display.teamFrame.x + (ennemyControl.display.rotation == 1 and 33 or 7), y = ennemyHero.display.teamFrame.y + 37}
  55. ennemyHero.display.health = {x = ennemyHero.display.teamFrame.x + (ennemyControl.display.rotation == 1 and 16 or 6), y = ennemyHero.display.teamFrame.y + 58}
  56. ennemyHero.display.mana = {x = ennemyHero.display.teamFrame.x + (ennemyControl.display.rotation == 1 and 16 or 6), y = ennemyHero.display.teamFrame.y + 67}
  57. -- extended
  58. ennemyHero.display.spell1 = {x = ennemyHero.display.teamFrame.x + 2, y = ennemyHero.display.teamFrame.y - 20}
  59. ennemyHero.display.spell2 = {x = ennemyHero.display.teamFrame.x + 30, y = ennemyHero.display.teamFrame.y - 20}
  60. ennemyHero.display.spell3 = {x = ennemyHero.display.teamFrame.x + 2, y = ennemyHero.display.teamFrame.y - 45}
  61. ennemyHero.display.spell4 = {x = ennemyHero.display.teamFrame.x + 30, y = ennemyHero.display.teamFrame.y - 45}
  62. ennemyHero.display.spellSum1 = {x = ennemyHero.display.teamFrame.x + 2, y = ennemyHero.display.teamFrame.y - 70}
  63. ennemyHero.display.spellSum2 = {x = ennemyHero.display.teamFrame.x + 30, y = ennemyHero.display.teamFrame.y - 70}
  64. -- champ infos
  65. ennemyHero.display.champInfos = {x = ennemyHero.display.teamFrame.x, y = ennemyHero.display.teamFrame.y - 120}
  66. ennemyHero.display.totalDamage = {x = ennemyHero.display.teamFrame.x + 22, y = ennemyHero.display.teamFrame.y - 115}
  67. ennemyHero.display.ap = {x = ennemyHero.display.teamFrame.x + 22, y = ennemyHero.display.teamFrame.y - 96}
  68. ennemyHero.display.attackSpeed = {x = ennemyHero.display.teamFrame.x + 22, y = ennemyHero.display.teamFrame.y - 77}
  69. ennemyHero.display.ms = {x = ennemyHero.display.teamFrame.x + 22, y = ennemyHero.display.teamFrame.y - 60}
  70. ennemyHero.display.armor = {x = ennemyHero.display.teamFrame.x + 22, y = ennemyHero.display.teamFrame.y - 40}
  71. ennemyHero.display.magicArmor = {x = ennemyHero.display.teamFrame.x + 22, y = ennemyHero.display.teamFrame.y - 22}
  72. ennemyControl.display.spellSize = 20
  73. end
  74. function ennemyControl.updateEnnemyData(ennemyIndex)
  75. local tick = GetTickCount()
  76. local ennemyHero = ennemyControl.ennemyHeros[ennemyIndex]
  77. if ennemyHero.hero.dead then
  78. ennemyHero.dead = true
  79. if ennemyHero.deathStart == nil then
  80. ennemyHero.deathStart = tick
  81. end
  82. ennemyHero.deathTimer = math.ceil(ennemyHero.hero.deathTimer - ((tick - ennemyHero.deathStart) / 1000))
  83. ennemyHero.deathTimerText = timerText(ennemyHero.deathTimer, 4)
  84. ennemyHero.missTimer = nil
  85. ennemyHero.missStart = nil
  86. ennemyHero.drawAlertCircle = false
  87. else
  88. ennemyHero.dead = false
  89. ennemyHero.deathStart = nil
  90. if ennemyHero.hero.visible == false then
  91. ennemyHero.missing = true
  92. if ennemyHero.missStart == nil then
  93. ennemyHero.missStart = tick
  94. if ennemyControl.minimapHack then
  95. ennemyHero.missMinimap = miniMap.ToMinimapPoint(ennemyHero.hero.x,ennemyHero.hero.z)
  96. end
  97. end
  98. ennemyHero.missTimer = tick - ennemyHero.missStart
  99. if ennemyControl.alert.active and ennemyHero.missTimer > ennemyControl.alert.missTime then
  100. ennemyHero.alertActive = true
  101. end
  102. ennemyHero.missTimerText = timerText(ennemyHero.missTimer / 1000, 4)
  103. else
  104. ennemyHero.missing = false
  105. ennemyHero.missStart = nil
  106. if ennemyControl.alert.active and ennemyHero.alertActive and ennemyHero.drawAlertCircle == false and GetDistance2D(player, ennemyHero.hero) < ennemyControl.alert.range then
  107. ennemyHero.alertTick = tick
  108. ennemyHero.drawAlertCircle = true
  109. end
  110. end
  111. -- reset the ennemyControl.alert
  112. local drawAlertCircle = false
  113. if ennemyControl.alert.active and ennemyHero.alertActive then
  114. if ennemyHero.alertTick ~= nil then
  115. if ennemyHero.alertTick > tick - ennemyControl.alert.time then
  116. drawAlertCircle = true
  117. else
  118. ennemyHero.alertActive = false
  119. end
  120. end
  121. end
  122. ennemyHero.drawAlertCircle = drawAlertCircle
  123. end
  124. -- CHAMP INFOS
  125. if ennemyControl.shiftKeyPressed then
  126. ennemyHero.totalDamage = ""..math.ceil(ennemyHero.hero.totalDamage)
  127. ennemyHero.ap = ""..math.ceil(ennemyHero.hero.ap)
  128. ennemyHero.attackSpeed = ""..ennemyHero.hero.attackSpeed
  129. ennemyHero.ms = ""..math.ceil(ennemyHero.hero.ms)
  130. ennemyHero.armor = ""..math.ceil(ennemyHero.hero.armor)
  131. ennemyHero.magicArmor = ""..math.ceil(ennemyHero.hero.magicArmor)
  132. end
  133. -- SPELL STATE
  134. if ennemyHero.extended then
  135. for i = 1, 4 do
  136. ennemyHero.spellState[i] = ennemyHero.hero:CanUseSpell(ennemyControl.spells[i])
  137. if ennemyHero.hero.isAI then
  138. if ennemyHero.spellLearned[i] == false and ennemyHero.spellState[i] == COOLDOWN then ennemyHero.spellLearned[i] = true end
  139. if ennemyHero.spellState[i] == NOTLEARNED and (ennemyHero.spellLearned[i] or ennemyHero.hero.level >= (i == 4 and 6 or 13)) then ennemyHero.spellState[i] = READY end
  140. end
  141. -- calculate cd
  142. if ennemyHero.lastSpellState[i] == nil then ennemyHero.lastSpellState[i] = ennemyHero.spellState[i] end
  143. if ennemyHero.spellState[i] == READY and ennemyHero.lastSpellState[i] == COOLDOWN and ennemyHero.lastSpellCd[i] ~= nil then
  144. ennemyHero.spellCd[i] = tick - ennemyHero.lastSpellCd[i]
  145. end
  146. if ennemyHero.spellState[i] == COOLDOWN then
  147. if ennemyHero.lastSpellState[i] == READY then
  148. ennemyHero.lastSpellCd[i] = tick
  149. end
  150. if ennemyHero.spellCd[i] ~= nil then
  151. ennemyHero.spellCurrentCd[i] = ennemyHero.lastSpellCd[i] - tick + ennemyHero.spellCd[i]
  152. ennemyHero.spellCurrentCdDraw[i] = math.max(0,math.floor((ennemyHero.spellCurrentCd[i] / ennemyHero.spellCd[i])*ennemyControl.display.spellSize))
  153. end
  154. else
  155. ennemyHero.spellCurrentCd[i] = nil
  156. end
  157. ennemyHero.lastSpellState[i] = ennemyHero.spellState[i]
  158. end
  159. ennemyHero.spellSum1 = ennemyHero.hero:CanUseSpell(SUMMONER_1)
  160. ennemyHero.spellSum2 = ennemyHero.hero:CanUseSpell(SUMMONER_2)
  161. else
  162. ennemyHero.spell4 = ennemyHero.hero:CanUseSpell(_R)
  163. if ennemyHero.spell4 == NOTLEARNED and ennemyHero.hero.isAI and ennemyHero.hero.level >= 6 then ennemyHero.spell4 = READY end
  164. ennemyHero.spell1 = NOTLEARNED
  165. ennemyHero.spell2 = NOTLEARNED
  166. ennemyHero.spell3 = NOTLEARNED
  167. ennemyHero.spellSum1 = NOTLEARNED
  168. ennemyHero.spellSum2 = NOTLEARNED
  169. end
  170. if ennemyHero.hero.maxHealth > 0 then
  171. ennemyHero.healthPart = (ennemyHero.hero.health/ennemyHero.hero.maxHealth)*42
  172. else
  173. ennemyHero.healthPart = 0
  174. end
  175. if ennemyHero.hero.maxMana > 0 then
  176. ennemyHero.manaPart = (ennemyHero.hero.mana/ennemyHero.hero.maxMana)*42
  177. else
  178. ennemyHero.manaPart = 0
  179. end
  180. end
  181. function OnDraw()
  182. if gameOver.gameIsOver() == true then return end
  183. for i,ennemyHero in pairs(ennemyControl.ennemyHeros) do
  184. if ennemyHero.hero ~= nil then
  185. --ennemyControl["teamFrameBG"..ennemyHero.teamFrame.name]:Draw(ennemyHero.teamFrame.x,ennemyHero.teamFrame.y,0xFF) -- CASE BG
  186. ennemyControl.herosSprite[ennemyHero.hero.charName]:Draw(ennemyHero.display.icon.x, ennemyHero.display.icon.y,0xFF) -- ICON CHAMPION
  187. ennemyControl["teamFrame"..ennemyHero.display.teamFrame.name]:Draw(ennemyHero.display.teamFrame.x,ennemyHero.display.teamFrame.y,0xFF) -- CASE
  188. DrawText(""..ennemyHero.hero.level,15,ennemyHero.display.level.x,ennemyHero.display.level.y,0xFFFFD700) -- LVL TXT
  189. -- ULTI READY
  190. if ennemyHero.spell4 == READY then
  191. ennemyControl.spriteultiready:Draw(ennemyHero.display.ulti.x,ennemyHero.display.ulti.y,0xFF)
  192. end
  193. -- DEAD TIMER
  194. if ennemyHero.dead == true then
  195. DrawLine(ennemyHero.display.timerMask.x, ennemyHero.display.timerMask.y, ennemyHero.display.timerMask.x + 25, ennemyHero.display.timerMask.y, 11, 4287299584)
  196. DrawText(ennemyHero.deathTimerText,15,ennemyHero.display.timer.x,ennemyHero.display.timer.y,4294967295)
  197. -- MISS TIMER
  198. elseif ennemyHero.missing == true then
  199. DrawLine(ennemyHero.display.timerMask.x, ennemyHero.display.timerMask.y, ennemyHero.display.timerMask.x + 25, ennemyHero.display.timerMask.y, 11, 4281221816)
  200. DrawText(ennemyHero.missTimerText,15,ennemyHero.display.timer.x,ennemyHero.display.timer.y,4294967295)
  201. if ennemyControl.minimapHack then
  202. ennemyControl.minimapSprite[ennemyHero.charName]:Draw(ennemyHero.missMinimap.x, ennemyHero.missMinimap.y,0xFF)
  203. end
  204. end
  205. if ennemyHero.healthPart >= 1 then
  206. DrawLine(ennemyHero.display.health.x, ennemyHero.display.health.y, ennemyHero.display.health.x + ennemyHero.healthPart, ennemyHero.display.health.y, 6, 4278884959)
  207. end
  208. if ennemyHero.manaPart >= 1 then
  209. DrawLine(ennemyHero.display.mana.x, ennemyHero.display.mana.y, ennemyHero.display.mana.x + ennemyHero.manaPart, ennemyHero.display.mana.y, 3, 4281221816)
  210. end
  211. if ennemyControl.shiftKeyPressed then
  212. ennemyControl.champInfos:Draw(ennemyHero.display.champInfos.x, ennemyHero.display.champInfos.y,0xFF)
  213. DrawText(ennemyHero.totalDamage,15,ennemyHero.display.totalDamage.x,ennemyHero.display.totalDamage.y,4294967295)
  214. DrawText(ennemyHero.ap,15,ennemyHero.display.ap.x,ennemyHero.display.ap.y,4294967295)
  215. DrawText(ennemyHero.attackSpeed,15,ennemyHero.display.attackSpeed.x,ennemyHero.display.attackSpeed.y,4294967295)
  216. DrawText(ennemyHero.ms,15,ennemyHero.display.ms.x,ennemyHero.display.ms.y,4294967295)
  217. DrawText(ennemyHero.armor,15,ennemyHero.display.armor.x,ennemyHero.display.armor.y,4294967295)
  218. DrawText(ennemyHero.magicArmor,15,ennemyHero.display.magicArmor.x,ennemyHero.display.magicArmor.y,4294967295)
  219. elseif ennemyHero.extended then
  220. for i = 1, 4 do
  221. if ennemyHero.spellState[i] == READY then
  222. DrawLine(ennemyHero.display["spell"..i].x, ennemyHero.display["spell"..i].y, ennemyHero.display["spell"..i].x + ennemyControl.display.spellSize, ennemyHero.display["spell"..i].y, ennemyControl.display.spellSize, 4278225733) -- dark green
  223. elseif ennemyHero.spellState[i] == COOLDOWN then
  224. DrawLine(ennemyHero.display["spell"..i].x, ennemyHero.display["spell"..i].y, ennemyHero.display["spell"..i].x + ennemyControl.display.spellSize, ennemyHero.display["spell"..i].y, ennemyControl.display.spellSize, 4287299584) -- dark red
  225. if ennemyHero.spellCurrentCdDraw[i] ~= nil then
  226. DrawLine(ennemyHero.display["spell"..i].x, ennemyHero.display["spell"..i].y, ennemyHero.display["spell"..i].x + ennemyControl.display.spellSize - ennemyHero.spellCurrentCdDraw[i], ennemyHero.display["spell"..i].y, ennemyControl.display.spellSize, 4278198886) -- dark blue
  227. end
  228. else
  229. DrawLine(ennemyHero.display["spell"..i].x, ennemyHero.display["spell"..i].y, ennemyHero.display["spell"..i].x + ennemyControl.display.spellSize, ennemyHero.display["spell"..i].y, ennemyControl.display.spellSize, 4285098345) -- dim grey
  230. end
  231. end
  232. DrawText("Q",14,ennemyHero.display.spell1.x+5,ennemyHero.display.spell1.y-6,4294967295)
  233. DrawText("W",14,ennemyHero.display.spell2.x+5,ennemyHero.display.spell2.y-6,4294967295)
  234. DrawText("E",14,ennemyHero.display.spell3.x+6,ennemyHero.display.spell3.y-6,4294967295)
  235. DrawText("R",14,ennemyHero.display.spell4.x+6,ennemyHero.display.spell4.y-6,4294967295)
  236. for i = 1, 2 do
  237. ennemyControl.summonerSprite[ennemyHero.summonerSpellName[i]]:Draw(ennemyHero.display["spellSum"..i].x, ennemyHero.display["spellSum"..i].y - 10,0xFF)
  238. if ennemyHero["spellSum"..i] == COOLDOWN then
  239. DrawLine(ennemyHero.display["spellSum"..i].x, ennemyHero.display["spellSum"..i].y, ennemyHero.display["spellSum"..i].x + 20, ennemyHero.display["spellSum"..i].y, 20, 2298478591)
  240. end
  241. end
  242. end
  243. if ennemyHero.drawAlertCircle then
  244. DrawCircle(ennemyHero.hero.x, ennemyHero.hero.y, ennemyHero.hero.z, ennemyControl.alert.circleSize, 0xFFFF0000)
  245. end
  246. end
  247. end
  248. end
  249. function OnTick()
  250. if gameOver.gameIsOver() == true then return end
  251. -- walkaround OnWndMsg bug
  252. ennemyControl.shiftKeyPressed = IsKeyDown(16)
  253. if ennemyControl.shiftKeyPressed and IsKeyDown(1) then
  254. if cursorIsUnder(ennemyControl.display.x + 10, ennemyControl.display.y, 50, 10) then
  255. ennemyControl.display.move = true
  256. elseif cursorIsUnder(ennemyControl.display.x, ennemyControl.display.y + 10, 10, ennemyControl.case_gap - 10) then
  257. ennemyControl.display.rotation = ennemyControl.display.rotation + 1
  258. if ennemyControl.display.rotation > 3 then ennemyControl.display.rotation = 0 end
  259. ennemyControl.writeConfigs()
  260. else
  261. for i,ennemyHero in pairs(ennemyControl.ennemyHeros) do
  262. if cursorIsUnder(ennemyHero.display.icon.x, ennemyHero.display.icon.y, 40, 40) then
  263. ennemyHero.extended = (ennemyHero.extended == false)
  264. break
  265. end
  266. end
  267. end
  268. elseif ennemyControl.display.move and IsKeyDown(1) == false then
  269. ennemyControl.display.move = false
  270. ennemyControl.writeConfigs()
  271. ennemyControl.display.cursorShift = nil
  272. end
  273. -- move display
  274. if ennemyControl.display.move == true then
  275. if ennemyControl.display.cursorShift == nil or ennemyControl.display.cursorShift.x == nil or ennemyControl.display.cursorShift.y == nil then
  276. ennemyControl.display.cursorShift = { x = GetCursorPos().x - ennemyControl.display.x, y = GetCursorPos().y - ennemyControl.display.y, }
  277. else
  278. ennemyControl.display.x = GetCursorPos().x - ennemyControl.display.cursorShift.x
  279. ennemyControl.display.y = GetCursorPos().y - ennemyControl.display.cursorShift.y
  280. end
  281. end
  282. --update ennemy
  283. for i,ennemyHero in pairs(ennemyControl.ennemyHeros) do
  284. if ennemyControl.display.move then ennemyControl.refreshDrawPositions(i) end
  285. ennemyControl.updateEnnemyData(i)
  286. end
  287. end
  288. function OnLoad()
  289. gameOver.OnLoad()
  290. if ennemyControl.minimapHack and minimap == nil then
  291. require "minimap"
  292. miniMap.OnLoad()
  293. end
  294. if file_exists(ennemyControl.configFile) then ennemyControl.display = assert(loadfile(ennemyControl.configFile))() end
  295. local ennemyHerosCount = 0
  296. for i = 1, heroManager.iCount, 1 do
  297. local hero = heroManager:getHero(i)
  298. if hero ~= nil and hero.team ~= player.team then
  299. ennemyHerosCount = ennemyHerosCount + 1
  300. ennemyControl.ennemyHeros[ennemyHerosCount] = {}
  301. ennemyControl.ennemyHeros[ennemyHerosCount].hero = hero
  302. ennemyControl.ennemyHeros[ennemyHerosCount].charName = hero.charName
  303. ennemyControl.ennemyHeros[ennemyHerosCount].extended = false
  304. ennemyControl.ennemyHeros[ennemyHerosCount].display = {}
  305. ennemyControl.ennemyHeros[ennemyHerosCount].spellState = {}
  306. ennemyControl.ennemyHeros[ennemyHerosCount].lastSpellState = {}
  307. ennemyControl.ennemyHeros[ennemyHerosCount].spellCd = {}
  308. ennemyControl.ennemyHeros[ennemyHerosCount].lastSpellCd = {}
  309. ennemyControl.ennemyHeros[ennemyHerosCount].spellCurrentCd = {}
  310. ennemyControl.ennemyHeros[ennemyHerosCount].spellCurrentCdDraw = {}
  311. if hero.isAI then
  312. ennemyControl.ennemyHeros[ennemyHerosCount].spellLearned = {false, false, false, false}
  313. end
  314. ennemyControl.herosSprite[hero.charName] = returnSprite("Characters/"..hero.charName.."_Square_40.dds", "empty_Square_40.dds")
  315. if ennemyControl.minimapHack then
  316. ennemyControl.minimapSprite[hero.charName] = returnSprite("Characters/"..hero.charName.."_Square_16.dds", "empty_Square_16.dds")
  317. end
  318. -- SPELL SUMMONERS SPRITES
  319. ennemyControl.ennemyHeros[ennemyHerosCount].summonerSpellName = {}
  320. for j = 1, 2 do
  321. local summonerSpellName = hero:GetSpellData(ennemyControl.summoners[j]).name
  322. ennemyControl.ennemyHeros[ennemyHerosCount].summonerSpellName[j] = summonerSpellName
  323. if ennemyControl.summonerSprite[summonerSpellName] == nil then
  324. ennemyControl.summonerSprite[summonerSpellName] = returnSprite("Spells/"..summonerSpellName.."_20.dds", "empty_Square_20.dds")
  325. end
  326. end
  327. ennemyControl.refreshDrawPositions(ennemyHerosCount)
  328. ennemyControl.updateEnnemyData(ennemyHerosCount)
  329. end
  330. end
  331. ennemyControl.teamFrame = returnSprite("ennemyControl/TeamFrame_80.dds")
  332. ennemyControl.teamFrameR = returnSprite("ennemyControl/TeamFrame_80_R.dds")
  333. ennemyControl.champInfos = returnSprite("ennemyControl/Champ_Infos_50.dds")
  334. ennemyControl.spriteultiready = returnSprite("ennemyControl/UltiReady_12.dds")
  335. end
  336. end

comments powered by Disqus