-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathDRK.lua
1585 lines (1421 loc) · 57.9 KB
/
DRK.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
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--[[
=== Features ===
If you want auto Reive detection for Ygnas Resolve+1, and Gavialis Helm for some of your WS, then you will need my User-Globals.lua
Otherwise, you might be able to get away without it. (not tested)
If you don't use organizer, then remove the include('organizer-lib') in get_sets() and remove sets.Organizer
This lua has a few MODES you can toggle with hotkeys or macros, and there's a few situational RULES that activate without hotkeys
::MODES::
SouleaterMode
Status: OFF by default. this is old
Hotkey: Toggle this with @F9 (window key + F9).
Macro: /console gs c togggle SouleaterMode
Notes: This mode makes it possible to use Souleater in situations where you would normally avoid using it. When SouleaterMode
is ON, Souleater will be canceled automatically after the first Weaponskill used. CAVEAT -. If Bloodweapon
is active, or if Drain's HP Boost buff is active, then Souleater will remain active until the next WS used after
either buff wears off.
CapacityMode
Status: OFF by default.
Hotkey: with ALT + =
Macro: /console cs c toggle CapacityMode
Notes: It will full-time whichever piece of gear you specify in sets.CapacityMantle
Extra Info: You can change the default (true|false) status of any MODE by changing their values in job_setup()
::RULES::
Ygna's Resolve +1
Status: enabled in Reive
Setting: n/a
Notes: Will automatically be used when you're in a reive. If you have my User-Globals.lua this will work
with all your jobs that use mote's includes. Not just this one!
Moonshade earring
Status: Not used for WS's at 3000 TP.
Setting: n/a
You can hit F12 to display custom MODE status as well as the default stuff.
Single handed weapons are handled in the sets.engaged.SW set. (sword + shield, etc.)
::NOTES::
My sets have a specific order, or they will not function correctly.
sets.engaged.[CombatForm][CombatWeapon][Offense or HybridMode][CustomMeleeGroups or CustomClass]
CombatForm = Haste, DW, SW
CombatWeapon = GreatSword, Scythe, Apocalypse, Ragnarok, Caladbolg, Liberator, Anguta
OffenseMode = Mid, Acc
HybridMode = PDT
CustomMeleeGroups = AM3, AM, Haste
CustomClass = OhShit
CombatForm Haste is used when Last Resort + Hasso AND either Haste, March, Indi-Haste Geo-Haste is on you.
CombatForm DW will activate with /dnc or /nin AND a weapon listed in drk_sub_weapons equipped offhand.
SW is active with an empty sub-slot, or a shield listed in the shields = S{} list.
CombatWeapon GreatSword will activate when you equip a GS listed in gsList in job_setup().
CombatWeapon Scythe will activate when you equip a Scythe listed in scytheList in job_setup().
Weapons that do not fall into these groups, or have sets by weapon name, will use default sets.engaged
most gear sets derrive themselves from sets.engaged, so try to keep it updated. It's much smarter to derrive sets than to
completely re-invent each gear set for every weapon. Let your gear inherit. Less code written means less errors.
CustomMeleeGroups AM3 will activate when Aftermath lvl 3 is up, and CustomMeleeGroups AM will activate when relic Aftermath is up.
There are no empy AM sets for now.
--]]
--
-- Initialization function for this job file.
function get_sets()
mote_include_version = 2
-- Load and initialize the include file.
include('Mote-Include.lua')
include('organizer-lib')
end
-- Setup vars that are user-independent.
function job_setup()
state.CapacityMode = M(false, 'Capacity Point Mantle')
include('Mote-TreasureHunter')
state.TreasureMode:set('None')
state.Buff.Souleater = buffactive.souleater or false
state.Buff['Last Resort'] = buffactive['Last Resort'] or false
-- Set the default to false if you'd rather SE always stay acitve
state.SouleaterMode = M(true, 'Soul Eater Mode')
-- Greatswords you use.
gsList = S{'Ragnarok', 'Caladbolg', 'Montante +1' }
scytheList = S{'Liberator', 'Apocalypse', 'Anguta', 'Redemption' }
remaWeapons = S{'Apocalypse', 'Anguta', 'Liberator', 'Caladbolg', 'Ragnarok', 'Redemption'}
--shields = S{'Rinda Shield'}
-- Mote has capitalization errors in the default Absorb mappings, so we use our own
absorbs = S{'Absorb-STR', 'Absorb-DEX', 'Absorb-VIT', 'Absorb-AGI', 'Absorb-INT', 'Absorb-MND', 'Absorb-CHR', 'Absorb-Attri', 'Absorb-ACC', 'Absorb-TP'}
-- Offhand weapons used to activate DW mode
swordList = S{"Naegling", "Sangarius +1", "Usonmunku", "Perun +1", "Tanmogayi"}
get_combat_form()
get_combat_weapon()
update_melee_groups()
end
-- Setup vars that are user-dependent. Can override this function in a sidecar file.
function user_setup()
-- Options: Override default values
state.OffenseMode:options('Normal', 'Mid', 'Acc')
state.HybridMode:options('Normal', 'PDT')
state.WeaponskillMode:options('Normal', 'Mid', 'Acc')
state.CastingMode:options('Normal', 'Acc')
state.IdleMode:options('Normal', 'Sphere')
state.RestingMode:options('Normal')
state.PhysicalDefenseMode:options('PDT', 'Reraise')
state.MagicalDefenseMode:options('MDT')
war_sj = player.sub_job == 'WAR' or false
-- Additional local binds
send_command('bind ^= gs c cycle treasuremode')
send_command('bind != gs c toggle CapacityMode')
send_command('bind @f9 gs c toggle SouleaterMode')
send_command('bind !- gs equip sets.crafting')
--send_command('bind ^` gs c toggle LastResortMode')
select_default_macro_book()
end
-- Called when this job file is unloaded (eg: job change)
function file_unload()
send_command('unbind ^`')
send_command('unbind !=')
send_command('unbind ^[')
send_command('unbind ![')
send_command('unbind @f9')
end
-- Define sets and vars used by this job file.
function init_gear_sets()
--------------------------------------
-- Start defining the sets
--------------------------------------
-- Augmented gear
Niht = {}
Niht.DarkMagic = {name="Niht Mantle", augments={'Attack+7','Dark magic skill +10','"Drain" and "Aspir" potency +25'}}
Ankou = {}
Ankou.FC = { name="Ankou's Mantle", augments={'"Fast Cast"+10',}}
Ankou.STP = { name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Store TP"+10','Damage taken-5%',}}
Ankou.DA = { name="Ankou's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}}
Ankou.WSD = { name="Ankou's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%',}}
Ankou.VIT = { name="Ankou's Mantle", augments={'VIT+20','Accuracy+20 Attack+20','VIT+10','Weapon skill damage +10%',}}
Odyssean = {}
Odyssean.Legs = {}
Odyssean.Legs.TP = { name="Odyssean Cuisses", augments={'"Triple Atk."+2','"Mag.Atk.Bns."+5','Quadruple Attack +1','Accuracy+17 Attack+17',}}
Odyssean.Legs.WS = { name="Odyssean Cuisses", augments={'Accuracy+25','DEX+1','Weapon skill damage +7%','Accuracy+10 Attack+10',}}
Odyssean.Feet = {}
Odyssean.Feet.FC = { name="Odyssean Greaves", augments={'Attack+20','"Fast Cast"+4','Accuracy+15',}}
Valorous = {}
Valorous.Feet = {}
Valorous.Body = {}
Valorous.Feet.TH = { name="Valorous Greaves", augments={'CHR+13','INT+1','"Treasure Hunter"+2','Accuracy+12 Attack+12','Mag. Acc.+1 "Mag.Atk.Bns."+1',}}
Valorous.Feet.TP = { name="Valorous Greaves", augments={'Accuracy+27','"Store TP"+6','INT+1',}}
Valorous.Body.STP = { name="Valorous Mail", augments={'Accuracy+30','"Store TP"+6','DEX+3','Attack+14',}}
Valorous.Body.DA = { name="Valorous Mail", augments={'Accuracy+20 Attack+20','"Dbl.Atk."+4','VIT+4','Attack+6',}}
sets.TreasureHunter = {
head="White rarab cap +1",
waist="Chaac Belt",
feet=Valorous.Feet.TH
}
sets.Organizer = {
ear2="Reraise Earring",
grip="Pearlsack",
waist="Linkpearl",
head="Caladbolg",
hands="Liberator",
feet="Apocalypse",
back=Niht.DarkMagic,
}
-- Precast Sets
-- Precast sets to enhance JAs
sets.precast.JA['Diabolic Eye'] = {hands="Fallen's Finger Gauntlets +1"}
sets.precast.JA['Nether Void'] = {legs="Heathen's Flanchard +1"}
sets.precast.JA['Dark Seal'] = {head="Fallen's burgeonet +3"}
sets.precast.JA['Souleater'] = {head="Ignominy burgonet +2"}
sets.precast.JA['Weapn Bash'] = {hands="Ignominy Gauntlets +2"}
sets.precast.JA['Blood Weapon'] = {body="Fallen's Cuirass +3"}
sets.precast.JA['Last Resort'] = {back=Ankou.WSD}
sets.precast.JA['Jump'] = sets.Jump
sets.precast.JA['High Jump'] = sets.Jump
sets.Jump = { feet="Ostro Greaves" }
sets.CapacityMantle = { back="Mecistopins Mantle" }
sets.WSDayBonus = { head="Gavialis Helm" }
sets.WSBack = { back="Trepidity Mantle" }
-- Earring considerations, given Lugra's day/night stats
sets.BrutalLugra = { ear1="Brutal Earring", ear2="Lugra Earring +1" }
sets.IshvaraLugra = { ear1="Ishvara Earring", ear2="Lugra Earring +1" }
sets.Lugra = { ear1="Lugra Earring +1" }
sets.Brutal = { ear1="Brutal Earring" }
sets.Ishvara = { ear1="Ishvara Earring" }
-- Waltz set (chr and vit)
-- sets.precast.Waltz = {}
-- Fast cast sets for spells
sets.precast.FC = {
ammo="Impatiens",
head="Fallen's Burgeonet +3",
body="Fallen's Cuirass +3",
ear1="Malignance Earring",
ear2="Loquacious Earring",
hands="Leyline Gloves",
ring1="Kishar Ring",
ring2="Weatherspoon Ring", -- 10 macc
legs="Eschite Cuisses",
back=Ankou.FC,
feet=Odyssean.Feet.FC
}
sets.precast.FC['Drain'] = set_combine(sets.precast.FC, {
feet="Ratri Sollerets +1" -- macc 33
})
sets.precast.FC['Elemental Magic'] = set_combine(sets.precast.FC, {
head="Sakpata's Helm",
})
sets.precast.FC['Enfeebling Magic'] = set_combine(sets.precast.FC, {
head="Sakpata's Helm",
})
sets.precast.FC.Cure = set_combine(sets.precast.FC, {
head="Sakpata's Helm",
-- body="Jumalik Mail",
})
-- Midcast Sets
sets.midcast.FastRecast = {
ammo="Impatiens",
head="Fallen's Burgeonet +3",
waist="Sailfi Belt +1",
legs="Carmine Cuisses +1",
ring2="Weatherspoon Ring", -- 10 macc
feet=Odyssean.Feet.FC
}
-- sets.midcast.Trust = {
-- head="Fallen's Burgeonet +1",
-- hands="Odyssean Gauntlets",
-- body="Fallen's Cuirass +3",
-- legs="Carmine Cuisses +1",
-- feet=Odyssean.Feet.FC
-- }
sets.midcast["Apururu (UC)"] = set_combine(sets.midcast.Trust, {
body="Apururu Unity shirt",
})
-- Specific spells
sets.midcast.Utsusemi = {
ammo="Impatiens",
--head="Otomi Helm",
neck="Incanter's Torque",
hands="Leyline Gloves",
feet=Odyssean.Feet.FC
}
sets.midcast['Dark Magic'] = {
ammo="Pemphredo Tathlum",
head="Ratri Sallet +1", -- 45 macc
--head="Ignominy Burgonet +2", -- 19
neck="Erra Pendant", -- 10 dark + 17 macc
ear1="Malignance Earring",
ear2="Crepuscular Earring", -- 3
body="Nyame Mail",
hands="Nyame Gauntlets",
waist="Casso Sash", -- 5
ring1="Evanescence Ring", -- 10
ring2="Archon Ring",
back=Niht.DarkMagic, -- 10
legs="Fallen's Flanchard +3", -- 18 + 39macc
feet="Ratri Sollerets +1" -- macc 33
}
sets.midcast.Endark = set_combine(sets.midcast['Dark Magic'], {
head="Ignominy Burgonet +2",
hands="Fallen's Finger Gauntlets +1"
})
sets.midcast['Dark Magic'].Acc = set_combine(sets.midcast['Dark Magic'], {
head="Ratri Sallet +1", -- 45 macc
--hands="Leyline Gloves",
waist="Eschan Stone"
})
sets.midcast['Enfeebling Magic'] = set_combine(sets.midcast['Dark Magic'], {
ammo="Pemphredo Tathlum",
head="Nyame Helm",
neck="Erra Pendant", -- 10 + 17 macc
body="Ignominy Cuirass +3",
hands="Nyame Gauntlets",
ring1="Kishar Ring",
ring2="Regal Ring", -- 10 macc
waist="Eschan Stone",
legs="Fallen's Flanchard +3", -- 18 + 39macc
back="Aput Mantle",
feet="Nyame Sollerets"
})
sets.midcast['Elemental Magic'] = {
ammo="Pemphredo Tathlum",
head="Nyame Helm", -- 45 macc
neck="Eddy Necklace", -- 11 matk
ear1="Malignance Earring",
ear2="Friomisi Earring", -- 10 matk
body="Nyame Mail",
hands="Nyame Gauntlets",
ring1="Resonance Ring", -- int 8
ring2="Regal Ring", -- matk 4
waist="Eschan Stone", -- macc/matk 7
legs="Nyame Flanchard", -- matk 25
back="Aput Mantle", -- mdmg 10
feet="Nyame Sollerets" -- matk 29
}
-- Mix of HP boost, -Spell interruption%, and Dark Skill
sets.midcast['Dread Spikes'] = set_combine(sets.midcast['Dark Magic'], {
ammo="Staunch Tathlum",
neck="Sanctity Necklace",
head="Ratri Sallet +1",
ear1="Etiolation Earring",
ear2="Infused Earring",
body="Heathen's Cuirass +1",
--body="Ratri Breastplate +1",
hands="Ratri Gadlings +1",
back="Trepidity Mantle",
ring2="Regal Ring", -- matk 4
waist="Eschan Stone",
legs="Ratri Cuisses +1",
feet="Ratri Sollerets +1"
})
sets.midcast['Dread Spikes'].Acc = set_combine(sets.midcast['Dark Magic'], {
head="Ratri Sallet +1",
body="Heathen's Cuirass +1",
--hands="Fallen's Finger Gauntlets +1"
})
-- Drain spells
sets.midcast.Drain = set_combine(sets.midcast['Dark Magic'], {
head="Fallen's Burgeonet +3",
ear1="Malignance Earring",
ear2="Hirudinea Earring",
ring2="Excelsis Ring",
feet="Ratri Sollerets +1"
})
sets.midcast.Aspir = sets.midcast.Drain
sets.midcast.Drain.Acc = set_combine(sets.midcast.Drain, {
hands="Leyline Gloves",
waist="Eschan Stone", -- macc/matk 7
})
sets.midcast.Aspir.Acc = sets.midcast.Drain.Acc
sets.midcast.Drain.OhShit = set_combine(sets.midcast.Drain, {
legs="Carmine Cuisses +1",
feet="Ratri Sollerets +1"
})
-- Absorbs
sets.midcast.Absorb = set_combine(sets.midcast['Dark Magic'], {
head="Ignominy Burgonet +2", -- 17
-- neck="Sanctity Necklace",
-- back="Niht Mantle",
-- hands="Flamma Manopolas +2",
back="Chuparrosa Mantle",
hands="Pavor Gauntlets",
ring1="Evanescence Ring", -- 10
ring2="Kishar Ring",
})
sets.midcast['Absorb-TP'] = set_combine(sets.midcast.Absorb, {
hands="Heathen's Gauntlets +1",
ring1="Evanescence Ring", -- 10
ring2="Kishar Ring",
})
sets.midcast['Absorb-TP'].Acc = set_combine(sets.midcast.Absorb.Acc, {
hands="Heathen's Gauntlets +1",
ring1="Evanescence Ring", -- 10
ring2="Kishar Ring",
})
sets.midcast.Absorb.Acc = set_combine(sets.midcast['Dark Magic'].Acc, {
head="Ratri Sallet +1",
back="Chuparrosa Mantle",
hands="Flamma Manopolas +2",
ring1="Evanescence Ring", -- 10
ring2="Kishar Ring",
})
sets.midcast['Blue Magic'] = set_combine(sets.midcast['Dark Magic'], {
ear2="Crepuscular Earring", -- 3
waist="Eschan Stone", -- 5
ring1="Crepuscular Ring", -- 10
ring2="Weatherspoon Ring", -- 10 macc
back="Aput Mantle",
legs="Fallen's Flanchard +3", -- 18 + 39macc
feet="Ratri Sollerets +1" -- macc 33
})
-- Ranged for xbow
sets.precast.RA = {
--head="Otomi Helm",
--feet="Ejekamal Boots",
hands="Carmine Finger Gauntlets +1"
}
sets.midcast.RA = {
ear2="Tripudio Earring",
ring1="Cacoethic Ring +1",
waist="Chaac Belt",
}
-- WEAPONSKILL SETS
-- General sets
sets.precast.WS = {
ammo="Knobkierrie",
head="Sakpata's Helm",
neck="Abyssal Bead Necklace +2",
ear1="Thrud Earring",
ear2="Moonshade Earring",
body="Ignominy Cuirass +3",
hands="Odyssean Gauntlets",
ring1="Niqmaddu Ring",
ring2="Regal Ring",
back=Ankou.WSD,
waist="Windbuffet Belt +1",
legs="Fallen's Flanchard +3",
feet="Sulevia's Leggings +2"
}
sets.precast.WS.Mid = set_combine(sets.precast.WS, {
legs="Fallen's Flanchard +3",
})
sets.precast.WS.Acc = set_combine(sets.precast.WS.Mid, {
body="Fallen's Cuirass +3",
waist="Olseni Belt",
})
-- RESOLUTION
-- 86-100% STR
sets.precast.WS.Resolution = set_combine(sets.precast.WS, {
head="Sakpata's Helm",
neck="Breeze Gorget",
body="Sakpata's Plate",
ear1="Schere Earring",
--body="Valorous Mail",
hands="Sakpata's Gauntlets",
waist="Soil Belt",
legs="Fallen's Flanchard +3",
feet="Sulevia's Leggings +2"
})
sets.precast.WS.Resolution.Mid = set_combine(sets.precast.WS.Resolution, {
head="Flamma Zucchetto +2",
})
sets.precast.WS.Resolution.Acc = set_combine(sets.precast.WS.Resolution.Mid, {
ammo="Seething Bomblet +1",
legs="Fallen's Flanchard +3",
feet="Sulevia's Leggings +2"
})
-- TORCLEAVER
-- VIT 80%
sets.precast.WS.Torcleaver = set_combine(sets.precast.WS, {
head="Sakpata's Helm",
body="Sakpata's Plate",
neck="Abyssal Bead Necklace +2",
waist="Light Belt",
back=Ankou.VIT,
legs="Fallen's Flanchard +3",
})
sets.precast.WS.Torcleaver.Mid = set_combine(sets.precast.WS.Torcleaver, {
head="Odyssean Helm",
body="Ignominy Cuirass +3",
neck="Abyssal Bead Necklace +2",
})
sets.precast.WS.Torcleaver.Acc = set_combine(sets.precast.WS.Torcleaver.Mid, {
body="Fallen's Cuirass +3",
legs=Odyssean.Legs.WS
})
-- INSURGENCY
-- 20% STR / 20% INT
-- Base set only used at 3000TP to put AM3 up
sets.precast.WS.Insurgency = set_combine(sets.precast.WS, {
head="Sakpata's Helm",
neck="Abyssal Bead Necklace +2",
--body="Ratri Breastplate +1",
body="Sakpata's Plate",
hands="Ratri Gadlings +1",
-- legs="Ratri Cuisses +1",
legs="Fallen's Flanchard +3",
ring2="Regal Ring",
waist="Sailfi Belt +1",
feet="Ratri Sollerets +1"
})
sets.precast.WS.Insurgency.Mid = set_combine(sets.precast.WS.Insurgency, {
head="Ratri Sallet +1",
body="Ignominy Cuirass +3",
waist="Light Belt",
})
sets.precast.WS.Insurgency.Acc = set_combine(sets.precast.WS.Insurgency.Mid, {
ammo="Seething Bomblet +1",
body="Ignominy Cuirass +3",
})
sets.precast.WS.Catastrophe = set_combine(sets.precast.WS, {
head="Ratri Sallet +1",
ear2="Ishvara Earring",
neck="Abyssal Bead Necklace +2",
body="Ignominy Cuirass +3",
--body="Ratri Breastplate +1",
hands="Ratri Gadlings +1",
-- legs="Ratri Cuisses +1",
legs="Fallen's Flanchard +3",
--waist="Soil Belt",
waist="Sailfi Belt +1",
feet="Ratri Sollerets +1"
})
sets.precast.WS.Catastrophe.Mid = set_combine(sets.precast.WS.Catastrophe, {})
sets.precast.WS.Catastrophe.Acc = set_combine(sets.precast.WS.Catastrophe.Mid, {
--body="Ratri Breastplate +1",
waist="Olseni Belt",
})
sets.precast.WS['Fell Cleave'] = set_combine(sets.precast.WS.Catastrophe, {
head="Sakpata's Helm",
feet="Sulevia's Leggings +2"
})
-- CROSS REAPER
-- 60% STR / 60% MND
sets.precast.WS['Cross Reaper'] = set_combine(sets.precast.WS, {
head="Sakpata's Helm",
body="Ignominy Cuirass +3",
ear1="Schere Earring",
--body="Ratri Breastplate +1",
hands="Sakpata's Gauntlets",
waist="Metalsinger Belt",
-- legs="Ratri Cuisses +1",
legs="Fallen's Flanchard +3",
feet="Ratri Sollerets +1"
})
sets.precast.WS['Cross Reaper'].Mid = set_combine(sets.precast.WS['Cross Reaper'], {
head="Ratri Sallet +1",
hands="Ratri Gadlings +1",
feet="Ratri Sollerets +1"
})
sets.precast.WS['Cross Reaper'].Acc = set_combine(sets.precast.WS['Cross Reaper'].Mid, {
ammo="Seething Bomblet +1",
body="Fallen's Cuirass +3",
})
-- ENTROPY
-- 86-100% INT
sets.precast.WS.Entropy = set_combine(sets.precast.WS, {
ammo="Crepuscular Pebble",
head="Sakpata's Helm",
neck="Abyssal Bead Necklace +2",
ear1="Schere Earring",
ear2="Moonshade Earring",
body="Sakpata's Plate",
hands="Sakpata's Gauntlets",
ring1="Niqmaddu Ring",
ring2="Regal Ring",
waist="Soil Belt",
legs="Ignominy Flanchard +3", -- 5% haste
feet="Sakpata's Leggings"
})
sets.precast.WS.Entropy.Mid = set_combine(sets.precast.WS.Entropy, {
head="Hjarrandi Helm",
})
sets.precast.WS.Entropy.Acc = set_combine(sets.precast.WS.Entropy.Mid, {
body="Fallen's Cuirass +3",
ammo="Seething Bomblet +1",
})
-- Quietus
-- 60% STR / MND
sets.precast.WS.Quietus = set_combine(sets.precast.WS, {
head="Ratri Sallet +1",
neck="Abyssal Bead Necklace +2",
body="Ignominy Cuirass +3",
-- body="Ratri Breastplate +1",
hands="Ratri Gadlings +1",
waist="Caudata Belt",
feet="Ratri Cuisses +1",
feet="Ratri Sollerets +1"
})
sets.precast.WS.Quietus.Mid = set_combine(sets.precast.WS.Quietus, {
})
sets.precast.WS.Quietus.Acc = set_combine(sets.precast.WS.Quietus.Mid, {
body="Fallen's Cuirass +3",
ammo="Seething Bomblet +1",
legs=Odyssean.Legs.WS
})
-- SPIRAL HELL
-- 50% STR / 50% INT
sets.precast.WS['Spiral Hell'] = set_combine(sets.precast.WS['Entropy'], {
neck="Abyssal Bead Necklace +2",
body="Ignominy Cuirass +3",
legs="Fallen's Flanchard +3",
waist="Metalsinger belt",
})
sets.precast.WS['Spiral Hell'].Mid = set_combine(sets.precast.WS['Spiral Hell'], sets.precast.WS.Mid, { })
sets.precast.WS['Spiral Hell'].Acc = set_combine(sets.precast.WS['Spiral Hell'], sets.precast.WS.Acc, { })
-- SHADOW OF DEATH
-- 40% STR 40% INT - Darkness Elemental
sets.precast.WS['Shadow of Death'] = set_combine(sets.precast.WS['Entropy'], {
head="Pixie Hairpin +1",
neck="Abyssal Bead Necklace +2",
body="Fallen's Cuirass +3",
ear1="Friomisi Earring",
hands="Nyame Gauntlets",
ring2="Archon Ring",
back=Ankou.WSD,
legs="Nyame Flanchard",
waist="Eschan Stone", -- macc/matk 7
feet="Ratri Sollerets +1"
})
sets.precast.WS['Shadow of Death'].Mid = set_combine(sets.precast.WS['Shadow of Death'], sets.precast.WS.Mid, {
})
sets.precast.WS['Shadow of Death'].Acc = set_combine(sets.precast.WS['Shadow of Death'], sets.precast.WS.Acc, {
})
-- DARK HARVEST
-- 40% STR 40% INT - Darkness Elemental
sets.precast.WS['Dark Harvest'] = sets.precast.WS['Shadow of Death']
sets.precast.WS['Dark Harvest'].Mid = set_combine(sets.precast.WS['Shadow of Death'], {})
sets.precast.WS['Dark Harvest'].Acc = set_combine(sets.precast.WS['Shadow of Death'], {})
-- Sword WS's
-- SANGUINE BLADE
-- 50% MND / 50% STR Darkness Elemental
sets.precast.WS['Sanguine Blade'] = set_combine(sets.precast.WS, {
head="Pixie Hairpin +1",
neck="Abyssal Bead Necklace +2",
ear1="Friomisi Earring",
body="Fallen's Cuirass +3",
hands="Nyame Gauntlets",
ring1="Archon Ring",
back=Ankou.WSD,
feet="Nyame Sollerets"
})
sets.precast.WS['Sanguine Blade'].Mid = set_combine(sets.precast.WS['Sanguine Blade'], sets.precast.WS.Mid)
sets.precast.WS['Sanguine Blade'].Acc = set_combine(sets.precast.WS['Sanguine Blade'], sets.precast.WS.Acc)
-- REQUISCAT
-- 73% MND - breath damage
sets.precast.WS.Requiescat = set_combine(sets.precast.WS, {
head="Flamma Zucchetto +2",
neck="Abyssal Bead Necklace +2",
body="Ignominy Cuirass +3",
hands="Odyssean Gauntlets",
waist="Soil Belt",
})
sets.precast.WS.Requiescat.Mid = set_combine(sets.precast.WS.Requiscat, sets.precast.WS.Mid)
sets.precast.WS.Requiescat.Acc = set_combine(sets.precast.WS.Requiscat, sets.precast.WS.Acc)
-- Idle sets
sets.idle = {
ammo="Staunch Tathlum",
head="Sakpata's Helm",
neck="Sanctity Necklace",
ear1="Etiolation Earring",
ear2="Genmei Earring",
body="Sakpata's Plate",
hands="Volte Moufles",
ring1="Paguroidea Ring",
ring2="Defending Ring",
back=Ankou.STP,
waist="Flume belt",
legs="Carmine Cuisses +1",
feet="Volte Sollerets"
}
sets.idle.Town = set_combine(sets.idle, {
ammo="Coiste Bodhar",
head="Ratri Sallet +1",
neck="Abyssal Bead Necklace +2",
ear1="Dedition Earring",
ear2="Telos Earring",
body="Sakpata's Plate",
--body="Ratri Breastplate +1",
hands="Ratri Gadlings +1",
ring1="Niqmaddu Ring",
ring2="Regal Ring",
back=Ankou.DA,
waist="Sailfi Belt +1",
legs="Carmine Cuisses +1",
feet="Ratri Sollerets +1"
})
sets.idle.Field = set_combine(sets.idle, {
head="Ratri Sallet +1"
})
sets.idle.Regen = set_combine(sets.idle.Field, {
head="",
neck="Sanctity Necklace",
body="Lugra Cloak +1",
ear2="Infused Earring",
ring1="Paguroidea Ring",
})
sets.idle.Refresh = set_combine(sets.idle.Regen, {
head="Befouled Crown",
body="Jumalik mail",
neck="Coatl Gorget +1"
})
sets.idle.Weak = set_combine(sets.defense.PDT, {
head="Nyame Helm",
neck="Sanctity Necklace",
body="Nyame Mail",
hands="Volte Moufles",
ring1="Paguroidea Ring",
ring2="Defending Ring",
back=Ankou.STP,
waist="Flume Belt",
legs="Nyame Flanchard",
feet="Nyame Sollerets"
})
sets.idle.Sphere = set_combine(sets.idle, { body="Makora Meikogai" })
-- Defense sets
sets.defense.PDT = {
ammo="Crepuscular Pebble",
neck="Abyssal Bead Necklace +2",
head="Sakpata's Helm", -- no haste
body="Sakpata's Plate", -- 3% haste
hands="Sakpata's Gauntlets",
legs="Sakpata's Cuisses", -- 5% haste
feet="Sakpata's Leggings", -- 3% haste
--ring1="Patricius Ring",
ring2="Defending Ring",
waist="Sailfi Belt +1", -- 9% haste
}
sets.defense.Reraise = sets.idle.Weak
sets.defense.MDT = set_combine(sets.defense.PDT, {
neck="Twilight Torque",
ring2="Defending Ring",
})
sets.Kiting = {
legs="Carmine Cuisses +1",
}
sets.Reraise = {head="Nyame Helm",body="Nyame Mail"}
-- sets.HighHaste = {
-- ammo="Ginsen",
-- head="Argosy Celata",
-- }
-- Defensive sets to combine with various weapon-specific sets below
-- These allow hybrid acc/pdt sets for difficult content
-- do not specify a cape so that DA/STP capes are used appropriately
sets.Defensive = {
head="Sakpata's Helm", -- 10% dt
body="Sakpata's Plate", -- 10% dt
hands="Sakpata's Gauntlets",
legs="Sakpata's Cuisses",
feet="Sakpata's Leggings" -- 4% pdt | 6% mdt
}
-- Higher DT, less haste
sets.DefensiveHigh = set_combine(sets.Defensive, { ammo="Seething Bomblet +1" })
sets.Defensive_Acc = set_combine(sets.Defensive, sets.DefensiveHigh)
-- Base set (global catch-all set)
sets.engaged = {
-- sub="Bloodrain Strap",
ammo="Coiste Bodhar",
head="Flamma Zucchetto +2",
neck="Abyssal Bead Necklace +2",
ear1="Cessance Earring",
ear2="Brutal Earring",
--body=Valorous.Body.STP,
body="Sakpata's Plate",
hands="Sakpata's Gauntlets",
ring1="Niqmaddu Ring",
ring2="Petrov Ring",
back=Ankou.DA,
waist="Sailfi Belt +1",
legs="Ignominy Flanchard +3",
feet="Flamma Gambieras +2"
}
sets.engaged.Mid = set_combine(sets.engaged, {
ear2="Telos Earring",
waist="Ioskeha Belt",
ring2="Regal Ring",
})
sets.engaged.Acc = set_combine(sets.engaged.Mid, {
ammo="Ginsen",
-- ammo="Hasty Pinion +1",
ear1="Cessance Earring",
ear2="Telos Earring",
waist="Ioskeha Belt",
back=Ankou.STP,
})
-- These only apply when delay is capped.
sets.engaged.Haste = set_combine(sets.engaged, {
waist="Sailfi Belt +1",
})
sets.engaged.Haste.Mid = set_combine(sets.engaged.Mid, {
waist="Sailfi Belt +1",
--waist="Windbuffet Belt +1"
})
sets.engaged.Haste.Acc = set_combine(sets.engaged.Acc, {
waist="Ioskeha Belt",
})
-- Hybrid
sets.engaged.PDT = set_combine(sets.engaged, sets.Defensive)
sets.engaged.Mid.PDT = set_combine(sets.engaged.Mid, sets.Defensive)
sets.engaged.Acc.PDT = set_combine(sets.engaged.Acc, sets.Defensive_Acc)
-- Hybrid with capped delay
sets.engaged.Haste.PDT = set_combine(sets.engaged.PDT, sets.DefensiveHigh)
sets.engaged.Haste.Mid.PDT = set_combine(sets.engaged.Mid.PDT, sets.DefensiveHigh)
sets.engaged.Haste.Acc.PDT = set_combine(sets.engaged.Acc.PDT, sets.DefensiveHigh)
-- Liberator
sets.engaged.Liberator = set_combine(sets.engaged, {
ear1="Schere Earring",
})
sets.engaged.Liberator.Mid = set_combine(sets.engaged.Mid, {
ear1="Schere Earring",
})
sets.engaged.Liberator.Acc = set_combine(sets.engaged.Acc, {
ear1="Schere Earring",
body="Flamma Korazin +2",
})
-- Liberator AM3
sets.engaged.Liberator.AM3 = set_combine(sets.engaged.Liberator, {
ammo="Coiste Bodhar",
head="Flamma Zucchetto +2",
body="Hjarrandi Breastplate",
neck="Abyssal Bead Necklace +2",
hands="Flamma Manopolas +2",
ear1="Dedition Earring",
ear2="Telos Earring",
ring1="Niqmaddu Ring",
ring2="Hetairoi Ring",
back=Ankou.STP,
waist="Sailfi Belt +1",
legs=Odyssean.Legs.TP,
feet=Valorous.Feet.TP
})
sets.engaged.Liberator.Mid.AM3 = set_combine(sets.engaged.Liberator.AM3, {
neck="Abyssal Bead Necklace +2",
ear1="Cessance Earring",
legs=Odyssean.Legs.TP,
})
sets.engaged.Liberator.Acc.AM3 = set_combine(sets.engaged.Liberator.Mid.AM3, {
ammo="Seething Bomblet +1",
ear1="Cessance Earring",
ear2="Telos Earring",
body="Flamma Korazin +2",
ring2="Regal Ring",
waist="Ioskeha Belt",
legs="Ignominy Flanchard +3",
feet="Flamma Gambieras +2"
})
sets.engaged.Haste.Liberator = set_combine(sets.engaged.Liberator, {
--waist="Windbuffet Belt +1"
waist="Sailfi Belt +1",
})
sets.engaged.Haste.Liberator.Mid = set_combine(sets.engaged.Liberator.Mid, {
--waist="Windbuffet Belt +1"
waist="Sailfi Belt +1",
})
sets.engaged.Haste.Liberator.Acc = sets.engaged.Liberator.Acc
sets.engaged.Haste.Liberator.AM3 = set_combine(sets.engaged.Liberator.AM3, {
waist="Windbuffet Belt +1"
})
sets.engaged.Haste.Liberator.Mid.AM3 = sets.engaged.Liberator.Mid.AM3
sets.engaged.Haste.Liberator.Acc.AM3 = sets.engaged.Liberator.Acc.AM3
-- Hybrid
sets.engaged.Liberator.PDT = set_combine(sets.engaged.Liberator, {
ammo="Hasty Pinion +1",
head="Hjarrandi Helm",
body="Sakpata's Plate",
neck="Abyssal Bead Necklace +2",
hands="Sakpata's Gauntlets",
--ring2="Defending Ring",
back=Ankou.STP,
waist="Sailfi Belt +1",
legs="Sakpata's Cuisses",
feet="Sakpata's Leggings"
})
sets.engaged.Liberator.Mid.PDT = set_combine(sets.engaged.Liberator.PDT, {
ear1="Cessance Earring",
})
sets.engaged.Liberator.Acc.PDT = set_combine(sets.engaged.Liberator.Acc, sets.DefensiveHigh)
-- Hybrid with AM3 up
sets.engaged.Liberator.PDT.AM3 = set_combine(sets.engaged.Liberator.AM3, sets.Defensive)
sets.engaged.Liberator.Mid.PDT.AM3 = set_combine(sets.engaged.Liberator.Mid.AM3, sets.Defensive)
sets.engaged.Liberator.Acc.PDT.AM3 = set_combine(sets.engaged.Liberator.Acc.AM3, sets.DefensiveHigh)
-- Hybrid with capped delay
sets.engaged.Haste.Liberator.PDT = set_combine(sets.engaged.Liberator.PDT, sets.DefensiveHigh)
sets.engaged.Haste.Liberator.Mid.PDT = set_combine(sets.engaged.Liberator.Mid.PDT, sets.DefensiveHigh)
sets.engaged.Haste.Liberator.Acc.PDT = set_combine(sets.engaged.Liberator.Acc.PDT, sets.DefensiveHigh)
-- Hybrid with capped delay + AM3 up
sets.engaged.Haste.Liberator.PDT.AM3 = set_combine(sets.engaged.Liberator.PDT.AM3, sets.Defensive)
sets.engaged.Haste.Liberator.Mid.PDT.AM3 = set_combine(sets.engaged.Liberator.Mid.PDT.AM3, sets.Defensive)
sets.engaged.Haste.Liberator.Acc.PDT.AM3 = set_combine(sets.engaged.Liberator.Acc.PDT.AM3, sets.DefensiveHigh)
-- Apocalypse
sets.engaged.Apocalypse = set_combine(sets.engaged, {
-- ear1="Cessance Earring",
ear1="Schere Earring",
ear2="Brutal Earring",
body="Sakpata's Plate",
hands="Sakpata's Gauntlets",
ring2="Petrov Ring",
back=Ankou.DA
})
sets.engaged.Apocalypse.Mid = set_combine(sets.engaged.Mid, {
-- ear1="Cessance Earring",
ear1="Schere Earring",
ear2="Telos Earring",
ring2="Flamma Ring",
hands="Sakpata's Gauntlets",
back=Ankou.DA
})
sets.engaged.Apocalypse.Acc = set_combine(sets.engaged.Acc, {
ammo="Seething Bomblet +1",
ear1="Cessance Earring",
ear2="Telos Earring",
body="Sakpata's Plate",
ring2="Regal Ring",
hands="Sakpata's Gauntlets",
back=Ankou.DA
})
-- sets.engaged.Apocalypse.AM = set_combine(sets.engaged.Apocalypse, {})
-- sets.engaged.Apocalypse.Mid.AM = set_combine(sets.engaged.Apocalypse.AM, {})
-- sets.engaged.Apocalypse.Acc.AM = set_combine(sets.engaged.Apocalypse.Mid.AM, {
-- ring2="Cacoethic Ring +1",
-- waist="Ioskeha Belt"
-- })
sets.engaged.Haste.Apocalypse = set_combine(sets.engaged.Apocalypse, {
--waist="Windbuffet Belt +1"
waist="Sailfi Belt +1",
})
sets.engaged.Haste.Apocalypse.Mid = sets.engaged.Apocalypse.Mid
sets.engaged.Haste.Apocalypse.Acc = sets.engaged.Apocalypse.Acc
-- Hybrid
sets.engaged.Apocalypse.PDT = set_combine(sets.engaged.Apocalypse, {
ammo="Crepuscular Pebble",
head="Hjarrandi Helm",
neck="Abyssal Bead Necklace +2",
body="Sakpata's Plate",
hands="Sakpata's Gauntlets",
ring2="Defending Ring",
back=Ankou.DA,
waist="Sailfi Belt +1",
legs="Sakpata's Cuisses",
feet="Sakpata's Leggings"
})
sets.engaged.Apocalypse.Mid.PDT = set_combine(sets.engaged.Apocalypse.Mid, sets.Defensive)
sets.engaged.Apocalypse.Acc.PDT = set_combine(sets.engaged.Apocalypse.Acc, sets.Defensive_Acc)
-- Hybrid with relic AM
-- sets.engaged.Apocalypse.PDT.AM = set_combine(sets.engaged.Apocalypse, sets.Defensive)
-- sets.engaged.Apocalypse.Mid.PDT.AM = set_combine(sets.engaged.Apocalypse.Mid, sets.Defensive)
-- sets.engaged.Apocalypse.Acc.PDT.AM = set_combine(sets.engaged.Apocalypse.Acc, sets.Defensive_Acc)
-- Hybrid with capped delay
sets.engaged.Haste.Apocalypse.PDT = set_combine(sets.engaged.Apocalypse.PDT, sets.DefensiveHigh)
sets.engaged.Haste.Apocalypse.Mid.PDT = set_combine(sets.engaged.Apocalypse.Mid.PDT, sets.DefensiveHigh)
sets.engaged.Haste.Apocalypse.Acc.PDT = set_combine(sets.engaged.Apocalypse.Acc.PDT, sets.DefensiveHigh)
-- Hybrid with capped delay + AM3 up
-- sets.engaged.Haste.Apocalypse.PDT.AM3 = set_combine(sets.engaged.Apocalypse.PDT.AM3, sets.DefensiveHigh)
-- sets.engaged.Haste.Apocalypse.Mid.PDT.AM3 = set_combine(sets.engaged.Apocalypse.Mid.PDT.AM3, sets.DefensiveHigh)