-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathArislan-BLU.lua
1670 lines (1434 loc) · 64.4 KB
/
Arislan-BLU.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
-- Original: Motenten / Modified: Arislan
-- Haste/DW Detection Requires Gearinfo Addon
-------------------------------------------------------------------------------------------------------------------
-- Keybinds
-------------------------------------------------------------------------------------------------------------------
-- Modes: [ F9 ] Cycle Offense Modes
-- [ CTRL+F9 ] Cycle Hybrid Modes
-- [ WIN+F9 ] Cycle Weapon Skill Modes
-- [ F10 ] Emergency -PDT Mode
-- [ ALT+F10 ] Toggle Kiting Mode
-- [ F11 ] Emergency -MDT Mode
-- [ F12 ] Update Current Gear / Report Current Status
-- [ CTRL+F12 ] Cycle Idle Modes
-- [ ALT+F12 ] Cancel Emergency -PDT/-MDT Mode
-- [ WIN+C ] Toggle Capacity Points Mode
--
-- Abilities: [ CTRL+- ] Chain Affinity
-- [ CTRL+= ] Burst Affinity
-- [ CTRL+[ ] Efflux
-- [ ALT+[ ] Diffusion
-- [ ALT+] ] Unbridled Learning
-- [ CTRL+Numpad/ ] Berserk
-- [ CTRL+Numpad* ] Warcry
-- [ CTRL+Numpad- ] Aggressor
--
-- Spells: [ CTRL+` ] Blank Gaze
-- [ ALT+Q ] Nature's Meditation/Fantod
-- [ ALT+W ] Cocoon/Reactor Cool
-- [ ALT+E ] Erratic Flutter
-- [ ALT+R ] Battery Charge/Refresh
-- [ ALT+T ] Occultation
-- [ ALT+Y ] Barrier Tusk/Phalanx
-- [ ALT+U ] Diamondhide/Stoneskin
-- [ ALT+P ] Mighty Guard/Carcharian Verve
-- [ WIN+, ] Utsusemi: Ichi
-- [ WIN+. ] Utsusemi: Ni
--
-- WS: [ CTRL+Numpad7 ] Savage Blade
-- [ CTRL+Numpad9 ] Chant Du Cygne
-- [ CTRL+Numpad4 ] Requiescat
-- [ CTRL+Numpad5 ] Expiacion
--
--
-- (Global-Binds.lua contains additional non-job-related keybinds)
--------------------------------------------------------------------------------------------------------------------
-- Setup functions for this job. Generally should not be modified.
-------------------------------------------------------------------------------------------------------------------
-- Initialization function for this job file.
function get_sets()
mote_include_version = 2
-- Load and initialize the include file.
include('Mote-Include.lua')
end
-- Setup vars that are user-independent. state.Buff vars initialized here will automatically be tracked.
function job_setup()
state.Buff['Burst Affinity'] = buffactive['Burst Affinity'] or false
state.Buff['Chain Affinity'] = buffactive['Chain Affinity'] or false
state.Buff.Convergence = buffactive.Convergence or false
state.Buff.Diffusion = buffactive.Diffusion or false
state.Buff.Efflux = buffactive.Efflux or false
state.Buff['Unbridled Learning'] = buffactive['Unbridled Learning'] or false
blue_magic_maps = {}
-- Mappings for gear sets to use for various blue magic spells.
-- While Str isn't listed for each, it's generally assumed as being at least
-- moderately signficant, even for spells with other mods.
-- Physical spells with no particular (or known) stat mods
blue_magic_maps.Physical = S{'Bilgestorm'}
-- Spells with heavy accuracy penalties, that need to prioritize accuracy first.
blue_magic_maps.PhysicalAcc = S{'Heavy Strike'}
-- Physical spells with Str stat mod
blue_magic_maps.PhysicalStr = S{'Battle Dance','Bloodrake','Death Scissors','Dimensional Death',
'Empty Thrash','Quadrastrike','Saurian Slide','Sinker Drill','Spinal Cleave','Sweeping Gouge',
'Uppercut','Vertical Cleave'}
-- Physical spells with Dex stat mod
blue_magic_maps.PhysicalDex = S{'Amorphic Spikes','Asuran Claws','Barbed Crescent','Claw Cyclone',
'Disseverment','Foot Kick','Frenetic Rip','Goblin Rush','Hysteric Barrage','Paralyzing Triad',
'Seedspray','Sickle Slash','Smite of Rage','Terror Touch','Thrashing Assault','Vanity Dive'}
-- Physical spells with Vit stat mod
blue_magic_maps.PhysicalVit = S{'Body Slam','Cannonball','Delta Thrust','Glutinous Dart','Grand Slam',
'Power Attack','Quad. Continuum','Sprout Smack','Sub-zero Smash'}
-- Physical spells with Agi stat mod
blue_magic_maps.PhysicalAgi = S{'Benthic Typhoon','Feather Storm','Helldive','Hydro Shot','Jet Stream',
'Pinecone Bomb','Spiral Spin','Wild Oats'}
-- Physical spells with Int stat mod
blue_magic_maps.PhysicalInt = S{'Mandibular Bite','Queasyshroom'}
-- Physical spells with Mnd stat mod
blue_magic_maps.PhysicalMnd = S{'Ram Charge','Screwdriver','Tourbillion'}
-- Physical spells with Chr stat mod
blue_magic_maps.PhysicalChr = S{'Bludgeon'}
-- Physical spells with HP stat mod
blue_magic_maps.PhysicalHP = S{'Final Sting'}
-- Magical spells with the typical Int mod
blue_magic_maps.Magical = S{'Anvil Lightning','Blastbomb','Blazing Bound','Bomb Toss','Cursed Sphere',
'Droning Whirlwind','Embalming Earth','Entomb','Firespit','Foul Waters','Ice Break','Leafstorm',
'Maelstrom','Molting Plumage','Nectarous Deluge','Regurgitation','Rending Deluge','Scouring Spate',
'Silent Storm','Spectral Floe','Subduction','Tem. Upheaval','Water Bomb'}
blue_magic_maps.MagicalDark = S{'Dark Orb','Death Ray','Eyes On Me','Evryone. Grudge','Palling Salvo',
'Tenebral Crush'}
blue_magic_maps.MagicalLight = S{'Blinding Fulgor','Diffusion Ray','Radiant Breath','Rail Cannon',
'Retinal Glare'}
-- Magical spells with a primary Mnd mod
blue_magic_maps.MagicalMnd = S{'Acrid Stream','Magic Hammer','Mind Blast'}
-- Magical spells with a primary Chr mod
blue_magic_maps.MagicalChr = S{'Mysterious Light'}
-- Magical spells with a Vit stat mod (on top of Int)
blue_magic_maps.MagicalVit = S{'Thermal Pulse'}
-- Magical spells with a Dex stat mod (on top of Int)
blue_magic_maps.MagicalDex = S{'Charged Whisker','Gates of Hades'}
-- Magical spells (generally debuffs) that we want to focus on magic accuracy over damage.
-- Add Int for damage where available, though.
blue_magic_maps.MagicAccuracy = S{'1000 Needles','Absolute Terror','Actinic Burst','Atra. Libations',
'Auroral Drape','Awful Eye', 'Blank Gaze','Blistering Roar','Blood Saber','Chaotic Eye',
'Cimicine Discharge','Cold Wave','Corrosive Ooze','Demoralizing Roar','Digest','Dream Flower',
'Enervation','Feather Tickle','Filamented Hold','Frightful Roar','Geist Wall','Hecatomb Wave',
'Infrasonics','Jettatura','Light of Penance','Lowing','Mind Blast','Mortal Ray','MP Drainkiss',
'Osmosis','Reaving Wind','Sandspin','Sandspray','Sheep Song','Soporific','Sound Blast',
'Stinking Gas','Sub-zero Smash','Venom Shell','Voracious Trunk','Yawn'}
-- Breath-based spells
blue_magic_maps.Breath = S{'Bad Breath','Flying Hip Press','Frost Breath','Heat Breath','Hecatomb Wave',
'Magnetite Cloud','Poison Breath','Self-Destruct','Thunder Breath','Vapor Spray','Wind Breath'}
-- Stun spells
blue_magic_maps.StunPhysical = S{'Frypan','Head Butt','Sudden Lunge','Tail slap','Whirl of Rage'}
blue_magic_maps.StunMagical = S{'Blitzstrahl','Temporal Shift','Thunderbolt'}
-- Healing spells
blue_magic_maps.Healing = S{'Healing Breeze','Magic Fruit','Plenilune Embrace','Pollen','Restoral',
'Wild Carrot'}
-- Buffs that depend on blue magic skill
blue_magic_maps.SkillBasedBuff = S{'Barrier Tusk','Diamondhide','Magic Barrier','Metallic Body',
'Plasma Charge','Pyric Bulwark','Reactor Cool','Occultation'}
-- Other general buffs
blue_magic_maps.Buff = S{'Amplification','Animating Wail','Carcharian Verve','Cocoon',
'Erratic Flutter','Exuviation','Fantod','Feather Barrier','Harden Shell','Memento Mori',
'Nat. Meditation','Orcish Counterstance','Refueling','Regeneration','Saline Coat','Triumphant Roar',
'Warm-Up','Winds of Promyvion','Zephyr Mantle'}
blue_magic_maps.Refresh = S{'Battery Charge'}
-- Spells that require Unbridled Learning to cast.
unbridled_spells = S{'Absolute Terror','Bilgestorm','Blistering Roar','Bloodrake','Carcharian Verve','Cesspool',
'Crashing Thunder','Cruel Joke','Droning Whirlwind','Gates of Hades','Harden Shell','Mighty Guard',
'Polar Roar','Pyric Bulwark','Tearing Gust','Thunderbolt','Tourbillion','Uproot'}
no_swap_gear = S{"Warp Ring", "Dim. Ring (Dem)", "Dim. Ring (Holla)", "Dim. Ring (Mea)",
"Trizek Ring", "Echad Ring", "Facility Ring", "Capacity Ring"}
elemental_ws = S{'Flash Nova', 'Sanguine Blade'}
include('Mote-TreasureHunter')
-- For th_action_check():
-- JA IDs for actions that always have TH: Provoke, Animated Flourish
info.default_ja_ids = S{35, 204}
-- Unblinkable JA IDs for actions that always have TH: Quick/Box/Stutter Step, Desperate/Violent Flourish
info.default_u_ja_ids = S{201, 202, 203, 205, 207}
lockstyleset = 1
end
-------------------------------------------------------------------------------------------------------------------
-- User setup functions for this job. Recommend that these be overridden in a sidecar file.
-------------------------------------------------------------------------------------------------------------------
-- Setup vars that are user-dependent. Can override this function in a sidecar file.
function user_setup()
state.OffenseMode:options('Normal', 'LowAcc', 'MidAcc', 'HighAcc', 'STP')
state.HybridMode:options('Normal', 'DT')
state.RangedMode:options('Normal', 'Acc')
state.WeaponskillMode:options('Normal', 'Acc')
state.CastingMode:options('Normal', 'Resistant')
state.PhysicalDefenseMode:options('PDT', 'MDT')
state.IdleMode:options('Normal', 'DT', 'Eva')--, 'Learning')
state.WeaponSet = M{['description']='Weapon Set', 'Almace', 'Naegling', 'Maxentius', 'Nuking'}
state.WeaponLock = M(false, 'Weapon Lock')
state.MagicBurst = M(false, 'Magic Burst')
-- state.CP = M(false, "Capacity Points Mode")
-- Additional local binds
include('Global-Binds.lua') -- OK to remove this line
include('Global-GEO-Binds.lua') -- OK to remove this line
send_command('lua l azureSets')
send_command('bind @t gs c cycle treasuremode')
send_command('bind @w gs c toggle WeaponLock')
-- send_command('bind @c gs c toggle CP')
send_command('bind @e gs c cycleback WeaponSet')
send_command('bind @r gs c cycle WeaponSet')
send_command('bind !` gs c toggle MagicBurst')
send_command('bind ^- input /ja "Chain Affinity" <me>')
send_command('bind ^[ input /ja "Efflux" <me>')
send_command('bind ^= input /ja "Burst Affinity" <me>')
send_command('bind ![ input /ja "Diffusion" <me>')
send_command('bind !] input /ja "Unbridled Learning" <me>')
send_command('bind !e input /ma "Erratic Flutter" <me>')
send_command('bind !t input /ma "Occultation" <me>')
if player.sub_job == "RDM" then
send_command('bind !q input /ma "Fantod" <me>')
send_command('bind !w input /ma "Reactor Cool" <me>')
send_command('bind !r input /ma "Refresh" <stpc>')
send_command('bind !y input /ma "Phalanx" <me>')
send_command('bind !u input /ma "Stoneskin" <me>')
send_command('bind !p input /ma "Carcharian Verve" <me>')
else
send_command('bind !q input /ma "Nat. Meditation" <me>')
send_command('bind !w input /ma "Cocoon" <me>')
send_command('bind !r input /ma "Battery Charge" <me>')
send_command('bind !y input /ma "Barrier Tusk" <me>')
send_command('bind !u input /ma "Diamondhide" <me>')
send_command('bind !p input /ma "Mighty Guard" <me>')
end
-- send_command('bind @c gs c toggle CP')
if player.sub_job == 'WAR' then
send_command('bind ^numpad/ input /ja "Berserk" <me>')
send_command('bind ^numpad* input /ja "Warcry" <me>')
send_command('bind ^numpad- input /ja "Aggressor" <me>')
end
send_command('bind ^numpad7 input /ws "Savage Blade" <t>')
send_command('bind ^numpad9 input /ws "Chant du Cygne" <t>')
send_command('bind ^numpad4 input /ws "Requiescat" <t>')
send_command('bind ^numpad5 input /ws "Expiacion" <t>')
send_command('bind ^numpad1 input /ws "Sanguine Blade" <t>')
send_command('bind ^numpad2 input /ws "Black Halo" <t>')
select_default_macro_book()
set_lockstyle()
state.Auto_Kite = M(false, 'Auto_Kite')
Haste = 0
DW_needed = 0
DW = false
moving = false
update_combat_form()
determine_haste_group()
end
-- Called when this job file is unloaded (eg: job change)
function user_unload()
send_command('unbind @t')
send_command('unbind !`')
send_command('unbind ^-')
send_command('unbind ^=')
send_command('unbind ^[')
send_command('unbind ![')
send_command('unbind !]')
send_command('unbind !q')
send_command('unbind !w')
send_command('bind !e input /ma Haste <stpc>')
send_command('bind !t input /ma Blink <me>')
send_command('bind !r input /ma Refresh <stpc>')
send_command('bind !y input /ma Phalanx <me>')
send_command('bind !u input /ma Stoneskin <me>')
send_command('unbind !p')
send_command('unbind ^,')
send_command('unbind @w')
-- send_command('unbind @c')
send_command('unbind @e')
send_command('unbind @r')
send_command('unbind ^numlock')
send_command('unbind ^numpad/')
send_command('unbind ^numpad*')
send_command('unbind ^numpad-')
send_command('unbind ^numpad7')
send_command('unbind ^numpad9')
send_command('unbind ^numpad4')
send_command('unbind ^numpad5')
send_command('unbind ^numpad1')
send_command('unbind ^numpad2')
send_command('unbind #`')
send_command('unbind #1')
send_command('unbind #2')
send_command('unbind #3')
send_command('unbind #4')
send_command('unbind #5')
send_command('unbind #6')
send_command('unbind #7')
send_command('unbind #8')
send_command('unbind #9')
send_command('unbind #0')
send_command('lua u azureSets')
end
-- Define sets and vars used by this job file.
function init_gear_sets()
------------------------------------------------------------------------------------------------
---------------------------------------- Precast Sets ------------------------------------------
------------------------------------------------------------------------------------------------
-- Precast sets to enhance JAs
-- Enmity set
sets.Enmity = {
ammo="Sapience Orb", --2
head="Halitus Helm", --8
body="Emet Harness +1", --10
hands="Kurys Gloves", --9
feet="Ahosi Leggings", --7
neck="Unmoving Collar +1", --10
ear1="Cryptic Earring", --4
ear2="Trux Earring", --5
ring1="Pernicious Ring", --5
ring2="Eihwaz Ring", --5
waist="Kasiri Belt", --3
}
sets.precast.JA['Provoke'] = sets.Enmity
sets.buff['Burst Affinity'] = {legs="Assim. Shalwar +3", feet="Hashi. Basmak +1"}
sets.buff['Diffusion'] = {feet="Luhlaza Charuqs +3"}
sets.buff['Efflux'] = {legs="Hashishin Tayt +1"}
sets.precast.JA['Azure Lore'] = {hands="Luh. Bazubands +1"}
sets.precast.JA['Chain Affinity'] = {feet="Assim. Charuqs +1"}
sets.precast.JA['Convergence'] = {head="Luh. Keffiyeh +3"}
sets.precast.JA['Enchainment'] = {body="Luhlaza Jubbah +3"}
sets.precast.FC = {
-- Colada 4
ammo="Sapience Orb", --2
head="Carmine Mask +1", --14
body="Luhlaza Jubbah +3", --9
hands="Leyline Gloves", --8
legs="Aya. Cosciales +2", --6
feet="Carmine Greaves +1", --8
neck="Orunmila's Torque", --5
ear1="Loquacious Earring", --2
ear2="Enchntr. Earring +1", --2
ring1="Kishar Ring", --4
ring2="Weather. Ring +1", --6(4)
back=gear.BLU_FC_Cape, --10
}
sets.precast.FC['Blue Magic'] = set_combine(sets.precast.FC, {body="Hashishin Mintan +1"})
sets.precast.FC['Enhancing Magic'] = set_combine(sets.precast.FC, {waist="Siegel Sash"})
sets.precast.FC.Cure = set_combine(sets.precast.FC, {ammo="Impatiens", ear1="Mendi. Earring"})
sets.precast.FC.Utsusemi = set_combine(sets.precast.FC, {
ammo="Impatiens",
ring1="Lebeche Ring",
waist="Rumination Sash",
})
------------------------------------------------------------------------------------------------
------------------------------------- Weapon Skill Sets ----------------------------------------
------------------------------------------------------------------------------------------------
sets.precast.WS = {
ammo="Aurgelmir Orb +1",
head="Nyame Helm",
body="Assim. Jubbah +3",
hands="Nyame Gauntlets",
legs="Luhlaza Shalwar +3",
feet="Nyame Sollerets",
neck="Fotia Gorget",
ear1="Moonshade Earring",
ear2="Ishvara Earring",
ring1="Cornelia's Ring",
ring2="Epaminondas's Ring",
back=gear.BLU_WS2_Cape,
waist="Fotia Belt",
}
sets.precast.WS.Acc = set_combine(sets.precast.WS, {
ammo="Voluspa Tathlum",
head="Dampening Tam",
hands=gear.Herc_WS_hands,
ear2="Telos Earring",
})
sets.precast.WS['Chant du Cygne'] = set_combine(sets.precast.WS, {
head=gear.Adhemar_B_head,
body="Abnoba Kaftan",
hands=gear.Adhemar_B_hands,
legs="Zoar Subligar +1",
feet="Thereoid Greaves",
neck="Mirage Stole +2",
ear2="Brutal Earring",
ring1="Begrudging Ring",
ring2="Epona's Ring",
back=gear.BLU_WS1_Cape,
})
sets.precast.WS['Chant du Cygne'].Acc = set_combine(sets.precast.WS['Chant du Cygne'], {
ammo="Voluspa Tathlum",
head="Dampening Tam",
body=gear.Adhemar_B_body,
hands=gear.Adhemar_A_hands,
ear2="Mache Earring +1",
})
sets.precast.WS['Vorpal Blade'] = sets.precast.WS['Chant du Cygne']
sets.precast.WS['Vorpal Blade'].Acc = sets.precast.WS['Chant du Cygne'].Acc
sets.precast.WS['Savage Blade'] = set_combine(sets.precast.WS, {
neck="Mirage Stole +2",
waist="Sailfi Belt +1",
})
sets.precast.WS['Savage Blade'].Acc = set_combine(sets.precast.WS['Savage Blade'], {
ammo="Voluspa Tathlum",
ear2="Telos Earring",
waist="Grunfeld Rope",
})
sets.precast.WS['Requiescat'] = set_combine(sets.precast.WS, {
ring1="Rufescent Ring",
ring2="Epona's Ring",
back=gear.BLU_WS1_Cape,
})
sets.precast.WS['Requiescat'].Acc = set_combine(sets.precast.WS['Requiescat'], {
ammo="Voluspa Tathlum",
head="Dampening Tam",
ear1="Cessance Earring",
ear2="Telos Earring",
})
sets.precast.WS['Expiacion'] = sets.precast.WS['Savage Blade']
sets.precast.WS['Expiacion'].Acc = set_combine(sets.precast.WS['Expiacion'], {
body=gear.Adhemar_B_body,
ear2="Telos Earring",
})
sets.precast.WS['Sanguine Blade'] = {
ammo="Ghastly Tathlum +1",
head="Pixie Hairpin +1",
body="Amalric Doublet +1",
hands="Amalric Gages +1",
legs="Luhlaza Shalwar +3",
feet="Amalric Nails +1",
neck="Baetyl Pendant",
ear1="Moonshade Earring",
ear2="Regal Earring",
ring1="Cornelia's Ring",
ring2="Archon Ring",
back=gear.BLU_MAB_Cape,
waist="Sacro Cord",
}
sets.precast.WS['True Strike'] = sets.precast.WS['Savage Blade']
sets.precast.WS['True Strike'].Acc = sets.precast.WS['Savage Blade'].Acc
sets.precast.WS['Judgment'] = sets.precast.WS['True Strike']
sets.precast.WS['Judgment'].Acc = sets.precast.WS['True Strike'].Acc
sets.precast.WS['Black Halo'] = set_combine(sets.precast.WS['Savage Blade'], {
ear2="Regal Earring",
waist="Sailfi Belt +1",
})
sets.precast.WS['Black Halo'].Acc = set_combine(sets.precast.WS['Black Halo'], {
ear2="Telos Earring",
})
sets.precast.WS['Realmrazer'] = sets.precast.WS['Requiescat']
sets.precast.WS['Realmrazer'].Acc = sets.precast.WS['Requiescat'].Acc
sets.precast.WS['Flash Nova'] = set_combine(sets.precast.WS['Sanguine Blade'], {
head=gear.Herc_MAB_head,
ring2="Weather. Ring +1",
})
------------------------------------------------------------------------------------------------
---------------------------------------- Midcast Sets ------------------------------------------
------------------------------------------------------------------------------------------------
sets.midcast.FastRecast = sets.precast.FC
sets.midcast.SpellInterrupt = {
ammo="Staunch Tathlum +1", --11
body=gear.Taeon_Phalanx_body, --10
hands=gear.Taeon_Phalanx_hands, --10
legs="Carmine Cuisses +1", --20
feet=gear.Taeon_Phalanx_feet, --10
neck="Loricate Torque +1", --5
ear1="Halasz Earring", --5
ear2="Magnetic Earring", --8
ring2="Evanescence Ring", --5
waist="Rumination Sash", --10
}
sets.midcast.Utsusemi = sets.midcast.SpellInterrupt
sets.midcast['Blue Magic'] = {
ammo="Mavi Tathlum",
head="Luh. Keffiyeh +3",
body="Assim. Jubbah +3",
hands="Rawhide Gloves",
legs="Hashishin Tayt +1",
feet="Luhlaza Charuqs +3",
neck="Mirage Stole +2",
ear1="Njordr Earring",
ear2="Hashi. Earring +1",
ring1={name="Stikini Ring +1", bag="wardrobe5"},
ring2={name="Stikini Ring +1", bag="wardrobe6"},
back="Cornflower Cape",
}
sets.midcast['Blue Magic'].Physical = {
ammo="Aurgelmir Orb +1",
head="Nyame Helm",
body="Nyame Mail",
hands="Nyame Gauntlets",
legs="Nyame Flanchard",
feet="Nyame Sollerets",
neck="Caro Necklace",
ring1="Shukuyu Ring",
ring2="Ilabrat Ring",
back=gear.BLU_WS2_Cape,
waist="Sailfi Belt +1",
}
sets.midcast['Blue Magic'].PhysicalAcc = set_combine(sets.midcast['Blue Magic'].Physical, {
ammo="Voluspa Tathlum",
head="Carmine Mask +1",
hands="Gazu Bracelets +1",
legs="Carmine Cuisses +1",
neck="Mirage Stole +2",
ear2="Telos Earring",
back="Cornflower Cape",
waist="Grunfeld Rope",
})
sets.midcast['Blue Magic'].PhysicalStr = sets.midcast['Blue Magic'].Physical
sets.midcast['Blue Magic'].PhysicalDex = set_combine(sets.midcast['Blue Magic'].Physical, {
ear2="Mache Earring +1",
ring2="Ilabrat Ring",
back=gear.BLU_WS1_Cape,
waist="Grunfeld Rope",
})
sets.midcast['Blue Magic'].PhysicalVit = sets.midcast['Blue Magic'].Physical
sets.midcast['Blue Magic'].PhysicalAgi = set_combine(sets.midcast['Blue Magic'].Physical, {
hands=gear.Adhemar_B_hands,
ring2="Ilabrat Ring",
})
sets.midcast['Blue Magic'].PhysicalInt = set_combine(sets.midcast['Blue Magic'].Physical, {
ammo="Ghastly Tathlum +1",
ear2="Regal Earring",
ring1="Shiva Ring +1",
ring2="Metamor. Ring +1",
back="Aurist's Cape +1",
waist="Acuity Belt +1",
})
sets.midcast['Blue Magic'].PhysicalMnd = set_combine(sets.midcast['Blue Magic'].Physical, {
ear2="Regal Earring",
ring1={name="Stikini Ring +1", bag="wardrobe5"},
ring2={name="Stikini Ring +1", bag="wardrobe6"},
back="Aurist's Cape +1",
})
sets.midcast['Blue Magic'].PhysicalChr = set_combine(sets.midcast['Blue Magic'].Physical, {ear1="Regal Earring", ear2="Enchntr. Earring +1"})
sets.midcast['Blue Magic'].Magical = {
ammo="Pemphredo Tathlum",
head=gear.Herc_MAB_head,
body="Amalric Doublet +1",
hands="Amalric Gages +1",
legs="Amalric Slops +1",
feet="Amalric Nails +1",
neck="Baetyl Pendant",
ear1="Friomisi Earring",
ear2="Regal Earring",
ring1="Shiva Ring +1",
ring2="Metamor. Ring +1",
back=gear.BLU_MAB_Cape,
waist="Orpheus's Sash",
}
sets.midcast['Blue Magic'].Magical.Resistant = set_combine(sets.midcast['Blue Magic'].Magical, {
head="Assim. Keffiyeh +3",
legs="Luhlaza Shalwar +3",
neck="Mirage Stole +2",
ear1="Digni. Earring",
ring1={name="Stikini Ring +1", bag="wardrobe5"},
ring2={name="Stikini Ring +1", bag="wardrobe6"},
waist="Acuity Belt +1",
})
sets.midcast['Blue Magic'].MagicalDark = set_combine(sets.midcast['Blue Magic'].Magical, {
head="Pixie Hairpin +1",
ring2="Archon Ring",
})
sets.midcast['Blue Magic'].MagicalLight = set_combine(sets.midcast['Blue Magic'].Magical, {
ring2="Weather. Ring +1",
})
sets.midcast['Blue Magic'].MagicalMnd = set_combine(sets.midcast['Blue Magic'].Magical, {
ring1={name="Stikini Ring +1", bag="wardrobe5"},
ring2={name="Stikini Ring +1", bag="wardrobe6"},
back="Aurist's Cape +1",
})
sets.midcast['Blue Magic'].MagicalDex = set_combine(sets.midcast['Blue Magic'].Magical, {
ammo="Aurgelmir Orb +1",
ear2="Mache Earring +1",
ring2="Ilabrat Ring",
})
sets.midcast['Blue Magic'].MagicalVit = set_combine(sets.midcast['Blue Magic'].Magical, {
ammo="Aurgelmir Orb +1",
})
sets.midcast['Blue Magic'].MagicalChr = set_combine(sets.midcast['Blue Magic'].Magical, {
ammo="Voluspa Tathlum",
ear1="Regal Earring",
ear2="Enchntr. Earring +1"
})
sets.midcast['Blue Magic'].MagicAccuracy = {
ammo="Pemphredo Tathlum",
head="Assim. Keffiyeh +3",
body="Amalric Doublet +1",
hands="Malignance Gloves",
legs="Assim. Shalwar +3",
feet="Malignance Boots",
neck="Mirage Stole +2",
ear1="Digni. Earring",
ear2="Regal Earring",
ring1={name="Stikini Ring +1", bag="wardrobe5"},
ring2={name="Stikini Ring +1", bag="wardrobe6"},
back="Aurist's Cape +1",
waist="Acuity Belt +1",
head="Volte Cap", hands=gear.Herc_TH_hands, feet="Volte Boots" -- TH Tag
}
sets.midcast['Blue Magic'].Breath = set_combine(sets.midcast['Blue Magic'].Magical, {head="Luh. Keffiyeh +3"})
sets.midcast['Blue Magic'].StunPhysical = set_combine(sets.midcast['Blue Magic'].MagicAccuracy, {
ammo="Voluspa Tathlum",
head="Malignance Chapeau",
body="Malignance Tabard",
hands="Malignance Gloves",
legs="Malignance Tights",
feet="Malignance Boots",
neck="Mirage Stole +2",
ear2="Mache Earring +1",
back="Aurist's Cape +1",
waist="Eschan Stone",
})
sets.midcast['Blue Magic'].StunMagical = sets.midcast['Blue Magic'].MagicAccuracy
sets.midcast['Blue Magic'].Healing = {
ammo="Staunch Tathlum +1",
head="Carmine Mask +1",
body="Vrikodara Jupon", -- 13
hands=gear.Telchine_ENH_hands, -- 10
legs="Assim. Shalwar +3",
feet="Medium's Sabots", -- 12
neck="Nuna Gorget +1",
ear1="Mendi. Earring", -- 5
ear2="Regal Earring",
ring1="Lebeche Ring", -- 3
ring2={name="Stikini Ring +1", bag="wardrobe6"},
back="Oretan. Cape +1", --6
waist="Luminary Sash",
}
sets.midcast['Blue Magic'].HealingSelf = set_combine(sets.midcast['Blue Magic'].Healing, {
legs="Gyve Trousers", -- 10
neck="Phalaina Locket", -- 4(4)
ring2="Asklepian Ring", -- (3)
back="Solemnity Cape", --7
waist="Gishdubar Sash", -- (10)
})
sets.midcast['Blue Magic']['White Wind'] = set_combine(sets.midcast['Blue Magic'].Healing, {
head=gear.Adhemar_D_head,
neck="Sanctity Necklace",
ear2="Etiolation Earring",
ring2="Eihwaz Ring",
back="Moonlight Cape",
waist="Kasiri Belt",
})
sets.midcast['Blue Magic'].Buff = sets.midcast['Blue Magic']
sets.midcast['Blue Magic'].Refresh = set_combine(sets.midcast['Blue Magic'], {head="Amalric Coif +1", waist="Gishdubar Sash", back="Grapevine Cape"})
sets.midcast['Blue Magic'].SkillBasedBuff = sets.midcast['Blue Magic']
sets.midcast['Blue Magic']['Occultation'] = set_combine(sets.midcast['Blue Magic'], {
hands="Hashi. Bazu. +1",
ear1="Njordr Earring",
ear2="Enchntr. Earring +1",
}) -- 1 shadow per 50 skill
sets.midcast['Blue Magic']['Carcharian Verve'] = set_combine(sets.midcast['Blue Magic'].Buff, {
head="Amalric Coif +1",
waist="Emphatikos Rope",
})
sets.midcast['Enhancing Magic'] = {
ammo="Pemphredo Tathlum",
head="Carmine Mask +1",
body=gear.Telchine_ENH_body,
hands=gear.Telchine_ENH_hands,
legs="Carmine Cuisses +1",
feet=gear.Telchine_ENH_feet,
neck="Incanter's Torque",
ear1="Mimir Earring",
ear2="Andoaa Earring",
ring1={name="Stikini Ring +1", bag="wardrobe5"},
ring2={name="Stikini Ring +1", bag="wardrobe6"},
back="Fi Follet Cape +1",
waist="Olympus Sash",
}
sets.midcast.EnhancingDuration = {
head=gear.Telchine_ENH_head,
body=gear.Telchine_ENH_body,
hands=gear.Telchine_ENH_hands,
legs=gear.Telchine_ENH_legs,
feet=gear.Telchine_ENH_feet,
}
sets.midcast.Refresh = set_combine(sets.midcast.EnhancingDuration, {head="Amalric Coif +1", waist="Gishdubar Sash", back="Grapevine Cape"})
sets.midcast.Stoneskin = set_combine(sets.midcast.EnhancingDuration, {waist="Siegel Sash"})
sets.midcast.Phalanx = set_combine(sets.midcast.EnhancingDuration, {
main="Sakpata's Sword",
body=gear.Taeon_Phalanx_body, --3(10)
hands=gear.Taeon_Phalanx_hands, --3(10)
legs=gear.Taeon_Phalanx_legs, --3(10)
feet=gear.Taeon_Phalanx_feet, --3(10)
})
sets.midcast.Aquaveil = set_combine(sets.midcast.EnhancingDuration, {
head="Amalric Coif +1",
hands="Regal Cuffs",
waist="Emphatikos Rope",
})
sets.midcast.Protect = set_combine(sets.midcast.EnhancingDuration, {ring1="Sheltered Ring"})
sets.midcast.Protectra = sets.midcast.Protect
sets.midcast.Shell = sets.midcast.Protect
sets.midcast.Shellra = sets.midcast.Protect
sets.midcast['Enfeebling Magic'] = set_combine(sets.midcast['Blue Magic'].MagicAccuracy, {
head=empty;
body="Cohort Cloak +1",
ear2="Vor Earring",
})
sets.midcast.Utsusemi = sets.midcast.SpellInterrupt
------------------------------------------------------------------------------------------------
----------------------------------------- Idle 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=gear.Herc_Idle_head,
body="Assim. Jubbah +3",
hands="Malignance Gloves",
legs="Malignance Tights",
feet="Malignance Boots",
neck="Bathy Choker +1",
ear1="Eabani Earring",
ear2="Sanare Earring",
ring1={name="Stikini Ring +1", bag="wardrobe5"},
ring2={name="Stikini Ring +1", bag="wardrobe6"},
back="Moonlight Cape",
waist="Plat. Mog. Belt",
}
sets.idle.DT = set_combine(sets.idle, {
ammo="Staunch Tathlum +1", --3/3
head="Nyame Helm", --7/7
body="Nyame Mail", --9/9
hands="Nyame Gauntlets", --7/7
legs="Nyame Flanchard", --8/8
feet="Nyame Sollerets", --7/7,
neck="Warder's Charm +1",
--ring2="Defending Ring", --10/10
back="Moonlight Cape", --6/6
waist="Plat. Mog. Belt", --3/3
})
sets.idle.Eva = set_combine(sets.idle.DT, {
neck="Bathy Choker +1",
ear2="Infused Earring",
ring2="Defending Ring", --10/10
back=gear.BLU_FC_Cape,
waist="Kasiri Belt",
})
sets.idle.Town = set_combine(sets.idle, {
ammo="Aurgelmir Orb +1",
head="Luh. Keffiyeh +3",
body="Assim. Jubbah +3",
hands=gear.Adhemar_B_hands,
legs="Luhlaza Shalwar +3",
feet="Luhlaza Charuqs +3",
neck="Mirage Stole +2",
ear1="Eabani Earring",
ear2="Hashi. Earring +1",
back=gear.BLU_WS1_Cape,
waist="Windbuffet Belt +1",
})
sets.idle.Weak = sets.idle.DT
--sets.idle.Learning = set_combine(sets.idle, sets.Learning)
------------------------------------------------------------------------------------------------
---------------------------------------- Defense Sets ------------------------------------------
------------------------------------------------------------------------------------------------
sets.defense.PDT = sets.idle.DT
sets.defense.MDT = sets.idle.DT
------------------------------------------------------------------------------------------------
---------------------------------------- Engaged Sets ------------------------------------------
------------------------------------------------------------------------------------------------
-- Engaged sets
-- Variations for TP weapon and (optional) offense/defense modes. Code will fall back on previous
-- sets if more refined versions aren't defined.
-- If you create a set with both offense and defense modes, the offense mode should be first.
-- EG: sets.engaged.Dagger.Accuracy.Evasion
sets.engaged = {
ammo="Aurgelmir Orb +1",
head=gear.Adhemar_B_head,
body=gear.Adhemar_B_body,
hands=gear.Adhemar_B_hands,
legs="Samnuha Tights",
feet=gear.Herc_TA_feet,
neck="Mirage Stole +2",
ear1="Cessance Earring",
ear2="Brutal Earring",
ring1="Hetairoi Ring",
ring2="Epona's Ring",
back=gear.BLU_TP_Cape,
waist="Windbuffet Belt +1",
}
sets.engaged.LowAcc = set_combine(sets.engaged, {
head="Dampening Tam",
hands=gear.Adhemar_A_hands,
ear2="Hashi. Earring +1",
ring1={name="Chirich Ring +1", bag="wardrobe5"},
})
sets.engaged.MidAcc = set_combine(sets.engaged.LowAcc, {
ammo="Voluspa Tathlum",
ear2="Telos Earring",
ring1="Regal Ring",
ring2="Ilabrat Ring",
waist="Kentarch Belt +1",
})
sets.engaged.HighAcc = set_combine(sets.engaged.MidAcc, {
head="Carmine Mask +1",
hands="Gazu Bracelets +1",
legs="Carmine Cuisses +1",
neck="Mirage Stole +2",
ring1={name="Chirich Ring +1", bag="wardrobe5"},
waist="Olseni Belt",
})
sets.engaged.STP = set_combine(sets.engaged, {
head=gear.Herc_STP_head,
feet="Carmine Greaves +1",
ring1={name="Chirich Ring +1", bag="wardrobe5"},
ring2={name="Chirich Ring +1", bag="wardrobe6"},
})
-- Base Dual-Wield Values:
-- * DW6: +37%
-- * DW5: +35%
-- * DW4: +30%
-- * DW3: +25% (NIN Subjob)
-- * DW2: +15% (DNC Subjob)
-- * DW1: +10%
-- No Magic Haste (74% DW to cap)
sets.engaged.DW = {
ammo="Aurgelmir Orb +1",
head=gear.Adhemar_B_head,
body=gear.Adhemar_B_body, --6
hands=gear.Adhemar_B_hands,
legs="Carmine Cuisses +1", --6
feet=gear.Taeon_DW_feet, --9
neck="Mirage Stole +2",
ear1="Eabani Earring", --4
ear2="Suppanomimi", --5
ring1="Hetairoi Ring",
ring2="Epona's Ring",
back=gear.BLU_TP_Cape,
waist="Reiki Yotai", --7
} -- 37%
sets.engaged.DW.LowAcc = set_combine(sets.engaged.DW, {
head="Dampening Tam",
hands=gear.Adhemar_A_hands,
ear2="Hashi. Earring +1",
ring1={name="Chirich Ring +1", bag="wardrobe5"},
})
sets.engaged.DW.MidAcc = set_combine(sets.engaged.DW.LowAcc, {
ammo="Voluspa Tathlum",
ear2="Telos Earring",
ring2="Ilabrat Ring",
waist="Kentarch Belt +1",
})
sets.engaged.DW.HighAcc = set_combine(sets.engaged.DW.MidAcc, {
head="Carmine Mask +1",
hands="Gazu Bracelets +1",
ear1="Cessance Earring",
ring1={name="Chirich Ring +1", bag="wardrobe5"},
waist="Olseni Belt",
})
sets.engaged.DW.STP = set_combine(sets.engaged.DW, {
head=gear.Herc_STP_head,
ring1={name="Chirich Ring +1", bag="wardrobe5"},
ring2={name="Chirich Ring +1", bag="wardrobe6"},
})
-- 15% Magic Haste (67% DW to cap)
sets.engaged.DW.LowHaste = set_combine(sets.engaged.DW, {
ammo="Aurgelmir Orb +1",
head=gear.Adhemar_B_head,
body=gear.Adhemar_B_body, --6
hands=gear.Adhemar_B_hands,
legs="Carmine Cuisses +1", --6
feet=gear.Taeon_DW_feet, --9
neck="Mirage Stole +2",
ear1="Eabani Earring", --4
ear2="Suppanomimi", --5
ring1="Hetairoi Ring",
ring2="Epona's Ring",
back=gear.BLU_TP_Cape,
waist="Reiki Yotai", --7
}) -- 37%
sets.engaged.DW.LowAcc.LowHaste = set_combine(sets.engaged.DW.LowHaste, {
head="Dampening Tam",
hands=gear.Adhemar_A_hands,
ear2="Hashi. Earring +1",
ring1={name="Chirich Ring +1", bag="wardrobe5"},
})
sets.engaged.DW.MidAcc.LowHaste = set_combine(sets.engaged.DW.LowAcc.LowHaste, {
ammo="Voluspa Tathlum",
ring2="Ilabrat Ring",
waist="Kentarch Belt +1",