forked from TheShaunyboi/Bruhwalker-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Orbwalker.lua
1944 lines (1838 loc) · 87.9 KB
/
Orbwalker.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
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
local Version = 1.02
local function AutoUpdate()
local url = "https://raw.githubusercontent.com/Ark223/Bruhwalker/main/"
local result = http:get(url .. "Orbwalker.version")
if result and result ~= "" and tonumber(result) > Version then
http:download_file(url .. "Orbwalker.lua", "Orbwalker.lua")
console:log("[Orbwalker] Successfully updated. Please reload!")
end
end
local Class = function(...)
local cls = {}; cls.__index = cls
cls.__call = function(_, ...) return cls:New(...) end
function cls:New(...)
local instance = setmetatable({}, cls)
cls.__init(instance, ...)
return instance
end
return setmetatable(cls, {__call = cls.__call})
end
local myHero = game.local_player
local prediction = _G.Prediction
if not prediction then return end
--------------------------------------
-- Language INtegrated Query (LINQ) --
local function ParseFunc(func)
if func == nil then return function(x) return x end end
if type(func) == "function" then return func end
local index = string.find(func, "=>")
local arg = string.sub(func, 1, index - 1)
local func = string.sub(func, index + 2, #func)
return load(string.format("return function"
.. " %s return %s end", arg, func))()
end
local function Linq(tab)
return setmetatable(tab or {}, {__index = table})
end
function table.All(source, func)
local func = ParseFunc(func)
for index, value in ipairs(source) do
if not func(value, index) then
return false
end
end
return true
end
function table.Any(source, func)
local func = ParseFunc(func)
for index, value in ipairs(source) do
if func(value, index) then
return true
end
end
return false
end
function table.Concat(first, second)
local result, index = Linq(), 0
for _, value in ipairs(first) do
index = index + 1
result[index] = value
end
for _, value in ipairs(second) do
index = index + 1
result[index] = value
end
return result
end
function table.Distinct(source)
local result = Linq()
local hash, index = {}, 0
for _, value in ipairs(source) do
if hash[value] == nil then
index = index + 1
result[index] = value
hash[value] = true
end
end
return result
end
function table.First(source, func)
local func = ParseFunc(func)
for index, value in ipairs(source) do
if func(value, index) then
return value
end
end
return nil
end
function table.ForEach(source, func)
for index, value in pairs(source) do
func(value, index)
end
end
function table.Last(source, func)
local func = ParseFunc(func)
for index = #source, 1, -1 do
local value = source[index]
if func(value, index) then
return value
end
end
return nil
end
function table.Select(source, func)
local result = Linq()
local func = ParseFunc(func)
for index, value in ipairs(source) do
result[index] = func(value, index)
end
return result
end
function table.Where(source, func)
local result, iteration = Linq(), 0
local func = ParseFunc(func)
for index, value in ipairs(source) do
if func(value, index) then
iteration = iteration + 1
result[iteration] = value
end
end
return result
end
-----------------------------
-- Merge sorting algorithm --
function Merge(array, left, mid, right, comp)
local i, j, k, temp = left, mid + 1, left, {}
for p = left, right do temp[p] = array[p] end
-- merge the temp arrays back into array
while i <= mid and j <= right do
if not comp(temp[i], temp[j]) then
array[k] = temp[i]
k, i = k + 1, i + 1
else
array[k] = temp[j]
k, j = k + 1, j + 1
end
end
-- copy the remaining elements
while i <= mid do
array[k] = temp[i]
k, i = k + 1, i + 1
end
end
function MergeSort(array, left, right, comp)
if left >= right then return end
local mid = math.floor((left + right) / 2)
MergeSort(array, left, mid, comp)
MergeSort(array, mid + 1, right, comp)
Merge(array, left, mid, right, comp)
end
table.merge_sort = function(array, comp)
MergeSort(array, 1, #array, comp or
function(a, b) return a > b end)
end
----------------------
-- Access validator --
--[[
local id, users = tostring(client.id), Linq()
local resp = http:get("https://raw.githubusercontent.com/Ark223/Bruhwalker/main/Access.txt")
if not resp or resp == "" then
console:log("[Orbwalker] Failed to read response from server!")
return
end
for str in resp:gmatch("[^\r\n]+") do users[#users + 1] = str end
if not users:Any(function(s) return s == id end) then
console:log("[Orbwalker] You are not authorised to use this script.")
console:log("[Orbwalker] Contact Uncle Ark in order to gain the access.")
console:log(string.format("[Orbwalker] Your client ID: %s", id))
return
end
--]]
------------------
-- Damage class --
local Damage = Class()
function Damage:__init()
self.heroPassives = {
["Aatrox"] = function(args) local source = args.source
if not source:has_buff("aatroxpassiveready") then return end
args.rawPhysical = args.rawPhysical + (4.59 + 0.41
* source.level) * 0.01 * args.unit.max_health
end,
["Akali"] = function(args) local source = args.source
if not source:has_buff("akalishadowstate") then return end
local mod = ({35, 38, 41, 44, 47, 50, 53, 62, 71, 80,
89, 98, 107, 122, 137, 152, 167, 182})[source.level]
args.rawMagical = args.rawMagical + mod + 0.55 *
source.ability_power + 0.6 * source.bonus_attack_damage
end,
["Akshan"] = function(args) local source = args.source
local buff = args.unit:get_buff("AkshanPassiveDebuff")
if not buff or buff.count ~= 2 then return end
local mod = ({20, 25, 30, 35, 40, 45, 50, 55, 65, 75,
85, 95, 105, 115, 130, 145, 160, 175})[source.level]
args.rawMagical = args.rawMagical + mod
end,
["Ashe"] = function(args) local source = args.source
local totalDmg = source.total_attack_damage
local slowed = args.unit:has_buff("ashepassiveslow")
local mod = 0.0075 + (source:has_item(3031) and 0.0035 or 0)
local percent = slowed and 0.1 + source.crit_chance * mod or 0
args.rawPhysical = args.rawPhysical + percent * totalDmg
if not source:has_buff("AsheQAttack") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawPhysical = args.rawPhysical * (1 + 0.05 * lvl)
end,
["Bard"] = function(args) local source = args.source
if not source:has_buff("bardpspiritammocount") then return end
local chimes = source:get_buff("bardpdisplaychimecount")
if not chimes or chimes.count <= 0 then return end
args.rawMagical = args.rawMagical + (12 * math.floor(
chimes.count / 5)) + 30 + 0.3 * source.ability_power
end,
["Blitzcrank"] = function(args) local source = args.source
if not source:has_buff("PowerFist") then return end
args.rawPhysical = args.rawPhysical + source.total_attack_damage
end,
["Braum"] = function(args) local source = args.source
local buff = args.unit:get_buff("BraumMark")
if not buff or buff.count ~= 3 then return end
args.rawMagical = args.rawMagical + 16 + 10 * source.level
end,
["Caitlyn"] = function(args) local source = args.source
if not source:has_buff("caitlynpassivedriver") then return end
local mod = 1.09375 + (source:has_item(3031) and 0.21875 or 0)
args.rawPhysical = args.rawPhysical + (1 + (mod * 0.01 *
source.crit_chance)) * source.total_attack_damage
end,
["Camille"] = function(args) local source = args.source
local lvl = spellbook:get_spell_slot(SLOT_Q).level
if source:has_buff("CamilleQ") then
args.rawPhysical = args.rawPhysical + (0.15 +
0.05 * lvl) * source.total_attack_damage
elseif source:has_buff("CamilleQ2") then
args.trueDamage = args.trueDamage + math.min(
0.36 + 0.04 * source.level, 1) * (0.3 +
0.1 * lvl) * source.total_attack_damage
end
end,
["Chogath"] = function(args) local source = args.source
if not source:has_buff("VorpalSpikes") then return end
local lvl = spellbook:get_spell_slot(SLOT_E).level
args.rawMagical = args.rawMagical + 10 + 12 * lvl + 0.3 *
source.ability_power + 0.03 * args.unit.max_health
end,
["Darius"] = function(args) local source = args.source
if not source:has_buff("DariusNoxianTacticsONH") then return end
local lvl = spellbook:get_spell_slot(SLOT_W).level
args.rawPhysical = args.rawPhysical + (0.35 +
0.05 * lvl) * source.total_attack_damage
end,
["Diana"] = function(args) local source = args.source
local buff = source:get_buff("dianapassivemarker")
if not buff or buff.count ~= 2 then return end
local mod = ({20, 25, 30, 35, 40, 55, 65, 75, 85,
95, 120, 135, 150, 165, 180, 210, 230, 250})[source.level]
args.rawMagical = args.rawMagical + mod + 0.4 * source.ability_power
end,
["Draven"] = function(args) local source = args.source
if not source:has_buff("DravenSpinningAttack") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawPhysical = args.rawPhysical + 35 + 5 * lvl +
(0.6 + 0.1 * lvl) * source.bonus_attack_damage
end,
["DrMundo"] = function(args) local source = args.source
if not source:has_buff("DrMundoE") then return end
--[[ local lvl = spellbook:get_spell_slot(SLOT_E).level
local bonusHealth = source.max_health - (494 + source.level * 89)
args.rawPhysical = args.rawPhysical + (0.14 * bonusHealth - 10
+ 20 * lvl) * (1 + 1.5 * math.min((source.max_health
- source.health) / source.max_health, 0.4)) --]]
end,
["Ekko"] = function(args) local source = args.source
local buff = args.unit:get_buff("ekkostacks")
if buff ~= nil and buff.count == 2 then
local mod = ({30, 40, 50, 60, 70, 80, 85, 90, 95, 100,
105, 110, 115, 120, 125, 130, 135, 140})[source.level]
args.rawMagical = args.rawMagical + mod + 0.8 * source.ability_power
end
if source:has_buff("ekkoeattackbuff") then
local lvl = spellbook:get_spell_slot(SLOT_E).level
args.rawMagical = args.rawMagical + 25 +
25 * lvl + 0.4 * source.ability_power
end
end,
["Fizz"] = function(args) local source = args.source
if not source:has_buff("FizzW") then return end
local lvl = spellbook:get_spell_slot(SLOT_W).level
args.rawMagical = args.rawMagical + 30 +
20 * lvl + 0.5 * source.ability_power
end,
["Galio"] = function(args) local source = args.source
if not source:has_buff("galiopassivebuff") then return end
--[[ local bonusResist = source.mr - (30.75 + 1.25 * source.level)
args.rawMagical, args.rawPhysical = args.rawMagical + 4.12 +
10.88 * source.level + source.total_attack_damage +
0.5 * source.ability_power + 0.6 * bonusResist, 0 --]]
end,
["Garen"] = function(args) local source = args.source
if not source:has_buff("GarenQ") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawPhysical = args.rawPhysical + 30 *
lvl + 0.5 * source.total_attack_damage
end,
["Gnar"] = function(args) local source = args.source
local buff = args.unit:get_buff("GnarWProc")
if not buff or buff.count ~= 2 then return end
local lvl = spellbook:get_spell_slot(SLOT_W).level
args.rawMagical = args.rawMagical - 10 + 10 * lvl + (0.04 +
0.02 * lvl) * args.unit.max_health + source.ability_power
end,
["Gragas"] = function(args) local source = args.source
if not source:has_buff("gragaswattackbuff") then return end
local lvl = spellbook:get_spell_slot(SLOT_W).level
args.rawMagical = args.rawMagical - 10 + 30 * lvl + 0.07
* args.unit.max_health + 0.7 * source.ability_power
end,
["Gwen"] = function(args) local source = args.source
args.rawMagical = args.rawMagical + (0.01 + 0.008 *
0.01 * source.ability_power) * args.unit.max_health
if args.unit.health / args.unit.max_health <= 0.4
and args.unit.champ_name:find("Minion") then
local mod = 6.71 + 1.29 * source.level
args.rawPhysical = args.rawPhysical + mod
elseif not args.unit.champ_name:find("Minion") then
args.rawMagical = math.max(args.rawMagical,
10 + 0.25 * source.ability_power)
end
end,
["Illaoi"] = function(args) local source = args.source
if not source:has_buff("IllaoiW") then return end
local lvl = spellbook:get_spell_slot(SLOT_W).level
local damage = math.min(300, math.max(10 + 10 * lvl,
args.unit.max_health * (0.025 + 0.005 * lvl
+ 0.0002 * source.total_attack_damage)))
args.rawPhysical = args.rawPhysical + damage
end,
["Irelia"] = function(args) local source = args.source
local buff = source:get_buff("ireliapassivestacks")
if not buff or buff.count ~= 4 then return end
args.rawMagical = args.rawMagical + 7 + 3 *
source.level + 0.3 * source.bonus_attack_damage
end,
["JarvanIV"] = function(args) local source = args.source
if not args.unit:has_buff("jarvanivmartialcadencecheck") then return end
local damage = math.min(400, math.max(20, 0.1 * args.unit.health))
args.rawPhysical = args.rawPhysical + damage
end,
["Jax"] = function(args) local source = args.source
if source:has_buff("JaxEmpowerTwo") then
local lvl = spellbook:get_spell_slot(SLOT_W).level
args.rawMagical = args.rawMagical + 5 +
35 * lvl + 0.6 * source.ability_power
end
if source:has_buff("JaxRelentlessAssault") then
local lvl = spellbook:get_spell_slot(SLOT_R).level
args.rawMagical = args.rawMagical + 60 +
40 * lvl + 0.7 * source.ability_power
end
end,
["Jayce"] = function(args) local source = args.source
if source:has_buff("JaycePassiveMeleeAttack") then
local mod = ({25, 25, 25, 25, 25, 65,
65, 65, 65, 65, 105, 105, 105, 105,
105, 145, 145, 145})[source.level]
args.rawMagical = args.rawMagical + mod
+ 0.25 * source.bonus_attack_damage
end -- JayceHyperCharge buff count not working?
end,
["Jhin"] = function(args) local source = args.source
if not source:has_buff("jhinpassiveattackbuff") then return end
local missingHealth, mod = args.unit.max_health - args.unit.health,
source.level < 6 and 0.15 or source.level < 11 and 0.2 or 0.25
args.rawPhysical = args.rawPhysical + mod * missingHealth
end,
["Jinx"] = function(args) local source = args.source
if not source:has_buff("JinxQ") then return end
args.rawPhysical = args.rawPhysical
+ source.total_attack_damage * 0.1
end,
["Kaisa"] = function(args) local source = args.source
local buff = args.unit:get_buff("kaisapassivemarker")
local count = buff ~= nil and buff.count or 0
local damage = ({1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3,
4, 4, 4, 4, 5, 5, 5})[source.level] * count +
(0.075 - 0.025 * count) * source.ability_power
if count == 4 then damage = damage +
(0.15 + (0.025 * source.ability_power / 100)) *
(args.unit.max_health - args.unit.health) end
args.rawMagical = args.rawMagical + damage
end,
["Kassadin"] = function(args) local source = args.source
local lvl = spellbook:get_spell_slot(SLOT_W).level
if source:has_buff("NetherBlade") then
args.rawMagical = args.rawMagical + 45 +
25 * lvl + 0.8 * source.ability_power
elseif lvl > 0 then
args.rawMagical = args.rawMagical +
20 + 0.1 * source.ability_power
end
end,
["Kayle"] = function(args) local source = args.source
local lvl = spellbook:get_spell_slot(SLOT_E).level
if lvl > 0 then args.rawMagical = args.rawMagical
+ 10 + 5 * lvl + 0.2 * source.ability_power
+ 0.1 * source.bonus_attack_damage end
if source:has_buff("JudicatorRighteousFury") then
args.rawMagical = args.rawMagical + (7 + lvl +
source.ability_power * 0.01 * 2) * 0.01 *
(args.unit.max_health - args.unit.health)
end
end,
["Kennen"] = function(args) local source = args.source
if not source:has_buff("kennendoublestrikelive") then return end
local lvl = spellbook:get_spell_slot(SLOT_W).level
args.rawMagical = args.rawMagical + 10 + 10 * lvl + (0.5 + 0.1 *
lvl) * source.bonus_attack_damage + 0.25 * source.ability_power
end,
["KogMaw"] = function(args) local source = args.source
if not source:has_buff("KogMawBioArcaneBarrage") then return end
local lvl = spellbook:get_spell_slot(SLOT_W).level
args.rawMagical = args.rawMagical + (0.02 + 0.01 * lvl +
0.0001 * source.ability_power) * args.unit.max_health
end,
["Leona"] = function(args) local source = args.source
if not source:has_buff("LeonaSolarFlare") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawMagical = args.rawMagical - 15 +
25 * lvl + 0.3 * source.ability_power
end,
["Lux"] = function(args) local source = args.source
if not args.unit:has_buff("LuxIlluminatingFraulein") then return end
args.rawMagical = args.rawMagical + 10 + 10 *
source.level + 0.2 * source.ability_power
end,
["Malphite"] = function(args) local source = args.source
if not source:has_buff("MalphiteCleave") then return end
local lvl = spellbook:get_spell_slot(SLOT_W).level
args.rawPhysical = args.rawPhysical + 15 + 15 * lvl
+ 0.2 * source.ability_power + 0.1 * source.armor
end,
["MasterYi"] = function(args) local source = args.source
if not source:has_buff("wujustylesuperchargedvisual") then return end
local lvl = spellbook:get_spell_slot(SLOT_E).level
args.trueDamage = args.trueDamage + 20 + 10 *
lvl + 0.35 * source.bonus_attack_damage
end,
-- MissFortune - can't detect buff ??
["Mordekaiser"] = function(args) local source = args.source
args.rawMagical = args.rawMagical + 0.4 * source.ability_power
end,
["Nami"] = function(args) local source = args.source
if not source:has_buff("NamiE") then return end
local lvl = spellbook:get_spell_slot(SLOT_E).level
args.rawMagical = args.rawMagical + 10 +
15 * lvl + 0.2 * source.ability_power
end,
["Nasus"] = function(args) local source = args.source
if not source:has_buff("NasusQ") then return end
local buff = source:get_buff("NasusQStacks")
local stacks = buff ~= nil and buff.count or 0
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawPhysical = args.rawPhysical + 10 + 20 * lvl + stacks
end,
["Nautilus"] = function(args) local source = args.source
if args.unit:has_buff("nautiluspassivecheck") then return end
args.rawPhysical = args.rawPhysical + 2 + 6 * source.level
end,
["Nidalee"] = function(args) local source = args.source
if not source:has_buff("Takedown") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawMagical = args.rawMagical + (-20 + 25 *
lvl + 0.75 * source.total_attack_damage + 0.4 *
source.ability_power) * ((args.unit.max_health -
args.unit.health) / args.unit.max_health + 1)
if args.unit:has_buff("NidaleePassiveHunted") then
args.rawMagical = args.rawMagical * 1.4 end
args.rawPhysical = 0
end,
["Neeko"] = function(args) local source = args.source
if not source:has_buff("neekowpassiveready") then return end
local lvl = spellbook:get_spell_slot(SLOT_W).level
args.rawMagical = args.rawMagical + 30 +
20 * lvl + 0.6 * source.ability_power
end,
["Nocturne"] = function(args) local source = args.source
if not source:has_buff("nocturneumbrablades") then return end
args.rawPhysical = args.rawPhysical + 0.2 * source.total_attack_damage
end,
["Orianna"] = function(args) local source = args.source
args.rawMagical = args.rawMagical + 2 + math.ceil(
source.level / 3) * 8 + 0.15 * source.ability_power
local buff = source:get_buff("orianapowerdaggerdisplay")
if not buff or buff.count == 0 then return end
args.rawMagical = raw.rawMagical * (1 + 0.2 * buff.count)
end,
["Poppy"] = function(args) local source = args.source
if not source:has_buff("poppypassivebuff") then return end
args.rawMagical = args.rawMagical + 10.59 + 9.41 * source.level
end,
["Quinn"] = function(args) local source = args.source
if not args.unit:has_buff("QuinnW") then return end
args.rawPhysical = args.rawPhysical + 5 + 5 * source.level +
(0.14 + 0.02 * source.level) * source.total_attack_damage
end,
["RekSai"] = function(args) local source = args.source
if not source:has_buff("RekSaiQ") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawPhysical = args.rawPhysical + 15 + 6 *
lvl + 0.5 * source.bonus_attack_damage
end,
["Rell"] = function(args) local source = args.source
args.rawMagical = args.rawMagical + 7.53 + 0.47 * source.level
if not source:has_buff("RellWEmpoweredAttack") then return end
local lvl = spellbook:get_spell_slot(SLOT_W).level
args.rawMagical = args.rawMagical - 5 +
15 * lvl + 0.4 * source.ability_power
end,
["Rengar"] = function(args) local source = args.source
local lvl = spellbook:get_spell_slot(SLOT_Q).level
if source:has_buff("RengarQ") then
args.rawPhysical = args.rawPhysical + 30 * lvl +
(-0.05 + 0.05 * lvl) * source.total_attack_damage
elseif source:has_buff("RengarQEmp") then
local mod = ({30, 45, 60, 75, 90, 105,
120, 135, 145, 155, 165, 175, 185,
195, 205, 215, 225, 235})[source.level]
args.rawPhysical = args.rawPhysical +
mod + 0.4 * source.total_attack_damage
end
end,
["Riven"] = function(args) local source = args.source
if not source:has_buff("RivenPassiveAABoost") then return end
args.rawPhysical = args.rawPhysical + (source.level >= 6 and 0.36 + 0.06 *
math.floor((source.level - 6) / 3) or 0.3) * source.total_attack_damage
end,
["Rumble"] = function(args) local source = args.source
if not source:has_buff("RumbleOverheat") then return end
args.rawMagical = args.rawMagical + 2.94 + 2.06 * source.level
+ 0.25 * source.ability_power + 0.06 * args.unit.max_health
end,
["Sett"] = function(args) local source = args.source
if not source:has_buff("SettQ") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawPhysical = args.rawPhysical +
10 * lvl + (0.01 + (0.005 + 0.005 * lvl) * 0.01 *
source.total_attack_damage) * args.unit.max_health
end,
["Shaco"] = function(args) local source = args.source
local turned = not Geometry:IsFacing(args.unit, source)
if turned then args.rawPhysical = args.rawPhysical + 19.12 +
0.88 * source.level + 0.15 * source.bonus_attack_damage end
if not source:has_buff("Deceive") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawPhysical = args.rawPhysical + 15 +
10 * lvl + 0.25 * source.bonus_attack_damage
local mod = 0.3 + (source:has_item(3031) and 0.35 or 0)
if turned then args.rawPhysical = args.rawPhysical
+ mod * source.total_attack_damage end
end,
-- Seraphine
["Shen"] = function(args) local source = args.source
local lvl = spellbook:get_spell_slot(SLOT_Q).level
if source:has_buff("shenqbuffweak") then
args.rawMagical = args.rawMagical + 4 + 6 * math.ceil(
source.level / 3) + (0.015 + 0.005 * lvl + 0.015 *
source.ability_power / 100) * args.unit.max_health
elseif source:has_buff("shenqbuffstrong") then
args.rawMagical = args.rawMagical + 4 + 6 * math.ceil(
source.level / 3) + (0.045 + 0.005 * lvl + 0.02 *
source.ability_power / 100) * args.unit.max_health
end
end,
["Shyvana"] = function(args) local source = args.source
local lvl = spellbook:get_spell_slot(SLOT_E).level
if source:has_buff("ShyvanaDoubleAttack") then
args.rawPhysical = args.rawPhysical + (0.05 + 0.15 * lvl) *
source.total_attack_damage + 0.25 * source.ability_power
end
if args.unit:has_buff("ShyvanaFireballMissile") then
local damage = 0.0375 * args.unit.max_health
if args.unit.is_minion == true and
not args.unit.champ_name:find("Minion")
and damage > 150 then damage = 150 end
args.rawMagical = args.rawMagical + damage
end
end,
["Skarner"] = function(args) local source = args.source
if not source:has_buff("skarnerpassivebuff") then return end
local lvl = spellbook:get_spell_slot(SLOT_E).level
args.rawPhysical = args.rawPhysical + 10 + 20 * lvl
end,
["Sona"] = function(args) local source = args.source
if source:has_buff("SonaQProcAttacker") then
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawMagical = args.rawMagical + 5 +
5 * lvl + 0.2 * source.ability_power
end -- SonaPassiveReady
end,
["Sylas"] = function(args) local source = args.source
if not source:has_buff("SylasPassiveAttack") then return end
args.rawMagical, args.rawPhysical = source.ability_power
* 0.25 + source.total_attack_damage * 1.3, 0
end,
["TahmKench"] = function(args) local source = args.source
args.rawMagical = args.rawMagical + 4.94 + 3.06 * source.level
+ 0.025 * (source.max_health - (475 + 95 * source.level))
end,
["Taric"] = function(args) local source = args.source
if not source:has_buff("taricgemcraftbuff") then return end
args.rawMagical = args.rawMagical + 21 + 4 *
source.level + 0.15 * source.bonus_armor
end,
["Teemo"] = function(args) local source = args.source
local lvl = spellbook:get_spell_slot(SLOT_E).level
if lvl == 0 then return end
local damage = 3 + 11 * lvl + 0.3 * source.ability_power
local mod = not args.unit.champ_name:find("Minion")
and args.unit.is_minion == true and 1.5 or 1
args.rawMagical = args.rawMagical + mod * damage
end,
["Trundle"] = function(args) local source = args.source
if not source:has_buff("TrundleTrollSmash") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawPhysical = args.rawPhysical + 20 * lvl +
(0.05 + 0.1 * lvl) * source.total_attack_damage
end,
["TwistedFate"] = function(args) local source = args.source
local lvl = spellbook:get_spell_slot(SLOT_W).level
if source:has_buff("BlueCardPreAttack") then
args.rawMagical = args.rawMagical + 20 + 20 * lvl +
source.total_attack_damage + 0.9 * source.ability_power
elseif source:has_buff("RedCardPreAttack") then
args.rawMagical = args.rawMagical + 15 + 15 * lvl +
source.total_attack_damage + 0.6 * source.ability_power
elseif source:has_buff("GoldCardPreAttack") then
args.rawMagical = args.rawMagical + 7.5 + 7.5 * lvl +
source.total_attack_damage + 0.5 * source.ability_power
end
if args.rawMagical > 0 then args.rawPhysical = 0 end
if source:has_buff("cardmasterstackparticle") then
local lvl = spellbook:get_spell_slot(SLOT_E).level
args.rawMagical = args.rawMagical + 40 +
25 * lvl + 0.5 * source.ability_power
end
end,
["Varus"] = function(args) local source = args.source
local lvl = spellbook:get_spell_slot(SLOT_W).level
if lvl > 0 then args.rawMagical = args.rawMagical +
6 + lvl + 0.25 * source.ability_power end
end,
["Vayne"] = function(args) local source = args.source
if source:has_buff("vaynetumblebonus") then
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawPhysical = args.rawPhysical + (0.55 +
0.05 * lvl) * source.total_attack_damage
end
local buff = args.unit:get_buff("VayneSilveredDebuff")
if not buff or buff.count ~= 2 then return end
local lvl = spellbook:get_spell_slot(SLOT_W).level
local damage = math.max((0.015 + 0.025 * lvl)
* args.unit.max_health, 35 + 15 * lvl)
if not args.unit.champ_name:find("Minion")
and args.unit.is_minion == true and
damage > 200 then damage = 200 end
args.trueDamage = args.trueDamage + damage
end,
-- Vex
["Vi"] = function(args) local source = args.source
if source:has_buff("ViE") then
local lvl = spellbook:get_spell_slot(SLOT_E).level
--[[ args.rawPhysical = 20 * lvl - 10 + source.ability_power
* 0.9 + 1.1 * source.total_attack_damage --]]
end
local buff = args.unit:get_buff("viwproc")
if not buff or buff.count ~= 2 then return end
local lvl = spellbook:get_spell_slot(SLOT_W).level
args.rawPhysical = args.rawPhysical + (0.04 + 0.015 * lvl + 0.01
* source.bonus_attack_damage / 35) * args.unit.max_health
end,
["Viego"] = function(args) local source = args.source
--[[ local lvl = spellbook:get_spell_slot(SLOT_Q).level
if lvl > 0 then args.rawPhysical = args.rawPhysical + math.max(
5 + 5 * lvl, (0.01 + 0.01 * lvl) * args.unit.health) end --]]
end,
["Viktor"] = function(args) local source = args.source
if not source:has_buff("ViktorPowerTransferReturn") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawMagical, args.rawPhysical = args.rawMagical - 5 + 25 * lvl
+ source.total_attack_damage + 0.6 * source.ability_power, 0
end,
["Volibear"] = function(args) local source = args.source
if not source:has_buff("volibearpapplicator") then return end
local mod = ({11, 12, 13, 15, 17, 19, 22, 25,
28, 31, 34, 37, 40, 44, 48, 52, 56, 60})[source.level]
args.rawMagical = args.rawMagical + mod + 0.4 * source.ability_power
end,
["Warwick"] = function(args) local source = args.source
args.rawMagical = args.rawMagical + 10 + 2 * source.level + 0.15
* source.bonus_attack_damage + 0.1 * source.ability_power
end,
["MonkeyKing"] = function(args) local source = args.source
if not source:has_buff("MonkeyKingDoubleAttack") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawPhysical = args.rawPhysical - 5 +
25 * lvl + 0.45 * source.bonus_attack_damage
end,
["XinZhao"] = function(args) local source = args.source
if not source:has_buff("XinZhaoQ") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawPhysical = args.rawPhysical + 7 +
9 * lvl + 0.4 * source.bonus_attack_damage
end,
-- Yone
["Yorick"] = function(args) local source = args.source
if not source:has_buff("yorickqbuff") then return end
local lvl = spellbook:get_spell_slot(SLOT_Q).level
args.rawPhysical = args.rawPhysical + 5 +
25 * lvl + 0.4 * source.total_attack_damage
end,
-- Zed
["Ziggs"] = function(args) local source = args.source
if not source:has_buff("ZiggsShortFuse") then return end
local mod = ({20, 24, 28, 32, 36, 40, 48, 56, 64,
72, 80, 88, 100, 112, 124, 136, 148, 160})[source.level]
args.rawMagical = args.rawMagical + mod + 0.5 * source.ability_power
end,
["Zoe"] = function(args) local source = args.source
if not source:has_buff("zoepassivesheenbuff") then return end
local mod = ({16, 20, 24, 28, 32, 36, 42, 48, 54,
60, 66, 74, 82, 90, 100, 110, 120, 130})[source.level]
args.rawMagical = args.rawMagical + mod + 0.2 * source.ability_power
end
}
self.itemPassives = {
[3504] = function(args) local source = args.source -- Ardent Censer
if not source:has_buff("3504Buff") then return end
args.rawMagical = args.rawMagical + 4.12 + 0.88 * args.unit.level
end,
[3153] = function(args) local source = args.source -- Blade of the Ruined King
local damage = math.min(math.max((source.is_melee
and 0.1 or 0.06) * args.unit.health, 15), 60)
args.rawPhysical = args.rawPhysical + damage
end,
[6632] = function(args) local source = args.source -- Divine Sunderer
if not source:has_buff("6632buff") then return end
local attackDmg = source.total_attack_damage
local mod = source.is_melee and 0.12 or 0.09
local damage = math.min(attackDmg
* 1.5, mod * args.unit.max_health)
if not args.unit.champ_name:find("Minion")
and args.unit.is_minion and damage > 2.5 *
attackDmg then damage = 2.5 * attackDmg end
args.rawPhysical = args.rawPhysical + damage
end,
[1056] = function(args) -- Doran's Ring
args.rawPhysical = args.rawPhysical + 5
end,
[1054] = function(args) -- Doran's Shield
args.rawPhysical = args.rawPhysical + 5
end,
[3508] = function(args) local source = args.source -- Essence Reaver
if not source:has_buff("3508buff") then return end
args.rawPhysical = args.rawPhysical + 0.4 *
source.bonus_attack_damage + source.base_attack_damage
end,
[3124] = function(args) local source = args.source -- Guinsoo's Rageblade
args.rawPhysical = args.rawPhysical +
math.max(200, source.crit_chance * 200)
end,
[2015] = function(args) local source = args.source -- Kircheis Shard
local buff = source:get_buff("itemstatikshankcharge")
local damage = buff and buff.stacks2 == 100 and 80 or 0
args.rawMagical = args.rawMagical + damage
end,
[6672] = function(args) local source = args.source -- Kraken Slayer
local buff = source:get_buff("6672buff")
if not buff or buff.count ~= 2 then return end
args.trueDamage = args.trueDamage + 60 +
0.45 * source.bonus_attack_damage
end,
[3100] = function(args) local source = args.source -- Lich Bane
if not source:has_buff("lichbane") then return end
args.rawMagical = args.rawMagical + 1.5 *
source.base_attack_damage + 0.4 * source.ability_power
end,
[3036] = function(args) local source = args.source -- Lord Dominik's Regards
local diff = math.min(2000, math.max(0,
args.unit.max_health - source.max_health))
args.rawPhysical = args.rawPhysical + (1 + diff /
100 * 0.75) * source.bonus_attack_damage
end,
[3042] = function(args) -- Muramana
args.rawPhysical = args.rawPhysical
+ args.source.max_mana * 0.025
end,
[3115] = function(args) -- Nashor's Tooth
args.rawMagical = args.rawMagical + 15
+ 0.2 * args.source.ability_power
end,
[6670] = function(args) -- Noonquiver
args.rawPhysical = args.rawPhysical + 20
end,
[6677] = function(args) local source = args.source -- Rageknife
args.rawPhysical = args.rawPhysical +
math.min(175, 175 * source.crit_chance)
end,
[3094] = function(args) local source = args.source -- Rapid Firecannon
local buff = source:get_buff("itemstatikshankcharge")
local damage = buff and buff.stacks2 == 100 and 120 or 0
args.rawMagical = args.rawMagical + damage
end,
[1043] = function(args) -- Recurve Bow
args.rawPhysical = args.rawPhysical + 15
end,
[3057] = function(args) local source = args.source -- Sheen
if not source:has_buff("sheen") then return end
args.rawPhysical = args.rawPhysical + source.base_attack_damage
end,
[3095] = function(args) local source = args.source -- Stormrazor
local buff = source:get_buff("itemstatikshankcharge")
local damage = buff and buff.stacks2 == 100 and 120 or 0
args.rawMagical = args.rawMagical + damage
end,
[3070] = function(args) -- Tear of the Goddess
args.rawPhysical = args.rawPhysical + 5
end,
[3748] = function(args) local source = args.source -- Titanic Hydra
local damage = source.is_melee and (5 + source.max_health
* 0.015) or (3.75 + source.max_health * 0.01125)
args.rawPhysical = args.rawPhysical + damage
end,
[3078] = function(args) local source = args.source -- Trinity Force
if not source:has_buff("3078trinityforce") then return end
args.rawPhysical = args.rawPhysical + 2 * source.base_attack_damage
end,
[6664] = function(args) local source = args.source -- Turbo Chemtank
local buff = source:has_buff("item6664counter")
if not buff or buff.stacks2 ~= 100 then return end
args.rawMagical = args.rawMagical + 35.29 + 4.71 * source.level
+ 0.01 * source.max_health + 0.03 * source.move_speed
end,
[3091] = function(args) local source = args.source -- Wit's End
local damage = ({15, 15, 15, 15, 15, 15, 15, 15, 25, 35,
45, 55, 65, 75, 76.25, 77.5, 78.75, 80})[source.level]
args.rawMagical = args.rawMagical + damage
end
}
end
function Damage:CalcAutoAttackDamage(source, unit)
local name = source.champ_name
local physical = source.total_attack_damage
if name == "Corki" and physical > 0 then return
self:CalcMixedDamage(source, unit, physical) end
local args = {rawMagical = 0, rawPhysical = physical,
trueDamage = 0, source = myHero, unit = unit}
local ids = Linq(myHero.items):Where("(i) => i ~= nil")
:Select("(i) => i.item_id"):Distinct():ForEach(function(i)
if self.itemPassives[i] then self.itemPassives[i](args) end end)
if self.heroPassives[name] then self.heroPassives[name](args) end
local magical = self:CalcMagicalDamage(source, unit, args.rawMagical)
local physical = self:CalcPhysicalDamage(source, unit, args.rawPhysical)
return magical + physical + args.trueDamage
end
function Damage:CalcEffectiveDamage(source, unit, amount)
return source.ability_power > source.total_attack_damage
and self:CalcMagicalDamage(source, unit, amount)
or self:CalcPhysicalDamage(source, unit, amount)
end
function Damage:CalcMagicalDamage(source, unit, amount)
local amount = amount or source.ability_power
if amount <= 0 then return amount end
local magicRes = unit.mr
if magicRes < 0 then
local reduction = 2 - 100 / (100 - magicRes)
return math.floor(amount * reduction)
end
local magicPen = source.percent_magic_penetration
local flatPen = source.flat_magic_penetration
local res = magicRes * magicPen - flatPen
local reduction = res < 0 and 1 or 100 / (100 + res)
return math.floor(amount * reduction)
end
function Damage:CalcMixedDamage(source, unit, amount)
return self:CalcMagicalDamage(source, unit, amount * 0.8)
+ self:CalcPhysicalDamage(source, unit, amount * 0.2)
end
function Damage:CalcPhysicalDamage(source, unit, amount)
local amount = amount or source.total_attack_damage
if amount <= 0 then return amount end
if source.champ_name == "Kalista" then
amount = amount * 0.9
elseif source.champ_name == "Graves" then
local percent = 0.68235 + source.level * 0.01765
amount = amount * percent
end
local armor = unit.armor
if armor < 0 then
local reduction = 2 - 100 / (100 - armor)
return math.floor(amount * reduction)
end
local bonusArmor = unit.bonus_armor
local armorPen = source.percent_armor_penetration
local bonusPen = source.percent_bonus_armor_penetration
local lethality = source.lethality * (0.6 + 0.4 * source.level / 18)
local res = armor * armorPen - (bonusArmor * (1 - bonusPen)) - lethality
return math.floor(amount * (res < 0 and 1 or 100 / (100 + res)))
end
----------------
-- Data class --
local Data = Class()
function Data:__init()
self.hybridRange = {"Elise", "Gnar", "Jayce", "Kayle", "Nidalee"}
self.lethalTempoBuff = "ASSETS/Perks/Styles/Precision/LethalTempo/LethalTempoEmpowered.lua"
self.lethalTempoCooldown = "ASSETS/Perks/Styles/Precision/LethalTempo/LethalTempoCooldown.lua"
self.blockAttackBuffs = {
["Akshan"] = {"AkshanR"}, ["Darius"] = {"dariusqcast"}, ["Galio"] = {"GalioW"},
["Gragas"] = {"gragaswself"}, ["Jhin"] = {"JhinPassiveReload"}, ["Kaisa"] = {"KaisaE"},
["KogMaw"] = {"KogMawIcathianSurprise"}, ["Lillia"] = {"LilliaQ"}, ["Lucian"] = {"LucianR"},
["Pyke"] = {"PykeQ"}, ["Sion"] = {"SionR"}, ["Urgot"] = {"UrgotW"}, ["Varus"] = {"VarusQ"},
["Vi"] = {"ViQ"}, ["Vladimir"] = {"VladimirE"}, ["Xerath"] = {"XerathArcanopulseChargeUp"}
}
self.blockOrbBuffs = {
["Caitlyn"] = {"CaitlynAceintheHole"}, ["FiddleSticks"] = {"Drain", "Crowstorm"},
["Galio"] = {"GalioR"}, ["Gwen"] = {"gwenz_lockfacing"}, ["Irelia"] = {"ireliawdefense"},
["Janna"] = {"ReapTheWhirlwind"}, ["Karthus"] = {"KarthusDeathDefiedBuff", "karthusfallenonecastsound"},
["Katarina"] = {"katarinarsound"}, ["Malzahar"] = {"MalzaharRSound"}, ["MasterYi"] = {"Meditate"},
["MissFortune"] = {"missfortunebulletsound"}, ["Pantheon"] = {"PantheonRJump"},
["Shen"] = {"shenstandunitedlock"}, ["Sion"] = {"SionQ"}, ["Taliyah"] = {"TaliyahR"},
["TwistedFate"] = {"Gate"}, ["Velkoz"] = {"VelkozR"}, ["Warwick"] = {"WarwickRSound"},
["Xerath"] = {"XerathLocusOfPower2"}, ["Zac"] = {"ZacE"}
}
self.buffStackNames = {
["Akshan"] = "AkshanPassiveDebuff", ["Braum"] = "BraumMark", ["Darius"] = "DariusHemo",
["Ekko"] = "ekkostacks", ["Gnar"] = "GnarWProc", ["Kaisa"] = "kaisapassivemarker",
["Kalista"] = "KalistaExpungeMarker", ["Kennen"] = "kennenmarkofstorm",
["Kindred"] = "kindredecharge", ["Tristana"] = "tristanaechargesound",
["Twitch"] = "TwitchDeadlyVenom", ["Vayne"] = "VayneSilveredDebuff", ["Vi"] = "viwproc",
}
self.monsterNames = {
["SRU_Baron"] = true, ["SRU_Blue"] = true, ["Sru_Crab"] = true, ["SRU_Dragon_Air"] = true,
["SRU_Dragon_Chemtech"] = true, ["SRU_Dragon_Earth"] = true, ["SRU_Dragon_Elder"] = true,
["SRU_Dragon_Fire"] = true, ["SRU_Dragon_Hextech"] = true, ["SRU_Dragon_Water"] = true,
["SRU_Gromp"] = true, ["SRU_Krug"] = true, ["SRU_KrugMini"] = true,
["SRU_KrugMiniMini"] = true, ["SRU_Murkwolf"] = true, ["SRU_MurkwolfMini"] = true,
["SRU_Plant_Vision"] = true, ["SRU_Razorbeak"] = true, ["SRU_RazorbeakMini"] = true,
["SRU_Red"] = true, ["SRU_RiftHerald"] = true
}
self.petNames = {
["AnnieTibbers"] = true, ["EliseSpiderling"] = true, ["HeimerTBlue"] = true,
["HeimerTYellow"] = true, ["IvernMinion"] = true, ["KalistaSpawn"] = true,
["MalzaharVoidling"] = true, ["SennaSoul"] = true, ["ShacoBox"] = true,
["TeemoMushroom"] = true, ["YorickBigGhoul"] = true, ["YorickGhoulMelee"] = true,
["YorickWGhoul"] = true, ["ZyraGraspingPlant"] = true, ["ZyraThornPlant"] = true
}
self.resetAttackNames = {
["AatroxE"] = true, ["AkshanBasicAttack"] = true, ["AkshanCritAttack"] = true,
["AsheQ"] = true, ["PowerFist"] = true, ["CamilleQ"] = true, ["CamilleQ2"] = true,
["VorpalSpikes"] = true, ["DariusNoxianTacticsONH"] = true, ["DrMundoE"] = true,
["EkkoE"] = true, ["EliseSpiderW"] = true, ["FioraE"] = true, ["FizzW"] = true,
["GarenQ"] = true, ["GravesMove"] = true, ["HecarimRamp"] = true, ["IllaoiW"] = true,
["JaxEmpowerTwo"] = true, ["JayceHyperCharge"] = true, ["KaisaR"] = true,
["NetherBlade"] = true, ["KatarinaEWrapper"] = true, ["KayleE"] = true,
["KindredQ"] = true, ["LeonaShieldOfDaybreak"] = true, ["LucianE"] = true,
["Obduracy"] = true, ["Meditate"] = true, ["NasusQ"] = true, ["NautilusPiercingGaze"] = true,
["Takedown"] = true, ["RekSaiQ"] = true, ["RenektonPreExecute"] = true, ["RengarQ"] = true,
["RengarQEmp"] = true, ["RivenTriCleave"] = true, ["SejuaniE"] = true, ["SettQ"] = true,
["ShyvanaDoubleAttack"] = true, ["SivirW"] = true, ["TalonQ"] = true, ["VayneTumble"] = true,
["TrundleTrollSmash"] = true, ["ViE"] = true, ["ViegoW"] = true, ["VolibearQ"] = true,