-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUnafay_COR.lua
190 lines (174 loc) · 4.84 KB
/
Unafay_COR.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
function get_sets()
sets.Idle = {
main="",
sub="",
head="Meghanada Visor +1",
body="Meg. Cuirie +2",
hands="Meg. Gloves +1",
legs="Meg. Chausses +1",
feet="Herculean boots",
neck="Bathy choker",
waist="",
ear1="Genmei earring",
ear2="Telos earring",
left_ring="Patricius Ring",
right_ring="Defending ring",
back="Moonbeam cape",
}
sets.Engaged = {
head="Meghanada visor +1",
body="Meg. Cuirie +2",
hands="Herculean gloves",
legs="Samnuha Tights",
feet="Herculean boots",
neck="",
ear1="Telos earring",
ear2="",
ring1="",
ring2="",
back="",
waist="Reiki yotai",
}
sets.Misc = {}
sets.Misc.Ranged = {
head="Meghanada Visor +1",
body="Meg. Cuirie +2",
hands="",
legs="Meg. Chausses +1",
feet="Meg. Jam. +1",
neck="Iqabi Necklace",
ear1="",
ear2="",
left_ring="",
right_ring="",
back="",
}
sets.WeaponSkill = {
head="Meghanada Visor +1",
body="Meg. Cuirie +2",
hands="Mummu Wrists +1",
legs="Meg. Chausses +2",
feet="Herculean Boots",
neck="",
waist="",
ear1="Ishvara Earring",
ear2="Moonshade Earring",
leftring="Ilabrat Ring",
right_ring="Apate Ring",
back="Buquwik Cape",
}
sets.WeaponSkill["Savage Blade"] = {
head="Meghanada Visor +1",
body="Herculean Vest",
hands="Meg. Gloves +1",
legs="Meg. Chausses +2",
feet="Herculean Boots",
neck="",
waist="",
ear1="Ishvara Earring",
ear2="",
left_ring="",
right_ring="",
back="",
}
sets.WeaponSkill["Last Stand"] = {
head="Dampening Tam",
body="Samnuha coat",
hands="Floral gauntlets",
legs="Meg. Chausses +1",
feet="Meg. jambeau +1",
neck="Gaudryi necklace",
waist="Elanid belt",
ear1="",
ear2="",
left_ring="",
right_ring="",
back="Thall mantle",
}
sets.WeaponSkill["Leaden Salute"] = {
range="",
head="Meghanada visor +1",
body="Samnuha coat",
hands="Leyline gloves",
legs="Meg. Chausses +1",
feet="Meg. Jam. +1",
neck="Sanctity Necklace",
waist="Eschan Stone",
ear1="Friomisi Earring",
ear2="Hecate's earring",
left_ring="Weatherspoon Ring",
right_ring="Acumen Ring",
back="Gunslinger's Cape",
}
sets.CorsairRoll = {
head="Lanun Tricorne +1",
body="Meg. Cuirie +2",
hands="Chasseur's Gants +1",
legs="Meghanada chausses +2",
feet="Lanun Bottes +1",
neck="Regal Necklace",
ear1="Genmei Earring",
ear2="Etiolation Earring",
ring1="Patricius ring",
ring2="Defending Ring",
back="Moonbeam cape",
waist="Elanid belt",
}
sets.Quickdraw = {
Range="Doomsday",
ammo="",
head="Herculean Helm",
body="Lanun Frac +1",
hands="Leyline gloves",
legs="Laksa. Trews +2",
feet="Lanun Bottes +1",
neck="Comm. Charm +1",
waist="Eschan Stone",
left_ear="Crematio earring",
right_ear="Friomisi Earring",
left_ring="Shiva ring +1",
right_ring="Dingir Ring",
back="Camulus's Mantle",}
sets.JA = {}
sets.JA['Wild Card'] = {feet="Lanun Bottes +1"}
sets.JA['Random Deal'] = {body="Lanun Frac +1"}
sets.JA['Snake Eye'] = {legs="Lanun Trews +1"}
sets.PhantomRoll = {
main="",
head="Lanun Tricorne +1",
hands="Chasseur's Gants +1",
back="Camulus's Mantle",
neck="Regal Necklace",
Ring2="Luzaf's Ring",
Ring1="Barataria Ring",
range="Compensator"}
sets.PhantomRoll.Tactician = set_combine(sets.PhantomRoll, {body="Chasseur's Frac +1"})
sets.PhantomRoll.Allies = set_combine(sets.PhantomRoll, {hands="Chasseur's Gants +1"})
sets.PhantomRoll.Coursers = set_combine(sets.PhantomRoll, {feet="Chass. Bottes +1"})
sets.PhantomRoll.Blitzer = set_combine(sets.PhantomRoll, {head="Chasseur's Tricorne +1"})
sets.PhantomRoll.Caster = set_combine(sets.PhantomRoll, {legs="Chasseur's Culottes +1"})
end
function precast(spell, action)
if sets[spell.type] and sets[spell.type][spell.english] then
equip(sets[spell.type][spell.english])
debug(spell.type .. '.' .. spell.english)
return
elseif sets[spell.type] then
equip(sets[spell.type])
debug(spell.type)
return
end
debug('No set for ' .. spell.type .. '.' .. spell.english)
end
function aftercast(spell,action)
status_change(player.status)
end
function status_change(new, old)
if (sets[new]) then
equip(sets[new])
debug(new);
end
end
function debug(s)
send_command('@input /echo ' .. s)
end