-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKatagiri_Thf_Gear.lua
493 lines (421 loc) · 25.2 KB
/
Katagiri_Thf_Gear.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
-- Setup vars that are user-dependent. Can override this function in a sidecar file.
function user_job_setup()
-- Options: Override default values
state.OffenseMode:options('Normal','SomeAcc','Acc','FullAcc','Fodder')
state.HybridMode:options('Normal','DT')
state.RangedMode:options('Normal', 'Acc')
state.WeaponskillMode:options('Match','Normal','SomeAcc','Acc','FullAcc','Fodder','Proc')
state.IdleMode:options('Normal', 'Sphere')
state.PhysicalDefenseMode:options('PDT')
state.MagicalDefenseMode:options('MDT')
state.ResistDefenseMode:options('MEVA')
state.Weapons:options('Aeneas','AccAeneas','Savage','AccSavage','ProcWeapons','MagicWeapons','Evisceration','Throwing','SwordThrowing','Bow')
state.ExtraMeleeMode = M{['description']='Extra Melee Mode','None','Suppa','DWMax','Parry'}
state.AmbushMode = M(false, 'Ambush Mode')
gear.stp_jse_back = {name="Toutatis's Cape", augments={'DEX+20','Accuracy+20 Attack+20','"Store TP"+10',}}
gear.wsd_jse_back = {name="Toutatis's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Weapon skill damage +10%',}}
-- Additional local binds
send_command('bind ^` input /ja "Flee" <me>')
send_command('bind !` input /ra <t>')
send_command('bind @` gs c cycle SkillchainMode')
send_command('bind @f10 gs c toggle AmbushMode')
send_command('bind ^backspace input /item "Thief\'s Tools" <t>')
send_command('bind ^q gs c weapons ProcWeapons;gs c set WeaponSkillMode proc;')
send_command('bind !q gs c weapons SwordThrowing')
send_command('bind !backspace input /ja "Hide" <me>')
send_command('bind ^r gs c weapons Default;gs c set WeaponSkillMode match') --Requips weapons and gear.
send_command('bind !r gs c weapons MagicWeapons')
send_command('bind ^\\\\ input /ja "Despoil" <t>')
send_command('bind !\\\\ input /ja "Mug" <t>')
select_default_macro_book()
end
-- Define sets and vars used by this job file.
function init_gear_sets()
--------------------------------------
-- Special sets (required by rules)
--------------------------------------
sets.TreasureHunter = {
head="Wh. Rarab Cap +1",
hands="Plunderer's Armlets +1",
waist="Chaac Belt",
feet="Skulker's Poulaines +1"
}
sets.ExtraRegen = {}
sets.Kiting = {feet="Jute Boots +1"}
sets.buff.Doom = set_combine(sets.buff.Doom, {})
sets.buff.Sleep = {head="Frenzy Sallet"}
sets.buff['Sneak Attack'] = {
ammo="Qirmiz Tathlum",
head="Pillager's Bonnet +1",
--neck="Asperity Necklace",
--ear1="Dudgeon Earring",
--ear2="Heartseeker Earring",
body="Pillager's Vest +1",
hands="Pillager's Armlets +1",
ring1="Rajas Ring",
ring2="Epona's Ring",
--back="Atheling Mantle",
--waist="Patentia Sash",
legs="Pillager's Culottes +1",
--feet="Plunderer's Poulaines +1"
}
sets.buff['Trick Attack'] = {
head="Pillager's Bonnet +1",
--neck="Asperity Necklace",
ear1="Dudgeon Earring",
ear2="Heartseeker Earring",
body="Pillager's Vest +1",
--hands="Pillager's Armlets +1",
--ring1="Stormsoul Ring",
ring2="Epona's Ring",
legs="Pillager's Culottes +1"
--feet="Plunderer's Poulaines +1"
}
-- Extra Melee sets. Apply these on top of melee sets.
sets.Knockback = {}
sets.Suppa = {ear1="Suppanomimi", ear2="Sherida Earring"}
sets.DWEarrings = {ear1="Dudgeon Earring",ear2="Heartseeker Earring"}
sets.DWMax = {ear1="Dudgeon Earring",ear2="Heartseeker Earring",body="Adhemar Jacket +1",hands="Floral Gauntlets",waist="Reiki Yotai"}
sets.Parry = {hands="Turms Mittens +1",ring1="Defending Ring"}
sets.Ambush = {} --body="Plunderer's Vest +1"
-- Weapons sets
sets.weapons.Aeneas = {main="Kaja Knife",sub="Taming Sari"}
sets.weapons.AccAeneas = {main="Aeneas",sub="Tauret"}
sets.weapons.Savage = {main="Naegling",sub="Blurred Knife +1"}
sets.weapons.AccSavage = {main="Naegling",sub="Tauret"}
sets.weapons.ProcWeapons = {main="Blurred Knife +1",sub="Atoyac"}
sets.weapons.MagicWeapons = {main="Malevolence",sub="Malevolence"}
sets.weapons.Evisceration = {main="Tauret",sub="Blurred Knife +1"}
sets.weapons.Throwing = {main="Aeneas",sub="Blurred Knife +1",range="Raider's Bmrng.",ammo=empty}
sets.weapons.SwordThrowing = {main="Naegling",sub="Blurred Knife +1",range="Raider's Bmrng.",ammo=empty}
sets.weapons.Bow = {main="Aeneas",sub="Kustawi +1",range="Kaja Bow",ammo="Chapuli Arrow"}
-- Actions we want to use to tag TH.
sets.precast.Step = {ammo="C. Palug Stone",
head="Malignance Chapeau",neck="Combatant's Torque",ear1="Mache Earring +1",ear2="Odr Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Ramuh Ring +1",ring2="Ramuh Ring +1",
back=gear.stp_jse_back,waist="Olseni Belt",legs="Malignance Tights",feet="Malignance Boots"}
sets.precast.JA['Violent Flourish'] = {ammo="C. Palug Stone",
head="Malignance Chapeau",neck="Combatant's Torque",ear1="Digni. Earring",ear2="Odr Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Ramuh Ring +1",ring2="Ramuh Ring +1",
back=gear.stp_jse_back,waist="Olseni Belt",legs="Malignance Tights",feet="Malignance Boots"}
sets.precast.JA['Animated Flourish'] = sets.TreasureHunter
sets.precast.JA.Provoke = sets.TreasureHunter
--------------------------------------
-- Precast sets
--------------------------------------
-- Precast sets to enhance JAs
sets.precast.JA['Collaborator'] = {head="Raider's Bonnet +2"}
sets.precast.JA['Accomplice'] = {head="Raider's Bonnet +2"}
sets.precast.JA['Flee'] = {feet="Pillager's Poulaines +1"}
sets.precast.JA['Hide'] = {body="Pillager's Vest +1"}
sets.precast.JA['Conspirator'] = {} -- {body="Raider's Vest +2"}
sets.precast.JA['Steal'] = {head="Plunderer's Bonnet",hands="Pillager's Armlets +1",legs="Pillager's Culottes +1",feet="Pillager's Poulaines +1"}
sets.precast.JA['Mug'] = {}
sets.precast.JA['Despoil'] = {legs="Raider's Culottes +2",feet="Raider's Poulaines +2"}
sets.precast.JA['Perfect Dodge'] = {hands="Plunderer's Armlets +1"}
sets.precast.JA['Feint'] = {} -- {legs="Assassin's Culottes +2"}
sets.precast.JA['Sneak Attack'] = sets.buff['Sneak Attack']
sets.precast.JA['Trick Attack'] = sets.buff['Trick Attack']
-- Waltz set (chr and vit)
sets.precast.Waltz = {
-- ammo="Sonia's Plectrum",
head="Mummu Bonnet +1",
body="Pillager's Vest +1",
-- hands="Pillager's Armlets +1",
-- ring1="Asklepian Ring",
-- back="Iximulew Cape",
-- waist="Caudata Belt",
-- legs="Pillager's Culottes +1",
feet="Rawhide Boots"
}
sets.Self_Waltz = {
head="Mummu Bonnet +1",
-- body="Passion Jacket",
-- ring1="Asklepian Ring"
}
-- Don't need any special gear for Healing Waltz.
sets.precast.Waltz['Healing Waltz'] = {}
-- Fast cast sets for spells
sets.precast.FC = {ammo="Impatiens",
head=gear.herculean_fc_head,neck="Voltsurge Torque",ear1="Enchntr. Earring +1",ear2="Loquac. Earring",
body="Dread Jupon",hands="Leyline Gloves",ring1="Lebeche Ring",ring2="Prolix Ring",
legs="Rawhide Trousers"}
sets.precast.FC.Utsusemi = set_combine(sets.precast.FC, {neck="Magoraga Beads",body="Passion Jacket"})
-- Ranged snapshot gear
sets.precast.RA = {}
-- Weaponskill sets
-- Default set for any weaponskill that isn't any more specifically defined
sets.precast.WS = {
--ammo="Thew Bomblet",
--head="Whirlpool Mask",
neck=gear.ElementalGorget,
ear1="Ishvara Earring",
ear2="Moonshade Earring",
body="Pillager's Vest +1",
hands="Meg. Gloves +2",
ring1="Rajas Ring",
ring2="Karieyh Ring",
--back="Atheling Mantle",
--waist="Caudata Belt",
-- legs="Manibozho Brais",
feet="Iuitl Gaiters +1"
}
sets.precast.WS.Acc = set_combine(sets.precast.WS, {
neck="Combatant's Torque",
ear1="Mache Earring +1",
ear2="Odr Earring",
body="Meg. Cuirie +2",
waist="Olseni Belt",
legs="Meg. Chausses +2",
feet="Malignance Boots"
})
sets.precast.WS.FullAcc = set_combine(sets.precast.WS, {neck="Combatant's Torque",ear1="Mache Earring +1",ear2="Odr Earring",body="Meg. Cuirie +2",waist="Olseni Belt",legs="Meg. Chausses +2",feet="Malignance Boots"})
-- Specific weaponskill sets. Uses the base set if an appropriate WSMod version isn't found.
sets.precast.WS["Rudra's Storm"] = set_combine(sets.precast.WS, {
head="Pillager's Bonnet +1",
body="Meg. Cuirie +1",
hands="Meg. Gloves +2",
neck="Caro Necklace",
ring1="Ilabrat Ring",
ear1="Sherida Earring",
ear2="Moonshade Earring",
legs="Lustratio Subligar +1",
waist="Grunfeld Rope",
feet="Lustratio Leggings +1"
})
sets.precast.WS["Rudra's Storm"].SomeAcc = set_combine(sets.precast.WS.SomeAcc, {neck="Caro Necklace",ear1="Moonshade Earring",body="Meg. Cuirie +2",back=gear.wsd_jse_back})
sets.precast.WS["Rudra's Storm"].Acc = set_combine(sets.precast.WS.Acc, {ear1="Moonshade Earring",body="Meg. Cuirie +2",back=gear.wsd_jse_back})
sets.precast.WS["Rudra's Storm"].FullAcc = set_combine(sets.precast.WS.FullAcc, {back=gear.wsd_jse_back})
sets.precast.WS["Rudra's Storm"].Fodder = set_combine(sets.precast.WS["Rudra's Storm"], {body=gear.herculean_wsd_body})
sets.precast.WS["Rudra's Storm"].SA = set_combine(sets.precast.WS["Rudra's Storm"].Fodder, {ammo="Yetshila +1",body="Meg. Cuirie +2",legs="Pill. Culottes +1"})
sets.precast.WS["Rudra's Storm"].TA = set_combine(sets.precast.WS["Rudra's Storm"].Fodder, {ammo="Yetshila +1",body="Meg. Cuirie +2",legs="Pill. Culottes +1"})
sets.precast.WS["Rudra's Storm"].SATA = set_combine(sets.precast.WS["Rudra's Storm"].Fodder, {ammo="Yetshila +1",body="Meg. Cuirie +2",legs="Pill. Culottes +1"})
sets.precast.WS["Mandalic Stab"] = set_combine(sets.precast.WS, {neck="Caro Necklace",ear1="Moonshade Earring",ear2="Ishvara Earring",body="Meg. Cuirie +2",back=gear.wsd_jse_back})
sets.precast.WS["Mandalic Stab"].SomeAcc = set_combine(sets.precast.WS.SomeAcc, {neck="Caro Necklace",ear1="Moonshade Earring",body="Meg. Cuirie +2",back=gear.wsd_jse_back})
sets.precast.WS["Mandalic Stab"].Acc = set_combine(sets.precast.WS.Acc, {ear1="Moonshade Earring",body="Meg. Cuirie +2",back=gear.wsd_jse_back})
sets.precast.WS["Mandalic Stab"].FullAcc = set_combine(sets.precast.WS.FullAcc, {back=gear.wsd_jse_back})
sets.precast.WS["Mandalic Stab"].Fodder = set_combine(sets.precast.WS["Mandalic Stab"], {ammo="C. Palug Stone",body=gear.herculean_wsd_body})
sets.precast.WS["Mandalic Stab"].SA = set_combine(sets.precast.WS["Mandalic Stab"].Fodder, {ammo="Yetshila +1",head="Adhemar Bonnet +1 +1",body="Meg. Cuirie +2",legs="Pill. Culottes +1"})
sets.precast.WS["Mandalic Stab"].TA = set_combine(sets.precast.WS["Mandalic Stab"].Fodder, {ammo="Yetshila +1",head="Adhemar Bonnet +1 +1",body="Meg. Cuirie +2",legs="Pill. Culottes +1"})
sets.precast.WS["Mandalic Stab"].SATA = set_combine(sets.precast.WS["Mandalic Stab"].Fodder, {ammo="Yetshila +1",head="Adhemar Bonnet +1 +1",body="Meg. Cuirie +2",legs="Pill. Culottes +1"})
sets.precast.WS["Shark Bite"] = set_combine(sets.precast.WS, {neck="Caro Necklace",ear1="Moonshade Earring",ear2="Ishvara Earring",body="Meg. Cuirie +2",back=gear.wsd_jse_back})
sets.precast.WS["Shark Bite"].SomeAcc = set_combine(sets.precast.WS.SomeAcc, {neck="Caro Necklace",ear1="Moonshade Earring",body="Meg. Cuirie +2",back=gear.wsd_jse_back})
sets.precast.WS["Shark Bite"].Acc = set_combine(sets.precast.WS.Acc, {ear1="Moonshade Earring",body="Meg. Cuirie +2",back=gear.wsd_jse_back})
sets.precast.WS["Shark Bite"].FullAcc = set_combine(sets.precast.WS.FullAcc, {back=gear.wsd_jse_back})
sets.precast.WS["Shark Bite"].Fodder = set_combine(sets.precast.WS["Shark Bite"], {ammo="C. Palug Stone",body=gear.herculean_wsd_body})
sets.precast.WS["Shark Bite"].SA = set_combine(sets.precast.WS["Shark Bite"].Fodder, {ammo="Yetshila +1",body="Meg. Cuirie +2",legs="Pill. Culottes +1"})
sets.precast.WS["Shark Bite"].TA = set_combine(sets.precast.WS["Shark Bite"].Fodder, {ammo="Yetshila +1",body="Meg. Cuirie +2",legs="Pill. Culottes +1"})
sets.precast.WS["Shark Bite"].SATA = set_combine(sets.precast.WS["Shark Bite"].Fodder, {ammo="Yetshila +1",body="Meg. Cuirie +2",legs="Pill. Culottes +1"})
sets.precast.WS['Evisceration'] = set_combine(sets.precast.WS, {ammo="Qirmiz Tathlum",
head="Uk'uxkaj Cap",neck="Rancor Collar",ear1="Cessance Earring",ear2="Moonshade Earring"}) sets.precast.WS['Evisceration'].SomeAcc = set_combine(sets.precast.WS.SomeAcc, {ammo="Yetshila +1",head="Adhemar Bonnet +1 +1",ear1="Moonshade Earring",ear2="Odr Earring",neck="Fotia Gorget",body="Abnoba Kaftan",hands="Mummu Wrists +2",ring1="Begrudging Ring",waist="Fotia Belt",legs="Mummu Kecks +2",feet="Mummu Gamash. +2"})
sets.precast.WS['Evisceration'].Acc = set_combine(sets.precast.WS.Acc, {ammo="Yetshila +1",head="Mummu Bonnet +2",ring1="Begrudging Ring",neck="Fotia Gorget",body="Sayadio's Kaftan",hands="Mummu Wrists +2",waist="Fotia Belt",legs="Mummu Kecks +2",feet="Mummu Gamash. +2"})
sets.precast.WS['Evisceration'].FullAcc = set_combine(sets.precast.WS.FullAcc, {ammo="Yetshila +1",head="Mummu Bonnet +2",body="Mummu Jacket +2",hands="Mummu Wrists +2",legs="Mummu Kecks +2",feet="Mummu Gamash. +2"})
sets.precast.WS['Evisceration'].Fodder = set_combine(sets.precast.WS['Evisceration'], {})
sets.precast.WS["Savage Blade"] = set_combine(sets.precast.WS, {neck="Caro Necklace",ear1="Moonshade Earring",ear2="Ishvara Earring",body="Adhemar Jacket +1",back=gear.wsd_jse_back,waist="Sailfi Belt +1"})
sets.precast.WS["Savage Blade"].SomeAcc = set_combine(sets.precast.WS.SomeAcc, {neck="Caro Necklace",ear1="Moonshade Earring",body="Meg. Cuirie +2",back=gear.wsd_jse_back})
sets.precast.WS["Savage Blade"].Acc = set_combine(sets.precast.WS.Acc, {ear1="Moonshade Earring",body="Meg. Cuirie +2",back=gear.wsd_jse_back})
sets.precast.WS["Savage Blade"].FullAcc = set_combine(sets.precast.WS.FullAcc, {back=gear.wsd_jse_back})
sets.precast.WS["Savage Blade"].Fodder = set_combine(sets.precast.WS["Savage Blade"], {ammo="C. Palug Stone",body=gear.herculean_wsd_body,waist="Sailfi Belt +1"})
sets.precast.WS["Savage Blade"].SA = set_combine(sets.precast.WS["Savage Blade"].Fodder, {ammo="Yetshila +1",body="Meg. Cuirie +2",legs="Pill. Culottes +1"})
sets.precast.WS["Savage Blade"].TA = set_combine(sets.precast.WS["Savage Blade"].Fodder, {ammo="Yetshila +1",body="Meg. Cuirie +2",legs="Pill. Culottes +1"})
sets.precast.WS["Savage Blade"].SATA = set_combine(sets.precast.WS["Savage Blade"].Fodder, {ammo="Yetshila +1",body="Meg. Cuirie +2",legs="Pill. Culottes +1"})
sets.precast.WS.Proc = {ammo="Yamarang",
head="Malignance Chapeau",neck="Voltsurge Torque",ear1="Digni. Earring",ear2="Heartseeker Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Varar Ring +1",ring2="Varar Ring +1",
back="Ground. Mantle +1",waist="Olseni Belt",legs="Malignance Tights",feet="Malignance Boots"}
sets.precast.WS['Last Stand'] = {
head="Pill. Bonnet +3",neck="Fotia Gorget",ear1="Enervating Earring",ear2="Telos Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Apate Ring",ring2="Regal Ring",
back=gear.wsd_jse_back,waist="Fotia Belt",legs="Malignance Tights",feet="Malignance Boots"}
sets.precast.WS['Empyreal Arrow'] = {
head="Pill. Bonnet +3",neck="Fotia Gorget",ear1="Enervating Earring",ear2="Telos Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Apate Ring",ring2="Regal Ring",
back=gear.wsd_jse_back,waist="Fotia Belt",legs="Malignance Tights",feet="Malignance Boots"}
sets.precast.WS['Aeolian Edge'] = {
ammo="Seeth. Bomblet +1",
head=gear.herculean_nuke_head,
-- neck="Baetyl Pendant",
ear1="Friomisi Earring",
ear2="Crematio Earring",
-- body="Samnuha Coat",
-- hands="Leyline Gloves",
ring1="Metamor. Ring",
-- ring2="Shiva Ring +1",
back=gear.wsd_jse_back,
-- waist="Chaac Belt",
legs=gear.herculean_wsd_legs,
feet=gear.herculean_nuke_feet
}
sets.precast.WS['Aeolian Edge'].TH = set_combine(sets.precast.WS['Aeolian Edge'], sets.TreasureHunter)
-- Swap to these on Moonshade using WS if at 3000 TP
sets.MaxTP = {ear1="Ishvara Earring",ear2="Sherida Earring"}
sets.AccMaxTP = {ear1="Mache Earring +1",ear2="Sherida Earring"}
--------------------------------------
-- Midcast sets
--------------------------------------
sets.midcast.FastRecast = {
head=gear.herculean_fc_head,neck="Voltsurge Torque",ear1="Enchntr. Earring +1",ear2="Loquac. Earring",
body="Dread Jupon",hands="Leyline Gloves",ring1="Defending Ring",ring2="Prolix Ring",
back="Moonlight Cape",waist="Tempus Fugit",legs="Rawhide Trousers",feet="Malignance Boots"}
-- Specific spells
sets.midcast.Utsusemi = set_combine(sets.midcast.FastRecast, {back="Mujin Mantle"})
sets.midcast.Dia = set_combine(sets.midcast.FastRecast, sets.TreasureHunter)
sets.midcast.Diaga = set_combine(sets.midcast.FastRecast, sets.TreasureHunter)
sets.midcast['Dia II'] = set_combine(sets.midcast.FastRecast, sets.TreasureHunter)
sets.midcast.Bio = set_combine(sets.midcast.FastRecast, sets.TreasureHunter)
sets.midcast['Bio II'] = set_combine(sets.midcast.FastRecast, sets.TreasureHunter)
-- Ranged gear
sets.midcast.RA = {
head="Malignance Chapeau",neck="Iskur Gorget",ear1="Enervating Earring",ear2="Telos Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Apate Ring",ring2="Regal Ring",
back=gear.stp_jse_back,waist="Chaac Belt",legs="Malignance Tights",feet="Malignance Boots"}
sets.midcast.RA.Acc = {
head="Malignance Chapeau",neck="Iskur Gorget",ear1="Enervating Earring",ear2="Telos Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Apate Ring",ring2="Regal Ring",
back=gear.stp_jse_back,waist="Chaac Belt",legs="Malignance Tights",feet="Malignance Boots"}
--------------------------------------
-- Idle/resting/defense sets
--------------------------------------
-- Resting sets
sets.resting = {}
-- Idle sets (default idle set not needed since the other three are defined, but leaving for testing purposes)
sets.idle = {
ammo="Staunch Tathlum +1",
head="Gleti's Mask",
body="Gleti's Cuirass", --9/9
hands="Turms Mittens +1",
legs="Gleti's Breeches",
feet="Turms Leggings +1",
neck="Loricate Torque +1",
ear1="Etiolation Earring",
ear2="Odnowa Earring +1",
ring1="Defending Ring",
ring2="Shadow Ring",
-- back="Moonlight Cape",
waist="Flume Belt +1",
}
sets.idle.Sphere = set_combine(sets.idle, {body="Mekosu. Harness"})
sets.idle.Weak = set_combine(sets.idle, {})
sets.DayIdle = {}
sets.NightIdle = {}
sets.ExtraRegen = {hands="Turms Mittens +1"}
-- Defense sets
sets.defense.PDT = {ammo="Staunch Tathlum +1",
head="Nyame Helm",neck="Loricate Torque +1",ear1="Etiolation Earring",ear2="Sanare Earring",
body="Nyame Mail",hands="Nyame Gauntlets",ring1="Moonbeam Ring",ring2="Moonbeam Ring",
back="Shadow Mantle",waist="Flume Belt +1",legs="Nyame Flanchard",feet="Nyame Sollerets"}
sets.defense.MDT = {ammo="Staunch Tathlum +1",
head="Nyame Helm",neck="Loricate Torque +1",ear1="Etiolation Earring",ear2="Sanare Earring",
body="Nyame Mail",hands="Nyame Gauntlets",ring1="Defending Ring",ring2="Shadow Ring",
back="Engulfer Cape +1",waist="Engraved Belt",legs="Nyame Flanchard",feet="Nyame Sollerets"}
sets.defense.MEVA = {ammo="Staunch Tathlum +1",
head="Nyame Helm",neck="Warder's Charm +1",ear1="Etiolation Earring",ear2="Sanare Earring",
body="Nyame Mail",hands="Nyame Gauntlets",ring1="Vengeful Ring",ring2="Purity Ring",
back="Mujin Mantle",waist="Engraved Belt",legs="Nyame Flanchard",feet="Nyame Sollerets"}
--------------------------------------
-- Melee sets
--------------------------------------
-- Normal melee group
sets.engaged = {
ammo="Ginsen",
head="Adhemar Bonnet +1",
neck="Anu Torque",
ear1="Sherida Earring",
ear2="Telos Earring",
body="Adhemar Jacket +1",
hands="Adhemar Wristbands +1",
ring1="Petrov Ring",
ring2="Epona's Ring",
back="Toutatis's Cape",
waist="Windbuffet Belt +1",
legs="Mummu Kecks +1",
feet="Mummu Gamashes +1"
}
sets.engaged.SomeAcc = {ammo="Aurgelmir Orb +1",
head="Dampening Tam",neck="Combatant's Torque",ear1="Brutal Earring",ear2="Sherida Earring",
body="Adhemar Jacket +1",hands="Adhemar Wrist. +1",ring1="Gere Ring",ring2="Epona's Ring",
back=gear.stp_jse_back,waist="Reiki Yotai",legs="Samnuha Tights",feet=gear.herculean_ta_feet}
sets.engaged.Acc = {ammo="Yamarang",
head="Pill. Bonnet +3",neck="Combatant's Torque",ear1="Suppanomimi",ear2="Telos Earring",
body="Mummu Jacket +2",hands="Floral Gauntlets",ring1="Ilabrat Ring",ring2="Regal Ring",
back=gear.stp_jse_back,waist="Olseni Belt",legs="Pill. Culottes +1",feet="Malignance Boots"}
sets.engaged.FullAcc = {ammo="C. Palug Stone",
head="Pill. Bonnet +3",neck="Combatant's Torque",ear1="Odr Earring",ear2="Mache Earring +1",
body="Mummu Jacket +2",hands="Adhemar Wrist. +1",ring1="Ramuh Ring +1",ring2="Ramuh Ring +1",
back=gear.stp_jse_back,waist="Olseni Belt",legs="Pill. Culottes +1",feet="Malignance Boots"}
sets.engaged.Fodder = {ammo="Aurgelmir Orb +1",
head="Dampening Tam",neck="Iskur Gorget",ear1="Brutal Earring",ear2="Sherida Earring",
body="Adhemar Jacket +1",hands="Adhemar Wrist. +1",ring1="Gere Ring",ring2="Epona's Ring",
back=gear.stp_jse_back,waist="Reiki Yotai",legs="Samnuha Tights",feet=gear.herculean_ta_feet}
sets.engaged.DT = {ammo="Aurgelmir Orb +1",
head="Malignance Chapeau",neck="Loricate Torque +1",ear1="Brutal Earring",ear2="Sherida Earring",
body="Malignance Tabard",hands="Nyame Gauntlets",ring1="Defending Ring",ring2="Moonbeam Ring",
back=gear.stp_jse_back,waist="Windbuffet Belt +1",legs="Malignance Tights",feet="Malignance Boots"}
sets.engaged.SomeAcc.DT = {ammo="Staunch Tathlum +1",
head="Malignance Chapeau",neck="Loricate Torque +1",ear1="Suppanomimi",ear2="Sherida Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Defending Ring",ring2="Moonbeam Ring",
back="Moonlight Cape",waist="Reiki Yotai",legs="Malignance Tights",feet="Malignance Boots"}
sets.engaged.Acc.DT = {ammo="Staunch Tathlum +1",
head="Malignance Chapeau",neck="Loricate Torque +1",ear1="Suppanomimi",ear2="Odr Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Defending Ring",ring2="Moonbeam Ring",
back="Moonlight Cape",waist="Reiki Yotai",legs="Malignance Tights",feet="Malignance Boots"}
sets.engaged.FullAcc.DT = {ammo="Staunch Tathlum +1",
head="Malignance Chapeau",neck="Loricate Torque +1",ear1="Suppanomimi",ear2="Odr Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Defending Ring",ring2="Moonbeam Ring",
back="Moonlight Cape",waist="Reiki Yotai",legs="Malignance Tights",feet="Malignance Boots"}
sets.engaged.Fodder.DT = {ammo="Staunch Tathlum +1",
head="Malignance Chapeau",neck="Loricate Torque +1",ear1="Suppanomimi",ear2="Sherida Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Defending Ring",ring2="Moonbeam Ring",
back="Moonlight Cape",waist="Reiki Yotai",legs="Malignance Tights",feet="Malignance Boots"}
end
-- Select default macro book on initial load or subjob change.
function select_default_macro_book()
-- Default macro set/book
if player.sub_job == 'DNC' then
set_macro_page(8, 5)
elseif player.sub_job == 'WAR' then
set_macro_page(1, 5)
elseif player.sub_job == 'NIN' then
set_macro_page(10, 5)
else
set_macro_page(6, 5)
end
end
function user_job_lockstyle()
windower.chat.input('/lockstyleset 003')
end
--Job Specific Trust Override
function check_trust()
if not moving then
if state.AutoTrustMode.value and not data.areas.cities:contains(world.area) and (buffactive['Elvorseal'] or buffactive['Reive Mark'] or not player.in_combat) then
local party = windower.ffxi.get_party()
if party.p5 == nil then
local spell_recasts = windower.ffxi.get_spell_recasts()
if spell_recasts[993] < spell_latency and not have_trust("Joachim") then
windower.chat.input('/ma "Joachim" <me>')
tickdelay = os.clock() + 3
return true
elseif spell_recasts[955] < spell_latency and not have_trust("Kupipi") then
windower.chat.input('/ma "Kupipi" <me>')
tickdelay = os.clock() + 3
return true
elseif spell_recasts[952] < spell_latency and not have_trust("Koru-Moru") then
windower.chat.input('/ma "Koru-Moru" <me>')
tickdelay = os.clock() + 3
return true
elseif spell_recasts[967] < spell_latency and not have_trust("Qultada") then
windower.chat.input('/ma "Qultada" <me>')
tickdelay = os.clock() + 3
return true
elseif spell_recasts[914] < spell_latency and not have_trust("Ulmia") then
windower.chat.input('/ma "Ulmia" <me>')
tickdelay = os.clock() + 3
return true
else
return false
end
end
end
end
return false
end