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="Hasty Pinion +1",
head="Ocelomeh headpiece +1",neck="Wiglen gorget", ear1="Dawn earring", ear2="Upsurge earring",
body="Mirage jubbah +2",hands="Taeon Gloves",ring1="Sheltered Ring",ring2="Paguroidea ring",
back="Shadow mantle",waist="Flume belt +1",legs="Desultor Tassets",feet="Taeon Boots"}
sets.Idle.DT = {ammo="Hasty Pinion +1",
head="Iuitl headgear +1",neck="Wiglen Gorget", ear1="Dawn earring", ear2="Upsurge earring",
body="Luhlaza jubbah +1",hands="Taeon gloves",ring1="Sheltered Ring",ring2="Paguroidea ring",
back="Cheviot cape",waist="Flume belt +1",legs="Desultor Tassets",feet="Taeon Boots"}
--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="Hasty Pinion +1",
head="Taeon Chapeau",neck="Peacock Amulet", ear1="Suppanomimi", ear2="Brutal Earring",
body="Taeon tabard",hands="Taeon Gloves",ring1="Rajas ring",ring2="Enlivened ring",
back="Mirage mantle",waist="Windbuffet Belt +1",legs="Taeon tights",feet="Taeon boots"}
sets.TP.Solo = {ammo="Hasty Pinion +1",
head="Taeon Chapeau",neck="Peacock Amulet", ear1="Suppanomimi", ear2="Brutal Earring",
body="Taeon tabard",hands="Taeon Gloves",ring1="Rajas ring",ring2="Enlivened ring",
back="Mirage mantle",waist="Windbuffet Belt +1",legs="Taeon tights",feet="Taeon boots"}
sets.TP.Safe = {ammo="Hasty Pinion +1",
head="Taeon Chapeau",neck="Peacock Amulet", ear1="Suppanomimi", ear2="Brutal Earring",
body="Taeon tabard",hands="Taeon Gloves",ring1="Rajas ring",ring2="Enlivened ring",
back="Mirage mantle",waist="Windbuffet Belt +1",legs="Taeon tights",feet="Taeon boots"}
sets.TP.AccuracyLite = {ammo="Hasty Pinion +1",
head="Taeon Chapeau",neck="Peacock Amulet", ear1="Suppanomimi", ear2="Brutal Earring",
body="Taeon tabard",hands="Taeon Gloves",ring1="Rajas ring",ring2="Enlivened ring",
back="Mirage mantle",waist="Windbuffet Belt +1",legs="Taeon tights",feet="Taeon boots"}
sets.TP.AccuracyFull = {ammo="Hasty Pinion +1",
head="Taeon Chapeau",neck="Peacock Amulet", ear1="Suppanomimi", ear2="Brutal Earring",
body="Taeon tabard",hands="Taeon Gloves",ring1="Rajas ring",ring2="Enlivened ring",
back="Mirage mantle",waist="Windbuffet Belt +1",legs="Taeon tights",feet="Taeon boots"}
sets.TP.AccuracyExtreme = {ammo="Hasty Pinion +1",
head="Taeon Chapeau",neck="Peacock Amulet", ear1="Suppanomimi", ear2="Brutal Earring",
body="Taeon tabard",hands="Taeon Gloves",ring1="Rajas ring",ring2="Enlivened ring",
back="Mirage mantle",waist="Windbuffet Belt +1",legs="Taeon tights",feet="Taeon boots"}
sets.TP.DT = {ammo="Hasty Pinion +1",
head="Iuitl headgear +1",neck="Wiglen Gorget", ear1="Dawn earring", ear2="Heartseeker earring",
body="Luhlaza jubbah +1",hands="Taeon gloves",ring1="Sheltered Ring",ring2="Paguroidea ring",
back="Cheviot cape",waist="Flume belt +1",legs="Blood cuisses",feet="Taeon Boots"}
sets.TP.DTAccuracy = {ammo="Hasty Pinion +1",
head="Iuitl headgear +1",neck="Peacock amulet", ear1="Dawn earring", ear2="Heartseeker earring",
body="Luhlaza jubbah +1",hands="Taeon gloves",ring1="Sheltered Ring",ring2="Paguroidea ring",
back="Cheviot cape",waist="Flume belt +1",legs="Blood cuisses",feet="Taeon Boots"}
--Weaponskill Sets--
sets.WS = {}
sets.Requiescat = {}
sets.Requiescat.index = {'Attack','Accuracy'}
Requiescat_ind = 1
sets.Requiescat.Attack = {ammo="Cheruski needle",
head="Taeon Chapeau",neck="Thunder gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Taeon tabard",hands="Taeon gloves",ring1="Rajas ring",ring2="Pyrosoul ring",
back="Mirage mantle",waist="Windbuffet belt +1",legs="Despair cuisses",feet="Taeon boots"}
sets.Requiescat.Accuracy = {ammo="Hasty Pinion +1",
head="Whirlpool mask",neck="Soil gorget",ear1="Brutal earring",ear2="Moonshade earring",
body="Taeon tabard",hands="Qaaxo mitaines",ring1="Rajas Ring",ring2="Pyrosoul ring",
back="Mirage mantle",waist="Dynamic belt +1",legs="Taeon tights",feet="Taeon boots"}
sets.ChantDuCygne = {}
sets.ChantDuCygne.index = {'Attack','Accuracy'}
ChantDuCygne_ind = 1
sets.ChantDuCygne.Attack = {ammo="Hasty Pinion +1",
head="Uk'uxkaj cap",neck="Flame gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
body="Luhlaza jubbah +1",hands="Luh. bazubands +1",ring1="Epona's ring",ring2="Rajas ring",
back="Rancorous mantle",waist="Windbuffet belt",legs="Manibozho brais",feet="Vanir Boots"}
sets.ChantDuCygne.Accuracy = {ammo="Hasty Pinion +1",
head="Uk'uxkaj cap",neck="Flame gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
body="Luhlaza jubbah +1",hands="Luh. bazubands +1",ring1="Epona's ring",ring2="Rajas ring",
back="Rancorous mantle",waist="Light belt",legs="Manibozho brais",feet="Assim. charuqs +1"}
sets.WS.SanguineBlade = {}
sets.WS.SanguineBlade = {ammo="Impatiens",
head="Hagondes hat",neck="Eddy necklace",ear1="Hecate's earring",ear2="Friomisi earring",
body="Hagondes Coat +1",hands="Hagondes cuffs",ring1="Archon ring",ring2="Acumen ring",
back="Cornflower cape",waist="Aswang sash",legs="Hagondes Pants +1",feet="Hagondes sabots"}
sets.WS.CircleBlade = {}
sets.WS.CircleBlade = {ammo="Cheruski needle",
head="Uk'uxkaj cap",neck="Soil Gorget",ear1="Moonshade earring",ear2="Brutal earring",
body="Magus jubbah",hands="Luh. bazubands +1",ring1="Epona's ring",ring2="Pyrosoul ring",
back="Atheling mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1",
back="Atheling mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
sets.WS.Expiacion = {}
sets.WS.Expiacion = {ammo="Cheruski needle",
head="Uk'uxkaj cap",neck="Soil Gorget",ear1="Moonshade earring",ear2="Brutal earring",
body="Magus jubbah",hands="Luh. bazubands +1",ring1="Epona's ring",ring2="Pyrosoul ring",
back="Atheling mantle",waist="Soil belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
sets.Realmrazer = {}
sets.Realmrazer.index = {'Attack','Accuracy'}
Realmrazer_ind = 1
sets.Realmrazer.Attack = {ammo="Cheruski needle",
head="Whirlpool mask",neck="Flame gorget",ear1="Bladeborn earring",ear2="Steelflash Earring",
body="Luhlaza jubbah +1",hands="Luh. Bazubands +1",ring1="Levia. ring",ring2="Aquasoul ring",
back="Atheling mantle",waist="Light belt",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
sets.Realmrazer.Accuracy = {ammo="Hasty Pinion +1",
head="Whirlpool mask",neck="Flame gorget",ear1="Bladeborn earring",ear2="Steelflash earring",
body="Luhlaza jubbah +1",hands="Luh. Bazubands +1",ring1="Levia. ring",ring2="Aquasoul ring",
back="Letalis mantle",waist="Light belt",legs="Quiahuiz trousers",feet="Assim. charuqs +1"}
sets.WS.FlashNova = {}
sets.WS.FlashNova = {ammo="Impatiens",
head="Hagondes hat",neck="Eddy necklace",ear1="Hecate's earring",ear2="Friomisi earring",
body="Hagondes Coat +1",hands="Hagondes cuffs",ring1="Spiral ring",ring2="Acumen ring",
back="Cornflower cape",waist="Aswang sash",legs="Hagondes Pants +1",feet="Hagondes sabots"}
--Blue Magic Sets--
sets.BlueMagic = {}
sets.BlueMagic.STR = {ammo="Impatiens",
head="Mirage keffiyeh",neck="Lacono necklace +1",ear1="Flame pearl",ear2="Flame pearl",
body="Taeon tabard",hands="Taeon gloves",ring1="Rajas ring",ring2="Pyrosoul ring",
back="Cornflower cape",waist="Chuq'aba belt",legs="Despair cuisses",feet="Taeon boots"}
sets.BlueMagic.STRDEX = {ammo="Cheruski needle",
head="Mirage keffiyeh",neck="Lacono necklace +1",ear1="Flame pearl",ear2="Flame pearl",
body="Taeon tabard",hands="Taeon gloves",ring1="Pyrosoul ring",ring2="Rajas ring",
back="Cornflower cape",waist="Pipilaka belt",legs="Despair cuisses",feet="Taeon boots"}
sets.BlueMagic.STRVIT = {ammo="Impatiens",
head="Mirage keffiyeh",neck="Lacono necklace +1",ear1="Flame pearl",ear2="Flame pearl",
body="Taeon tabard",hands="Taeon gloves",ring1="Pyrosoul ring",ring2="Spiral ring",
back="Cornflower cape",waist="Caudata belt",legs="Quiahuiz trousers",feet="Taeon boots"}
sets.BlueMagic.STRMND = {ammo="Impatiens",
head="Telchine cap",neck="Lacono necklace +1",ear1="Flame pearl",ear2="Flame pearl",
body="Telchine chasuble",hands="Telchine gloves",ring1="Vulcan's ring",ring2="Levia. ring",
back="Cornflower cape",waist="Cascade belt",legs="Telchine Braconi",feet="Telchine pigaches"}
sets.BlueMagic.AGI = {ammo="Impatiens",
head="Mirage keffiyeh",neck="Lacono necklace +1",ear1="Flame pearl",ear2="Flame pearl",
body="Taeon tabard",hands="Iuitl wristbands",ring1="Breezesoul ring",ring2="Auster's ring",
back="Cornflower cape",waist="Sveltesse belt +1",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
sets.BlueMagic.INT = {ammo="Impatiens",
head="Helios Band",neck="Farr torque",ear1="Moldavite earring",ear2="Friomisi earring",
body="Helios jacket",hands="Helios gloves",ring1="Shiva ring",ring2="Icesoul ring",
back="Cornflower cape",waist="Salire belt",legs="Helios spats",feet="Helios boots"}
sets.BlueMagic.Cures = {ammo="Impatiens",
head="Telchine cap",neck="Aife's medal",ear1="Loquac. earring",ear2="Novia earring",
body="Telchine chasuble",hands="Telchine gloves",ring1="Levia. ring",ring2="Aquasoul ring",
back="Swith cape",waist="Cascade belt",legs="Telchine braconi",feet="Telchine pigaches"}
sets.BlueMagic.SelfCures = {ammo="Impatiens",
head="Telchine cap",neck="Aife's medal",ear1="Loquac. earring",ear2="Novia earring",
body="Telchine chasuble",hands="Telchine gloves",ring1="Perception ring",ring2="Aquasoul Ring",
back="Swith cape",waist="Chuq'aba Belt",legs="Telchine braconi",feet="Telchine pigaches"}
sets.BlueMagic.Stun = {ammo="Impatiens",
head="Taeon Chapeau",neck="Farr torque",ear1="Loquac. earring",
body="Taeon tabard",hands="Mv. bazubands +2",ring1="Prolix ring",ring2="Balrahn's ring",
back="Cornflower cape",waist="Dynamic belt +1",legs="Orvail pants",feet="Helios boots"}
sets.BlueMagic.HeavyStrike = {ammo="Impatiens",
head="Ejekamal mask",neck="Lacono necklace +1",ear1="Flame pearl",ear2="Heartseeker earring",
body="Taeon tabard",hands="Taeon gloves",ring1="Pyrosoul ring",ring2="Rajas ring",
back="Cornflower cape",waist="Chuq'aba Belt",legs="Despair cuisses",feet="Taeon boots"}
sets.BlueMagic.ChargedWhisker = {ammo="Impatiens",
head="Helios band",neck="Eddy necklace",ear1="Moldavite earring",ear2="Friomisi earring",
body="Helios jacket",hands="Helios gloves",ring1="Acumen ring",ring2="Rajas ring",
back="Cornflower cape",waist="Pipilaka belt",legs="Hagondes Pants +1",feet="Helios boots"}
sets.BlueMagic.WhiteWind = {ammo="Mavi tathlum",
head="Mirage keffiyeh",neck="Cuamiz collar",ear1="Upsurge Earring",ear2="Cassie earring",
body="Aetosaur jerkin",hands="Weath. cuffs +1",ring1="Bomb queen ring",ring2="Meridian ring",
back="Swith cape",waist="Gold mog. belt",legs="Desultor tassets",feet="Llwyd's clogs"}
sets.BlueMagic.MagicAccuracy = {ammo="Impatiens",
head="Assim. keffiyeh",neck="Farr torque",ear1="Loquac. earring",ear2="Mavi earring",
body="Magus jubbah",hands="Wayfarer cuffs",ring1="Balrahn's ring",ring2="Sangoma ring",
back="Cornflower cape",waist="Aswang sash",legs="Orvail pants",feet="Helios boots"}
sets.BlueMagic.Skill = {ammo="Mavi tathlum",
head="Mirage keffiyeh",neck="Jeweled collar",ear1="Loquac. earring",
body="Magus jubbah",hands="Ayao's gages",ring1="Prolix ring",
back="Cornflower cape",waist="Twilight belt",legs="Mavi tayt +2",feet="Luhlaza charuqs +1"}
sets.BlueMagic.SkillRecast = {ammo="Mavi tathlum",
head="Mirage keffiyeh",neck="Jeweled collar",ear1="Loquac. earring",
body="Magus jubbah",hands="Mv. Bazubands +2",ring1="Prolix ring",
back="Swith cape",waist="Twilight belt",legs="Mavi tayt +2",feet="Luhlaza charuqs +1"}
--Utility Sets--
sets.Utility = {}
sets.Utility.Stoneskin = {ammo="Impatiens",
head="Telchine capp",neck="Enhancing torque",ear1="Loquac. earring",ear2="Novia earring",
body="Telchine chasuble",hands="Telchine gloves",ring1="Perception ring",ring2="Aquasoul Ring",
back="Swith cape",waist="Chuq'aba Belt",legs="Telchine braconi",feet="Telchine pigaches"}
sets.Utility.Phalanx = {head="Haruspex hat +1",neck="Enhancing torque",ear1="Loquac. earring",ear2="Augment. earring",
body="Magus jubbah",hands="Ayao's gages",ring1="Prolix ring",
back="Swith cape",waist="Pythia sash +1",legs="Portent pants",feet="Iuitl gaiters"}
sets.Utility.Steps = {ammo="Honed tathlum",
head="Whirlpool mask",ear2="Heartseeker earring",
body="Thaumas coat",hands="Taeon gloves",
back="Letalis cape",waist="Chaac belt",legs="Manibozho brais",feet="Manibozho boots"}
sets.Utility.PDT = {head="Whirlpool mask",neck="Twilight torque",ear1="Ethereal earring",
body="Iuitl vest",hands="Taeon gloves",ring1="Dark ring",ring2="Dark ring",
back="Mollusca mantle",waist="Flume belt",legs="Iuitl Tights +1",feet="Iuitl gaiters"}
sets.Utility.MDT = {head="Whirlpool mask",neck="Twilight torque",
body="Magus jubbah",hands="Taeon gloves",ring1="Dark ring",ring2="Dark ring",
back="Mollusca mantle",legs="Quiahuiz trousers",feet="Luhlaza charuqs +1"}
sets.resting = {
head="Wayfarer Circlet",neck="Rep. Silver Medal",ear1="Dawn Earring",
body="Wayfarer robe",hands="Wayfarer Cuffs",ring1="Sheltered Ring",ring2="Paguroidea Ring",
waist="Cheviot Cape",legs="Wayfarer Slops",feet="Wayfarer Clogs"}
--Job Ability Sets--
sets.JA = {}
sets.JA.ChainAffinity = {feet="Assim. charuqs +1"}
sets.JA.BurstAffinity = {feet="Assimlators shalwar"}
sets.JA.Efflux = {legs="Mavi tayt +2"}
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="Haruspex hat +1",ammo="Impatiens",neck="Jeweled collar", ear1="Loquac. Earring",
body="Mirke Wadecors",hands="Thaumas Gloves",ring1="Prolix ring",
back="Swith Cape",waist="Witful Belt",legs="Orvail pants",feet="Chelona Boots"}
sets.precast.FC.Blue = {head="Haruspex hat +1",ammo="Impatiens",neck="Jeweled collar", ear1="Loquac. Earring",
body="Mirke Wardecors",hands="Thaumas Gloves",ring1="Prolix ring",
back="Swith Cape",waist="Witful Belt",legs="Orvail pants",feet="Chelona Boots"}
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' 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 == 'Evryone. Grudge' or spell.english == 'Water Bomb' or spell.english == 'Dark Orb' 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 == 'Subduction' 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' 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') 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 == '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' 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' 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