View difference between Paste ID: 4PZRYKyt and BNRmDPeT
SHOW: | | - or go back to the newest paste.
1
function get_sets()
2
3
	send_command('bind f9 gs c toggle TP set')
4
	send_command('bind f10 gs c toggle Idle set')
5
	send_command('bind f11 gs c toggle Res set')
6
	send_command('bind f12 gs c toggle Dim set')
7
	send_command('bind ^f11 gs c toggle Req set')
8
	
9
	function file_unload()
10
      
11
        send_command('unbind ^f9')
12
        send_command('unbind ^f10')
13
		send_command('unbind ^f11')
14
		send_command('unbind ^f12')
15
       
16
        send_command('unbind !f9')
17
        send_command('unbind !f10')
18
		send_command('unbind !f11')
19
        send_command('unbind !f12')
20
 
21
        send_command('unbind f9')
22
        send_command('unbind f10')
23
        send_command('unbind f11')
24
        send_command('unbind f12')
25
  
26
	end
27
		
28
		--Idle Sets--
29
		sets.Idle = {}
30
		
31
		sets.Idle.index = {'Standard', 'DT'}
32
		Idle_ind = 1
33
				
34
		sets.Idle.Standard = {
35
			ammo="Staunch Tathlum +1",
36
    		head="Rawhide Mask",
37
    		body="Runeist Coat +1",
38-
		sets.Idle.Standard = {ammo="Homiliary",
38+
    		hands={ name="Herculean Gloves", augments={'MND+5','INT+12','"Refresh"+1','Mag. Acc.+11 "Mag.Atk.Bns."+11',}},
39-
							  head="Ocelomeh headpiece +1",neck="Bathy choker", ear1="Ethereal earring",ear2="infused earring",
39+
    		legs="Carmine Cuisses +1",
40-
							  body="Futhark coat +1",hands="Erilaz gauntlets +1",ring1="Defending ring",ring2="Sheltered ring",
40+
    		feet={ name="Herculean Boots", augments={'Accuracy+30','"Triple Atk."+3','Attack+12',}},
41-
							  back="Shadow mantle",waist="Flume Belt +1",legs="Carmine Cuisses +1",feet="Erilaz Greaves +1"}
41+
    		neck="Sanctity Necklace",
42
    		waist="Flume Belt",
43-
		sets.Idle.DT = {ammo="Staunch tathlum",
43+
    		left_ear="Infused Earring",
44-
					  head="Fu. bandeau +1",neck="Twilight torque", ear1="Ethereal earring", ear2="infused earring",
44+
    		right_ear="Dawn Earring",
45-
					  body="Erilaz surcoat +1",hands="Buremte Gloves",ring1="Defending ring",ring2="Dark ring",
45+
    		left_ring="Defending Ring",
46-
					  back="Shadow Mantle",waist="Flume Belt +1",legs="Erilaz Leg Guards +1",feet="Erilaz Greaves +1"}
46+
    		right_ring="Stikini Ring +1",
47
    		back="Solemnity Cape",
48-
		sets.Idle.Leech = {ammo="Homiliary",
48+
			}
49-
						   head="Fu. bandeau +1",neck="Bathy choker", ear1="Ethereal earring",
49+
50-
						   body="Futhark coat +1",hands="Erilaz gauntlets +1",ring1="Defending ring",ring2="Trizek ring",
50+
		sets.Idle.DT = {
51-
						   back="Aptitude mantle",waist="Flume Belt +1",legs="Carmine Cuisses +1",feet="Erilaz Greaves +1"}
51+
    		ammo="Staunch Tathlum +1",
52-
			
52+
    		head="Turms Cap +1",
53
    		body="Ayanmo Corazza +2",
54
    		hands="Turms Mittens +1",
55
    		legs="Carmine Cuisses +1",
56
    		feet="Turms Leggings +1",
57
    		neck="Futhark Torque +2",
58
    		waist="Flume Belt",
59
    		left_ear="Eabani Earring",
60
    		right_ear="Odnowa Earring +1",
61-
		sets.TP.index = {'Standard', 'Solo', 'AccuracyLite', 'AccuracyFull', 'AccuracyExtreme', 'DT', 'DTAccuracy'}
61+
    		left_ring="Defending Ring",
62-
		--1=Standard, 2=AccuracyLite, 3=AccuracyFull, 4=DT, 5=DTAccuracy--
62+
    		right_ring="Moonlight Ring",
63
    		back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}},
64
			}
65-
		sets.TP.Standard = {ammo="Ginsen",
65+
							  				
66-
							head="Herculean helm",neck="Lissome necklace", ear1="Brutal earring", ear2="Cessance earring",
66+
67-
							body="Thaumas coat",hands="Adhemar wristbands",ring1="Epona's ring",ring2="Petrov ring",
67+
68-
							back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','"Store TP"+10',}},waist="Windbuffet Belt +1",legs={ name="Herculean Trousers", augments={'Attack+26','"Triple Atk."+4','AGI+10','Accuracy+13',}},feet={ name="Herculean Boots", augments={'"Triple Atk."+4','Accuracy+5',}}}
68+
69
		sets.TP.index = {'TwoHand', 'TwoHandAcc', 'DT', 'DW'}
70-
		sets.TP.Solo = {ammo="Ginsen",
70+
71-
						head="Herculean helm",neck="Lissome necklace", ear1="Brutal earring", ear2="Cessance earring",
71+
72-
						body="Adhemar jacket",hands="Adhemar wristbands",ring1="Epona's ring",ring2="Petrov ring",
72+
		sets.TP.TwoHand = {
73-
						back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','"Store TP"+10',}},waist="Windbuffet Belt +1",legs={ name="Herculean Trousers", augments={'Attack+26','"Triple Atk."+4','AGI+10','Accuracy+13',}},feet={ name="Herculean Boots", augments={'"Triple Atk."+4','Accuracy+5',}}}
73+
			ammo="Yamarang",
74
    		head="Adhemar Bonnet +1",
75-
		sets.TP.AccuracyLite = {ammo="Ginsen",
75+
    		body="Adhemar Jacket +1",
76-
								head="Skormoth mask",neck="Lissome necklace", ear1="Brutal earring", ear2="Cessance earring",
76+
    		hands="Adhemar Wrist. +1",
77-
								body="Adhemar jacket",hands="Adhemar wristbands",ring1="Epona's ring",ring2="Petrov ring",
77+
    		legs={ name="Samnuha Tights", augments={'STR+10','DEX+10','"Dbl.Atk."+3','"Triple Atk."+3',}},
78-
								back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','"Store TP"+10',}},waist="Windbuffet Belt +1",legs={ name="Herculean Trousers", augments={'Attack+26','"Triple Atk."+4','AGI+10','Accuracy+13',}},feet={ name="Herculean Boots", augments={'"Triple Atk."+4','Accuracy+5',}}}
78+
    		feet={ name="Herculean Boots", augments={'Accuracy+30','"Triple Atk."+3','Attack+12',}},
79
    		neck="Combatant's Torque",
80-
		sets.TP.AccuracyFull = {ammo="Falcon Eye",
80+
    		waist="Windbuffet Belt +1",
81-
								head="Skormoth mask",neck="Subtlety Spec.", ear1="Brutal earring", ear2="Cessance earring",
81+
    		left_ear="Brutal Earring",
82-
								body="Adhemar jacket",hands="Adhemar wristbands",ring1="Epona's ring",ring2="Petrov ring",
82+
    		right_ear="Sherida Earring",
83-
								back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','"Store TP"+10',}},waist="Windbuffet belt +1",legs={ name="Herculean Trousers", augments={'Attack+26','"Triple Atk."+4','AGI+10','Accuracy+13',}},feet="Carmine Greaves +1"}
83+
    		left_ring="Epona's Ring",
84-
								
84+
    		right_ring="Niqmaddu Ring",
85-
		sets.TP.AccuracyExtreme = {ammo="Falcon Eye",
85+
			Back="Ogma's Cape",
86-
								   head="Skormoth mask",neck="Subtlety Spec.", ear1="Brutal earring", ear2="Cessance earring",
86+
			}
87-
								   body="Adhemar jacket",hands="Adhemar wristbands",ring1="Epona's ring",ring2="Petrov ring",
87+
88-
							       back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','"Store TP"+10',}},waist="Hurch'lan sash",legs="Carmine Cuisses +1",feet="Carmine Greaves +1"}
88+
		sets.TP.TwoHandacc = set_combine(sets.TP.Standard,{})
89
							
90-
		sets.TP.DT = {ammo="Staunch tathlum",
90+
		sets.TP.DT = {
91-
					  head="Fu. bandeau +1",neck="Twilight torque", ear1="Ethereal earring", ear2="Genmei earring",
91+
    		ammo="Staunch Tathlum +1", --3DT
92-
					  body="Erilaz surcoat +1",hands="Buremte Gloves",ring1="Defending ring",ring2="Warden's ring",
92+
    		head="Turms Cap +1",
93-
					  back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','"Store TP"+10',}},waist="Flume Belt +1",legs="Erilaz Leg Guards +1",feet="Erilaz Greaves +1"}
93+
    		body="Ayanmo Corazza +2", --6DT
94-
				  
94+
    		hands="Turms Mittens +1",
95-
		sets.TP.DTAccuracy = {ammo="Staunch tathlum",
95+
    		legs="Erilaz Leg Guards +1", --7PDT
96-
							  head="Skormoth mask",neck="Twilight torque", ear1="Ethereal earring", ear2="Genmei earring",
96+
    		feet="Turms Leggings +1",
97-
							  body="Erilaz surcoat +1",hands="Buremte Gloves",ring1="Defending ring",ring2="Warden's ring",
97+
    		neck="Futhark Torque +2", -- 7 DT(one day)
98-
					          back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','"Store TP"+10',}},waist="Flume Belt +1",legs="Erilaz Leg Guards +1",feet="Erilaz Greaves +1"}
98+
    		waist="Flume Belt", -- 4PDT
99
    		left_ear="Eabani Earring",
100
    		right_ear="Odnowa Earring +1", --2MDT
101
    		left_ring="Defending Ring", -- 10DT
102
    		right_ring="Moonlight Ring", -- 5DT
103
    		back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}}, --10 PDT
104
			}
105
	
106
		sets.TP.DW = set_combine(sets.TP.Standard,{left_ear="Suppanomimi"})
107
							  						  
108
		--Weaponskill Sets--
109
		sets.WS = {}
110
	
111
		sets.Resolution = {}
112
	
113-
		sets.Resolution.Attack = {ammo="Seething bomblet +1",
113+
114-
						     	  head="Adhemar bonnet",neck="Fotia gorget",ear1="Brutal earring",ear2="Moonshade earring",
114+
115-
								  body="Adhemar jacket",hands="Meg. gloves +1",ring1="Epona's ring",ring2="Ifrit ring",
115+
116-
								  back={ name="Ogma's cape", augments={'STR+20','Accuracy+20 Attack+20','"Store TP"+10',}},waist="Fotia belt",legs={ name="Herculean Trousers", augments={'Attack+26','"Triple Atk."+4','AGI+10','Accuracy+13',}},feet={ name="Herculean Boots", augments={'Attack+18','Weapon skill damage +3%','STR+15','Accuracy+6',}}}
116+
		sets.Resolution.Attack = {
117
			ammo="Knobkierrie",
118-
		sets.Resolution.Accuracy = {ammo="Seething bomblet +1",
118+
    		head={ name="Adhemar Bonnet +1", augments={'STR+12','DEX+12','Attack+20',}},
119-
						     	    head="Adhemar bonnet",neck="Fotia gorget",ear1="Brutal earring",ear2="Moonshade earring",
119+
    		body={ name="Adhemar Jacket +1", augments={'STR+12','DEX+12','Attack+20',}},
120-
								    body="Adhemar jacket",hands="Meg. gloves +1",ring1="Epona's ring",ring2="Ifrit ring",
120+
    		hands={ name="Adhemar Wrist. +1", augments={'STR+12','DEX+12','Attack+20',}},
121-
								    back={ name="Ogma's cape", augments={'STR+20','Accuracy+20 Attack+20','"Store TP"+10',}},waist="Fotia belt",legs={ name="Herculean Trousers", augments={'Attack+26','"Triple Atk."+4','AGI+10','Accuracy+13',}},feet={ name="Herculean Boots", augments={'Attack+18','Weapon skill damage +3%','STR+15','Accuracy+6',}}}
121+
    		legs={ name="Samnuha Tights", augments={'STR+10','DEX+10','"Dbl.Atk."+3','"Triple Atk."+3',}},
122
    		feet={ name="Herculean Boots", augments={'Accuracy+30','"Triple Atk."+3','Attack+12',}},
123
    		neck="Fotia Gorget",
124
    		waist="Fotia Belt",
125
    		left_ear="Moonshade Earring",
126
   			right_ear="Sherida Earring",
127
    		left_ring="Epona's Ring",
128-
		sets.Dimidiation.Attack = {ammo="Seething bomblet +1",
128+
    		right_ring="Ilabrat Ring",
129-
						     	   head="Adhemar bonnet",neck="Fotia gorget",ear1="Brutal earring",ear2="Moonshade earring",
129+
			Back="Ogma's Cape",
130-
								   body="Adhemar jacket",hands="Meg. gloves +1",ring1="Epona's ring",ring2="Rajas ring",
130+
			}
131-
								   back={ name="Ogma's cape", augments={'DEX+20','Accuracy+17 Attack+17','Weapon skill damage +10%',}},waist="Fotia belt",legs={ name="Herculean Trousers", augments={'Crit. hit damage +2%','DEX+12','Attack+10',}},feet={ name="Herculean Boots", augments={'Attack+18','Weapon skill damage +3%','STR+15','Accuracy+6',}}}
131+
132
		sets.Resolution.Accuracy = set_combine(sets.Resolution.Attack,{})
133-
		sets.Dimidiation.Accuracy = {ammo="Seething bomblet +1",
133+
134-
						     	   head="Adhemar bonnet",neck="Fotia gorget",ear1="Brutal earring",ear2="Moonshade earring",
134+
135-
								   body="Adhemar jacket",hands="Meg. gloves +1",ring1="Epona's ring",ring2="Rajas ring",
135+
136-
								   back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','Weapon skill damage +10%',}},waist="Fotia belt",legs={ name="Herculean Trousers", augments={'Crit. hit damage +2%','DEX+12','Attack+10',}},feet="Meg. Jam. +1"}
136+
137
		Dimidiation_ind = 1
138
	
139
		sets.Dimidiation.Attack = {}
140
								  
141
		sets.Dimidiation.Accuracy = set_combine(sets.Dimidiation.Attack,{})
142
							 
143-
		sets.Requiescat.Attack = {ammo="Potestas bomblet",
143+
144-
							  	  head="Whirlpool mask",neck="Fotia gorget",ear1="Brutal earring",ear2="Moonshade earring",
144+
145-
								  body="Manibozho jerkin",hands="Umuthi gloves",ring1="Epona's ring",ring2="Aquasoul ring",
145+
146-
								  back="Atheling mantle",waist="Fotia belt",legs="Quiahuiz trousers",feet="Meg. Jam. +1"}
146+
147
		
148-
		sets.Requiescat.Accuracy = {ammo="Honed tathlum",
148+
		sets.Requiescat.Attack = {}
149-
									head="Whirlpool mask",neck="Fotia gorget",ear1="Brutal earring",ear2="Moonshade earring",
149+
150-
									body="Manibozho jerkin",hands="Umuthi gloves",ring1="Epona's ring",ring2="Aquasoul ring",
150+
		sets.Requiescat.Accuracy = set_combine(sets.Requiescat.Attack,{})
151-
									back="Letalis mantle",waist="Fotia belt",legs="Quiahuiz trousers",feet="Meg. Jam. +1"}
151+
152-
									  
152+
		sets.Decimation = {}
153-
									  
153+
154-
									  
154+
		sets.Decimation.index = {'Attack','Accuracy'}
155-
									  
155+
		Decimation_ind = 1
156-
									  
156+
157-
									  
157+
		sets.Decimation.Attack = {
158
			ammo="Knobkierrie",
159
    		head={ name="Adhemar Bonnet +1", augments={'STR+12','DEX+12','Attack+20',}},
160
    		body={ name="Adhemar Jacket +1", augments={'STR+12','DEX+12','Attack+20',}},
161-
		sets.Utility.PDT = {ammo="Staunch Tathlum",
161+
    		hands={ name="Adhemar Wrist. +1", augments={'STR+12','DEX+12','Attack+20',}},
162-
							head="Fu. bandeau +1",neck="Twilight torque", ear1="Ethereal earring",
162+
    		legs={ name="Samnuha Tights", augments={'STR+10','DEX+10','"Dbl.Atk."+3','"Triple Atk."+3',}},
163-
							body="Futhark coat +1",hands="Buremte Gloves",ring1="Defending ring",ring2="Warden's ring",
163+
    		feet={ name="Herculean Boots", augments={'Accuracy+30','"Triple Atk."+3','Attack+12',}},
164-
							back="Shadow mantle",waist="Flume Belt +1",legs="Erilaz Leg Guards +1",feet="Erilaz Greaves +1"}
164+
    		neck="Fotia Gorget",
165
    		waist="Fotia Belt",
166-
		sets.Utility.MDT = {ammo="Staunch tathlum",
166+
    		left_ear="Brutal Earring",
167-
						    head="Haruspex hat",neck="Warder's charm +1",
167+
   			right_ear="Sherida Earring",
168-
							body="Futhark coat +1",hands="Erilaz gauntlets +1",ring1="Defending ring",ring2="Shadow ring",
168+
    		left_ring="Epona's Ring",
169-
						    back="Mollusca mantle",legs="Erilaz Leg Guards +1",feet="Erilaz Greaves +1"}
169+
    		right_ring="Niqmaddu Ring",
170
			Back="Ogma's Cape",
171-
		sets.Utility.Enhancing = {head="Erilaz galea",neck="Colossus's torque",ear1="Andoaa earring",ear2="Augment. earring",
171+
			}
172-
								  body="Manasa chasuble",hands="Runeist mitons",ring1="Prolix ring",ring2="Weather. ring",
172+
173-
								  back="Merciful cape",waist="Olympus sash",legs="Carmine cuisses +1",feet="Erilaz Greaves +1"}
173+
		sets.Decimation.Accuracy = set_combine(sets.Decimation.Attack,{})
174
175-
		sets.Utility.Stoneskin = {head="Runeist bandeau",neck="Stone Gorget",ear1="Loquac. earring",ear2="Earthcry earring",
175+
		sets.Shockwave = {}
176-
								  body="Futhark coat +1",hands="Stone Mufflers",ring1="Prolix ring",ring2="Weather. ring",
176+
177-
								  back="Merciful cape",waist="Siegel sash",legs="Haven hose",feet="Erilaz Greaves +1"}
177+
		sets.Shockwave.index = {'Attack','Accuracy'}
178
		Shockwave_ind = 1
179-
		sets.Utility.Phalanx = {head="Fu. bandeau +1",neck="Colossus's torque",ear1="Andoaa earring",ear2="Augment. earring",
179+
180-
								body="Manasa chasuble",hands="Runeist mitons",ring1="Prolix ring",ring2="Weather. ring",
180+
		sets.Shockwave.Attack = {
181-
								back="Merciful cape",waist="Olympus sash",legs="Carmine cuisses +1",feet="Erilaz Greaves +1"}
181+
    		ammo="Knobkierrie",
182
    		head="Aya. Zucchetto +2",
183-
		sets.Utility.Regen = {head="Runeist bandeau",neck="Colossus's torque",ear1="Loquac. earring",ear2="Augment. earring",
183+
    		body="Ayanmo Corazza +2",
184-
							  body="Futhark coat +1",hands="Runeist mitons",ring1="Prolix ring",ring2="Weather. ring",
184+
    		hands="Meg. Gloves +2",
185-
							  back="Merciful cape",waist="Cascade belt",legs="Futhark trousers +1",feet="Erilaz Greaves +1"}
185+
    		legs="Aya. Cosciales +2",
186
    		feet={ name="Herculean Boots", augments={'"Waltz" potency +2%','CHR+10','Weapon skill damage +8%','Accuracy+9 Attack+9','Mag. Acc.+9 "Mag.Atk.Bns."+9',}},
187-
		sets.Utility.Refresh = {head="Erilaz galea",neck="Colossus's torque",ear1="Loquac. earring",ear2="Augment. earring",
187+
    		neck="Fotia Gorget",
188-
							    body="Futhark coat +1",hands="Runeist mitons",ring1="Prolix ring",ring2="Weather. ring",
188+
    		waist="Fotia Belt",
189-
							    back="Merciful cape",waist="Cascade belt",legs="Futhark trousers +1",feet="Erilaz Greaves +1"}
189+
    		left_ear="Sherida Earring",
190
    		right_ear="Ishvara Earring",
191-
		sets.Utility.Utsusemi = {head="Runeist bandeau",neck="Jeweled collar",ear1="Loquac. earring",ear2="Friomisi earring",
191+
    		left_ring="Niqmaddu Ring",
192-
								 body="Futhark coat +1",hands="Thaumas gloves",ring1="Prolix ring",ring2="Weather. ring",
192+
    		right_ring="Epaminondas's Ring",
193-
								 waist="Hurch'lan sash",legs="Erilaz Leg Guards +1",feet="Erilaz Greaves +1"}
193+
    		back={ name="Ogma's cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dbl.Atk."+10',}},
194
			}
195-
		sets.Utility.Defense = {head="Erilaz galea",neck="Colossus's torque",ear1="Loquac. earring",ear2="Augment. earring",
195+
196-
							    body="Futhark coat +1",hands="Runeist mitons",ring1="Prolix ring",ring2="Sheltered ring",
196+
		sets.Shockwave.Accuracy = set_combine(sets.Decimation.Attack,{})
197-
							    back="Merciful cape",waist="Cascade belt",legs="Futhark trousers +1",feet="Erilaz Greaves +1"}
197+
									  						  
198
		--Utility Sets--
199-
		sets.Utility.Enmity = {ammo="Aqreaqa bomblet",
199+
200-
							   head="Rabid visor",neck="Warder's charm +1",ear1="Friomisi earring",ear2="Loquac. earring",
200+
201-
							   body="Emet harness +1",hands="Futhark mitons",ring1="Provocare ring",ring2="Petrov ring",
201+
		sets.Utility.PDT = {}
202-
							   back="Evasionist's cape",waist="Goading belt",legs="Erilaz Leg Guards +1",feet="Erilaz Greaves +1"}
202+
203
		sets.Utility.MDT = {}
204
							
205
		sets.Utility.Enhancing = {
206
    		head={ name="Carmine Mask +1", augments={'Accuracy+12','DEX+12','MND+20',}},
207
    		legs={ name="Carmine Cuisses +1", augments={'Accuracy+12','DEX+12','MND+20',}},
208
			hands="Runeist Mitons +1",
209
    		neck="Incanter's Torque",
210
    		left_ear="Andoaa Earring",
211
    		left_ring="Stikini Ring +1",
212
    		right_ring="Stikini Ring +1",
213-
		sets.JA.Lunge = {ammo="Seething bomblet +1",
213+
			}
214-
						 head="Herculean helm",neck="Eddy necklace",lear="Hecate's earring",rear="Friomisi earring",
214+
215-
						 body="Count's garb",hands="Leyline gloves",ring1="Acumen ring",
215+
		sets.Utility.Stoneskin = {}
216-
						 back="Evasionist's cape",waist="Eschan stone",legs="Shned. tights +1",feet="Herculean Boots"}
216+
217
		sets.Utility.Phalanx = set_combine(sets.Utility.Enhancing, {
218-
		sets.JA.Vallation = {body="Runeist coat",
218+
			head="Futhark Bandeau +1",
219-
							 legs="Futhark trousers",
219+
			})
220-
							 back={ name="Ogma's cape", augments={'STR+20','Accuracy+20 Attack+20','"Store TP"+10',}}}
220+
221
		sets.Utility.Regen = {
222-
		sets.JA.Battuta = {head="Fu. bandeau +1"}
222+
			head="Runeist Bandeau +1",
223
			legs="Futhark Trousers +1",
224-
		sets.JA.Gambit = {hands="Runeist mitons"}
224+
			}
225
							  
226-
		sets.JA.Pflug = {head="Runeist bottes"}
226+
		sets.Utility.Refresh = {
227
			head="Erilaz Galea +1",
228-
		sets.JA.Embolden = {head="Erilaz galea",
228+
			legs="Futhark Trousers +1",
229-
						    back="Evastionist's cape",legs="Futhark trousers +1"}
229+
			waist="Gishdubar Sash"
230
			}
231-
		sets.JA.VivPulse = {head="Erilaz galea"}
231+
232
		sets.Utility.Utsusemi = {}
233-
		sets.JA.Liement = {body="Futhark coat +1"}
233+
234
		sets.Utility.Defense = {}
235-
		sets.JA.EleSforzo = {body="Futhark coat +1"}
235+
236
		sets.Utility.SIR = {
237-
		sets.JA.Swordplay = {hands="Futhark mitons"}
237+
    	ammo="Staunch Tathlum +1", --11%
238
    	head="Aya. Zucchetto +2",
239
    	body={ name="Futhark Coat", augments={'Enhances "Elemental Sforzo" effect',}},
240
    	hands={ name="Rawhide Gloves", augments={'Mag. Acc.+15','INT+7','MND+7',}}, --15%
241
    	legs={ name="Carmine Cuisses +1", augments={'Accuracy+12','DEX+12','MND+20',}}, --20%
242
    	feet="Ahosi Leggings",
243
    	neck="Moonlight Necklace", --15%
244
		waist="Rumination Sash", --10%
245
    	left_ring="Defending Ring",
246
    	right_ring="Moonlight Ring",
247-
		sets.precast.FC = {}
247+
    	back="Evasionist's Cape",
248
			}
249-
		sets.precast.FC.Standard = {ammo="Sapience orb",
249+
250-
									head="Runeist bandeau",neck="Orunmila's torque", ear1="Loquac. Earring",
250+
		sets.Utility.Enmity = {
251-
								    body="Mirke wardecors",hands="Leyline gloves",ring1="Prolix ring",ring2="Weather. ring",
251+
    		ammo="Aqreqaq Bomblet",
252-
									legs="Orvail pants +1",feet="Carmine Greaves +1"}
252+
    		body="Emet Harness +1",
253
    		feet="Ahosi Leggings",
254-
		sets.precast.FC.Enhancing = {ammo="Sapience orb",
254+
    		neck="Moonlight Necklace",
255-
									 head="Runeist bandeau",neck="Orunmila's torque", ear1="Loquac. Earring",
255+
    		waist="Flume Belt",
256-
								     body="Mirke wardecors",hands="Leyline gloves",ring1="Prolix ring",ring2="Weather. ring",
256+
    		left_ear="Odnowa Earring +1",
257-
									 waist="Siegel Sash",legs="Futhark trousers +1",feet="Carmine Greaves +1"}
257+
    		right_ear="Cryptic Earring",
258
    		right_ring="Eihwaz Ring",
259
			back="Ogma's Cape",
260
			}
261
								 
262
		--Job Ability Sets--
263
		sets.JA = {}
264
		
265
		sets.JA.Lunge = {
266
			ammo="Seeth. Bomblet +1",
267
    		head={ name="Herculean Helm", augments={'Magic dmg. taken -5%','"Mag.Atk.Bns."+30','Accuracy+5 Attack+5','Mag. Acc.+17 "Mag.Atk.Bns."+17',}},
268
    		body={ name="Samnuha Coat", augments={'Mag. Acc.+14','"Mag.Atk.Bns."+13','"Fast Cast"+4','"Dual Wield"+3',}},
269
    		hands="Carmine Fin. Ga. +1",
270
    		legs={ name="Herculean Trousers", augments={'Mag. Acc.+16 "Mag.Atk.Bns."+16','"Dbl.Atk."+2','MND+9','Mag. Acc.+13','"Mag.Atk.Bns."+15',}},
271
    		feet={ name="Herculean Boots", augments={'"Waltz" potency +2%','CHR+10','Weapon skill damage +8%','Accuracy+9 Attack+9','Mag. Acc.+9 "Mag.Atk.Bns."+9',}},
272
    		neck="Baetyl Pendant",
273
    		waist="Eschan Stone",
274
    		left_ear="Friomisi Earring",
275
    		right_ear="Novio Earring",
276
    		left_ring="Fenrir Ring +1",
277
    		right_ring="Acumen Ring",
278
    		back="Argocham. Mantle",
279
			}
280
	
281
		sets.JA.Vallation = set_combine(sets.Utility.Enmity, {body="Runeist Coat +1"})
282
							 
283
		sets.JA.Battuta = set_combine(sets.Utility.Enmity, {head="Futhark Bandeau +1"})
284
	
285
		sets.JA.Gambit = set_combine(sets.Utility.Enmity, {hands="Runeist Mitons +1"})
286
287
		sets.JA.Rayke = set_combine(sets.Utility.Enmity, {boots="Futhark Boots +1"})
288
	
289
		sets.JA.Pflug = set_combine(sets.Utility.Enmity, {feet="Runeist Boots +1"})
290
		
291
		sets.JA.Embolden = set_combine(sets.Utility.Enmity, {back="Evasionist's Cape"})
292
		
293
		sets.JA.VivPulse = set_combine(sets.Utility.Enmity, {head="Erilaz Galea +1"})
294
		
295
		sets.JA.Liement = set_combine(sets.Utility.Enmity, {body="Futhark Coat +1"})
296
		
297
		sets.JA.EleSforzo = set_combine(sets.Utility.Enmity, {body="Futhark Coat +1"})
298
		
299
		sets.JA.Swordplay = set_combine(sets.Utility.Enmity, {hands="Futhark Mitons +1"})
300
		
301
		--Precast Sets--
302
		sets.precast = {}
303
	
304
		sets.precast.FC = {
305
			head={ name="Herculean Helm", augments={'"Fast Cast"+6','Enmity-6','Mag. Acc.+2 "Mag.Atk.Bns."+2',}},
306
    		body="Vrikodara Jupon",
307
    		hands={ name="Leyline Gloves", augments={'Accuracy+15','Mag. Acc.+15','"Mag.Atk.Bns."+15','"Fast Cast"+3',}},
308
    		legs="Aya. Cosciales +2",
309
    		feet="Carmine Greaves +1",
310
    		neck="Baetyl Pendant",
311
    		left_ear="Loquac. Earring",
312
    		right_ear="Etiolation Earring",
313
    		left_ring="Prolix Ring",
314
    		right_ring="Kishar Ring",
315
			}
316
	
317
		sets.precast.FC.Standard = set_combine(sets.precast.FC, {})
318
									
319
		sets.precast.FC.Enhancing = set_combine(sets.precast.FC, {})
320
end		
321
		
322
function precast(spell)
323
	if spell.skill == 'Divine Magic' then
324
		equip(sets.precast.FC.Standard)
325
	end
326
	
327
	if spell.skill == 'Healing Magic' then
328
		equip(sets.precast.FC.Standard)
329
	end
330-
	if spell.english == 'Resolution' or spell.english == 'Shockwave' or spell.english == 'Spinning Slash' or spell.english == 'Ground Strike' then
330+
331
	if spell.skill == 'Blue Magic' then
332
		equip(sets.precast.FC.Standard)
333
	end
334
	
335
	if spell.skill == 'Enhancing Magic' then
336
		equip(sets.precast.FC.Enhancing)
337
	end
338
	
339
	if spell.skill == 'Ninjutsu' then
340
		equip(sets.precast.FC.Standard)
341
	end
342
	
343
	if spell.skill == 'Trust' then
344
		equip(sets.precast.FC.Standard)
345
	end
346
	
347
	if spell.english == 'Lunge' or spell.english == 'Swipe' or spell.english == "Onca Suit" or spell.english == "Meteor" then 
348
		equip(sets.JA.Lunge)
349
	end
350
	
351
	if spell.english == 'Vallation' or spell.english == 'Valiance' then
352
		equip(sets.JA.Vallation)
353
	end
354
	
355
	if spell.english == 'Battuta' then
356
		equip(sets.JA.Battuta)
357
	end
358
	
359
	if spell.english == 'Pflug' then
360
		equip(sets.JA.Pflug)
361
	end
362
	
363
	if spell.english == 'Gambit' then
364
		equip(sets.JA.Gambit)
365
	end
366
	
367
	if spell.english == 'Embolden' then
368
		equip(sets.JA.Embolden)
369
	end
370
	
371
	if spell.english == 'Vivacious Pulse' then
372
		equip(sets.JA.VivPulse)
373
	end
374
	
375
	if spell.english == 'Liement' then
376
		equip(sets.JA.Liement)
377
	end
378
	
379
	if spell.english == 'Elemental Sforzo' then
380
		equip(sets.JA.EleSforzo)
381
	end
382
	
383
	if spell.english == 'Swordplay' then
384
		equip(sets.JA.Swordplay)
385
	end
386
		
387
	if spell.english == 'Resolution' or spell.english == 'Spinning Slash' or spell.english == 'Ground Strike' then
388
		equip(sets.Resolution[sets.Resolution.index[Resolution_ind]])
389
	end
390
	
391
	if spell.english == 'Dimidiation' then
392
		equip(sets.Dimidiation[sets.Dimidiation.index[Dimidiation_ind]])
393
	end
394
	
395
	if spell.english == 'Requiescat' then
396
		equip(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]])
397
	end
398
399
	if spell.english == 'Decimation' then
400
		equip(sets.Decimation[sets.Decimation.index[Decimation_ind]])
401
	end
402
403
    if spell.english == 'Shockwave' then
404
        equip(sets.Shockwave[sets.Shockwave.index[Shockwave_ind]])
405
    end
406
407
end		
408
409
function midcast(spell,act)
410
	if spell.skill == 'Enhancing Magic' then
411
		equip(sets.Utility.Enhancing)
412
			if buffactive['Embolden'] then
413
				equip(sets.JA.Embolden)
414
			end
415
	end
416
	
417
	if spell.english == 'Stoneskin' then
418
		equip(sets.Utility.Stoneskin)
419
			    if buffactive['Stoneskin'] then
420
				send_command('@wait 0.7; input //cancel Stoneskin; input /echo Refreshing Stoneskin.')
421
				end
422
	end
423
	
424
	if spell.english == 'Phalanx' then
425
		equip(sets.Utility.Phalanx)
426
			if buffactive['Embolden'] then
427
				equip(sets.JA.Embolden)
428
			end
429
			if spell.english == 'Temper' then
430
				equip({head="Erilaz galea"})
431
			end
432
	end
433
	
434
	if spell.english == 'Regen IV' then
435
		equip(sets.Utility.Regen)
436
			if buffactive['Embolden'] then
437
				equip(sets.JA.Embolden)
438
			end
439
	end
440
	
441
	if spell.english == 'Refresh' then
442
		equip(sets.Utility.Refresh)
443
			if buffactive['Embolden'] then
444
				equip(sets.JA.Embolden)
445
			end
446
	end
447
	
448
	if spell.english == 'Protect IV' or spell.english == 'Shell V' then
449
		equip(sets.Utility.Defense)
450
			if buffactive['Embolden'] then
451
				equip(sets.JA.Embolden)
452
			end
453
	end	
454
	
455
	if spell.english == 'Flash' or spell.english == 'Foil' or spell.english == 'Valiance' or spell.english == 'Vallation' or spell.english == 'One For All' or spell.english == 'Swordplay' or spell.english == 'Battuta' or spell.english == 'Pflug' or spell.english == 'Rune Enchantment' or spell.english == 'Embolden' or spell.english == 'Liement' or spell.skill == 'Blue Magic' then
456
		equip(sets.Utility.Enmity)
457
	end
458
	
459
	if spell.english == 'Utsusemi: Ichi' then
460
		equip(sets.Utility.Utsusemi)
461
			if buffactive['Copy Image (3)'] then
462
				send_command('@wait 0.3; input //cancel Copy Image (3)')
463
			end
464
			if buffactive['Copy Image (2)'] then
465
				send_command('@wait 0.3; input //cancel Copy Image (2)')
466
			end
467
			if buffactive['Copy Image (1)'] then
468
				send_command('@wait 0.3; input //cancel Copy Image (1)')
469
			end
470
			if buffactive['Copy Image'] then
471
				send_command('@wait 0.3; input //cancel Copy Image')
472
			end
473
	end
474
	
475
	if spell.english == 'Utsusemi: Ni' then
476
		equip(sets.Utility.Utsusemi)
477
	end
478
	
479
	if spell.english == 'Vallation' or spell.english == 'Valiance' then
480
		equip(sets.JA.Vallation)
481
	end
482
	
483
	if spell.english == 'Battuta' then
484
		equip(sets.JA.Battuta)
485
	end
486
	
487
	if spell.english == 'Pflug' then
488
		equip(sets.JA.Pflug)
489
	end
490
	
491
	if spell.english == 'Gambit' then
492
		equip(sets.JA.Gambit)
493
	end
494
	
495
	if spell.english == 'Embolden' then
496
		equip(sets.JA.Embolden)
497
	end
498
	
499
	if spell.english == 'Vivacious Pulse' then
500
		equip(sets.JA.VivPulse)
501
	end
502
	
503
	if spell.english == 'Liement' then
504
		equip(sets.JA.Liement)
505
	end
506
	
507
	if spell.english == 'Elemental Sforzo' then
508
		equip(sets.JA.EleSforzo)
509
	end
510
	
511
	if spell.english == 'Swordplay' then
512
		equip(sets.JA.Swordplay)
513
	end
514
end
515
516
function aftercast(spell)
517
	if player.status == 'Engaged' then
518
		equip(sets.TP[sets.TP.index[TP_ind]])
519
	else
520
		equip(sets.Idle[sets.Idle.index[Idle_ind]])
521
	end
522
end
523
524
function status_change(new,old)
525
	if new == 'Engaged' then
526
		equip(sets.TP[sets.TP.index[TP_ind]])
527
	else
528
		equip(sets.Idle[sets.Idle.index[Idle_ind]])
529
	end
530
end
531
532
function self_command(command)
533
	if command == 'toggle TP set' then
534
		TP_ind = TP_ind +1
535
		if TP_ind > #sets.TP.index then TP_ind = 1 end
536
		send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
537
		equip(sets.TP[sets.TP.index[TP_ind]])
538
	elseif command == 'toggle Idle set' then
539
		Idle_ind = Idle_ind +1
540
		if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
541
		send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
542
		equip(sets.Idle[sets.Idle.index[Idle_ind]])
543
	elseif command == 'toggle Res set' then
544
		Resolution_ind = Resolution_ind +1
545
		if Resolution_ind > #sets.Resolution.index then Resolution_ind = 1 end
546
		send_command('@input /echo <----- Resolution set changed to '..sets.Resolution.index[Resolution_ind]..' ----->')
547
	elseif command == 'toggle Dim set' then
548
		Dimidiation_ind = Dimidiation_ind +1
549
		if Dimidiation_ind > #sets.Dimidiation.index then Dimidiation_ind = 1 end
550
		send_command('@input /echo <----- Dimidiation set changed to '..sets.Dimidiation.index[Dimidiation_ind]..' ----->')
551
	elseif command == 'toggle Req set' then
552
		Requiescat_ind = Requiescat_ind +1
553
		if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
554
		send_command('@input /echo <----- Requiescat Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
555
556
elseif command == 'toggle Dec set' then
557
		Decimation_ind = Decimation_ind +1
558
		if Decimation_ind > #sets.Decimation.index then Decimation_ind = 1 end
559
		send_command('@input /echo <----- Decimation Set changed to '..sets.Decimation.index[Decimation_ind]..' ----->')
560
561
	elseif command == 'equip TP set' then
562
		equip(sets.TP[sets.TP.index[TP_ind]])
563
	elseif command == 'equip Idle set' then
564
		equip(sets.Idle[sets.Idle.index[Idle_ind]])
565
	end
566
end