Created: 12/10/2022, 12:37:56 PM Updated: 12/10/2022, 12:37:56 PM View Change History
1
2
3
4@setvar! checkLastTarget lasttarget
5@setvar! checkSelf self
6
7@setvar! cdMagicArrow 5000
8@setvar! cdHarm 5000
9@setvar! cdBall 5000
10
11if not timerexists magicArrowTimer
12 createtimer magicArrowTimer
13 settimer magicArrowTimer cdMagicArrow
14endif
15
16if not timerexists harmTimer
17 createtimer harmTimer
18 settimer harmTimer cdHarm
19endif
20
21if not timerexists ballTimer
22 createtimer ballTimer
23 settimer ballTimer cdBall
24endif
25
26if targetexists 'beneficial' or targetexists 'neutral'
27 hotkey 'Cancel Current Target'
28endif
29
30if timer magicArrowTimer >= cdMagicArrow
31 while not targetexists 'harmful'
32 cast 'Magic Arrow'
33 endwhile
34 if checkLastTarget = checkSelf
35 overhead "Not gonna blow yourself up" 34
36 while targetexists
37 wait 50
38 endwhile
39 else
40 target lasttarget
41 endif
42 settimer magicArrowTimer 0
43 cooldown FirstCircle cdMagicArrow
44elseif timer harmTimer >= cdHarm
45 while not targetexists 'harmful'
46 cast 'Harm'
47 endwhile
48 if checkLastTarget = checkSelf
49 overhead "Not gonna blow yourself up" 34
50 while targetexists
51 wait 50
52 endwhile
53 else
54 target lasttarget
55 endif
56 settimer harmTimer 0
57 cooldown SecondCircle cdHarm
58elseif timer ballTimer >= cdBall
59 while not targetexists 'harmful'
60 cast 'Fireball'
61 endwhile
62 if checkLastTarget = checkSelf
63 overhead "Not gonna blow yourself up" 34
64 while targetexists
65 wait 50
66 endwhile
67 else
68 target lasttarget
69 endif
70 settimer ballTimer 0
71 cooldown ThirdCircle cdBall
72endif