-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKatagiri_Drk_Gear.lua
662 lines (595 loc) · 26 KB
/
Katagiri_Drk_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
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
function user_job_setup()
-- Options: Override default values
state.OffenseMode:options('Normal','SomeAcc','Acc','FullAcc','Fodder')
state.WeaponskillMode:options('Match','AtkCapped','Normal','SomeAcc','Acc','FullAcc','Fodder')
state.HybridMode:options('Normal','DT')
state.PhysicalDefenseMode:options('PDT', 'PDTReraise')
state.MagicalDefenseMode:options('MDT', 'MDTReraise')
state.ResistDefenseMode:options('MEVA')
state.IdleMode:options('Normal','PDT','Refresh','Reraise')
state.Weapons:options('Apocalypse','Montante','KajaChopper','Savage','LoxoticMace','None','BreakWeapon')
state.ExtraMeleeMode = M{['description']='Extra Melee Mode','None'}
state.Passive = M{['description'] = 'Passive Mode','None','MP','Twilight'}
state.DrainSwapWeaponMode = M{'Always','Never','300','1000'}
-- Additional local binds
send_command('bind ^` input /ja "Hasso" <me>')
send_command('bind !` input /ja "Seigan" <me>')
send_command('bind @e input /ms "Endark II" <me>')
send_command('bind @d input /ma "Dread Spikes" <me>')
send_command('bind @[ input /ja "Dark Seal" <me>')
send_command('bind @] input /ja "Nether Void" <me>')
send_command('bind @q input /ma "Stun" <t>')
send_command('bind @` gs c cycle SkillchainMode')
autows = 'Cross Reaper'
autowstp = 1250
autofood = 'Grape Daifuku'
gear.da_jse_back = { name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','"Dbl.Atk."+10','Phys. dmg. taken-10%',}}
gear.wsd_vit_jse_back = { name="Ankou's Mantle", augments={'VIT+20','Accuracy+20 Attack+20','VIT+10','Weapon skill damage +10%',}}
gear.fc_jse_back = { name="Ankou's Mantle", augments={'"Fast Cast"+10',}}
select_default_macro_book()
end
-- Define sets and vars used by this job file.
function init_gear_sets()
--------------------------------------
-- Start defining the sets
--------------------------------------
-- Precast Sets
-- Precast sets to enhance JAs
sets.precast.JA['Diabolic Eye'] = {hands="Fall. Fin. Gaunt. +1"}
sets.precast.JA['Arcane Circle'] = {feet="Igno. Sollerets +1"}
sets.precast.JA['Souleater'] = {head="Ig. Burgonet +2"}
sets.precast.JA['Weapon Bash'] = {hands="Igno. Gauntlets +1"}
sets.precast.JA['Nether Void'] = {legs="Heath. Flanchard +1"}
sets.precast.JA['Blood Weapon'] = {body="Fall. Cuirass +1"}
sets.precast.JA['Dark Seal'] = {head="Fall. Burgeonet +2"}
sets.precast.JA['Last Resort'] = {back=gear.wsd_vit_jse_back}
-- Waltz set (chr and vit)
sets.precast.Waltz = {}
-- Don't need any special gear for Healing Waltz.
sets.precast.Waltz['Healing Waltz'] = {}
sets.precast.Step = {}
sets.precast.Flourish1 = {}
-- Fast cast sets for spells
sets.precast.FC = {
-- ammo="Impatiens",
head="Sakpata's Helm",
neck="Voltsurge Torque",
body=gear.odyssean_fc_body,
ear1="Malignance Earring",
ear2="Loquacious Earring",
hands="Leyline Gloves",
--ring1="Weatherspoon Ring",
ring2="Kishar Ring", -- 10 macc
legs=gear.odyssean_fc_legs,
back=gear.fc_jse_back,
waist="Flume Belt +1",
feet="Carmine Greaves"
}
-- sets.precast.FC = {ammo="Impatiens",
-- head="Carmine Mask +1",neck="Voltsurge Torque",ear1="Enchntr. Earring +1",ear2="Malignance Earring",
-- body="Odyss. Chestplate",hands="Leyline Gloves",ring1="Lebeche Ring",ring2="Kishar Ring",
-- back="Moonlight Cape",waist="Flume Belt +1",legs=gear.odyssean_fc_legs,feet="Odyssean Greaves"}
sets.precast.FC.Impact = set_combine(sets.precast.FC, {head=empty,body="Twilight Cloak"})
-- Midcast Sets
sets.midcast.FastRecast = {
-- ammo="Impatiens",
head="Fall. Burgeonet +2",
-- back="Grounded Mantle +1",
waist="Sailfi Belt +1",
legs="Carmine Cuisses +1",
-- ring2="Weatherspoon Ring", -- 10 macc
feet="Carmine Greaves"
}
-- Specific spells
sets.midcast['Dark Magic'] = {
ammo="Pemphredo Tathlum",
head="Nyame Helm", -- 45 macc
neck="Erra Pendant", -- 10 dark + 17 macc
ear1="Mani Earring",
ear2="Malignance Earring", -- 3
body="Nyame Mail",
hands="Nyame Gauntlets",
waist="Eschan Stone", -- 5
ring1="Evanescence Ring", -- 10
ring2="Kishar Ring",
back="Niht Mantle", -- 10
legs="Fall. Flanchard +3", -- 18 + 39macc
feet="Ratri Sollerets" -- macc 33
}
sets.midcast['Enfeebling Magic'] = set_combine(sets.midcast['Dark Magic'], {
ammo="Pemphredo Tathlum",
-- head="Befouled Crown",
neck="Erra Pendant", -- 10 + 17 macc
body="Ignominy Cuirass +3",
hands="Flamma Manopolas +2",
--ring1="Regal Ring",
ring2="Kishar Ring", -- 10 macc
waist="Eschan Stone",
legs="Fall. Flanchard +3", -- 18 + 39macc
-- back="Aput Mantle",
feet="Flamma Gambieras +2"
})
sets.midcast['Dread Spikes'] = set_combine(sets.midcast['Dark Magic'], {
ammo="Egoist's Tathlum",
neck="Sanctity Necklace",
head="Ratri Sallet",
ear1="Tuisto Earring",
ear2="Odnowa Earring +1",
body="Heathen's Cuirass +1",
--body="Ratri Breastplate +1",
hands="Ratri Gadlings",
-- back="Trepidity Mantle",
ring1="Moonlight Ring", -- matk 4
ring2="Gelatinous Ring +1", -- matk 4
waist="Oneiros Belt",
legs="Ratri Cuisses",
feet="Ratri Sollerets"
})
sets.midcast.Absorb = set_combine(sets.midcast['Dark Magic'], {
head="Ig. Burgonet +2", -- 17
neck="Erra Pendant",
hands="Pavor Gauntlets",
back="Chuparrosa Mantle",
ring1="Evanescence Ring", -- 10
ring2="Kishar Ring"
})
sets.midcast.Stun = {
ammo="Pemphredo Tathlum",
-- head="Carmine Mask +1",
neck="Erra Pendant",
ear1="Digni. Earring",
ear2="Malignance Earring",
body="Flamma Korazin +2",
hands="Flam. Manopolas +2",
-- ring1="Stikini Ring +1",
-- ring2="Stikini Ring +1",
back=gear.fc_jse_back,
waist="Eschan Stone",
-- legs="Eschite Cuisses",
feet="Flam. Gambieras +2"
}
sets.midcast.Drain = set_combine(sets.midcast['Dark Magic'], {
head="Fall. Burgeonet +2",
neck="Erra Pendant",
hands="Fall. Fin. Gaunt. +1",
ring1="Evanescence Ring",
ring2="Archon Ring",
back="Niht Mantle",
feet="Ratri Sollerets"
})
sets.DrainWeapon = {main="Dacnomania",sub="Alber Strap"}
sets.midcast.Aspir = sets.midcast.Drain
sets.midcast.Impact = set_combine(sets.midcast['Dark Magic'], {head=empty,body="Twilight Cloak"})
sets.midcast.Cure = {}
sets.Self_Healing = {
-- neck="Phalaina Locket",
hands="Buremte Gloves",
ring2="Kunaji Ring",
waist="Gishdubar Sash"
}
sets.Cure_Received = {
-- neck="Phalaina Locket",
hands="Buremte Gloves",
ring2="Kunaji Ring",
waist="Gishdubar Sash"
}
sets.Self_Refresh = {waist="Gishdubar Sash"}
-- Weaponskill sets
-- Default set for any weaponskill that isn't any more specifically defined
sets.precast.WS = {
ammo="Knobkierrie",
head="Flamma Zucchetto +2",
neck="Light Gorget",
ear1="Thrud Earring",
ear2="Moonshade Earring",
body="Ignominy Cuirass +3",
hands=gear.odyssean_wsd_head,
ring1="Karieyh Ring",
ring2="Niqmaddu Ring",
back=gear.wsd_vit_jse_back,
waist="Fotia Belt",
legs="Fall. Flanchard +3",
feet="Sulev. Leggings +2"
}
sets.precast.WS.SomeAcc = set_combine(sets.precast.WS, {})
sets.precast.WS.Acc = set_combine(sets.precast.WS, {})
sets.precast.WS.FullAcc = set_combine(sets.precast.WS, {neck="Combatant's Torque"})
sets.precast.WS.Fodder = set_combine(sets.precast.WS, {})
sets.precast.WS.AtkCapped = set_combine(sets.precast.WS, {
head="Sakpata's Helm",
neck="Abyssal Beads +1",
body="Sakpata's Plate",
hands="Sakpata's Gauntlets",
legs="Sakpata's Cuisses",
feet="Sulev. Leggings +2"
})
-- Specific weaponskill sets. Uses the base set if an appropriate WSMod version isn't found.
sets.precast.WS['Catastrophe'] = set_combine(sets.precast.WS, {
-- main="Apocalypse",
-- sub="Utu Grip",
ammo="Knobkierrie",
head="Ratri Sallet",
neck="Abyssal Beads +1",
ear1="Thrud Earring",
ear2="Lugra Earring +1",
body="Ignominy Cuirass +3",
hands="Ratri Gadlings",
ring1="Karieyh Ring",
ring2="Niqmaddu Ring",
back=gear.wsd_vit_jse_back,
waist="Fotia Belt",
legs="Ratri Cuisses",
feet="Ratri Sollerets"
})
sets.precast.WS['Catastrophe'].SomeAcc = set_combine(sets.precast.WS.SomeAcc, {})
sets.precast.WS['Catastrophe'].Acc = set_combine(sets.precast.WS.Acc, {})
sets.precast.WS['Catastrophe'].FullAcc = set_combine(sets.precast.WS.FullAcc, {})
sets.precast.WS['Catastrophe'].Fodder = set_combine(sets.precast.WS.Fodder, {})
sets.precast.WS['Catastrophe'].AtkCapped = set_combine(sets.precast.WS, {head="Sakpata's Helm",body="Sakpata's Plate",hands="Sakpata's Gauntlets",legs="Sakpata's Cuisses",feet="Sakpata's Leggings"})
sets.precast.WS['Cross Reaper'] = set_combine(sets.precast.WS, {
ammo="Knobkierrie",
head="Ratri Sallet",
neck="Caro Necklace",
body="Ignominy Cuirass +3",
hands="Ratri Gadlings",
ring1="Rajas Ring",
ring2="Niqmaddu Ring",
back=gear.wsd_vit_jse_back,
waist="Sailfi Belt +1",
legs="Ratri Cuisses",
feet="Ratri Sollerets"
})
sets.precast.WS['Cross Reaper'].SomeAcc = set_combine(sets.precast.WS.SomeAcc, {})
sets.precast.WS['Cross Reaper'].Acc = set_combine(sets.precast.WS.Acc, {})
sets.precast.WS['Cross Reaper'].FullAcc = set_combine(sets.precast.WS.FullAcc, {})
sets.precast.WS['Cross Reaper'].Fodder = set_combine(sets.precast.WS.Fodder, {})
sets.precast.WS['Cross Reaper'].AtkCapped = set_combine(sets.precast.WS, {head="Sakpata's Helm",body="Sakpata's Plate",hands="Sakpata's Gauntlets",legs="Sakpata's Cuisses",feet="Sakpata's Leggings"})
sets.precast.WS['Torcleaver'] = set_combine(sets.precast.WS, {
head=gear.odyssean_wsd_head,
hands=gear.odyssean_wsd_hands,
ring2="Niqmaddu Ring",
neck="Light Gorget",
waist="Fotia Belt",
back=gear.wsd_vit_jse_back
})
sets.precast.WS['Torcleaver'].SomeAcc = set_combine(sets.precast.WS.SomeAcc, {
head="Fallen's Burgeonet +3",
neck="Abyssal Beads +1",
})
sets.precast.WS['Torcleaver'].Acc = set_combine(sets.precast.WS.Acc, {body="Fallen's Cuirass +3",legs="Fall. Flanchard +3"})
sets.precast.WS['Torcleaver'].FullAcc = set_combine(sets.precast.WS.FullAcc, {})
sets.precast.WS['Torcleaver'].Fodder = set_combine(sets.precast.WS.Fodder, {})
sets.precast.WS['Torcleaver'].AtkCapped = set_combine(sets.precast.WS, {head="Sakpata's Helm",neck="Abyssal Beads +1",body="Ignominy Cuirass +3",hands="Sakpata's Gauntlets",legs="Fall. Flanchard +3",feet="Sulev. Leggings +2"})
sets.precast.WS['Entropy'] = set_combine(sets.precast.WS, {ring1="Rufescent Ring",neck="Fotia Belt"})
sets.precast.WS['Entropy'].SomeAcc = set_combine(sets.precast.WS.SomeAcc, {})
sets.precast.WS['Entropy'].Acc = set_combine(sets.precast.WS.Acc, {})
sets.precast.WS['Entropy'].FullAcc = set_combine(sets.precast.WS.FullAcc, {})
sets.precast.WS['Entropy'].Fodder = set_combine(sets.precast.WS.Fodder, {})
sets.precast.WS['Entropy'].AtkCapped = set_combine(sets.precast.WS, {head="Sakpata's Helm",neck="Abyssal Beads +1",body="Sakpata's Plate",hands="Sakpata's Gauntlets",legs="Sakpata's Cuisses",feet="Sakpata's Leggings"})
sets.precast.WS['Quietus'] = set_combine(sets.precast.WS, {
ammo="Knobkierrie",
head="Ratri Sallet",
neck="Caro Necklace",
body="Ignominy Cuirass +3",
hands="Ratri Gadlings",
ring1="Rajas Ring",
ring2="Niqmaddu Ring",
back=gear.wsd_vit_jse_back,
waist="Sailfi Belt +1",
legs="Ratri Cuisses",
feet="Ratri Sollerets"
})
sets.precast.WS['Quietus'].SomeAcc = set_combine(sets.precast.WS.SomeAcc, {})
sets.precast.WS['Quietus'].Acc = set_combine(sets.precast.WS.Acc, {})
sets.precast.WS['Quietus'].FullAcc = set_combine(sets.precast.WS.FullAcc, {})
sets.precast.WS['Quietus'].Fodder = set_combine(sets.precast.WS.Fodder, {})
sets.precast.WS['Resolution'] = set_combine(sets.precast.WS, {
-- neck="Breeze Gorget",
body="Valorous Mail",
hands="Sakpata's Gauntlets",
waist="Sailfi Belt +1",
legs="Fall. Flanchard +3",
feet="Sulev. Leggings +2"
})
sets.precast.WS['Resolution'].SomeAcc = set_combine(sets.precast.WS.SomeAcc, {})
sets.precast.WS['Resolution'].Acc = set_combine(sets.precast.WS.Acc, {
ammo="Seething Bomblet +1",
legs="Fall. Flanchard +3",
legs="Sakpata's Cuisses",
})
sets.precast.WS['Resolution'].FullAcc = set_combine(sets.precast.WS.FullAcc, {})
sets.precast.WS['Resolution'].Fodder = set_combine(sets.precast.WS.Fodder, {})
sets.precast.WS['Resolution'].AtkCapped = set_combine(sets.precast.WS, {head="Sakpata's Helm",neck="Abyssal Beads +1",body="Sakpata's Plate",hands="Sakpata's Gauntlets",legs="Fall. Flanchard +3",feet="Sakpata's Leggings"})
sets.precast.WS['Judgment'] = set_combine(sets.precast.WS, {ammo="Knobkierrie",
head=gear.odyssean_wsd_head,neck="Abyssal Beads +1",ear1="Thrud Earring",ear2="Moonshade Earring",
body="Ignominy Cuirass +3",hands="Ratri Gadlings",ring1="Karieyh Ring",ring2="Niqmaddu Ring",
back=gear.wsd_vit_jse_back,waist="Sailfi Belt +1",legs="Fall. Flanchard +3",feet="Sulev. Leggings +2"
})
sets.precast.WS['Judgment'].SomeAcc = set_combine(sets.precast.WS.SomeAcc, {})
sets.precast.WS['Judgment'].Acc = set_combine(sets.precast.WS.Acc, {})
sets.precast.WS['Judgment'].FullAcc = set_combine(sets.precast.WS.FullAcc, {})
sets.precast.WS['Judgment'].Fodder = set_combine(sets.precast.WS.Fodder, {})
sets.precast.WS['Judgment'].AtkCapped = set_combine(sets.precast.WS, {head="Sakpata's Helm",body="Ignominy Cuirass +3",hands="Sakpata's Gauntlets",legs="Sakpata's Cuisses",feet="Sulev. Leggings +2"})
sets.precast.WS['Savage Blade'] = set_combine(sets.precast.WS, {ammo="Knobkierrie",
head=gear.odyssean_wsd_head,neck="Abyssal Beads +1",ear1="Thrud Earring",ear2="Moonshade Earring",
body="Ignominy Cuirass +3",hands="Ratri Gadlings",ring1="Karieyh Ring",ring2="Niqmaddu Ring",
back=gear.wsd_vit_jse_back,waist="Sailfi Belt +1",legs="Fall. Flanchard +3",feet="Sulev. Leggings +2"
})
sets.precast.WS['Savage Blade'].Acc = set_combine(sets.precast.WS['Savage Blade'], {})
sets.precast.WS['Savage Blade'].FullAcc = set_combine(sets.precast.WS['Savage Blade'], {})
sets.precast.WS['Savage Blade'].Fodder = set_combine(sets.precast.WS['Savage Blade'], {})
sets.precast.WS['Savage Blade'].AtkCapped = set_combine(sets.precast.WS['Savage Blade'], {head="Sakpata's Helm",body="Ignominy Cuirass +3",hands="Sakpata's Gauntlets",legs="Sakpata's Cuisses",feet="Sulev. Leggings +2"})
sets.precast.WS['Herculean Slash'] = set_combine(sets.precast.WS, {
ammo="Seeth. Bomblet +1",
head="Nyame Helm",
neck="Sanctity Necklace",
body="Nyame Mail",
hands="Nyame Gauntlets",
ring1="Archon Ring",
ring2="Karieyh Ring",
ear1="Malignance Earring",
ear2="Friomisi Earring",
back=gear.wsd_vit_jse_back,
waist="Eschan Stone",
legs="Nyame Flanchard",
feet="Nyame Sollerets",
})
-- Sets to return to when not performing an action.
-- Resting sets
sets.resting = {}
-- Swap to these on Moonshade using WS if at 3000 TP
sets.MaxTP = {ear1="Thrud Earring",ear2="Lugra Earring +1",}
sets.AccMaxTP = {ear1="Mache Earring +1",ear2="Telos Earring"}
sets.AccDayMaxTPWSEars = {ear1="Mache Earring +1",ear2="Telos Earring"}
sets.DayMaxTPWSEars = {ear1="Thrud Earring",ear2="Brutal Earring",}
sets.AccDayWSEars = {ear1="Mache Earring +1",ear2="Telos Earring"}
sets.DayWSEars = {ear1="Brutal Earring",ear2="Moonshade Earring",}
-- Idle sets
sets.idle = {
ammo="Staunch Tathlum +1",
head="Sakpata's Helm",
body="Sakpata's Plate",
hands="Sakpata's Gauntlets",
legs="Sakpata's Cuisses",
feet="Sakpata's Leggings",
neck="Sanctity Necklace",
waist="Flume Belt +1",
left_ear="Odnowa Earring +1",
right_ear="Infused Earring",
left_ring="Defending Ring",
right_ring="Chirich Ring +1",
back="Shadow Mantle"
}
sets.idle.PDT = {
ammo="Staunch Tathlum +1",
head="Sakpata's Helm",
body="Sakpata's Plate",
hands="Sakpata's Gauntlets",
legs="Sakpata's Cuisses",
feet="Sakpata's Leggings",
neck="Abyssal Beads +1",
waist="Flume Belt +1",
left_ear="Odnowa Earring +1",
right_ear="Infused Earring",
left_ring="Defending Ring",
right_ring="Moonlight Ring",
back="Shadow Mantle"
}
sets.idle.Weak = set_combine(sets.idle, {head="Twilight Helm",body="Twilight Mail"})
sets.idle.Reraise = set_combine(sets.idle, {head="Twilight Helm",body="Twilight Mail"})
-- Defense sets
sets.defense.PDT = {
ammo="Staunch Tathlum +1",
head="Sakpata's Helm",
body="Sakpata's Plate",
hands="Sakpata's Gauntlets",
legs="Sakpata's Cuisses",
feet="Sakpata's Leggings",
ear1="Odnowa Earring +1",
ear2="Cessance Earring",
ring1="Defending Ring",
ring2="Moonlight Ring",
neck="Loricate Torque +1",
-- back="Grounded Mantle +1", -- 2% haste
waist="Flume Belt +1", -- 9% haste
feet="Volte Sollerets" -- 3% haste
}
sets.defense.PDTReraise = set_combine(sets.defense.PDT, {head="Twilight Helm",body="Twilight Mail"})
sets.defense.MDT = set_combine(sets.defense.PDT, {
head="Sakpata's Helm",
body="Sakpata's Plate",
hands="Sakpata's Gauntlets",
legs="Sakpata's Cuisses",
feet="Sakpata's Leggings",
neck="Loricate Torque +1",
ear1="Etiolation Earring",
})
sets.defense.MDTReraise = set_combine(sets.defense.MDT, {head="Twilight Helm",body="Twilight Mail"})
sets.defense.MEVA = {
ammo="Staunch Tathlum +1",
head="Nyame Helm",
neck="Warder's Charm +1",
ear1="Odnowa Earring +1",
ear2="Ethereal Earring",
body="Nyame Mail",
hands="Nyame Gauntlets",
ring1="Defending Ring",
ring2="Moonlight Ring",
back="Moonlight Cape",
waist="Flume Belt +1",
legs="Nyame Flanchard",
feet="Nyame Sollerets",
}
sets.Kiting = {legs="Carmine Cuisses +1"}
sets.passive.Reraise = {head="Twilight Helm",body="Twilight Mail"}
sets.buff.Doom = set_combine(sets.buff.Doom, {})
sets.buff.Sleep = {head="Frenzy Sallet"}
sets.buff['Dark Seal'] = {head="Fall. Burgeonet +2"}
-- Engaged sets
sets.engaged = {
ammo="Coiste Bodhar",
head="Flamma Zucchetto +2",
body="Sakpata's Plate",
hands="Sakpata's Gauntlets",
legs="Ig. Flanchard +3",
feet="Flamma Gambieras +2",
neck="Abyssal Beads +1",
waist="Sailfi Belt +1",
ear1="Cessance Earring",
ear2="Telos Earring",
ring1="Chirich Ring +1",
ring2="Niqmaddu Ring",
back=gear.da_jse_back
}
sets.engaged.SomeAcc = set_combine(sets.engaged, {ear2="Telos Earring",ammo="Seething Bomblet +1",})
sets.engaged.Acc = set_combine(sets.engaged.SomeAcc, {body="Sakpata's Plate",})
sets.engaged.FullAcc = {
ammo="Seething Bomblet +1",
head="Flam. Zucchetto +2",
neck="Abyssal Beads +1",
ear1="Cessance Earring",
ear2="Telos Earring",
body="Sakpata's Plate",
hands="Sakpata's Gauntlets",
ring1="Chirich Ring +1",
ring2="Niqmaddu Ring",
back=gear.da_jse_back,
waist="Ioskeha Belt",
legs="Ig. Flanchard +3",
feet="Flam. Gambieras +2"
}
sets.engaged.Fodder = {
ammo="Coiste Bodhar",
head="Flam. Zucchetto +2",
neck="Abyssal Beads +1",
ear1="Brutal Earring",
ear2="Cessance Earring",
body=gear.valorous_wsd_body,
hands=gear.valorous_acc_hands,
ring1="Chirich Ring +1",
ring2="Niqmaddu Ring",
back=gear.da_jse_back,
waist="Ioskeha Belt",
legs="Ig. Flanchard +3",
feet="Flam. Gambieras +2"
}
sets.engaged.DT = {
ammo="Coiste Bodhar",
head="Sakpata's Helm",
body="Sakpata's Plate",
hands="Sakpata's Gauntlets",
legs="Sakpata's Cuisses",
feet="Sakpata's Leggings",
ear1="Brutal Earring",
ear2="Cessance Earring",
ring1="Moonlight Ring",
neck="Abyssal Beads +1",
ring2="Niqmaddu Ring",
back=gear.da_jse_back,
waist="Sailfi Belt +1"
}
--[[sets.engaged.PDT = {ammo="Coiste Bodhar",
head="Sakpata's Helm",neck="Abyssal Beads +1",ear1="Brutal Earring",ear2="Cessance Earring",
body="Sakpata's Plate",hands="Sakpata's Gauntlets",ring1="Moonlight Ring",ring2="Defending Ring",
back=gear.da_jse_back,waist="Ioskeha Belt",legs="Sakpata's Cuisses",feet="Sakpata's Leggings",}
sets.engaged.SomeAcc.PDT = {ammo="Coiste Bodhar",
head="Sakpata's Helm",neck="Abyssal Beads +1",ear1="Brutal Earring",ear2="Cessance Earring",
body="Sakpata's Plate",hands="Sakpata's Gauntlets",ring1="Moonlight Ring",ring2="Defending Ring",
back=gear.da_jse_back,waist="Ioskeha Belt",legs="Sakpata's Cuisses",feet="Sakpata's Leggings",}
sets.engaged.Acc.PDT = {ammo="Coiste Bodhar",
head="Sakpata's Helm",neck="Abyssal Beads +1",ear1="Brutal Earring",ear2="Cessance Earring",
body="Sakpata's Plate",hands="Sakpata's Gauntlets",ring1="Moonlight Ring",ring2="Defending Ring",
back=gear.da_jse_back,waist="Ioskeha Belt",legs="Sakpata's Cuisses",feet="Sakpata's Leggings",}
sets.engaged.FullAcc.PDT = {ammo="Coiste Bodhar",
head="Sakpata's Helm",neck="Abyssal Beads +1",ear1="Brutal Earring",ear2="Cessance Earring",
body="Sakpata's Plate",hands="Sakpata's Gauntlets",ring1="Moonlight Ring",ring2="Defending Ring",
back=gear.da_jse_back,waist="Ioskeha Belt",legs="Sakpata's Cuisses",feet="Sakpata's Leggings",}
sets.engaged.Fodder.PDT = {ammo="Coiste Bodhar",
head="Sakpata's Helm",neck="Abyssal Beads +1",ear1="Brutal Earring",ear2="Cessance Earring",
body="Sakpata's Plate",hands="Sakpata's Gauntlets",ring1="Moonlight Ring",ring2="Defending Ring",
back=gear.da_jse_back,waist="Ioskeha Belt",legs="Sakpata's Cuisses",feet="Sakpata's Leggings",}
]]--
--Extra Special Sets
sets.buff.Souleater = {}
sets.buff.Doom = set_combine(sets.buff.Doom, {})
sets.buff.Sleep = {neck="Vim Torque +1"}
sets.TreasureHunter = set_combine(sets.TreasureHunter, {})
-- Weapons sets
sets.weapons.Montante = {main="Montante +1",sub="Utu Grip"}
sets.weapons.KajaChopper = {main="Kaja Chopper",sub="Utu Grip"}
sets.weapons.Apocalypse = {main="Apocalypse",sub="Utu Grip"}
sets.weapons.Savage = {main="Naegling",sub="Blurred Shield +1"}
sets.weapons.LoxoticMace = {main="Loxotic Mace +1",sub="Blurred Shield +1"}
sets.weapons.BreakWeapon = {main="Death Sickle",sub="Utu Grip"}
sets.weapons.None = {}
end
-- Select default macro book on initial load or subjob change.
function select_default_macro_book()
-- Default macro set/book
if player.sub_job == 'WAR' then
set_macro_page(1, 8)
elseif player.sub_job == 'SAM' then
set_macro_page(1, 8)
elseif player.sub_job == 'DNC' then
set_macro_page(4, 15)
elseif player.sub_job == 'THF' then
set_macro_page(1, 15)
else
set_macro_page(5, 15)
end
end
function user_job_lockstyle()
windower.chat.input('/lockstyleset 002')
end
buff_spell_lists = {
Auto = {
{Name='Dread Spikes', Buff='Dread Spikes', SpellID=277, When='Combat'},
{Name='Endark II', Buff='Endark', SpellID=311, When='Combat'},
},
Default = {
{Name='Dread Spikes', Buff='Dread Spikes', SpellID=277, Reapply=false},
{Name='Endark II', Buff='Endark', SpellID=311, Reapply=false},
},
}
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[911] < spell_latency and not have_trust("Joachim") then
windower.send_command('input /ma "Joachim" <me>')
tickdelay = os.clock() + 3
return true
elseif spell_recasts[952] < spell_latency and not have_trust("Koru-Moru") then
windower.send_command('input /ma "Koru-Moru" <me>')
tickdelay = os.clock() + 3
return true
elseif spell_recasts[914] < spell_latency and not have_trust("Ulmia") then
windower.send_command('input /ma "Ulmia" <me>')
tickdelay = os.clock() + 3
return true
elseif spell_recasts[967] < spell_latency and not have_trust("Qultada") then
windower.send_command('input /ma "Qultada" <me>')
tickdelay = os.clock() + 3
return true
elseif spell_recasts[898] < spell_latency and not have_trust("Kupipi") then
windower.send_command('input /ma "Kupipi" <me>')
tickdelay = os.clock() + 3
return true
else
return false
end
end
end
end
return false
end
autows_list = {
['Apocalypse']='Cross Reaper',
['KajaChopper']='Upheaval',
['Montante']='Torcleaver',
['Savage']='Savage Blade',
['LoxoticMace']='Judgment',
['BreakWeapon']='Quietus',
}