Created: 08/13/2022, 04:15:14 AM Updated: 09/11/2022, 07:02:02 PM View Change History
1
2
3
4
5
6@setvar! autoBardHpCheck 60
7
8if not timerexists sCheck
9 createtimer sCheck
10 settimer sCheck 11000
11endif
12
13hotkey 'target closest non-friendly monster'
14wait 200
15if insysmsg "no one matching"
16 overhead "Nothing to attack" 34
17 stop
18endif
19
20@setvar! mobOne lasttarget
21
22getlabel mobOne descOne
23overhead "MobOne = {{descOne}}" 88
24
25@setvar! mobTwo
26
27getlabel mobTwo descTwo
28overhead "MobTwo = {{descTwo}}" 77
29
30
31if mobOne = mobTwo
32 overhead "Same mob, re-select someone else!" 34
33 @setvar! mobOne
34endif
35
36clearsysmsg
37
38while not dead
39 if timer sCheck >= 5000
40 useskill 'Provocation'
41 wft 500
42 if insysmsg "What instrument"
43 if findtype "bamboo flute" backpack as inny
44 target inny
45 elseif findtype "tambourine" backpack as inny
46 target inny
47 elseif findtype "drum" backpack as inny
48 target inny
49 elseif findtype "lute" backpack as inny
50 target inny
51 elseif findtype "lap harp" backpack as inny
52 target inny
53 else
54 overhead "I do not have an inny" 34
55 wait 2000
56 replay
57 endif
58 wft 500
59 endif
60
61 if targetexists
62 target mobOne
63 wft 500
64 target mobTwo
65 wait 200
66 if insysmsg "you play success"
67 settimer sCheck 0
68 break
69 elseif insysmsg "t incite that!"
70 break
71 endif
72 endif
73
74 else
75 overhead "Waiting for skill cooldown..." 88
76 wait 500
77 endif
78
79 if hp <= autoBardHpCheck
80 if findtype "Yellow Potion" backpack as pot
81 dclick pot
82 endif
83 endif
84
85 if diffhits >= 10 and not bandaging
86 if skill "healing" > 0 and findtype "clean bandage%s%" backpack
87 hotkey 'Bandage Self'
88 endif
89 endif
90endwhile
91
92
93while not dead mobOne
94 getlabel mobOne descOne
95
96 if "discord" in descOne
97 overhead "Already discorded" 88 mobOne
98 break
99 endif
100
101 if timer sCheck >= 5000
102 useskill 'Discordance'
103 wft 500
104 if insysmsg "What instrument"
105 if findtype "bamboo flute" backpack as inny
106 target inny
107 elseif findtype "tambourine" backpack as inny
108 target inny
109 elseif findtype "drum" backpack as inny
110 target inny
111 elseif findtype "lute" backpack as inny
112 target inny
113 elseif findtype "lap harp" backpack as inny
114 target inny
115 else
116 overhead "I do not have an inny" 34
117 wait 2000
118 replay
119 endif
120 wft 500
121 endif
122 if targetexists
123 target mobOne
124 overhead "Discorded" 88 mobOne
125 endif
126 settimer sCheck 0
127 break
128 else
129 overhead "Waiting for skill cooldown..." 88
130 wait 500
131 endif
132
133
134 if hp <= autoBardHpCheck
135 if findtype "Yellow Potion" backpack as pot
136 dclick pot
137 endif
138 endif
139
140 if diffhits >= 10 and not bandaging
141 if skill "healing" > 0 and findtype "clean bandage%s%" backpack
142 hotkey 'Bandage Self'
143 endif
144 endif
145endwhile
146
147while not dead mobTwo
148
149 getlabel mobTwo descTwo
150
151 if "discord" in descTwo
152 overhead "Already discorded" 88 mobTwo
153 break
154 endif
155
156 if timer sCheck >= 5000
157 useskill 'Discordance'
158 wft 500
159 if insysmsg "What instrument"
160 if findtype "bamboo flute" backpack as inny
161 target inny
162 elseif findtype "tambourine" backpack as inny
163 target inny
164 elseif findtype "drum" backpack as inny
165 target inny
166 elseif findtype "lute" backpack as inny
167 target inny
168 elseif findtype "lap harp" backpack as inny
169 target inny
170 else
171 overhead "I do not have an inny" 34
172 wait 2000
173 replay
174 endif
175 wft 500
176 endif
177 if targetexists
178 target mobTwo
179 overhead "Discorded" 88 mobTwo
180 endif
181 settimer sCheck 0
182 break
183 else
184 overhead "Waiting for skill cooldown..." 88
185 wait 500
186 endif
187
188 if hp <= autoBardHpCheck
189 if findtype "Yellow Potion" backpack as pot
190 dclick pot
191 endif
192 endif
193
194 if diffhits >= 10 and not bandaging
195 if skill "healing" > 0 and findtype "clean bandage%s%" backpack
196 hotkey 'Bandage Self'
197 endif
198 endif
199endwhile
200
201
202while not dead
203
204 if hp <= autoBardHpCheck
205 if findtype "Yellow Potion" backpack as pot
206 dclick pot
207 endif
208 endif
209
210 if diffhits >= 10 and not bandaging
211 if skill "healing" > 0 and findtype "clean bandage%s%" backpack
212 hotkey 'Bandage Self'
213 endif
214 endif
215
216 wait 500
217
218endwhile