-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gorgeousgeorge_Drg_Gear.lua
269 lines (219 loc) · 13 KB
/
Gorgeousgeorge_Drg_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
-- Setup vars that are user-dependent. Can override this function in a sidecar file.
function user_job_setup()
-- Options: Override default values
state.OffenseMode:options('Normal','SomeAcc','Acc','FullAcc','Fodder')
state.WeaponskillMode:options('Match','Normal','SomeAcc','Acc','FullAcc','Fodder')
state.HybridMode:options('Normal')
state.PhysicalDefenseMode:options('PDT', 'PDTReraise')
state.MagicalDefenseMode:options('MDT', 'MDTReraise')
state.ResistDefenseMode:options('MEVA')
state.IdleMode:options('Normal', 'PDT','Refresh','Reraise')
state.ExtraMeleeMode = M{['description']='Extra Melee Mode','None'}
state.Weapons:options('Trishula')
state.Passive = M{['description'] = 'Passive Mode','None','MP','Twilight'}
select_default_macro_book()
-- Additional local binds
send_command('bind ^` input /ja "Hasso" <me>')
send_command('bind !` input /ja "Seigan" <me>')
send_command('bind ^f11 gs c cycle MagicalDefenseMode')
send_command('bind @f7 gs c toggle AutoJumpMode')
send_command('bind @` gs c cycle SkillchainMode')
end
-- Define sets and vars used by this job file.
function init_gear_sets()
--------------------------------------
-- Start defining the sets
--------------------------------------
-- Precast Sets
-- Precast sets to enhance JAs
sets.precast.JA.Angon = {ammo="Angon"} --hands="Ptero. Fin. G. +1"
sets.precast.JA.Jump = {ammo="Aurgelmir Orb +1",
head="Flam. Zucchetto +2",neck="Ganesha's Mala",ear1="Brutal Earring",ear2="Sherida Earring",
body=gear.valorous_wsd_body,hands=gear.valorous_acc_hands,ring1="Petrov Ring",ring2="Niqmaddu Ring",
back="Brigantia's Mantle",waist="Windbuffet Belt +1",legs="Sulev. Cuisses +2",feet="Flam. Gambieras +2"}
sets.precast.JA['Ancient Circle'] = {} --legs="Vishap Brais"
sets.precast.JA['High Jump'] = {ammo="Aurgelmir Orb +1",
head="Flam. Zucchetto +2",neck="Ganesha's Mala",ear1="Brutal Earring",ear2="Sherida Earring",
body=gear.valorous_wsd_body,hands=gear.valorous_acc_hands,ring1="Petrov Ring",ring2="Niqmaddu Ring",
back="Brigantia's Mantle",waist="Windbuffet Belt +1",legs="Sulev. Cuisses +2",feet="Flam. Gambieras +2"}
sets.precast.JA['Soul Jump'] = {ammo="Aurgelmir Orb +1",
head="Flam. Zucchetto +2",neck="Ganesha's Mala",ear1="Brutal Earring",ear2="Sherida Earring",
body=gear.valorous_wsd_body,hands=gear.valorous_acc_hands,ring1="Petrov Ring",ring2="Niqmaddu Ring",
back="Brigantia's Mantle",waist="Windbuffet Belt +1",legs="Sulev. Cuisses +2",feet="Flam. Gambieras +2"}
sets.precast.JA['Spirit Jump'] = {ammo="Aurgelmir Orb +1",
head="Flam. Zucchetto +2",neck="Ganesha's Mala",ear1="Brutal Earring",ear2="Sherida Earring",
body=gear.valorous_wsd_body,hands=gear.valorous_acc_hands,ring1="Petrov Ring",ring2="Niqmaddu Ring",
back="Brigantia's Mantle",waist="Windbuffet Belt +1",legs="Sulev. Cuisses +2",feet="Flam. Gambieras +2"}
sets.precast.JA['Super Jump'] = {}
sets.precast.JA['Spirit Link'] = {head="Vishap Armet +1"} --head="Vishap Armet",hands="Lnc. Vmbrc. +2"
sets.precast.JA['Call Wyvern'] = {} --body="Ptero. Mail +1"
sets.precast.JA['Deep Breathing'] = {} --hands="Ptero. Armet +1"
sets.precast.JA['Spirit Surge'] = {} --body="Ptero. Mail +1"
sets.precast.JA['Steady Wing'] = {}
-- Breath sets
sets.precast.JA['Restoring Breath'] = {back="Brigantia's Mantle"}
sets.precast.JA['Smiting Breath'] = {back="Brigantia's Mantle"}
sets.HealingBreath = {back="Brigantia's Mantle"}
--sets.SmitingBreath = {back="Brigantia's Mantle"}
-- Fast cast sets for spells
sets.precast.FC = {ammo="Impatiens",
head="Carmine Mask +1",neck="Voltsurge Torque",ear1="Enchntr. Earring +1",ear2="Loquac. Earring",
body="Taeon Tabard",hands="Leyline Gloves",ring1="Lebeche Ring",ring2="Prolix Ring",
back="Moonlight Cape",waist="Flume Belt +1",legs="Founder's Greaves",feet="Carmine Greaves +1"}
-- Waltz set (chr and vit)
sets.precast.Waltz = {}
-- Don't need any special gear for Healing Waltz.
sets.precast.Waltz['Healing Waltz'] = {}
sets.midcast.Cure = {}
sets.Self_Healing = {neck="Phalaina Locket",hands="Buremte Gloves",ring2="Kunaji Ring",waist="Gishdubar Sash"}
sets.Cure_Received = {neck="Phalaina Locket",hands="Buremte Gloves",ring2="Kunaji Ring",waist="Gishdubar Sash"}
sets.Self_Refresh = {waist="Gishdubar Sash"}
-- Midcast Sets
sets.midcast.FastRecast = {ammo="Staunch Tathlum +1",
head="Carmine Mask +1",neck="Voltsurge Torque",ear1="Enchntr. Earring +1",ear2="Loquac. Earring",
body="Taeon Tabard",hands="Leyline Gloves",ring1="Lebeche Ring",ring2="Prolix Ring",
back="Moonlight Cape",waist="Tempus Fugit",legs="Founder's Greaves",feet="Carmine Greaves +1"}
-- Put HP+ gear and the AF head to make healing breath trigger more easily with this set.
sets.midcast.HB_Trigger = set_combine(sets.midcast.FastRecast, {head="Vishap Armet +1"})
-- Weaponskill sets
-- Default set for any weaponskill that isn't any more specifically defined
sets.precast.WS = {ammo="Knobkierrie",
head="Flam. Zucchetto +2",neck="Fotia Gorget",ear1="Moonshade Earring",ear2="Sherida Earring",
body=gear.valorous_wsd_body,hands="Sulev. Gauntlets +2",ring1="Regal Ring",ring2="Niqmaddu Ring",
back="Brigantia's Mantle",waist="Fotia Belt",legs="Sulev. Cuisses +2",feet="Flam. Gambieras +2"}
sets.precast.WS.SomeAcc = set_combine(sets.precast.WS, {})
sets.precast.WS.Acc = set_combine(sets.precast.WS, {neck="Shulmanu Collar"})
sets.precast.WS.FullAcc = set_combine(sets.precast.WS, {neck="Shulmanu Collar"})
sets.precast.WS.Fodder = set_combine(sets.precast.WS, {})
-- Specific weaponskill sets. Uses the base set if an appropriate WSMod version isn't found.
sets.precast.WS['Stardiver'] = set_combine(sets.precast.WS, {})
sets.precast.WS['Stardiver'].SomeAcc = set_combine(sets.precast.WS.Acc, {})
sets.precast.WS['Stardiver'].Acc = set_combine(sets.precast.WS.Acc, {})
sets.precast.WS['Stardiver'].Fodder = set_combine(sets.precast.WS.Fodder, {})
sets.precast.WS['Drakesbane'] = set_combine(sets.precast.WS, {})
sets.precast.WS['Drakesbane'].SomeAcc = set_combine(sets.precast.WS.Acc, {})
sets.precast.WS['Drakesbane'].Acc = set_combine(sets.precast.WS.Acc, {})
sets.precast.WS['Drakesbane'].Fodder = set_combine(sets.precast.WS.Fodder, {})
-- Sets to return to when not performing an action.
-- Resting sets
sets.resting = {}
-- Idle sets
sets.idle = {ammo="Staunch Tathlum +1",
head="Loess Barbuta +1",neck="Loricate Torque +1",ear1="Genmei Earring",ear2="Ethereal Earring",
body="Tartarus Platemail",hands="Sulev. Gauntlets +2",ring1="Defending Ring",ring2="Dark Ring",
back="Shadow Mantle",waist="Flume Belt +1",legs="Carmine Cuisses +1",feet="Amm Greaves"}
sets.idle.Refresh = {ammo="Staunch Tathlum +1",
head="Jumalik Helm",neck="Loricate Torque +1",ear1="Genmei Earring",ear2="Ethereal Earring",
body="Jumalik Mail",hands="Sulev. Gauntlets +2",ring1="Defending Ring",ring2="Dark Ring",
back="Shadow Mantle",waist="Flume Belt +1",legs="Carmine Cuisses +1",feet="Amm Greaves"}
sets.idle.Weak = set_combine(sets.idle, {head="Twilight Helm",body="Twilight Mail"})
sets.idle.Reraise = set_combine(sets.idle, {head="Twilight Helm",body="Twilight Mail"})
-- Defense sets
sets.defense.PDT = {ammo="Staunch Tathlum +1",
head="Loess Barbuta +1",neck="Loricate Torque +1",ear1="Genmei Earring",ear2="Ethereal Earring",
body="Tartarus Platemail",hands="Sulev. Gauntlets +2",ring1="Moonbeam Ring",ring2="Moonlight Ring",
back="Shadow Mantle",waist="Flume Belt +1",legs="Arke Cosc. +1",feet="Amm Greaves"}
sets.defense.PDTReraise = set_combine(sets.defense.PDT, {head="Twilight Helm",body="Twilight Mail"})
sets.defense.MDT = {ammo="Staunch Tathlum +1",
head="Loess Barbuta +1",neck="Warder's Charm +1",ear1="Genmei Earring",ear2="Ethereal Earring",
body="Tartarus Platemail",hands="Sulev. Gauntlets +2",ring1="Moonbeam Ring",ring2="Moonlight Ring",
back="Moonlight Cape",waist="Flume Belt +1",legs="Arke Cosc. +1",feet="Amm Greaves"}
sets.defense.MDTReraise = set_combine(sets.defense.MDT, {head="Twilight Helm",body="Twilight Mail"})
sets.defense.MEVA = {ammo="Staunch Tathlum +1",
head="Loess Barbuta +1",neck="Warder's Charm +1",ear1="Genmei Earring",ear2="Ethereal Earring",
body="Tartarus Platemail",hands="Sulev. Gauntlets +2",ring1="Moonbeam Ring",ring2="Moonlight Ring",
back="Moonlight Cape",waist="Flume Belt +1",legs="Arke Cosc. +1",feet="Amm Greaves"}
sets.Kiting = {legs="Carmine Cuisses +1"}
sets.Reraise = {head="Twilight Helm",body="Twilight Mail"}
sets.buff.Doom = set_combine(sets.buff.Doom, {})
sets.buff.Sleep = {head="Frenzy Sallet"}
-- Extra defense sets. Apply these on top of melee or defense sets.
sets.passive.MP = {ear2="Ethereal Earring",waist="Flume Belt +1"}
sets.passive.Twilight = {head="Twilight Helm", body="Twilight Mail"}
sets.TreasureHunter = set_combine(sets.TreasureHunter, {})
-- Weapons sets
sets.weapons.Trishula = {main="Trishula",sub="Utu Grip"}
-- Swap to these on Moonshade using WS if at 3000 TP
sets.MaxTP = {ear1="Lugra Earring +1",ear2="Sherida Earring",}
sets.AccMaxTP = {ear1="Mache Earring +1",ear2="Telos Earring"}
sets.AccDayMaxTPWSEars = {ear1="Mache Earring +1",ear2="Telos Earring"}
sets.DayMaxTPWSEars = {ear1="Brutal Earring",ear2="Sherida Earring",}
sets.AccDayWSEars = {ear1="Mache Earring +1",ear2="Telos Earring"}
sets.DayWSEars = {ear1="Moonshade Earring",ear2="Sherida Earring",}
-- 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
-- Normal melee group
sets.engaged = {ammo="Aurgelmir Orb +1",
head="Flam. Zucchetto +2",neck="Shulmanu Collar",ear1="Brutal Earring",ear2="Sherida Earring",
body=gear.valorous_wsd_body,hands=gear.valorous_acc_hands,ring1="Petrov Ring",ring2="Niqmaddu Ring",
back="Brigantia's Mantle",waist="Ioskeha Belt",legs="Sulev. Cuisses +2",feet="Flam. Gambieras +2"}
sets.engaged.SomeAcc = {ammo="Aurgelmir Orb +1",
head="Flam. Zucchetto +2",neck="Shulmanu Collar",ear1="Brutal Earring",ear2="Sherida Earring",
body=gear.valorous_wsd_body,hands=gear.valorous_acc_hands,ring1="Regal Ring",ring2="Niqmaddu Ring",
back="Brigantia's Mantle",waist="Ioskeha Belt",legs="Sulev. Cuisses +2",feet="Flam. Gambieras +2"}
sets.engaged.Acc = {ammo="Aurgelmir Orb +1",
head="Flam. Zucchetto +2",neck="Shulmanu Collar",ear1="Digni. Earring",ear2="Telos Earring",
body=gear.valorous_wsd_body,hands=gear.valorous_acc_hands,ring1="Ramuh Ring +1",ring2="Niqmaddu Ring",
back="Brigantia's Mantle",waist="Ioskeha Belt",legs="Sulev. Cuisses +2",feet="Flam. Gambieras +2"}
sets.engaged.FullAcc = {ammo="Aurgelmir Orb +1",
head="Flam. Zucchetto +2",neck="Shulmanu Collar",ear1="Mache Earring +1",ear2="Telos Earring",
body=gear.valorous_wsd_body,hands=gear.valorous_acc_hands,ring1="Ramuh Ring +1",ring2="Ramuh Ring +1",
back="Brigantia's Mantle",waist="Ioskeha Belt",legs="Sulev. Cuisses +2",feet="Flam. Gambieras +2"}
sets.engaged.Fodder = {ammo="Aurgelmir Orb +1",
head="Flam. Zucchetto +2",neck="Ganesha's Mala",ear1="Brutal Earring",ear2="Sherida Earring",
body=gear.valorous_wsd_body,hands=gear.valorous_acc_hands,ring1="Petrov Ring",ring2="Niqmaddu Ring",
back="Brigantia's Mantle",waist="Ioskeha Belt",legs="Sulev. Cuisses +2",feet="Flam. Gambieras +2"}
sets.engaged.AM = {}
sets.engaged.AM.SomeAcc = {}
sets.engaged.AM.Acc = {}
sets.engaged.AM.FullAcc = {}
sets.engaged.AM.Fodder = {}
sets.engaged.PDT = {}
sets.engaged.SomeAcc.PDT = {}
sets.engaged.Acc.PDT = {}
sets.engaged.FullAcc.PDT = {}
sets.engaged.Fodder.PDT = {}
sets.engaged.AM.PDT = {}
sets.engaged.AM.SomeAcc.PDT = {}
sets.engaged.AM.Acc.PDT = {}
sets.engaged.AM.FullAcc.PDT = {}
sets.engaged.AM.Fodder.PDT = {}
--[[ Melee sets for in Adoulin, which has an extra 2% Haste from Ionis.
sets.engaged.Adoulin = {}
sets.engaged.Adoulin.SomeAcc = {}
sets.engaged.Adoulin.Acc = {}
sets.engaged.Adoulin.FullAcc = {}
sets.engaged.Adoulin.Fodder = {}
sets.engaged.Adoulin.AM = {}
sets.engaged.Adoulin.AM.SomeAcc = {}
sets.engaged.Adoulin.AM.Acc = {}
sets.engaged.Adoulin.AM.FullAcc = {}
sets.engaged.Adoulin.AM.Fodder = {}
sets.engaged.Adoulin.PDT = {}
sets.engaged.Adoulin.SomeAcc.PDT = {}
sets.engaged.Adoulin.Acc.PDT = {}
sets.engaged.Adoulin.FullAcc.PDT = {}
sets.engaged.Adoulin.Fodder.PDT = {}
sets.engaged.Adoulin.AM.PDT = {}
sets.engaged.Adoulin.AM.SomeAcc.PDT = {}
sets.engaged.Adoulin.AM.Acc.PDT = {}
sets.engaged.Adoulin.AM.FullAcc.PDT = {}
sets.engaged.Adoulin.AM.Fodder.PDT = {}
]]
end
-- Select default macro book on initial load or subjob change.
function select_default_macro_book()
-- Default macro set/book
if player.sub_job == 'WAR' then
set_macro_page(1, 12)
elseif player.sub_job == 'SAM' then
set_macro_page(1, 12)
elseif player.sub_job == 'BLU' then
set_macro_page(1, 12)
else
set_macro_page(1, 12)
end
end