-
Notifications
You must be signed in to change notification settings - Fork 0
/
svo (monklimbcounter).xml
355 lines (349 loc) · 19.6 KB
/
svo (monklimbcounter).xml
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MudletPackage>
<MudletPackage version="1.0">
<TriggerPackage>
<TriggerGroup isActive="yes" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>svo Monk limbcounter</name>
<script></script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList/>
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Punch</name>
<script>svo.ml_hit(multimatches[2][2], multimatches[3][2], "arm")</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You ball up one fist and hammerfist</string>
<string>^You ball up one fist and hammerfist (\w+)\.$</string>
<string>^You connect to the (.+)!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Punch</name>
<script>svo.ml_hit(multimatches[2][2], multimatches[3][2], "arm")</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You form a spear hand and stab out towards</string>
<string>^You form a spear hand and stab out towards (\w+)\.$</string>
<string>^You connect to the (.+)!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Punch</name>
<script>svo.ml_hit(multimatches[2][2], multimatches[3][2], "arm")</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You launch a powerful uppercut at</string>
<string>^You launch a powerful uppercut at (\w+)\.$</string>
<string>^You connect to the (.+)!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Punch</name>
<script>svo.ml_hit(multimatches[2][2], multimatches[3][2], "arm")</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You unleash a powerful hook towards</string>
<string>^You unleash a powerful hook towards (\w+)\.$</string>
<string>^You connect to the (.+)!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Kick</name>
<script>svo.ml_hit(multimatches[2][2], multimatches[3][2], "leg")</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You hurl yourself towards</string>
<string>^You hurl yourself towards (\w+) with a lightning\-fast moon kick\.$</string>
<string>^You connect to the (.+)!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Kick</name>
<script>svo.ml_hit(multimatches[2][2], multimatches[3][2], "leg")</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You let fly at</string>
<string>^You let fly at (\w+) with a snap kick\.$</string>
<string>^You connect to the (.+)!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Kick</name>
<script>svo.ml_hit(multimatches[2][2], multimatches[3][2], "leg")</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You pump out at</string>
<string>^You pump out at (\w+) with a powerful side kick\.$</string>
<string>^You connect to the (.+)!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Kick</name>
<script>svo.ml_hit(multimatches[2][2], multimatches[3][2], "leg")</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You spin into the air and throw a whirlwind kick towards</string>
<string>^You spin into the air and throw a whirlwind kick towards (\w+)\.$</string>
<string>^You connect to the (.+)!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Roundhouse kick</name>
<script>svo.ml_hit(multimatches[2][2], "torso", "torso")</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You twist your torso and send a roundhouse towards</string>
<string>^You twist your torso and send a roundhouse towards (\w+)\.$</string>
<string>^Your kick drives savagely into \w+'s chest\.$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>AXK</name>
<script>svo.ml_hit(multimatches[2][2], "head", "AXK")</script>
<triggerType>0</triggerType>
<conditonLineDelta>1</conditonLineDelta>
<mStayOpen>0</mStayOpen>
<mCommand></mCommand>
<packageName></packageName>
<mFgColor>#ff0000</mFgColor>
<mBgColor>#ffff00</mBgColor>
<mSoundFile></mSoundFile>
<colorTriggerFgColor>#000000</colorTriggerFgColor>
<colorTriggerBgColor>#000000</colorTriggerBgColor>
<regexCodeList>
<string>You kick your leg high and scythe downwards at</string>
<string>^You kick your leg high and scythe downwards at (\w+)\.$</string>
<string>^You connect to the (.+)!$</string>
</regexCodeList>
<regexCodePropertyList>
<integer>2</integer>
<integer>1</integer>
<integer>1</integer>
</regexCodePropertyList>
</Trigger>
</TriggerGroup>
</TriggerPackage>
<TimerPackage/>
<AliasPackage>
<AliasGroup isActive="yes" isFolder="yes">
<name>svo Monk limbcounter</name>
<script></script>
<command></command>
<packageName></packageName>
<regex></regex>
<Alias isActive="yes" isFolder="no">
<name>Reset</name>
<script>svo.ml_reset(matches[2])</script>
<command></command>
<packageName></packageName>
<regex>^nn ?(.+)?$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Check status</name>
<script>if svo.ml_show then svo.ml_show() end</script>
<command></command>
<packageName></packageName>
<regex>^vsl$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Set the hits needed</name>
<script>local name = (matches[2] ~= "") and matches[2] or nil
local hits = tonumber(matches[3])
svo.ml_sethitsneeded(name,hits)</script>
<command></command>
<packageName></packageName>
<regex>^shn(?: (\w+))? ([\d.]+)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>Syncronize hits</name>
<script>svo.ml_synchits()</script>
<command></command>
<packageName></packageName>
<regex>^kk$</regex>
</Alias>
</AliasGroup>
</AliasPackage>
<ActionPackage/>
<ScriptPackage>
<ScriptGroup isActive="yes" isFolder="yes">
<name>svo Monk limbcounter</name>
<packageName></packageName>
<script>-- limbcounters prompt tag is defined here
-- feel free to tinker with it, but move it out into a script of its own,
-- so your changes don't get erased on an update!
function svo.ml_prompttag2()
if svo.defc.dragonform or not svo.lasthit or not svo.ml_list or not svo.ml_list[svo.lasthit] then return "" end
local t = svo.ml_list[svo.lasthit]
return string.format("%s: h %d|t %d|ra %d|la %d|rl %d|ll %d", svo.lasthit, t.head, t.torso, t.rightarm, t.leftarm, t.rightleg, t.leftleg)
end
svo.adddefinition("@ml_prompttag2", "svo.ml_prompttag2()")
function svo.ml_prompttag()
if svo.defc.dragonform or not svo.lasthit or not svo.ml_list or not svo.ml_list[svo.lasthit] then return "" end
local t = svo.ml_list[svo.lasthit]
local prep = 1
return string.format("%s%d<a_white>/%s%d<a_white>|%s%d<a_white>/%s%d<a_white>|%s%d<a_white>/%s%d<a_white>|%d",
((svo.ml_break_at - t.leftarm) <= prep) and "<a_red>" or "<a_darkyellow>", t.leftarm,
((svo.ml_break_at - t.rightarm) <= prep) and "<a_red>" or "<a_darkyellow>", t.rightarm,
((svo.ml_break_at - t.leftleg) <= prep) and "<a_red>" or "<a_darkyellow>", t.leftleg,
((svo.ml_break_at - t.rightleg) <= prep) and "<a_red>" or "<a_darkyellow>", t.rightleg,
((svo.ml_break_at - t.head) <= prep) and "<a_red>" or "<a_darkyellow>", t.head,
((svo.ml_break_at - t.torso) <= prep) and "<a_red>" or "<a_darkyellow>", t.torso, svo.ml_break_at)
end
svo.adddefinition("@ml_prompttag", "svo.ml_prompttag()")
function svo.ml_prompttag3()
if svo.defc.dragonform or not svo.lasthit or not svo.ml_list or not svo.ml_list[svo.lasthit] then return "" end
local t = svo.ml_list[svo.lasthit]
local prep = 1
return string.format("<a_darkgrey>(%s%d<a_darkgrey>:%s%d<a_darkgrey>:%s%d<a_darkgrey>:%s%d<a_darkgrey>:%s%d<a_darkgrey>:%s%d<a_darkgrey>:%d)",
((svo.ml_break_at - t.leftarm) <= prep) and "<a_red>" or "<a_darkyellow>", t.leftarm,
((svo.ml_break_at - t.rightarm) <= prep) and "<a_red>" or "<a_darkyellow>", t.rightarm,
((svo.ml_break_at - t.leftleg) <= prep) and "<a_red>" or "<a_darkyellow>", t.leftleg,
((svo.ml_break_at - t.rightleg) <= prep) and "<a_red>" or "<a_darkyellow>", t.rightleg,
((svo.ml_break_at - t.head) <= prep) and "<a_red>" or "<a_darkyellow>", t.head,
((svo.ml_break_at - t.torso) <= prep) and "<a_red>" or "<a_darkyellow>", t.torso, svo.ml_break_at)
end
svo.adddefinition("@ml_prompttag3", "svo.ml_prompttag3()")</script>
<eventHandlerList/>
</ScriptGroup>
</ScriptPackage>
<KeyPackage/>
<HelpPackage>
<helpURL></helpURL>
</HelpPackage>
</MudletPackage>