Code:
function get_sets()
send_command('bind f9 gs c toggle TP set')
send_command('bind f10 gs c toggle Idle set')
send_command('bind f11 gs c toggle CDC set')
send_command('bind f12 gs c toggle Req set')
send_command('bind !f12 gs c toggle Rea set')
function file_unload()
send_command('unbind ^f9')
send_command('unbind ^f10')
send_command('unbind ^f11')
send_command('unbind ^f12')
send_command('unbind !f9')
send_command('unbind !f10')
send_command('unbind !f11')
send_command('unbind !f12')
send_command('unbind f9')
send_command('unbind f10')
send_command('unbind f11')
send_command('unbind f12')
end
--Idle Sets--
sets.Idle = {}
sets.Idle.index = {'Standard','DT'}
Idle_ind = 1
sets.Idle.Standard = {ammo="Ginsen",
head="Wivre Hairpin",neck="Sanctity Necklace", ear1="Ethereal earring", ear2="Infused Earring",
body="Jhakri robe +1",hands="Serpentes cuffs",ring1="Sheltered ring",ring2="Paguroidea ring",
back="Umbra Cape",waist="Fucho-no-Obi",legs="Carmine Cuisses +1",feet="Serpentes sabots"}
sets.Idle.DT = {ammo="Ginsen",
head="Ayanmo Zucchetto +1",neck="Loricate Torque +1", ear1="Ethereal earring", ear2="Cessance earring",
body="Ayanmo Corazza +1",hands="Ayanmo Manopolas +1",ring1="Defending ring",ring2="Dark ring",
back="Solemnity Cape",waist="Flume belt",legs="Ayanmo Cosciales +1",feet="Ayanmo Gambieras +1"}
--TP Sets--
sets.TP = {}
sets.TP.index = {'Standard', 'Solo', 'Safe', 'AccuracyLite', 'AccuracyFull', 'AccuracyExtreme', 'DT', 'DTAccuracy'}
--1=Standard, 2=Solo, 3=Marches, 4=AccuracyLite, 5=AccuracyFull, 6=DT, 7=DTAccuracy--
TP_ind = 1
sets.TP.Standard = {ammo="Ginsen",
head="Dampening Tam",neck="Asperity necklace", ear1="Brutal Earring", ear2="Cessance earring",
body="Thaumas coat",hands="Herculean gloves", augments={'STR+2','VIT+2','"Accuracy+18','"Dual Wield"+5'},ring1="Epona's ring",ring2="Petrov ring",
back="Rosmerta's Cape",waist="Windbuffet Belt",legs="Samnuha Tights",feet="Herculean Boots"}
sets.TP.Solo = {ammo="Ginsen",
head="Dampening Tam",neck="Asperity necklace",ear1="Dudgeon earring", ear2="Cessance earring",
body="Thaumas coat",hands="Herculean gloves", augments={'STR+2','VIT+2','"Accuracy+18','"Dual Wield"+5'},ring1="Epona's ring",ring2="Petrov Ring",
back="Rosmerta's Cape",waist="Windbuffet Belt",legs="Samnuha Tights",feet="Herculean Boots"}
sets.TP.Safe = {ammo="Ginsen",
head="Dampening Tam",neck="Asperity necklace", ear1="Brutal earring", ear2="Cessance earring",
body="Thaumas coat",hands="Herculean gloves", augments={'STR+2','VIT+2','"Accuracy+18','"Dual Wield"+5'},ring1="Epona's ring",ring2="Ilabrat Ring",
back="Rosmerta's Cape",waist="Kentarch Belt",legs="Carmine Cuisses +1",feet="Herculean Boots"}
sets.TP.AccuracyLite = {ammo="Ginsen",
head="Dampening Tam",neck="Asperity necklace", ear1="Mache earring", ear2="Cessance earring",
body="Samnuha Coat",hands="Herculean gloves", augments={'STR+2','VIT+2','"Accuracy+18','"Dual Wield"+5'},ring1="Epona's ring",ring2="Cacoethic ring +1",
back="Rosmerta's Cape",waist="Kentarch Belt",legs="Carmine Cuisses +1",feet="Herculean Boots"}
sets.TP.AccuracyFull = {ammo="Honed tathlum",
head="Dampening Tam",neck="Subtlety Spectacles", ear1="Mache earring", ear2="Cessance earring",
body="Samnuha Coat",hands="Herculean gloves",ring1="Epona's ring",ring2="Cacoethic ring +1",
back="Rosmerta's Cape",waist="Kentarch Belt",legs="Carmine Cuisses +1",feet="Herculean Boots"}
sets.TP.AccuracyExtreme = {ammo="Honed tathlum",
head="Dampening Tam",neck="Subtlety Spectacles", ear1="Mache earring", ear2="Cessance earring",
body="Samnuha Coat",hands="Herculean Gloves",ring1="Epona's Ring",ring2="Cacoethic Ring +1",
back="Rosmerta's Cape",waist="Kentarch Belt",legs="Carmine Cuisses +1",feet="Herculean Boots"}
sets.TP.DT = {ammo="Ginsen",
head="Ayanmo Zucchetto +1",neck="Loricate Torque +1", ear1="Mache earring", ear2="Cessance earring",
body="Ayanmo Corazza +1",hands="Herculean Gloves",ring1="Defending ring",ring2="Dark ring",
back="Umbra Cape",waist="Flume belt",legs="Ayanmo Cosciales +1",feet="Herculean Boots"}
sets.TP.DTAccuracy = {ammo="Honed Tathlum",
head="Ayanmo Zucchetto +1",neck="Loricate Torue +1", ear1="Mache earring", ear2="Cessance earring",
body="Ayanmo Corazza +1",hands="Ayanmo Manopolas +1",ring1="Defending ring",ring2="Dark ring",
back="Umbra Cape",waist="Flume Belt",legs="Ayanmo Cosciales +1",feet="Ayanmo Gambieras +1"}
--Weaponskill Sets--
sets.WS = {}
sets.Requiescat = {}
sets.Requiescat.index = {'Attack','Accuracy'}
Requiescat_ind = 1
sets.Requiescat.Attack = {ammo="Cheruski needle",
head="Carmine Mask +1",neck="Fotia gorget",ear1="Cessance earring",ear2="Moonshade earring",
body="Rawhide Vest",hands="Carmine Finger Gauntlets +1",ring1="Epona's ring",ring2="Levia. ring +1",
back="Rosmerta's Cape",waist="Fotia belt",legs="Carmine Cuisses +1",feet="Carmine Greaves +1"}
sets.Requiescat.Accuracy = {ammo="Ginsen",
head="Carmine Mask +1",neck="Fotia gorget",ear1="Cessance earring",ear2="Moonshade earring",
body="Rawhide Vest",hands="Carmine Finger Gauntlets +1",ring1="Epona's ring",ring2="Levia. ring +1",
back="Rosmerta's Cape",waist="Fotia belt",legs="Carmine Cuisses +1",feet="Carmine Greaves +1"}
sets.ChantDuCygne = {}
sets.ChantDuCygne.index = {'Attack','Accuracy'}
ChantDuCygne_ind = 1
sets.ChantDuCygne.Attack = {ammo="Jukukik feather",
head="Adhemar Bonnet",neck="Fotia gorget",ear1="Cessance earring",ear2="Moonshade earring",
body="Rawhide Vest",hands="Rawhide Gloves",ring1="Ramuh ring +1",ring2="Ilabrat Ring",
back="Rosmerta's Cape",waist="Fotia belt",legs="Samnuha Tights",feet="Thereoid Greaves"}
sets.ChantDuCygne.Accuracy = {ammo="Jukukik feather",
head="Adhemar Bonnet",neck="Fotia gorget",ear1="Cessance earring",ear2="Moonshade earring",
body="Rawhide Vest",hands="Rawhide Gloves",ring1="Ramuh ring +1",ring2="Ilabrat Ring",
back="Rosmerta's Cape",waist="Fotia belt",legs="Samnuha Tights",feet="Thereoid Greaves"}
sets.WS.SanguineBlade = {}
sets.WS.SanguineBlade = {ammo="Ghastly Tathlum",
head="Pixie Hairpin +1",neck="Sanctity necklace",ear1="Crematio earring",ear2="Friomisi earring",
body="Jhakri robe +1",hands="Amalric Gages",ring1="Archon ring",ring2="Shiva ring +1",
back="Cornflower cape",waist="Aswang sash",legs="Amalric slops",feet="Amalric Nails"}
sets.WS.CircleBlade = {}
sets.WS.CircleBlade = {ammo="Cheruski needle",
head="Adhemar Bonnet",neck="Fotia Gorget",ear1="Moonshade earring",ear2="Cessance earring",
body="Rawhide Vest",hands="Jhakri cuffs +1",ring1="Shukuyu ring",ring2="Ilabrat Ring",
back="Rosmerta's Cape",waist="Fotia belt",legs="Samnuha Tights",feet="Thereoid Greaves"}
sets.WS.SavageBlade = {}
sets.WS.SavageBlade = {ammo="Cheruski needle",
head="Adhemar Bonnet",neck="Fotia Gorget",ear1="Moonshade earring",ear2="Brutal earring",
body="Rawhide Vest",hands="Jhakri cuffs +1",ring1="Shukuyu ring",ring2="Ilabrat Ring",
back="Rosmerta's Cape",waist="Fotia belt",legs="Samnuha Tights",feet="Thereoid Greaves"}
sets.WS.Expiacion = {}
sets.WS.Expiacion = {ammo="Cheruski needle",
head="Adhemar Bonnet",neck="Fotia Gorget",ear1="Moonshade earring",ear2="Brutal earring",
body="Rawhide Vest",hands="Jhakri cuffs +1",ring1="Shukuyu ring",ring2="Ilabrat Ring",
back="Rosmerta's Cape",waist="Fotia belt",legs="Samnuha Tights",feet="Thereoid Greaves"}
sets.Realmrazer = {}
sets.Realmrazer.index = {'Attack','Accuracy'}
Realmrazer_ind = 1
sets.Realmrazer.Attack = {ammo="Cheruski needle",
head="Carmine Mask +1",neck="Fotia gorget",ear1="Bladeborn earring",ear2="Steelflash Earring",
body="Jhakri robe +1",hands="Carmine Finger Gauntlets +1",ring1="Levia. ring",ring2="Aquasoul ring",
back="Rosmerta's Cape",waist="Fotia Belt",legs="Carmine Cuisses +1",feet="Carmine Greaves +1"}
sets.Realmrazer.Accuracy = {ammo="Honed tathlum",
head="Jhakri Coronal +1",neck="Fotia gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
body="Jhakri robe +1",hands="Jhakri cuffs +1",ring1="Levia. ring",ring2="Aquasoul ring",
back="Rosmerta's Cape",waist="Fotia belt",legs="Jhakri slops +1",feet="Amalric Nails"}
sets.WS.FlashNova = {}
sets.WS.FlashNova = {ammo="Ghastly Tathlum",
head="Jhakri Coronal +1",neck="Fotia gorget",ear1="Crematio earring",ear2="Friomisi earring",
body="Jhakri robe +1",hands="Jhakri cuffs +1",ring1="Shiva ring +1",ring2="Shiva ring +1",
back="Cornflower cape",waist="Aswang sash",legs="Amalric slops",feet="Amalric Nails"}
--Blue Magic Sets--
sets.BlueMagic = {}
sets.BlueMagic.Darkness = {ammo="Ghastly Tathlum",
head="Pixie Hairpin +1",neck="Sanctity necklace",ear1="Crematio earring",ear2="Friomisi earring",
body="Jhakri robe +1",hands="Amalric Gages",ring1="Archon ring",ring2="Shiva ring +1",
back="Cornflower cape",waist="Aswang sash",legs="Amalric slops",feet="Amalric Nails"}
sets.BlueMagic.STR = {ammo="Honed tathlum",
head="Luhlaza Keffiyeh +1",neck="Tlamiztli Collar",ear1="Bladeborn Earring",ear2="Steelflash earring",
body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Ilabrat Ring",ring2="Petrov ring",
back="Rosmerta's Cape",waist="Prosilio belt",legs="Samnuha Tights",feet="Luhlaza charuqs +1"}
sets.BlueMagic.STRDEX = {ammo="Honed tathlum",
head="Luhlaza Keffiyeh +1",neck="Anu Torque",ear1="Bladeborn Earring",ear2="Steelflash earring",
body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Ilabrat Ring",ring2="Petrov ring",
back="Rosmerta's Cape",waist="Prosilio belt",legs="Samnuha Tights",feet="Luhlaza charuqs +1"}
sets.BlueMagic.STRVIT = {ammo="Honed tathlum",
head="Luhlaza Keffiyeh +1",neck="Anu Torque",ear1="Bladeborn Earring",ear2="Steelflash earring",
body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Ilabrat Ring",ring2="Petrov ring",
back="Rosmerta's Cape",waist="Prosilio belt",legs="Samnuha Tights",feet="Luhlaza charuqs +1"}
sets.BlueMagic.STRMND = {ammo="Honed tathlum",
head="Carmine Mask +1",neck="Anu Torque",ear1="Bladeborn Earring",ear2="Steelflash earring",
body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Ilabrat Ring",ring2="Petrov ring",
back="Rosmerta's Cape",waist="Prosilio belt",legs="Samnuha Tights",feet="Luhlaza charuqs +1"}
sets.BlueMagic.AGI = {ammo="Honed tathlum",
head="Luhlaza Keffiyeh +1",neck="Anu Torque",ear1="Bladeborn Earring",ear2="Steelflash earring",
body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Ilabrat Ring",ring2="Petrov ring",
back="Rosmerta's Cape",waist="Prosilio belt",legs="Samnuha Tights",feet="Luhlaza charuqs +1"}
sets.BlueMagic.INT = {ammo="Ghastly Tathlum",
head="Jhakri Coronal +1",neck="Sanctity necklace",ear1="Crematio earring",ear2="Friomisi earring",
body="Jhakri robe +1",hands="Amalric Gages",ring1="Shiva ring +1",ring2="Shiva ring +1",
back="Cornflower cape",waist="Aswang Sash",legs="Amalric slops",feet="Amalric Nails"}
sets.BlueMagic.Cures = {ammo="Mavi Tathlum",
head="Luh. Keffiyeh +1",neck="Phalaina Locket",ear1="Loquac. earring",ear2="Mendicant's Earring",
body="Luhlaza jubbah +1",hands="Telchine Gloves",ring1="Levia. ring +1",ring2="Lebeche ring",
back="Solemnity cape",waist="Gishdubar Sash",legs="Gyve Trousers",feet="Medium's Sabots"}
sets.BlueMagic.SelfCures = {ammo="Mavi sachet",
head="Luhlaza Keffiyeh +1",neck="Phalaina Locket",ear1="Loquac. earring",ear2="Mendicant's earring",
body="Luhlaza Jubbah +1",hands="Buremte Gloves",ring1="Levia. ring +1",ring2="Lebeche Ring",
back="Oretania's cape",waist="Gishdubar Sash",legs="Gyve trousers",feet="Medium's Sabots"}
sets.BlueMagic.Stun = {ammo="Mavi tathlum",
head="Assim. keffiyeh +1",neck="Sanctity necklace",ear1="Loquac. earring",
body="Hashishin Mintan",hands="Leyline Gloves",ring1="Kishar Ring",ring2="Weatherspoon ring",
back="Cornflower cape",waist="Witful belt",legs="Psycloth Lappas",feet="Luhlaza charuqs +1"}
sets.BlueMagic.HeavyStrike = {ammo="Honed tathlum",
head="Luhlaza Keffiyeh +1",neck="Anu Torque",ear1="Bladeborn Earring",ear2="Steelflash earring",
body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Ilabrat Ring",ring2="Petrov ring",
back="Rosmerta's Cape",waist="Prosilio belt",legs="Samnuha Tights",feet="Assim. charuqs +1"}
sets.BlueMagic.WhiteWind = {ammo="Mavi tathlum",
head="Luh. Keffiyeh +1",neck="Phalaina Locket",ear1="Assuage Earring",ear2="Mendicant's earring",
body="Samnuha Coat",hands="Buremte Gloves",ring1="Lebeche ring",ring2="Weatherspoon ring",
back="Solemnity Cape",waist="Gishdubar Sash",legs="Gyve Trousers",feet="Medium's Sabots"}
sets.BlueMagic.MagicAccuracy = {ammo="Mavi Tathlum",
head="Dampening Tam",neck="Sanctity necklace",ear1="Steelflash earring",ear2="Bladeborn earring",
body="Assim. jubbah +1",hands="Amalric Gages",ring1="Cacoethic ring",ring2="Weatherspoon ring",
back="Cornflower cape",waist="Kentarch Belt",legs="Psycloth Lappas",feet="Luhlaza charuqs +1"}
sets.BlueMagic.Skill = {ammo="Mavi tathlum",
head="Luh. Keffiyeh +1",neck="Mavi Scarf",ear1="Loquac. earring",
body="Assim. jubbah +1",hands="Rawhide Gloves",ring1="Kishar Ring",ring2="Weatherspoon Ring",
back="Cornflower cape",waist="Kentarch Belt",legs="Hashishin tayt",feet="Luhlaza charuqs +1"}
sets.BlueMagic.SkillRecast = {ammo="Mavi tathlum",
head="Luh. Keffiyeh +1",neck="Voltsurge Torque",ear1="Loquac. earring",
body="Helios Jacket",hands="Leyline Gloves",ring1="Kishar Ring",
back="Swith cape",waist="Witful Belt",legs="Hashishin Tayt",feet="Luhlaza charuqs +1"}
--Utility Sets--
sets.Utility = {}
sets.Utility.Stoneskin = {head="Carmine Mask +1",neck="Stone Gorget",ear1="Loquac. earring",ear2="Earthcry earring",
body="Assim. jubbah +1",hands="Stone Mufflers",ring1="Kishar Ring",
back="Swith cape",waist="Siegel sash",legs="Haven hose",feet="Iuitl gaiters"}
sets.Utility.Phalanx = {head="Carmine Mask +1",neck="Colossus's torque",ear1="Loquac. earring",ear2="Augment. earring",
body="Assim. jubbah +1",hands="Ayao's gages",ring1="Kishar Ring",
back="Swith cape",waist="Pythia sash +1",legs="Portent pants",feet="Iuitl gaiters"}
sets.Utility.Steps = {ammo="Honed tathlum",
head="Hashishin Kavuk +1",ear1="Assuage Earring",ear2="Heartseeker earring",
body="Samnuha Coat",hands="Ayanmo Manopolas +1",
back="Rosmerta's Cape",waist="Chaac belt",legs="Carmine Cuisses +1",feet="Herculean Boots"}
sets.Utility.PDT = {head="Ayanmo Zucchetto +1",neck="Loricate Torque +1",ear1="Ethereal earring",
body="Ayanmo Corazza +1",hands="Ayanmo Manopolas +1",ring1="Defending ring",ring2="Dark ring",
back="Umbra Cape",waist="Flume belt",legs="Ayanmo Cosciales +1",feet="Ayanmo Gambieras +1"}
sets.Utility.MDT = {head="Hagondes Hat +1",neck="Loricate Torque +1",
body="Hagondes Coat +1",hands="Hagondes Cuffs +1",ring1="Defending ring",ring2="Dark ring",
back="Solemnity Cape",legs="Hagondes Pants +1",feet="Hagondes Sabots +1"}
--Job Ability Sets--
sets.JA = {}
sets.JA.ChainAffinity = {head="Hashishin Kavuk +1",feet="Assim. charuqs +1"}
sets.JA.BurstAffinity = {feet="Hashishin Basmak"}
sets.JA.Efflux = {legs="Hashishin tayt",back="Rosmerta's Cape"}
sets.JA.AzureLore = {hands="Luh. bazubands +1"}
sets.JA.Diffusion = {feet="Luhlaza Charuqs +1"}
--Precast Sets--
sets.precast = {}
sets.precast.FC = {}
sets.precast.FC.Standard = {head="Carmine Mask +1",neck="Voltsurge Torque", ear1="Loquac. Earring",
body="Helios Jacket",hands="Leyline Gloves",
back="Swith Cape",waist="Witful Belt",legs="Psycloth Lappas",feet="Carmine Greaves +1"}
sets.precast.FC.Blue = {head="Carmine Mask +1",neck="Voltsurge Torque", ear1="Loquac. Earring",
body="Hashishin Mintan",hands="Leyline Gloves",
back="Swith Cape",waist="Witful Belt",legs="Psycloth Lappas",feet="Carmine Greaves +1"}
end
function precast(spell)
if spell.action_type == 'Magic' then
equip(sets.precast.FC.Standard)
if spell.skill == 'Blue Magic' then
equip(sets.precast.FC.Blue)
end
end
if spell.english == 'Azure Lore' then
equip(sets.JA.AzureLore)
end
if spell.english == 'Requiescat' or spell.english == 'Savage Blade' then
equip(sets.Requiescat[sets.Requiescat.index[Requiescat_ind]])
end
if spell.english == 'Chant du Cygne' then
equip(sets.ChantDuCygne[sets.ChantDuCygne.index[ChantDuCygne_ind]])
end
if spell.english == 'Circle Blade' then
equip(sets.WS.CircleBlade)
end
if spell.english == 'Expiacion' then
equip(sets.WS.Expiacion)
end
if spell.english == 'Sanguine Blade' then
equip(sets.WS.SanguineBlade)
end
if spell.english == 'Box Step' then
equip(sets.Utility.Steps)
end
if spell.english == 'Realmrazer' then
equip(sets.Realmrazer[sets.Realmrazer.index[Realmrazer_ind]])
end
if spell.english == 'Flash Nova' then
equip(sets.WS.FlashNova)
end
end
function midcast(spell,act)
if spell.english == 'Vertical Cleave' or spell.english == 'Death Scissors' or spell.english == 'Empty Thrash' or spell.english == 'Dimensional Death' or spell.english == 'Quadrastrike' or spell.english == 'Bloodrake' then
equip(sets.BlueMagic.STR)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Disseverment' or spell.english == 'Hysteric Barrage' or spell.english == 'Frenetic Rip' or spell.english == 'Seedspray' or spell.english == 'Vanity Dive' or spell.english == 'Goblin Rush' or spell.english == 'Paralyzing Triad' or spell.english == 'Thrashing Assault' or spell.english == 'Sinker Drill' then
equip(sets.BlueMagic.STRDEX)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Quad. Continuum' or spell.english == 'Delta Thrust' or spell.english == 'Cannonball' or spell.english == 'Glutinous Dart' then
equip(sets.BlueMagic.STRVIT)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Whirl of Rage' then
equip(sets.BlueMagic.STRMND)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Benthic Typhoon' or spell.english == 'Final Sting' or spell.english == 'Spiral Spin' then
equip(sets.BlueMagic.AGI)
if buffactive['Chain Affinity'] then
equip(sets.JA.ChainAffinity)
end
if buffactive['Efflux'] then
equip(sets.JA.Efflux)
end
end
if spell.english == 'Gates of Hades' or spell.english == 'Leafstorm' or spell.english == 'Firespit' or spell.english == 'Acrid Stream' or spell.english == 'Regurgitation' or spell.english == 'Corrosive Ooze' or spell.english == 'Thermal Pulse' or spell.english == 'Magic Hammer' or spell.english == 'Water Bomb' or spell.english == 'Thunderbolt' or spell.english == 'Tem. Upheaval' or spell.english == 'Embalming Earth' or spell.english == 'Foul Waters' or spell.english == 'Rending Deluge' or spell.english == 'Droning Whirlwind' or spell.english == 'Searing Tempest' or spell.english == 'Spectral Floe' or spell.english == 'Molting Plumage' or spell.english == 'Silent Storm' or spell.english == 'Entomb' or spell.english == 'Anvil Lightning' or spell.english == 'Nectarous Deluge' or spell.english == 'Scouring Spate' or spell.english == 'Rail Cannon' or spell.english == 'Diffusion Ray' or spell.english == 'Blinding Fulgor' or spell.english == 'Atra. Libations' then
equip(sets.BlueMagic.INT)
if buffactive['Burst Affinity'] then
equip(sets.JA.BurstAffinity)
end
end
if spell.english == 'Magic Fruit' or spell.english == 'Plenilune Embrace' or spell.english == 'Wild Carrot' or spell.english == 'Pollen' or spell.english == 'Cure III' or spell.english == 'Cure IV' or spell.english == 'Restoral' then
equip(sets.BlueMagic.Cures)
if spell.target.name == player.name and string.find(spell.english, 'Magic Fruit') or string.find(spell.english, 'Plenilune Embrace') or string.find(spell.english, 'Wild Carrot') or string.find(spell.english, 'Cure III') or string.find(spell.english, 'Cure IV') or string.find(spell.english, 'Restoral') then
equip(sets.BlueMagic.SelfCures)
end
end
if spell.english == 'White Wind' then
equip(sets.BlueMagic.WhiteWind)
end
if spell.english == 'Head Butt' or spell.english == 'Sudden Lunge' or spell.english == 'Blitzstrahl' then
equip(sets.BlueMagic.Stun)
end
if spell.english == 'Heavy Strike' then
equip(sets.BlueMagic.HeavyStrike)
end
if spell.english == 'Charged Whisker' then
equip(sets.BlueMagic.ChargedWhisker)
if buffactive['Burst Affinity'] then
equip(sets.JA.BurstAffinity)
end
end
if spell.english == 'Palling Salvo' or spell.english == 'Tenebral Crush' or spell.english == 'Evryone. Grudge' or spell.english == 'Dark Orb' then
equip(sets.BlueMagic.Darkness)
if buffactive['Burst Affinity'] then
equip(sets.JA.BurstAffinity)
end
end
if spell.english == 'Frightful Roar' or spell.english == 'Infrasonics' or spell.english == 'Barbed Crescent' or spell.english == 'Tourbillion' or spell.english == 'Cimicine Discharge' or spell.english == 'Sub-zero smash' or spell.english == 'Filamented Hold' or spell.english == 'Mind Blast' or spell.english == 'Sandspin' or spell.english == 'Hecatomb Wave' or spell.english == 'Cold Wave' or spell.english == 'Terror Touch' or spell.english == 'Sweeping Gouge' or spell.english == 'Saurian Slide' then
equip(sets.BlueMagic.MagicAccuracy)
end
if spell.english == 'MP Drainkiss' or spell.english == 'Digest' or spell.english == 'Blood Saber' or spell.english == 'Blood Drain' or spell.english == 'Osmosis' or spell.english == 'Occultation' or spell.english == 'Magic Barrier' or spell.english == 'Diamondhide' or spell.english == 'Metallic Body' or spell.english == 'Retinal Glare' then
equip(sets.BlueMagic.SkillRecast)
if buffactive['Diffusion'] then
equip(sets.JA.Diffusion)
end
end
if spell.english == 'Cocoon' or spell.english == 'Harden Shell' or spell.english == 'Animating Wail' or spell.english == 'Battery Charge' or spell.english == 'Nat. Meditation' or spell.english == 'Carcharian Verve' or spell.english == 'O. Counterstance' or spell.english == 'Barrier Tusk' or spell.english == 'Saline Coat' or spell.english == 'Regeneration' or spell.english == 'Erratic Flutter' or spell.english == 'Mighty Guard' then
if buffactive['Diffusion'] then
equip(sets.JA.Diffusion)
end
end
end
function aftercast(spell)
if player.status == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_ind]])
else
equip(sets.Idle[sets.Idle.index[Idle_ind]])
end
if spell.action_type == 'Weaponskill' then
add_to_chat(158,'TP Return: ['..tostring(player.tp)..']')
end
end
function status_change(new,old)
if new == 'Engaged' then
equip(sets.TP[sets.TP.index[TP_ind]])
else
equip(sets.Idle[sets.Idle.index[Idle_ind]])
end
end
function self_command(command)
if command == 'toggle TP set' then
TP_ind = TP_ind +1
if TP_ind > #sets.TP.index then TP_ind = 1 end
send_command('@input /echo <----- TP Set changed to '..sets.TP.index[TP_ind]..' ----->')
equip(sets.TP[sets.TP.index[TP_ind]])
elseif command == 'toggle Idle set' then
Idle_ind = Idle_ind +1
if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
send_command('@input /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
equip(sets.Idle[sets.Idle.index[Idle_ind]])
elseif command == 'toggle Req set' then
Requiescat_ind = Requiescat_ind +1
if Requiescat_ind > #sets.Requiescat.index then Requiescat_ind = 1 end
send_command('@input /echo <----- Requiescat Set changed to '..sets.Requiescat.index[Requiescat_ind]..' ----->')
elseif command == 'toggle CDC set' then
ChantDuCygne_ind = ChantDuCygne_ind +1
if ChantDuCygne_ind > #sets.ChantDuCygne.index then ChantDuCygne_ind = 1 end
send_command('@input /echo <----- Chant du Cygne Set changed to '..sets.ChantDuCygne.index[ChantDuCygne_ind]..' ----->')
elseif command == 'toggle Rea set' then
Realmrazer_ind = Realmrazer_ind +1
if Realmrazer_ind > #sets.Realmrazer.index then Realmrazer_ind = 1 end
send_command('@input /echo <----- Realmrazer Set changed to '..sets.Realmrazer.index[Realmrazer_ind]..' ----->')
elseif command == 'equip TP set' then
equip(sets.TP[sets.TP.index[TP_ind]])
elseif command == 'equip Idle set' then
equip(sets.Idle[sets.Idle.index[Idle_ind]])
end
end