forked from kungur77/BoL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAatrox - The Darkin Blade.lua
609 lines (550 loc) · 19.1 KB
/
Aatrox - The Darkin Blade.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
--[[
[Script] Aatrox - The Darkin Blade 1.1.1 by Skeem
Features:
- Prodiction for VIPs, NonVIP prediction
- Full Combo:
- Full E + Q + R Combo
- Uses smart W with menu toggle
- Items toggle in combo menu
- Orbwalking Toggle in combo menu
- Harass Settings:
- Uses E+Q Combo to harass
- Toggle to use Q in harass (Off by default)
- Orbwalking toggle for harass in menu
- Farming Settings:
- Toggle to farm with E in menu (Off by default)
- Jungle Clear Settings:
- Toggle to use Q to clear jungle
- Toggle to use E to clear jungle
- Toggle to orbwalk the jungle minions
- KillSteal Settings:
- Smart KillSteal with Overkill Check:
- Checks for enemy health < Q, E, QE
- Toggle for Auto Ignite
- Drawing Settings:
- Toggle to draw if enemy is killable
- Toggle to draw Q Range if available
- Toggle to draw E Range if available (Off by default)
- Misc Settings:
- Q to Mouse for panicking moments
- Toggle for Auto Mana / Health Pots
Credits & Mentions
- Kain because I've used some of his code and learned a lot from his scripts
- Sida / Manciuszz for orbwalking stuff and Bothappy for showing me it
- Bothappy , so many things to thank you for where to begin haha !
- updated Jungle Names from his autosmite
- script reviewing making sure I had no mistakes
- Testing, and taught me the best ways to do certain functions
- Everyone at the KKK crew who tested this script and gave awesome suggestions!
Changelog:
1.0 - First Release!
1.1 - Updated Everything!! no longer autocarry script
1.1.1 - Added item usage
]]--
-- Name Check --
if myHero.charName ~= "Aatrox" then return end
if VIP_USER then
require "Prodiction"
require "Collision"
end
-- Loading Function --
function OnLoad()
Variables()
AatroxMenu()
PrintChat("<font color='#0000FF'> >> Aatrox - The Darkin Blade 1.1.1 Loaded!! <<</font>")
end
-- OnTick function --
function OnTick()
Checks()
wCheck()
UseConsumables()
DamageCalculation()
-- Menu Vars --
ComboKey = AatroxMenu.combo.comboKey
FarmingKey = AatroxMenu.farming.farmKey
HarassKey = AatroxMenu.harass.harassKey
JungleKey = AatroxMenu.jungle.jungleKey
if ComboKey then FullCombo() end
if HarassKey then HarassCombo() end
if JungleKey then JungleClear() end
if AatroxMenu.ks.killSteal then KillSteal() end
if AatroxMenu.ks.autoIgnite then AutoIgnite() end
if FarmingKey and not (ComboKey or HarassKey) then FarmMinions() end
end
-- Our Variables --
function Variables()
qRange, eRange, rRange = 650, 1000, 300
qName, wName, eName, rName = "Dark Flight", "Blood Thirst", "Blades of Torment", "Massacre"
qReady, wReady, eReady, rReady = false, false, false, false
if VIP_USER then
qSpeed, qDelay, qWidth = 1800, .270, 280
eSpeed, eDelay, eWidth = 1200, .270, 80
qPos, ePos = nil, nil
Prodict = ProdictManager.GetInstance()
ProdictQ = Prodict:AddProdictionObject(_Q, qRange, qSpeed, qDelay, qWidth, myHero)
ProdictE = Prodict:AddProdictionObject(_E, eRange, eSpeed, eDelay, eWidth, myHero)
end
hpReady, fskReady, Recalling = false, false, false
TextList = {"Harass him!!", "Q+W+E KILL!!"}
KillText = {}
waittxt = {} -- prevents UI lags, all credits to Dekaron
usingHPot, usingUlt, rManual = false, false, false
for i=1, heroManager.iCount do waittxt[i] = i*3 end
enemyMinions = minionManager(MINION_ENEMY, eRange, player, MINION_SORT_HEALTH_ASC)
lastAnimation = nil
lastAttack = 0
lastAttackCD = 0
lastWindUpTime = 0
JungleMobs = {}
JungleFocusMobs = {}
-- Stolen from Apple who Stole it from Sida --
JungleMobNames = { -- List stolen from SAC Revamped. Sorry, Sida!
["wolf8.1.1"] = true,
["wolf8.1.2"] = true,
["YoungLizard7.1.2"] = true,
["YoungLizard7.1.3"] = true,
["LesserWraith9.1.1"] = true,
["LesserWraith9.1.2"] = true,
["LesserWraith9.1.4"] = true,
["YoungLizard10.1.2"] = true,
["YoungLizard10.1.3"] = true,
["SmallGolem11.1.1"] = true,
["wolf2.1.1"] = true,
["wolf2.1.2"] = true,
["YoungLizard1.1.2"] = true,
["YoungLizard1.1.3"] = true,
["LesserWraith3.1.1"] = true,
["LesserWraith3.1.2"] = true,
["LesserWraith3.1.4"] = true,
["YoungLizard4.1.2"] = true,
["YoungLizard4.1.3"] = true,
["SmallGolem5.1.1"] = true,
}
FocusJungleNames = {
["Dragon6.1.1"] = true,
["Worm12.1.1"] = true,
["GiantWolf8.1.1"] = true,
["AncientGolem7.1.1"] = true,
["Wraith9.1.1"] = true,
["LizardElder10.1.1"] = true,
["Golem11.1.2"] = true,
["GiantWolf2.1.1"] = true,
["AncientGolem1.1.1"] = true,
["Wraith3.1.1"] = true,
["LizardElder4.1.1"] = true,
["Golem5.1.2"] = true,
["GreatWraith13.1.1"] = true,
["GreatWraith14.1.1"] = true,
}
for i = 0, objManager.maxObjects do
local object = objManager:getObject(i)
if object ~= nil then
if FocusJungleNames[object.name] then
table.insert(JungleFocusMobs, object)
elseif JungleMobNames[object.name] then
table.insert(JungleMobs, object)
end
end
end
end
-- Our Menu --
function AatroxMenu()
AatroxMenu = scriptConfig("Aatrox - The Darkin Blade", "Aatrox")
AatroxMenu:addSubMenu("["..myHero.charName.." - Combo Settings]", "combo")
AatroxMenu.combo:addParam("comboKey", "Full Combo Key (X)", SCRIPT_PARAM_ONKEYDOWN, false, 88)
AatroxMenu.combo:addParam("comboItems", "Use Items with Burst", SCRIPT_PARAM_ONOFF, true)
AatroxMenu.combo:addParam("comboW", "Use "..wName.." (W)", SCRIPT_PARAM_ONOFF, true)
AatroxMenu.combo:addParam("comboWHealth", "Minimum Health Heal W", SCRIPT_PARAM_SLICE, 50, 0, 100, -1)
AatroxMenu.combo:addParam("comboR", "Use "..rName.." (R)", SCRIPT_PARAM_ONOFF, true)
AatroxMenu.combo:addParam("comboRHealth", "Minimum Enemy Health to R", SCRIPT_PARAM_SLICE, 60, 0, 100, -1)
AatroxMenu.combo:addParam("comboOrbwalk", "OrbWalk on Combo", SCRIPT_PARAM_ONOFF, true)
AatroxMenu.combo:permaShow("comboKey")
AatroxMenu:addSubMenu("["..myHero.charName.." - Harass Settings]", "harass")
AatroxMenu.harass:addParam("harassKey", "Harass Hotkey (C)", SCRIPT_PARAM_ONKEYDOWN, false, 67)
AatroxMenu.harass:addParam("harassQ", "Use "..qName.." (Q)", SCRIPT_PARAM_ONOFF, false)
AatroxMenu.harass:addParam("harassOrbwalk", "OrbWalk on Harass", SCRIPT_PARAM_ONOFF, true)
AatroxMenu.harass:permaShow("harassKey")
AatroxMenu:addSubMenu("["..myHero.charName.." - Farming Settings]", "farming")
AatroxMenu.farming:addParam("farmKey", "Farming ON/Off (Z)", SCRIPT_PARAM_ONKEYTOGGLE, false, 90)
AatroxMenu.farming:addParam("eFarm", "Farm with "..eName.." (E)", SCRIPT_PARAM_ONOFF, false)
AatroxMenu.farming:permaShow("farmKey")
AatroxMenu:addSubMenu("["..myHero.charName.." - Clear Settings]", "jungle")
AatroxMenu.jungle:addParam("jungleKey", "Jungle Clear Key (V)", SCRIPT_PARAM_ONKEYDOWN, false, 86)
AatroxMenu.jungle:addParam("jungleQ", "Clear with "..qName.." (Q)", SCRIPT_PARAM_ONOFF, true)
AatroxMenu.jungle:addParam("jungleE", "Clear with "..eName.." (E)", SCRIPT_PARAM_ONOFF, true)
AatroxMenu.jungle:addParam("jungleOrbwalk", "Orbwalk the Jungle", SCRIPT_PARAM_ONOFF, true)
AatroxMenu:addSubMenu("["..myHero.charName.." - KillSteal Settings]", "ks")
AatroxMenu.ks:addParam("killSteal", "Use Smart Kill Steal", SCRIPT_PARAM_ONOFF, true)
AatroxMenu.ks:addParam("autoIgnite", "Auto Ignite", SCRIPT_PARAM_ONOFF, true)
AatroxMenu.ks:permaShow("killSteal")
AatroxMenu:addSubMenu("["..myHero.charName.." - Drawing Settings]", "drawing")
AatroxMenu.drawing:addParam("mDraw", "Disable All Ranges Drawing", SCRIPT_PARAM_ONOFF, false)
AatroxMenu.drawing:addParam("cDraw", "Draw Enemy Text", SCRIPT_PARAM_ONOFF, true)
AatroxMenu.drawing:addParam("qDraw", "Draw "..qName.." (Q) Range", SCRIPT_PARAM_ONOFF, true)
AatroxMenu.drawing:addParam("eDraw", "Draw "..eName.." (E) Range", SCRIPT_PARAM_ONOFF, false)
AatroxMenu:addSubMenu("["..myHero.charName.." - Misc Settings]", "misc")
AatroxMenu.misc:addParam("qRun", "Q To Mouse (G)", SCRIPT_PARAM_ONKEYDOWN, false, 71)
AatroxMenu.misc:addParam("aHP", "Auto Health Pots", SCRIPT_PARAM_ONOFF, true)
AatroxMenu.misc:addParam("HPHealth", "Min % for Health Pots", SCRIPT_PARAM_SLICE, 50, 0, 100, -1)
AatroxMenu.misc:permaShow("qRun")
TargetSelector = TargetSelector(TARGET_LOW_HP, eRange,DAMAGE_MAGIC)
TargetSelector.name = "Aatrox"
AatroxMenu:addTS(TargetSelector)
end
-- Our Full Combo Function --
function FullCombo()
if AatroxMenu.combo.comboOrbwalk then
if Target ~= nil then
OrbWalking(Target)
else
moveToCursor()
end
end
if Target ~= nil then
if AatroxMenu.combo.comboItems then
UseItems(Target)
end
if AatroxMenu.combo.comboW then
if not wActive() and wReady and myHero.health > (myHero.maxHealth * ( AatroxMenu.combo.comboWHealth / 100)) then
CastSpell(_W)
end
if wActive() and wReady and myHero.health < (myHero.maxHealth * ( AatroxMenu.combo.comboWHealth / 100)) then
CastSpell(_W)
end
end
if AatroxMenu.combo.comboR then
if rReady and GetDistance(Target) <= rRange and Target.health < (myHero.maxHealth * ( AatroxMenu.combo.comboRHealth / 100)) then
CastSpell(_R)
end
end
if eReady and GetDistance(Target) <= eRange then CastE(Target) end
if qReady and GetDistance(Target) <= qRange then CastQ(Target) end
end
end
-- Harrass Combo Function --
function HarassCombo()
if AatroxMenu.harass.harassOrbwalk then
if Target ~= nil then
OrbWalking(Target)
else
moveToCursor()
end
end
if Target ~= nil then
if eReady and GetDistance(Target) <= eRange then CastE(Target) end
if AatroxMenu.harass.harassQ and qReady and GetDistance(Target) <= qRange then CastQ(Target) end
end
end
-- Farming Function --
function FarmMinions()
for _, minion in pairs(enemyMinions.objects) do
local eMinionDmg = getDmg("E", minion, myHero)
if ValidTarget(minion) then
if AatroxMenu.farming.eFarm and eReady and GetDistance(minion) <= eRange and minion.health <= eMinionDmg then
CastSpell(_E, minion.x, minion.z)
end
end
end
end
-- Jungle Farming --
function JungleClear()
JungleMob = GetJungleMob()
if AatroxMenu.jungle.jungleOrbwalk then
if JungleMob ~= nil then
OrbWalking(JungleMob)
else
moveToCursor()
end
end
if JungleMob ~= nil then
if AatroxMenu.jungle.jungleQ and GetDistance(JungleMob) <= qRange then CastSpell(_Q, JungleMob.x, JungleMob.z) end
if AatroxMenu.jungle.jungleE and GetDistance(JungleMob) <= eRange then CastSpell(_E, JungleMob.x, JungleMob.z) end
end
end
-- Get Jungle Mob --
function GetJungleMob()
for _, Mob in pairs(JungleFocusMobs) do
if ValidTarget(Mob, qRange) then return Mob end
end
for _, Mob in pairs(JungleMobs) do
if ValidTarget(Mob, qRange) then return Mob end
end
end
-- Casting W into Enemies --
function CastQ(enemy)
if not enemy then
enemy = Target
end
if Target ~= nil then
if VIP_USER then
if qPos ~= nil then
CastSpell(_Q, qPos.x, qPos.z)
end
else
CastSpell(_Q, enemy.x, enemy.z)
end
end
end
function CastE(enemy)
if not enemy then
enemy = Target
end
if Target ~= nil then
if VIP_USER then
if ePos ~= nil then
CastSpell(_E, ePos.x, ePos.z)
end
else
CastSpell(_E, enemy.x, enemy.z)
end
end
end
function UseItems(enemy)
if not enemy then
enemy = Target
end
if Target ~= nil then
if hxgReady and GetDistance(enemy) <= 600 then CastSpell(hxgSlot, enemy) end
if bwcReady and GetDistance(enemy) <= 450 then CastSpell(bwcSlot, enemy) end
if brkReady and GetDistance(enemy) <= 450 then CastSpell(brkSlot, enemy) end
if tmtReady and GetDistance(enemy) <= 185 then CastSpell(tmtSlot) end
if hdrReady and GetDistance(enemy) <= 185 then CastSpell(hdrSlot) end
end
end
-- KillSteal function --
function KillSteal()
if Target ~= nil then
if qReady and Target.health <= qDmg and GetDistance(Target) <= qRange then
CastQ(Target)
elseif eReady and Target.health <= eDmg and GetDistance(Target) <= eRange then
CastE(Target)
elseif qReady and eReady and Target.health <= (qDmg + eDmg) and GetDistance(Target) <= eRange then
CastE(Target)
CastQ(Target)
end
end
end
-- Auto Ignite --
function AutoIgnite()
if Target ~= nil then
if Target.health <= iDmg and GetDistance(Target) <= 600 then
if iReady then CastSpell(ignite, Target) end
end
end
end
-- Using our consumables --
function UseConsumables()
if not InFountain() and not Recalling and Target ~= nil then
if AatroxMenu.misc.aHP and myHero.health < (myHero.maxHealth * (AatroxMenu.misc.HPHealth / 100))
and not (usingHPot or usingFlask) and (hpReady or fskReady) then
CastSpell((hpSlot or fskSlot))
end
end
end
-- Damage Calculations --
function DamageCalculation()
for i=1, heroManager.iCount do
local enemy = heroManager:GetHero(i)
if ValidTarget(enemy) then
dfgDmg, hxgDmg, bwcDmg, iDmg = 0, 0, 0, 0
qDmg, eDmg = 0, 0
if qReady then qDmg = getDmg("Q",enemy,myHero) end
if eReady then eDmg = getDmg("E",enemy,myHero) end
if dfgReady then dfgDmg = (dfgSlot and getDmg("DFG",enemy,myHero) or 0) end
if hxgReady then hxgDmg = (hxgSlot and getDmg("HXG",enemy,myHero) or 0) end
if bwcReady then bwcDmg = (bwcSlot and getDmg("BWC",enemy,myHero) or 0) end
if iReady then iDmg = (ignite and getDmg("IGNITE",enemy,myHero) or 0) end
onspellDmg = (liandrysSlot and getDmg("LIANDRYS",enemy,myHero) or 0)+(blackfireSlot and getDmg("BLACKFIRE",enemy,myHero) or 0)
itemsDmg = dfgDmg + hxgDmg + bwcDmg + iDmg + onspellDmg
KillText[i] = 1
if enemy.health <= (qDmg + eDmg + itemsDmg) then
KillText[i] = 2
end
end
end
end
-- Object Handling Functions --
function OnCreateObj(obj)
if obj ~= nil then
if obj.name:find("Global_Item_HealthPotion.troy") then
if GetDistance(obj, myHero) <= 70 then
usingHPot = true
usingFlask = true
end
end
if obj.name:find("TeleportHome.troy") then
if GetDistance(obj) <= 70 then
Recalling = true
end
end
if FocusJungleNames[obj.name] then
table.insert(JungleFocusMobs, obj)
elseif JungleMobNames[obj.name] then
table.insert(JungleMobs, obj)
end
end
end
function OnDeleteObj(obj)
if obj ~= nil then
if obj.name:find("Global_Item_HealthPotion.troy") then
if GetDistance(obj) <= 70 then
usingHPot = false
usingFlask = false
end
end
if obj.name:find("TeleportHome.troy") then
if GetDistance(obj) <= 70 then
Recalling = false
end
end
for i, Mob in pairs(JungleMobs) do
if obj.name == Mob.name then
table.remove(JungleMobs, i)
end
end
for i, Mob in pairs(JungleFocusMobs) do
if obj.name == Mob.name then
table.remove(JungleFocusMobs, i)
end
end
end
end
-- Recalling Functions --
function OnRecall(hero, channelTimeInMs)
if hero.networkID == player.networkID then
Recalling = true
end
end
function OnAbortRecall(hero)
if hero.networkID == player.networkID then
Recalling = false
end
end
function OnFinishRecall(hero)
if hero.networkID == player.networkID then
Recalling = false
end
end
-- W Functions --
function wActive()
if myHero:GetSpellData(_W).name == "aatroxw2" then
return true
else
return fase
end
end
function wCheck()
if wActive() and wReady and myHero.health < (myHero.maxHealth * ( AatroxMenu.combo.comboWHealth / 100)) then
CastSpell(_W)
end
end
-- Function OnDraw --
function OnDraw()
--> Ranges
if not AatroxMenu.drawing.mDraw and not myHero.dead then
if qReady and AatroxMenu.drawing.qDraw then
DrawCircle(myHero.x, myHero.y, myHero.z, qRange, 0x0000FF)
end
if eReady and AatroxMenu.drawing.eDraw then
DrawCircle(myHero.x, myHero.y, myHero.z, eRange, 0x0000FF)
end
end
if AatroxMenu.drawing.cDraw then
for i=1, heroManager.iCount do
local Unit = heroManager:GetHero(i)
if ValidTarget(Unit) then
if waittxt[i] == 1 and (KillText[i] ~= nil or 0 or 1) then
PrintFloatText(Unit, 0, TextList[KillText[i]])
end
end
if waittxt[i] == 1 then
waittxt[i] = 30
else
waittxt[i] = waittxt[i]-1
end
end
end
end
--Based on Manciuzz Orbwalker http://pastebin.com/jufCeE0e
function OrbWalking(Target)
if TimeToAttack() and GetDistance(Target) <= myHero.range + GetDistance(myHero.minBBox) then
myHero:Attack(Target)
elseif heroCanMove() then
moveToCursor()
end
end
function TimeToAttack()
return (GetTickCount() + GetLatency()/2 > lastAttack + lastAttackCD)
end
function heroCanMove()
return (GetTickCount() + GetLatency()/2 > lastAttack + lastWindUpTime + 20)
end
function moveToCursor()
if GetDistance(mousePos) then
local moveToPos = myHero + (Vector(mousePos) - myHero):normalized()*300
myHero:MoveTo(moveToPos.x, moveToPos.z)
end
end
function OnProcessSpell(object,spell)
if object == myHero then
if spell.name:lower():find("attack") then
lastAttack = GetTickCount() - GetLatency()/2
lastWindUpTime = spell.windUpTime*1000
lastAttackCD = spell.animationTime*1000
end
end
end
function OnAnimation(unit,animationName)
if unit.isMe and lastAnimation ~= animationName then lastAnimation = animationName end
end
-- Spells/Items Checks --
function Checks()
-- Updates Targets --
TargetSelector:update()
Target = TargetSelector.target
-- Finds Ignite --
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
-- Slots for Items / Pots / Wards --
rstSlot, ssSlot, swSlot, vwSlot = GetInventorySlotItem(2045),
GetInventorySlotItem(2049),
GetInventorySlotItem(2044),
GetInventorySlotItem(2043)
dfgSlot, hxgSlot, bwcSlot, brkSlot = GetInventorySlotItem(3128),
GetInventorySlotItem(3146),
GetInventorySlotItem(3144),
GetInventorySlotItem(3153)
hpSlot, mpSlot, fskSlot = GetInventorySlotItem(2003),
GetInventorySlotItem(2004),
GetInventorySlotItem(2041)
znaSlot, wgtSlot = GetInventorySlotItem(3157),
GetInventorySlotItem(3090)
-- Spells --
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)
-- Items --
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)
znaReady = (znaSlot ~= nil and myHero:CanUseSpell(znaSlot) == READY)
wgtReady = (wgtSlot ~= nil and myHero:CanUseSpell(wgtSlot) == READY)
-- Pots --
hpReady = (hpSlot ~= nil and myHero:CanUseSpell(hpSlot) == READY)
mpReady =(mpSlot ~= nil and myHero:CanUseSpell(mpSlot) == READY)
fskReady = (fskSlot ~= nil and myHero:CanUseSpell(fskSlot) == READY)
-- Updates Minions --
enemyMinions:update()
if VIP_USER then
if ValidTarget(Target) then
qPos = ProdictQ:GetPrediction(Target)
ePos = ProdictE:GetPrediction(Target)
end
end
end