-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gorgeousgeorge_Rdm_Gear.lua
487 lines (389 loc) · 30.1 KB
/
Gorgeousgeorge_Rdm_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
function user_job_setup()
-- Options: Override default values
state.OffenseMode:options('Normal','Acc','FullAcc')
state.HybridMode:options('Normal','DT')
state.WeaponskillMode:options('Match','Proc')
state.AutoBuffMode:options('Off','Auto','AutoMelee')
state.CastingMode:options('Normal','Resistant', 'Fodder', 'Proc')
state.IdleMode:options('Normal','PDT','MDT','DTHippo')
state.PhysicalDefenseMode:options('PDT','NukeLock')
state.MagicalDefenseMode:options('MDT')
state.ResistDefenseMode:options('MEVA')
state.Weapons:options('None','Naegling','Sequence','DualWeapons','DualWeaponsAcc','DualEvisceration','DualClubs','DualAeolian','DualProcDaggers','EnspellOnly')
gear.obi_cure_back = "Ghostfyre Cape"
gear.obi_cure_waist = "Witful Belt"
gear.obi_low_nuke_back = "Toro Cape"
gear.obi_low_nuke_waist = "Sekhmet Corset"
gear.obi_high_nuke_back = "Toro Cape"
gear.obi_high_nuke_waist = "Refoccilation Stone"
gear.stp_jse_back = {name="Sucellos's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Store TP"+10',}}
gear.nuke_jse_back = {name="Sucellos's Cape",augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','INT+10','"Mag.Atk.Bns."+10','Phys. dmg. taken-10%',}}
gear.wsd_jse_back = {name="Sucellos's Cape",augments={'MND+20','Mag. Acc+20 /Mag. Dmg.+20','MND+10','Weapon skill damage +10%','Damage taken-3%',}}
-- Additional local binds
send_command('bind ^` gs c cycle ElementalMode')
send_command('bind @` gs c cycle MagicBurstMode')
send_command('bind ^@!` input /ja "Accession" <me>')
send_command('bind ^backspace input /ja "Saboteur" <me>')
send_command('bind !backspace input /ja "Spontaneity" <t>')
send_command('bind @backspace input /ja "Composure" <me>')
send_command('bind @f8 gs c toggle AutoNukeMode')
send_command('bind != input /ja "Penury" <me>')
send_command('bind @= input /ja "Parsimony" <me>')
send_command('bind ^delete input /ja "Dark Arts" <me>')
send_command('bind !delete input /ja "Addendum: Black" <me>')
send_command('bind @delete input /ja "Manifestation" <me>')
send_command('bind ^\\\\ input /ma "Protect V" <t>')
send_command('bind @\\\\ input /ma "Shell V" <t>')
send_command('bind !\\\\ input /ma "Reraise" <me>')
send_command('bind @f10 gs c cycle RecoverMode')
send_command('bind ^s gs c set skipprocweapons true;gs c reset weaponskillmode;gs c weapons Default;gs c set unlockweapons false')
send_command('bind ^e gs c set weapons enspellonly;gs c set unlockweapons true')
send_command('bind !r gs c set skipprocweapons true;gs c reset weaponskillmode;gs c set weapons none')
send_command('bind !q gs c set skipprocweapons false;gs c set weapons DualProcDaggers;gs c set weaponskillmode proc')
select_default_macro_book()
end
function init_gear_sets()
--------------------------------------
-- Start defining the sets
--------------------------------------
-- Precast Sets
-- Precast sets to enhance JAs
sets.precast.JA['Chainspell'] = {body="Viti. Tabard +2"}
-- Waltz set (chr and vit)
sets.precast.Waltz = {}
-- Don't need any special gear for Healing Waltz.
sets.precast.Waltz['Healing Waltz'] = {}
-- Fast cast sets for spells
sets.precast.FC = {ammo="Impatiens",
head="Amalric Coif +1",neck="Voltsurge Torque",ear1="Estq. Earring",ear2="Lethargy Earring",
body="Amalric Doublet +1",hands="Gende. Gages +1",ring1="Prolix Ring",ring2="Lebeche Ring",
back="Swith Cape",waist="Witful Belt",legs="Amalric Slops +1",feet="Amalric Nails +1"}
sets.precast.FC.Impact = set_combine(sets.precast.FC, {head=empty,body="Twilight Cloak"})
sets.precast.FC.Dispelga = set_combine(sets.precast.FC, {main="Daybreak",sub="Sacro Bulwark"})
-- Weaponskill sets
-- Default set for any weaponskill that isn't any more specifically defined
sets.precast.WS = {ammo="Staunch Tathlum",
head="Jhakri Coronal +2",
body={ name="Chironic Doublet", augments={'"Blood Boon"+2','INT+3','Weapon skill damage +6%','Accuracy+12 Attack+12','Mag. Acc.+10 "Mag.Atk.Bns."+10',}},
hands="Jhakri Cuffs +2",
legs={ name="Chironic Hose", augments={'Accuracy+3 Attack+3','Weapon skill damage +1%','Mag. Acc.+13 "Mag.Atk.Bns."+13',}},
feet="Aya. Gambieras +1", neck="Moepapa Medal", waist="Refoccilation Stone", left_ear="Heims Earring", right_ear="Assuage Earring",
left_ring="Jhakri Ring", right_ring="Mujin Band", back=gear.wsd_jse_back}
sets.precast.WS.Proc = {range=empty,ammo="Hasty Pinion +1",
head="Malignance Chapeau",neck="Combatant's Torque",ear1="Mache Earring +1",ear2="Telos Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Ramuh Ring +1",ring2="Ramuh Ring +1",
back=gear.wsd_jse_back,waist="Olseni Belt",legs="Malignance Tights",feet="Malignance Boots"}
-- Specific weaponskill sets. Uses the base set if an appropriate WSMod version isn't found.
sets.precast.WS['Requiescat'] = {range=empty,ammo="Regal Gem",
head="Jhakri Coronal +2",neck="Fotia Gorget",ear1="Moonshade Earring",ear2="Sherida Earring",
body="Jhakri Robe +2",hands="Atrophy Gloves +2",ring1="Ifrit Ring +1",ring2="Rufescent Ring",
back=gear.wsd_jse_back,waist="Fotia Belt",legs="Jhakri Slops +2",feet="Jhakri Pigaches +2"}
sets.precast.WS['Chant Du Cygne'] = {range=empty,ammo="Voluspa Tathlum",
head="Malignance Chapeau",neck="Fotia Gorget",ear1="Moonshade Earring",ear2="Sherida Earring",
body="Ayanmo Corazza +2",hands="Atrophy Gloves +2",ring1="Begrudging Ring",ring2="Ilabrat Ring",
back=gear.wsd_jse_back,waist="Fotia Belt",legs="Carmine Cuisses +1",feet="Thereoid Greaves"}
sets.precast.WS['Evisceration'] = sets.precast.WS['Chant Du Cygne']
sets.precast.WS['Savage Blade'] = {range=empty,ammo="Regal Gem",
head="Viti. Chapeau +2",neck="Caro Necklace",ear1="Moonshade Earring",ear2="Ishvara Earring",
body="Viti. Tabard +2",hands="Atrophy Gloves +2",ring1="Ifrit Ring +1",ring2="Rufescent Ring",
back=gear.wsd_jse_back,waist="Sailfi Belt +1",legs="Jhakri Slops +2",feet="Jhakri Pigaches +2"}
sets.precast.WS['Sanguine Blade'] = {range=empty,ammo="Pemphredo Tathlum",
head="Pixie Hairpin +1",neck="Baetyl Pendant",ear1="Regal Earring",ear2="Malignance Earring",
body=gear.merlinic_nuke_body,hands="Jhakri Cuffs +2",ring1="Metamor. Ring +1",ring2="Archon Ring",
back=gear.nuke_jse_back,waist="Refoccilation Stone",legs="Merlinic Shalwar",feet=gear.merlinic_nuke_feet}
sets.precast.WS['Seraph Blade'] = {range=empty,ammo="Pemphredo Tathlum",
head=gear.merlinic_nuke_head,neck="Baetyl Pendant",ear1="Regal Earring",ear2="Malignance Earring",
body=gear.merlinic_nuke_body,hands="Jhakri Cuffs +2",ring1="Shiva Ring +1",ring2="Freke Ring",
back=gear.nuke_jse_back,waist="Refoccilation Stone",legs="Merlinic Shalwar",feet=gear.merlinic_nuke_feet}
sets.precast.WS['Aeolian Edge'] = {range=empty,ammo="Pemphredo Tathlum",
head=gear.merlinic_nuke_head,neck="Baetyl Pendant",ear1="Regal Earring",ear2="Malignance Earring",
body=gear.merlinic_nuke_body,hands="Jhakri Cuffs +2",ring1="Metamor. Ring +1",ring2="Freke Ring",
back=gear.nuke_jse_back,waist="Refoccilation Stone",legs="Merlinic Shalwar",feet=gear.merlinic_nuke_feet}
-- Midcast Sets
sets.TreasureHunter = set_combine(sets.TreasureHunter, {feet=gear.chironic_treasure_feet})
-- Gear that converts elemental damage done to recover MP.
sets.RecoverMP = {body="Seidr Cotehardie"}
-- Gear for Magic Burst mode.
sets.MagicBurst = {head="Amalric Coif +1",neck="Voltsurge Torque",body="Amalric Doublet +1",
hands="Amalric Gages +1",ring1="Mujin Band",legs="Amalric Slops +1",feet="Amalric Nails +1"}
sets.midcast.FastRecast = {ammo="Hasty Pinion +1",
head="Atrophy Chapeau +2",neck="Voltsurge Torque",ear1="Estq. Earring",ear2="Lethargy Earring",
body="Amalric Doublet +1",hands="Gende. Gages +1",ring1="Lebeche Ring",ring2="Prolix Ring",
back="Swith Cape",waist="Witful Belt",legs="Amalric Slops +1T",feet="Amalric Nails +1"}
sets.midcast.Cure = {ammo="Hasty Pinion +1",
head={ name="Chironic Hat", augments={'AGI+10','"Dbl.Atk."+1','Quadruple Attack +3','Accuracy+19 Attack+19','Mag. Acc.+8 "Mag.Atk.Bns."+8',}},
body={ name="Chironic Doublet", augments={'"Blood Boon"+2','INT+3','Weapon skill damage +6%','Accuracy+12 Attack+12','Mag. Acc.+10 "Mag.Atk.Bns."+10',}},
hands="Gende. Gages +1",
legs={ name="Chironic Hose", augments={'Accuracy+3 Attack+3','Weapon skill damage +1%','Mag. Acc.+13 "Mag.Atk.Bns."+13',}},
feet={ name="Medium's Sabots", augments={'MP+45','MND+9','"Conserve MP"+5','"Cure" potency +4%',}},
neck="Moepapa Pendant", waist="Sailfi Belt +1", left_ear="Aredan Earring", right_ear="Assuage Earring",
left_ring="Evanescence Ring", right_ring="Sangoma Ring", back="Ghostfyre Cape",}
sets.midcast.LightWeatherCure = {main="Chatoyant Staff",sub="Curatio Grip",range=empty,ammo="Hasty Pinion +1",
head="Gende. Caubeen +1",neck="Incanter's Torque",ear1="Meili Earring",ear2="Mendi. Earring",
body="Kaykaus Bliaut",hands="Kaykaus Cuffs",ring1="Janniston Ring",ring2="Menelaus's Ring",
back="Twilight Cape",waist="Hachirin-no-Obi",legs="Carmine Cuisses +1",feet="Kaykaus Boots"}
--Cureset for if it's not light weather but is light day.
sets.midcast.LightDayCure = {main="Daybreak",sub="Sors Shield",range=empty,ammo="Hasty Pinion +1",
head="Gende. Caubeen +1",neck="Incanter's Torque",ear1="Meili Earring",ear2="Mendi. Earring",
body="Kaykaus Bliaut",hands="Kaykaus Cuffs",ring1="Janniston Ring",ring2="Menelaus's Ring",
back="Twilight Cape",waist="Hachirin-no-Obi",legs="Carmine Cuisses +1",feet="Kaykaus Boots"}
sets.midcast.Cursna = set_combine(sets.midcast.Cure, {neck="Debilis Medallion",hands="Hieros Mittens",
back="Oretan. Cape +1",ring1="Haoma's Ring",ring2="Menelaus's Ring",waist="Witful Belt",feet="Vanya Clogs"})
sets.midcast.StatusRemoval = set_combine(sets.midcast.FastRecast, {main=gear.grioavolr_fc_staff,sub="Clemency Grip"})
sets.midcast.Curaga = sets.midcast.Cure
sets.Self_Healing = {neck="Phalaina Locket",ear1="Etiolation Earring",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 = {back="Grapevine Cape",waist="Gishdubar Sash"}
sets.midcast['Enhancing Magic'] = {ammo="Hasty Pinion +1",
head="Telchine Cap",neck="Dls. Torque +2",ear1="Andoaa Earring",ear2="Lethargy Earring",
body="Viti. Tabard +2",hands="Atrophy Gloves +2",ring1="Stikini Ring +1",ring2="Stikini Ring +1",
back=gear.nuke_jse_back,waist="Embla Sash",legs="Telchine Braconi",feet="Leth. Houseaux +1"}
--Atrophy Gloves are better than Lethargy for me despite the set bonus for duration on others.
sets.buff.ComposureOther = {head="Leth. Chappel +1",
body="Lethargy Sayon +1",hands="Leth. Gantherots +1",
legs="Leth. Fuseau +1",feet="Leth. Houseaux +1"}
--Red Mage enhancing sets are handled in a different way from most, layered on due to the way Composure works
--Don't set combine a full set with these spells, they should layer on Enhancing Set > Composure (If Applicable) > Spell
sets.EnhancingSkill = {main="Pukulatmuj +1",head="Befouled Crown",neck="Incanter's Torque",ear2="Lethargy Earring",hands="Viti. Gloves +2",
back="Ghostfyre Cape",waist="Olympus Sash",legs="Atrophy Tights +2"}
sets.midcast.Refresh = {head="Amalric Coif +1",body="Atrophy Tabard +2",legs="Leth. Fuseau +1"}
sets.midcast.Aquaveil = {head="Amalric Coif +1",hands="Regal Cuffs",waist="Emphatikos Rope",legs="Shedir Seraweels"}
sets.midcast.BarElement = {legs="Shedir Seraweels"}
sets.midcast.Temper = sets.EnhancingSkill
sets.midcast.Temper.DW = set_combine(sets.midcast.Temper, {sub="Pukulatmuj"})
sets.midcast.Enspell = sets.midcast.Temper
sets.midcast.Enspell.DW = set_combine(sets.midcast.Enspell, {sub="Pukulatmuj"})
sets.midcast.BoostStat = {hands="Viti. Gloves +2"}
sets.midcast.Stoneskin = {neck="Nodens Gorget",ear2="Earthcry Earring",waist="Siegel Sash",legs="Querkening Brais "}
sets.midcast.Protect = {ring2="Sheltered Ring"}
sets.midcast.Shell = {ring2="Sheltered Ring"}
sets.midcast['Enfeebling Magic'] = {main="Daybreak",sub="Ammurapi Shield",range=empty,ammo="Regal Gem",
head="Viti. Chapeau +2",neck="Dls. Torque +2",ear1="Regal Earring",ear2="Lethargy Earring",
body="Lethargy Sayon +1",hands="Regal Cuffs",ring1="Kishar Ring",ring2="Stikini Ring +1",
back=gear.nuke_jse_back,waist="Luminary Sash",legs="Chironic Hose",feet="Vitiation Boots +2"}
sets.midcast['Enfeebling Magic'].Resistant = {main="Daybreak",sub="Ammurapi Shield",range="Kaja Bow",ammo=empty,
head="Viti. Chapeau +2",neck="Dls. Torque +2",ear1="Regal Earring",ear2="Lethargy Earring",
body="Atrophy Tabard +2",hands=gear.chironic_enfeeble_hands,ring1="Metamor. Ring +1",ring2="Stikini Ring +1",
back=gear.nuke_jse_back,waist="Luminary Sash",legs="Chironic Hose",feet="Vitiation Boots +2"}
sets.midcast.DurationOnlyEnfeebling = set_combine(sets.midcast['Enfeebling Magic'], {body="Atrophy Tabard +2",range="Kaja Bow"})
sets.midcast.Silence = sets.midcast.DurationOnlyEnfeebling
sets.midcast.Silence.Resistant = sets.midcast['Enfeebling Magic'].Resistant
sets.midcast.Sleep = set_combine(sets.midcast.DurationOnlyEnfeebling,{waist="Acuity Belt +1"})
sets.midcast.Sleep.Resistant = set_combine(sets.midcast['Enfeebling Magic'].Resistant,{waist="Acuity Belt +1"})
sets.midcast.Bind = set_combine(sets.midcast.DurationOnlyEnfeebling,{waist="Acuity Belt +1"})
sets.midcast.Bind.Resistant = set_combine(sets.midcast['Enfeebling Magic'].Resistant,{waist="Acuity Belt +1"})
sets.midcast.Break = set_combine(sets.midcast.DurationOnlyEnfeebling,{waist="Acuity Belt +1"})
sets.midcast.Break.Resistant = set_combine(sets.midcast['Enfeebling Magic'].Resistant,{waist="Acuity Belt +1"})
sets.midcast.Dispel = sets.midcast['Enfeebling Magic'].Resistant
sets.midcast.SkillBasedEnfeebling = set_combine(sets.midcast['Enfeebling Magic'], {ear1="Vor Earring",hands="Leth. Gantherots +1",ring1="Stikini Ring +1",legs="Psycloth Lappas"})
sets.midcast['Frazzle II'] = sets.midcast['Enfeebling Magic'].Resistant
sets.midcast['Frazzle III'] = sets.midcast.SkillBasedEnfeebling
sets.midcast['Frazzle III'].Resistant = sets.midcast['Enfeebling Magic'].Resistant
sets.midcast['Distract III'] = sets.midcast.SkillBasedEnfeebling
sets.midcast['Distract III'].Resistant = sets.midcast['Enfeebling Magic'].Resistant
sets.midcast['Divine Magic'] = set_combine(sets.midcast['Enfeebling Magic'].Resistant, {})
sets.midcast.Dia = set_combine(sets.midcast['Enfeebling Magic'], sets.TreasureHunter)
sets.midcast.Diaga = set_combine(sets.midcast['Enfeebling Magic'], sets.TreasureHunter)
sets.midcast['Dia II'] = set_combine(sets.midcast['Enfeebling Magic'], sets.TreasureHunter)
sets.midcast['Dia III'] = set_combine(sets.midcast['Enfeebling Magic'], {waist="Chaac Belt"})
sets.midcast.Bio = set_combine(sets.midcast['Enfeebling Magic'], sets.TreasureHunter)
sets.midcast['Bio II'] = set_combine(sets.midcast['Enfeebling Magic'], sets.TreasureHunter)
sets.midcast['Bio III'] = set_combine(sets.midcast['Enfeebling Magic'], {head="Viti. Chapeau +2",waist="Chaac Belt",feet=gear.chironic_treasure_feet})
sets.midcast['Elemental Magic'] = {main="Daybreak",sub="Ammurapi Shield",range=empty,ammo="Dosis Tathlum",
head=gear.merlinic_nuke_head,neck="Baetyl Pendant",ear1="Crematio Earring",ear2="Friomisi Earring",
body=gear.merlinic_nuke_body,hands="Amalric Gages +1",ring1="Shiva Ring +1",ring2="Freke Ring",
back=gear.nuke_jse_back,waist=gear.ElementalObi,legs="Merlinic Shalwar",feet=gear.merlinic_nuke_feet}
sets.midcast['Elemental Magic'].Resistant = {main="Daybreak",sub="Ammurapi Shield",ammo="Pemphredo Tathlum",
head=gear.merlinic_nuke_head,neck="Dls. Torque +2",ear1="Regal Earring",ear2="Friomisi Earring",
body=gear.merlinic_nuke_body,hands="Amalric Gages +1",ring1="Metamor. Ring +1",ring2="Freke Ring",
back=gear.nuke_jse_back,waist="Yamabuki-no-Obi",legs="Merlinic Shalwar",feet=gear.merlinic_nuke_feet}
sets.midcast['Elemental Magic'].Fodder = {main="Daybreak",sub="Ammurapi Shield",range=empty,ammo="Dosis Tathlum",
head=gear.merlinic_nuke_head,neck="Baetyl Pendant",ear1="Crematio Earring",ear2="Friomisi Earring",
body=gear.merlinic_nuke_body,hands="Amalric Gages +1",ring1="Shiva Ring +1",ring2="Freke Ring",
back=gear.nuke_jse_back,waist=gear.ElementalObi,legs="Merlinic Shalwar",feet=gear.merlinic_nuke_feet}
sets.midcast['Elemental Magic'].Proc = {main=empty,sub=empty,range=empty,ammo="Impatiens",
head="Nahtirah Hat",neck="Voltsurge Torque",ear1="Enchntr. Earring +1",ear2="Loquac. Earring",
body="Zendik Robe",hands="Gende. Gages +1",ring1="Kishar Ring",ring2="Prolix Ring",
back="Swith Cape +1",waist="Witful Belt",legs="Psycloth Lappas",feet="Regal Pumps +1"}
sets.midcast['Elemental Magic'].HighTierNuke = set_combine(sets.midcast['Elemental Magic'], {ammo="Pemphredo Tathlum",ear1="Regal Earring",ring1="Metamor. Ring +1"})
sets.midcast['Elemental Magic'].HighTierNuke.Resistant = set_combine(sets.midcast['Elemental Magic'].Resistant, {ear1="Regal Earring",ring1="Metamor. Ring +1"})
sets.midcast['Elemental Magic'].HighTierNuke.Fodder = set_combine(sets.midcast['Elemental Magic'].Fodder, {ammo="Pemphredo Tathlum",ear1="Regal Earring",ring1="Metamor. Ring +1"})
sets.midcast.Impact = {main="Daybreak",sub="Ammurapi Shield",range="Kaja Bow",ammo=empty,
head=empty,neck="Erra Pendant",ear1="Regal Earring",ear2="Malignance Earring",
body="Twilight Cloak",hands="Leth. Gantherots +1",ring1="Metamor. Ring +1",ring2="Stikini Ring +1",
back=gear.nuke_jse_back,waist="Luminary Sash",legs="Merlinic Shalwar",feet=gear.merlinic_nuke_feet}
sets.midcast['Dark Magic'] = {main="Rubicundity",sub="Ammurapi Shield",range="Kaja Bow",ammo=empty,
head="Amalric Coif +1",neck="Erra Pendant",ear1="Regal Earring",ear2="Malignance Earring",
body="Atrophy Tabard +2",hands="Leth. Gantherots +1",ring1="Metamor. Ring +1",ring2="Stikini Ring +1",
back=gear.nuke_jse_back,waist="Luminary Sash",legs="Psycloth Lappas",feet=gear.merlinic_nuke_feet}
sets.midcast.Drain = {main="Rubicundity",sub="Ammurapi Shield",range="Kaja Bow",ammo=empty,
head="Pixie Hairpin +1",neck="Erra Pendant",ear1="Regal Earring",ear2="Malignance Earring",
body=gear.merlinic_nuke_body,hands=gear.chironic_enfeeble_hands,ring1="Evanescence Ring",ring2="Archon Ring",
back=gear.nuke_jse_back,waist="Fucho-no-obi",legs="Chironic Hose",feet=gear.merlinic_aspir_feet}
sets.midcast.Aspir = sets.midcast.Drain
sets.midcast.Stun = {main="Daybreak",sub="Ammurapi Shield",range="Kaja Bow",ammo=empty,
head="Atrophy Chapeau +2",neck="Dls. Torque +2",ear1="Regal Earring",ear2="Malignance Earring",
body="Zendik Robe",hands="Volte Gloves",ring1="Metamor. Ring +1",ring2="Stikini Ring +1",
back=gear.nuke_jse_back,waist="Sailfi Belt +1",legs="Chironic Hose",feet=gear.merlinic_aspir_feet}
sets.midcast.Stun.Resistant = {main="Daybreak",sub="Ammurapi Shield",range="Kaja Bow",ammo=empty,
head="Atrophy Chapeau +2",neck="Dls. Torque +2",ear1="Regal Earring",ear2="Malignance Earring",
body="Atrophy Tabard +2",hands="Volte Gloves",ring1="Metamor. Ring +1",ring2="Stikini Ring +1",
back=gear.nuke_jse_back,waist="Acuity Belt +1",legs="Chironic Hose",feet=gear.merlinic_aspir_feet}
-- Sets for special buff conditions on spells.
sets.buff.Saboteur = {hands="Leth. Gantherots +1"}
sets.HPDown = {head="Pixie Hairpin +1",ear1="Mendicant's Earring",ear2="Evans Earring",
body="Jhakri Robe +2",hands="Jhakri Cuffs +2",ring1="Mephitas's Ring +1",ring2="Mephitas's Ring",
back="Swith Cape +1",legs="Shedir Seraweels",feet="Jhakri Pigaches +2"}
sets.HPCure = {main="Daybreak",sub="Sors Shield",range=empty,ammo="Hasty Pinion +1",
head="Gende. Caubeen +1",neck="Unmoving Collar +1",ear1="Gifted Earring",ear2="Mendi. Earring",
body="Viti. Tabard +2",hands="Kaykaus Cuffs",ring1="Gelatinous Ring +1",ring2="Meridian Ring",
back="Moonlight Cape",waist="Luminary Sash",legs="Carmine Cuisses +1",feet="Kaykaus Boots"}
sets.buff.Doom = set_combine(sets.buff.Doom, {})
-- Sets to return to when not performing an action.
-- Resting sets
sets.resting = {ammo="Staunch Tathlum",
head="Viti. Chapeau +2",neck="Moepapa Pendant",ear1="Aredan Earring",ear2="Assuage Earring",
body="Ayanmo Corazza +2",hands="Aya. Manopolas +2",ring1="Jhakri Ring",ring2="Dark Ring",
back="Sucellos's Cape",waist="Sailfi Belt +1",legs="Carmine Cuisses +1",feet="Jhakri Pigaches +2"}
-- Idle sets
sets.idle = {ammo="Staunch Tathlum", head="Aya. Zucchetto +2", body="Ayanmo Corazza +2", hands="Aya. Manopolas +2",
legs={ name="Carmine Cuisses +1", augments={'Accuracy+20','Attack+12','"Dual Wield"+6',}},
feet={ name="Chironic Slippers", augments={'Attack+6','"Mag.Atk.Bns."+30','Mag. Acc.+10 "Mag.Atk.Bns."+10',}},
neck="Moepapa Pendant", waist="Flume Belt", left_ear="Aredan Earring", right_ear="Assuage Earring",
left_ring="Defending Ring", right_ring="Dark Ring", back=gear.wsd_jse_back,}
sets.idle.PDT = {ammo="Staunch Tathlum",
head="Malignance Chapeau",neck="Loricate Torque +1",ear1="Etiolation Earring",ear2="Ethereal Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Defending Ring",ring2="Dark Ring",
back="Moonlight Cape",waist="Flume Belt +1",legs="Malignance Tights",feet="Malignance Boots"}
sets.idle.MDT = {ammo="Staunch Tathlum",
head="Malignance Chapeau",neck="Warder's Charm +1",ear1="Etiolation Earring",ear2="Sanare Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Defending Ring",ring2="Shadow Ring",
back="Moonlight Cape",waist="Carrier's Sash",legs="Malignance Tights",feet="Malignance Boots"}
sets.idle.Weak = {ammo="Homiliary",
head="Viti. Chapeau +2",neck="Loricate Torque +1",ear1="Etiolation Earring",ear2="Sanare Earring",
body="Jhakri Robe +2",hands=gear.merlinic_refresh_hands,ring1="Defending Ring",ring2="Dark Ring",
back="Umbra Cape",waist="Flume Belt +1",legs="Lengo Pants",feet=gear.chironic_refresh_feet}
sets.idle.DTHippo = set_combine(sets.idle.PDT, {back="Umbra Cape",legs="Carmine Cuisses +1",feet="Hippo. Socks +1"})
-- Defense sets
sets.defense.PDT = {ammo="Staunch Tathlum", head="Aya. Zucchetto +2", body="Ayanmo Corazza +2", hands="Aya. Manopolas +2",
legs={ name="Carmine Cuisses +1", augments={'Accuracy+20','Attack+12','"Dual Wield"+6',}},
feet={ name="Chironic Slippers", augments={'Attack+6','"Mag.Atk.Bns."+30','Mag. Acc.+10 "Mag.Atk.Bns."+10',}},
neck="Moepapa Pendant", waist="Flume Belt", left_ear="Aredan Earring", right_ear="Assuage Earring",
left_ring="Jhakri Ring", right_ring="Dark Ring", back=gear.wsd_jse_back,}
sets.defense.NukeLock = sets.midcast['Elemental Magic']
sets.defense.MDT = {ammo="Staunch Tathlum",
head="Malignance Chapeau",neck="Warder's Charm +1",ear1="Etiolation Earring",ear2="Ethereal Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Defending Ring",ring2="Dark Ring",
back="Moonlight Cape",waist="Carrier's Sash",legs="Malignance Tights",feet="Malignance Boots"}
sets.defense.MEVA = {ammo="Staunch Tathlum",
head="Malignance Chapeau",neck="Warder's Charm +1",ear1="Etiolation Earring",ear2="Ethereal Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Defending Ring",ring2="Dark Ring",
back="Moonlight Cape",waist="Carrier's Sash",legs="Malignance Tights",feet="Malignance Boots"}
sets.Kiting = {legs="Carmine Cuisses +1"}
sets.latent_refresh = {waist="Fucho-no-obi"}
sets.latent_refresh_grip = {sub="Oneiros Grip"}
sets.TPEat = {neck="Chrys. Torque"}
sets.DayIdle = {}
sets.NightIdle = {}
-- Weapons sets
sets.weapons.Sequence = {main="Sequence",sub="Ammurapi Shield"}
sets.weapons.Naegling = {main="Naegling",sub="Ammurapi Shield"}
sets.weapons.Almace = {main="Almace",sub="Ammurapi Shield"}
sets.weapons.DualWeapons = {main="Naegling",sub="Thibron"}
sets.weapons.DualWeaponsAcc = {main="Naegling",sub="Almace"}
sets.weapons.DualEvisceration = {main="Tauret",sub="Almace"}
sets.weapons.DualAeolian = {main="Tauret",sub="Daybreak"}
sets.weapons.DualProcDaggers = {main="Blurred Knife +1",sub="Atoyac"}
sets.weapons.EnspellOnly = {main="Norgish Dagger",sub="Aern Dagger",range="Kaja Bow",ammo="Beetle Arrow"}
sets.weapons.DualClubs = {main="Nehushtan",sub="Nehushtan"}
sets.weapons.DualBlackHalo = {main="Kaja Rod",sub="Thibron"}
sets.weapons.DualAlmace = {main="Almace",sub="Sequence"}
sets.weapons.DualBow = {main="Naegling",sub="Tauret",range="Kaja Bow"}
sets.weapons.BowMacc = {range="Kaja Bow",ammo=empty}
sets.buff.Sublimation = {waist="Embla Sash"}
sets.buff.DTSublimation = {waist="Embla Sash"}
-- 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.Dagger.Accuracy.Evasion
-- Normal melee group
-- sets.engaged = {ammo="Aurgelmir Orb +1",
-- head="Aya. Zucchetto +2",neck="Asperity Necklace",ear1="Cessance Earring",ear2="Brutal Earring",
-- body="Ayanmo Corazza +2",hands="Aya. Manopolas +2",ring1="Petrov Ring",ring2="Ilabrat Ring",
-- back=gear.stp_jse_back,waist="Windbuffet Belt +1",legs="Carmine Cuisses +1",feet="Carmine Greaves +1"}
sets.engaged = {
ammo="Staunch Tathlum",
head={ name="Chironic Hat", augments={'AGI+10','"Dbl.Atk."+1','Quadruple Attack +3','Accuracy+19 Attack+19','Mag. Acc.+8 "Mag.Atk.Bns."+8',}},
body="Ayanmo Corazza +2",
hands={ name="Chironic Gloves", augments={'MND+5','Quadruple Attack +2','Accuracy+11 Attack+11','Mag. Acc.+19 "Mag.Atk.Bns."+19',}},
legs="Carmine Cuisses +1", feet="Aya. Gambieras +1", neck="Moepapa Pendant", waist="Sailfi Belt +1",
left_ear="Bladeborn Earring", right_ear="Assuage Earring", left_ring="Jhakri Ring", right_ring="Rajas Ring",
back="Sucellos's Cape",}
sets.engaged.EnspellOnly = {
head="Malignance Chapeau",neck="Dls. Torque +2",ear1="Suppanomimi",ear2="Digni. Earring",
body="Ayanmo Corazza +2",hands="Aya. Manopolas +2",ring1="Metamor. Ring +1",ring2="Ramuh Ring +1",
back="Ghostfyre Cape",waist="Windbuffet Belt +1",legs="Carmine Cuisses +1",feet="Malignance Boots"}
sets.engaged.Acc = {
head="Malignance Chapeau",neck="Asperity Necklace",ear1="Cessance Earring",ear2="Sherida Earring",
body="Ayanmo Corazza +2",hands="Malignance Gloves",ring1="Petrov Ring",ring2="Ilabrat Ring",
back=gear.stp_jse_back,waist="Windbuffet Belt +1",legs="Malignance Tights",feet="Carmine Greaves +1"}
sets.engaged.FullAcc = {ammo="Aurgelmir Orb +1",
head="Malignance Chapeau",neck="Asperity Necklace",ear1="Cessance Earring",ear2="Sherida Earring",
body="Ayanmo Corazza +2",hands="Malignance Gloves",ring1="Petrov Ring",ring2="Ilabrat Ring",
back=gear.stp_jse_back,waist="Windbuffet Belt +1",legs="Malignance Tights",feet="Carmine Greaves +1"}
sets.engaged.DT = {ammo="Aurgelmir Orb +1",
head="Malignance Chapeau",neck="Loricate Torque +1",ear1="Cessance Earring",ear2="Sherida Earring",
body="Malignance Tabard",hands="Hagondes Cuffs +1",ring1="Defending Ring",ring2="Dark Ring",
back="Moonlight Cape",waist="Windbuffet Belt +1",legs="Hagondes Pants +1",feet="Battlecast Gaiters"}
sets.engaged.Acc.DT = {ammo="Aurgelmir Orb +1",
head="Malignance Chapeau",neck="Loricate Torque +1",ear1="Cessance Earring",ear2="Sherida Earring",
body="Malignance Tabard",hands="Hagondes Cuffs +1",ring1="Defending Ring",ring2="Rajas Ring",
back="Moonlight Cape",waist="Flume Belt +1",legs="Hagondes Pants +1",feet="Battlecast Gaiters"}
sets.engaged.FullAcc.DT = {ammo="Aurgelmir Orb +1",
head="Malignance Chapeau",neck="Loricate Torque +1",ear1="Cessance Earring",ear2="Sherida Earring",
body="Malignance Tabard",hands="Hagondes Cuffs +1",ring1="Defending Ring",ring2="Rajas Ring",
back="Moonlight Cape",waist="Flume Belt +1",legs="Hagondes Pants +1",feet="Battlecast Gaiters"}
sets.engaged.DW = {ammo="Aurgelmir Orb +1",
head="Malignance Chapeau",neck="Anu Torque",ear1="Suppanomimi",ear2="Sherida Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Petrov Ring",ring2="Ilabrat Ring",
back=gear.stp_jse_back,waist="Windbuffet Belt +1",legs="Carmine Cuisses +1",feet="Malignance Boots"}
sets.engaged.DW.Acc = {ammo="Aurgelmir Orb +1",
head="Malignance Chapeau",neck="Combatant's Torque",ear1="Suppanomimi",ear2="Sherida Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Ramuh Ring +1",ring2="Ilabrat Ring",
back=gear.stp_jse_back,waist="Olseni Belt",legs="Carmine Cuisses +1",feet="Malignance Boots"}
sets.engaged.DW.FullAcc = {ammo="Aurgelmir Orb +1",
head="Malignance Chapeau",neck="Combatant's Torque",ear1="Suppanomimi",ear2="Telos Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Ramuh Ring +1",ring2="Ramuh Ring +1",
back=gear.stp_jse_back,waist="Olseni Belt",legs="Carmine Cuisses +1",feet="Malignance Boots"}
sets.engaged.DW.DT = {ammo="Aurgelmir Orb +1",
head="Malignance Chapeau",neck="Loricate Torque +1",ear1="Suppanomimi",ear2="Sherida Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Defending Ring",ring2="Ilabrat Ring",
back="Moonlight Cape",waist="Reiki Yotai",legs="Malignance Tights",feet="Malignance Boots"}
sets.engaged.DW.Acc.DT = {ammo="Aurgelmir Orb +1",
head="Malignance Chapeau",neck="Loricate Torque +1",ear1="Suppanomimi",ear2="Sherida Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Defending Ring",ring2="Ilabrat Ring",
back="Moonlight Cape",waist="Reiki Yotai",legs="Malignance Tights",feet="Malignance Boots"}
sets.engaged.DW.FullAcc.DT = {ammo="Aurgelmir Orb +1",
head="Malignance Chapeau",neck="Loricate Torque +1",ear1="Suppanomimi",ear2="Telos Earring",
body="Malignance Tabard",hands="Malignance Gloves",ring1="Defending Ring",ring2="Ramuh Ring +1",
back="Moonlight Cape",waist="Reiki Yotai",legs="Malignance Tights",feet="Malignance Boots"}
end
-- Select default macro book on initial load or subjob change.
-- Default macro set/book
function select_default_macro_book()
if player.sub_job == 'DNC' then
set_macro_page(1, 20)
elseif player.sub_job == 'NIN' then
set_macro_page(1, 20)
elseif player.sub_job == 'BLM' then
set_macro_page(1, 20)
else
set_macro_page(1, 20)
end
end
function user_job_buff_change(buff, gain)
if buff:startswith('Addendum: ') or buff:endswith(' Arts') then
style_lock = true
end
end