View difference between Paste ID: tVqe1Lt8 and 0PDg2505
SHOW: | | - or go back to the newest paste.
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3
===============================================================================
4
Novah's BLM script for Ashitacast by Sigmund
5
v1.52, 09/01/14
6
7
Changes
8
* Elemental obi are now accounted for during elemental nukes.
9
* Max MP gear will be worn while MP is at or over a certain threshold.
10
* Cleaned up formatting and tabbing.
11
12
Notes
13-
* If your current MP is at or over a certain threshold (defined under MaxMP-
13+
* If your current MP is at or over a certain threshold (defined under "MaxMP-
14-
  Threshold in the Variables section) then you will be kept in maximum MP gear
14+
  Threshold" in the Variables section) then you will be kept in maximum MP gear
15-
  until you drop below that amount.  This behavior can be disabled by typing
15+
  until you drop below that amount.  This behavior can be disabled temporarily
16-
  "/maxmp", and the threshold can be customized by changing the variable
16+
  by typing "/maxmp" in-game or by changing "MaxMPMode" to be Off by default.
17-
  "MaxMPThreshold" below.
17+
18
-->
19
<ashitacast>
20
	<settings>
21
		<buffupdate>false</buffupdate>
22
		<statusupdate>false</statusupdate>
23
		<hpupdate>false</hpupdate>
24
		<autoupdate>true</autoupdate>
25
	</settings>
26
	
27
	<sets>
28
		<set name="Idle">
29
			<main>Terra's Staff</main>
30
			<sub>Vivid Strap +1</sub>
31
			<ammo>Hedgehog Bomb</ammo>
32
			<head>Flawless Ribbon</head>
33
			<neck>Orochi Nodowa +1</neck>
34
			<lear>Abyssal Earring</lear>
35
			<rear>Antivenom Earring</rear>
36
			<body>Sorcerer's Coat</body>
37
			<hands>Oracle's Gloves</hands>
38
			<lring>Shadow Ring</lring>
39
			<rring>Defending Ring</rring>
40
			<back>Shadow Mantle</back>
41
			<waist>Witch Sash</waist>
42
			<legs>Genie Lappas</legs>
43
			<feet>Herald's Gaiters</feet>
44
		</set>
45
	
46
		<set name="Vanity">
47
			<main>White Joker</main>
48
			<sub>Vivid Strap +1</sub>
49
			<ammo>Hedgehog Bomb</ammo>
50
			<head>Flawless Ribbon</head>
51
			<neck>Orochi Nodowa +1</neck>
52
			<lear>Abyssal Earring</lear>
53
			<rear>Antivenom Earring</rear>
54
			<body>Sorcerer's Coat</body>
55
			<hands>Oracle's Gloves</hands>
56
			<lring>Shadow Ring</lring>
57
			<rring>Defending Ring</rring>
58
			<back>Shadow Mantle</back>
59
			<waist>Witch Sash</waist>
60
			<legs>Genie Lappas</legs>
61
			<feet>Herald's Gaiters</feet>
62
		</set>
63
	
64
		<set name="Resting">
65
			<main>Chatoyant Staff</main>
66
			<head>Oracle's Cap</head>
67
			<neck>Gnole Torque</neck>
68
			<lear>Rapture Earring</lear>
69
			<rear>Antivenom Earring</rear>
70
			<body>Oracle's Robe</body>
71
			<hands>Oracle's Gloves</hands>
72
			<lring>Celestial Ring</lring>
73
			<rring>Celestial Ring</rring>
74
			<back>Invigorating Cape</back>
75
			<waist>Qiqirn Sash +1</waist>
76
			<legs>Oracle's Braconi</legs>
77
			<feet>Goliard Clogs</feet>
78
		</set>
79
	
80
		<set name="MaxMP">
81
			<main>Dorje</main>
82
			<sub>Dark Grip</sub>
83
			<head>Zenith Crown +1</head>
84
			<neck>Uggalepih Pendant</neck>
85
			<lear>Astral Earring</lear>
86
			<rear>Antivenom Earring</rear>
87
			<body>Dalmatica +1</body>
88
			<hands>Zenith Mitts +1</hands>
89
			<lring>Serket Ring</lring>
90
			<rring>Celestial Ring</rring>
91
			<back>Invigorating Cape</back>
92
			<waist>Hierarch Belt</waist>
93
			<legs>Zenith Slacks +1</legs>
94
			<feet>Zenith Pumps +1</feet>
95
		</set>
96
	
97
		<set name="Haste" />
98
	
99
		<!-- Magic gearsets -->
100
	
101
		<!-- For future use -->
102
		<set name="HPConvert" />
103
	
104
		<set name="FastCast">
105
			<main>Chatoyant Staff</main>
106
			<sub>Vivid Strap +1</sub>
107
			<lear>Loquac. Earring</lear>
108
		</set>
109
	
110
		<set name="INT"> 
111
			<main>Chatoyant Staff</main>
112
			<sub>Vivid Strap +1</sub>
113
			<ammo>Phtm. Tathlum</ammo>
114
			<head>Demon Helm +1</head>
115
			<neck>Lmg. Medallion +1</neck>
116
			<lear>Abyssal Earring</lear>
117
			<rear>Omn. Earring +1</rear>
118
			<body>Dalmatica +1</body>
119
			<hands>Mahatma Cuffs</hands>
120
			<lring>Omn. Ring +1</lring>
121
			<rring>Omn. Ring +1</rring>  
122
			<waist>Witch Sash</waist>
123
			<legs>Mahatma Slops</legs>
124
			<feet>Goliard Clogs</feet>
125
		</set>
126
	
127
		<set name="MND">
128
			<main>Chatoyant Staff</main>
129
			<sub>Vivid Strap +1</sub>
130
			<head>Zenith Crown +1</head>
131
			<body>Dalmatica +1</body>
132
			<lring>Celestial Ring</lring>
133
			<rring>Celestial Ring</rring>
134
			<waist>Witch Sash</waist>
135
			<legs>Mahatma Slops</legs>
136
		</set>
137
	
138
		<set name="Dark" baseset="INT">
139
			<sub>Dark Grip</sub>
140
			<neck>Dark Torque</neck>
141
			<lear>Dark Earring</lear>
142
			<rear>Incubus Earring +1</rear>
143
			<hands>Sorcerer's Gloves</hands>
144
			<legs>Wizard's Tonban</legs>
145
			<feet>Genie Huaraches</feet>
146
		</set>
147
	
148
		<set name="Elemental" baseset="INT"> <!-- Aka Full Nuke -->
149
			<head>Demon Helm +1</head>
150
			<body>Genie Weskit</body>
151
			<back>Hecate's Cape</back>
152
			<neck>Lmg. Medallion +1</neck>
153
			<hands>Zenith Mitts +1</hands>
154
			<waist>Witch Sash</waist>
155
			<lear>Abyssal Earring</lear>
156
			<rear>Moldavite Earring</rear>
157
			<lring>Omn. Ring +1</lring>
158
			<rring>Omn. Ring +1</rring>
159
			<legs>Mahatma Slops</legs>
160
			<feet>Goliard Clogs</feet>
161
			<sub>Vivid Strap +1</sub>
162
		</set>
163
	
164
		<!-- For Sky, Sea, and other events where elemental resistance is high. -->
165
		<set name="ElementalResist" baseset="Elemental"> <!-- Aka Resist Nuke -->
166
			<head>Src. Petasos +1</head>
167
			<body>Genie Weskit</body>
168
			<back>Hecate's Cape</back>
169
			<waist>Witch Sash</waist>
170
			<feet>Numerist Pumps</feet>
171
			<hands>Wizard's Gloves</hands>
172
			<neck>Elemental Torque</neck>
173
			<lear>Elemental Earring</lear>
174
			<rear>Incubus Earring +1</rear>
175
		</set>
176
	
177
		<set name="MidResist" baseset="Elemental" />
178
	
179
		<set name="Enfeebling">
180
			<main>Alkalurops</main>
181
			<head>Genie Tiara</head>
182
			<neck>Enfeebling Torque</neck>
183
			<lear>Incubus Earring +1</lear>
184
			<rear>Incubus Earring +1</rear>
185
			<body>Wizard's Coat</body>
186
			<legs>Genie Lappas</legs>
187
			<back>Hecate's Cape</back>
188
			<feet>Avocat Pigaches</feet>
189
		</set>
190
	
191
		<set name="Enhancing">
192
			<neck>Enhancing Torque</neck>
193
			<lear>Augment. Earring</lear>
194
		</set>
195
	
196
		<set name="Healing" baseset="MND">
197
			<hands>Mahatma Cuffs</hands>
198
		</set>
199
	
200
		<set name="Stoneskin">
201
			<main>Alkalurops</main>
202
			<sub>Vivid Strap +1</sub>
203
			<head>none</head>
204
			<neck>Enhancing Torque</neck>
205
			<lear>Augment. Earring</lear>
206
			<rear>Antivenom Earring</rear>
207
			<body>Ixion Cloak</body>
208
			<hands>Sorcerer's Gloves</hands>
209
			<lring>Celestial Ring</lring>
210
			<rring>Celestial Ring</rring>
211
			<back>Ixion Cape</back>
212
			<waist>Witch Sash</waist>
213
			<legs>Mahatma Slops</legs>
214
			<feet>Genie Huaraches</feet>
215
		</set>
216
	
217
		<!-- Weaponskills -->
218
		<set name="WS-SpiritTaker">
219
			<ammo>Phtm. Tathlum</ammo>
220
			<head>Mahatma Hat</head>
221
			<neck>Promise Badge</neck>
222
			<lear>Celestial Earring</lear>
223
			<rear>Celestial Earring</rear>
224
			<body>Mahatma Hpl.</body>
225
			<hands>Mahatma Cuffs</hands>
226
			<lring>Omn. Ring +1</lring>
227
			<rring>Omn. Ring +1</rring>
228
			<back>Ixion Cape</back>
229
			<waist>Witch Sash</waist>
230
			<legs>Mahatma Slops</legs>
231
			<feet>Mahatma Pigaches</feet>
232
		</set>
233
	
234
		<include>
235
			<item>Aquilo's Staff</item>
236
			<item>Thunder Grip</item>
237
			<item>Roundel Earring</item>
238
		</include>
239
	</sets>
240
	
241
	<variables>
242
		<var name="MaxMPThreshold">1150</var> <!-- Threshold to activate Max MP gear -->
243
		<var name="MeleeMode">Off</var>
244
		<var name="MaxMPMode">On</var>
245
		<!-- Elemental Obi variables -->
246
		<var name="EarthObi">Dorin Obi</var>
247
		<var name="WaterObi">Suirin Obi</var>
248
		<var name="WindObi">Furin Obi</var>
249
		<var name="FireObi">Karin Obi</var>
250
		<var name="IceObi">Hyorin Obi</var>
251
		<var name="ThunderObi">Rairin Obi</var>
252
		<var name="LightObi">Korin Obi</var>
253
		<var name="DarkObi">Anrin Obi</var>
254
	</variables>
255
	
256
	<inputcommands>
257
		<cmd input="/melee"> <!-- Prevents any main/sub swapping at all if building TP is important -->
258
			<if advanced="$MeleeMode=Off">
259
				<setvar name="MeleeMode" value="On" />
260
				<command>/ac disable main</command>
261
				<command>/ac disable sub</command>
262
				<addtochat color="57">Melee mode enabled!</addtochat>
263
			</if>
264
			<else>
265
				<setvar name="MeleeMode" value="Off" />
266
				<command>/ac enable main</command>
267
				<command>/ac enable sub</command>
268
				<addtochat color="57">Melee mode disabled.</addtochat>
269
			</else>
270
		</cmd>
271
		<cmd input ="/maxmp"> <!-- Enables or disables Max MP gear mode (default: on) -->
272
			<if advanced="$MaxMPMode=Off">
273
				<setvar name="MaxMPMode" value="On" />
274
				<addtochat color="57">Maximum MP gear enabled!</addtochat>
275
			</if>
276
			<else>
277
				<setvar name="MaxMPMode" value="Off" />
278
				<addtochat color="57">Maximum MP gear disabled.</addtochat>
279
			</else>
280
		</cmd>
281
	</inputcommands>
282
	
283
	<idlegear>
284
		<if e_area="Bastok*|Port*|*Jeuno|Ru'Lude*|*San d'Oria|Windurst*"> <!-- Vanity set equipped in the major cities -->
285
			<equip set="Vanity" />
286
		</if>
287
		<else>
288
			<if p_status="resting">
289
				<if advanced="(%p_mp>=$MaxMPThreshold)&($MaxMPMode=On)">
290
					<equip set="MaxMP" />
291
				</if>
292
				<else>
293
					<equip set="Resting" />
294
				</else>
295
			</if>
296
			<elseif p_status="engaged">
297
				<equip><main lock="true" /></equip> <!-- Main slot will be locked to allow you to swap to a weapon of your choosing while engaged -->
298
			</elseif>
299
			<else>
300
				<if advanced="(%p_mp>=$MaxMPThreshold)&($MaxMPMode=On)">
301
					<equip set="MaxMP" />
302
				</if>
303
				<else>
304
					<equip set="Idle" />
305
				</else>
306
			</else>
307
		</else>
308
	</idlegear>
309
	
310
	<premagic>
311
		<if advanced="(%p_mp>=$MaxMPThreshold)&($MaxMPMode=On)"> <!-- Max MP gear if past the max MP threshold and only if Max MP Mode is enabled -->
312
			<equip set="MaxMP" />
313
		</if>
314
		<else>
315
			<equip set="Fast Cast" />
316
		</else>
317
	</premagic>
318
	
319
	<midmagic>
320
		<if advanced="(%p_mp>=$MaxMPThreshold)&($MaxMPMode=On)"> <!-- Max MP gear if past the max MP threshold and only if Max MP Mode is enabled -->
321
			<equip set="MaxMP" />
322
		</if>
323
		<else>
324
			<if ad_type="blackmagic">
325
				<if ad_skill="darkmagic">
326
					<equip set="Dark" />
327
					<if ad_name="Stun"> <!-- Thunder Grip for Stun instead of the Dark Grip -->
328
							<equip><sub>Thunder Grip</sub></equip>
329
					</if>
330
				</if>
331
				<elseif ad_skill="elementalmagic">
332
					<if ad_name="Burn|Choke|Drown|Frost|Rasp|Shock"> <!-- Elemental debuff rules -->
333
						<equip set="INT" />
334
					</if>
335
					<else> <!-- Elemental nuke rules -->
336
						<!-- Elemental resistance rules for high-level targets below -->
337
						<if at_name="Adamantoise|Angra Mainyu|Aspidochelone|Byakko|Jormungand|King Behemoth|Kirin|Nidhogg|Om'Yovra|Pandemonium Warden|Proto-Omega|Seiryu|Suzaku|Tiamat|Vrtra">
338
							<equip set="ElementalResist" />
339
							<!-- CONDITIONAL NUKE GEAR CHECKS BELOW -->
340
							<!-- Use Aquilo's instead if casting ice nukes. -->
341
							<if ad_name="Blizza*|Freeze*">
342
								<equip><main>Aquilo's Staff</main></equip>
343
							</if>
344
						</if>
345
						<else> <!-- Normal elemental rules  -->
346
							<equip set="Elemental" />
347
							<!-- Use Aquilo's instead if casting ice nukes. -->
348
							<if ad_name="Blizza*|Freeze*">
349
								<equip><main>Aquilo's Staff</main></equip>
350
							</if>
351
							<!-- Uggalepih Pendant latent checker below -->
352
							<!-- NOTE:  If you play on a private server, the Uggy pendant
353
								 may not be put on at the appropriate time due to differ-
354
								 ences between client spell MP costs and server MP costs  -->
355
							<if advanced="%ad_mppaftercast<51">
356
								<equip><neck>Uggalepih Pendant</neck></equip>
357
							</if>
358
							<!-- Sorcerer's Ring latent checker -->
359
							<if advanced="(%p_hpp<76)&(%p_tp<100)">
360
								<equip><lring>Sorcerer's Ring</lring></equip>
361
							</if>
362
							<!-- Sorcerer's Tonban and elemental obi latent checkers -->
363
							<if advanced="(%ad_element=%e_dayelement)|(%ad_element=%e_weatherelement)">
364
								<if advanced="%ad_element=%e_dayelement">
365
									<equip><legs>Sorcerer's Tonban</legs></equip>
366
								</if>
367
								<equip><waist>$%ad_elementObi</waist></equip>
368
							</if>
369
						</else>
370
						<!-- As of 7/7/14, nukes need custom delay timings or else idle gear is swapped back in too soon. -->
371
						<!-- These values don't take into account haste or fast cast.  Tweak these numbers as needed. -->
372
						<if ad_name="*IV"> <!-- Tier IV -->
373
							<gearlock length="9" />
374
						</if>
375
						<elseif ad_name="*III"> <!-- Tier III -->
376
							<if ad_name="*ga III">
377
								<gearlock length="8" />
378
							</if>
379
							<else>
380
								<gearlock length="7" />
381
							</else>
382
						</elseif>
383
						<elseif ad_name="*II"> <!-- Tier II -->
384
							<if ad_name="*ga II">
385
								<gearlock length="6" />
386
							</if>
387
							<else>
388
								<gearlock length="5" />
389
							</else>
390
						</elseif>
391
						<else> <!-- Tier I -->
392
							<if ad_name="*ga">
393
								<gearlock length="4" />
394
							</if>
395
							<else>
396
								<gearlock length="3" />
397
							</else>
398
						</else>
399
					</else>
400
				</elseif>
401
				<elseif ad_skill="enfeeblingmagic">
402
					<equip set="INT" />
403
					<equip set="Enfeebling" />
404
					<!-- Put on Dark Grip for landing Sleeps -->
405
					<if ad_name="Sleep*">
406
						<equip><sub>Dark Grip</sub></equip>
407
					</if>
408
				</elseif>
409
			</if>
410
			<elseif ad_type="whitemagic">
411
				<if ad_skill="enfeeblingmagic">
412
					<equip set="MND" />
413
					<equip set="Enfeebling" />
414
				</if>
415
				<elseif ad_skill="enhancingmagic">
416
					<if ad_name="Stoneskin">
417
						<equip set="Stoneskin" />
418
					</if>
419
					<elseif ad_name="Bar*|Phalanx">
420
						<equip set="Enhancing" />
421
					</elseif>
422
				</elseif>
423
				<elseif ad_skill="healingmagic">
424
					<if ad_name="Cur*">
425
						<equip set="Healing" />
426
					</if>
427
				</elseif>
428
			</elseif>
429
			<elseif ad_type="ninjutsu">
430
				<if ad_name="Utsusemi*">
431
					<equip set="Haste" />
432
				</if>
433
			</elseif>
434
		</else>
435
	</midmagic>
436
	
437
	<weaponskill>
438
		<if ad_name="Spirit Taker">
439
			<equip set="WS-SpiritTaker" />
440
		</if>
441
		<elseif ad_name="Cyclone|Gust Slash">
442
			<equip set="INT" />
443
		</elseif>
444
	</weaponskill>
445
</ashitacast>