Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_sets()
- include('organizer-lib')
- 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 BlueMagicP 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
- function user_setup()
- select_default_macro_book()
- end
- --Idle Sets--
- sets.Idle = {}
- sets.Idle.index = {'Standard','DT'}
- Idle_ind = 1
- sets.Idle.Standard = {ammo="Ginsen",
- head="Jhakri Robe +2",neck="Loricate Torque +1", ear1="Merman's earring", ear2="Mendi. earring",
- body="Mekosuchinae harness",hands="Serpentes cuffs",ring1="Dark ring",ring2="Defending Ring",
- back="Repulse mantle",waist="Fucho-no-obi",legs="Carmine cuisses +1",feet="Serpentes sabots"}
- sets.Idle.DT = {ammo="Ginsen",
- head="Iuitl headgear +1",neck="Loricate Torque +1", ear1="Dudgeon Earring", ear2="Heartseeker earring",
- body="Emet harness +1",hands="Umuthi gloves",ring1="Dark ring",ring2="Defending Ring",
- back="Repulse mantle",waist="Kentarch belt +1",legs="Carmine cuisses +1",feet="Herculean Boots"}
- --TP Sets--
- sets.TP = {}
- sets.TP.index = {'Standard', 'AccuracyFull', 'DT'}
- --1=Standard, 2=AccuracyFull, 3=DT,
- TP_ind = 1
- sets.TP.Standard = {ammo="Ginsen",
- head={ name="Adhemar Bonnet", augments={'DEX+10','AGI+10','Accuracy+15',}},
- body={ name="Adhemar Jacket", augments={'DEX+10','AGI+10','Accuracy+15',}},
- hands={ name="Herculean Gloves", augments={'Accuracy+11','"Triple Atk."+4','AGI+8','Attack+8',}},
- legs={ name="Samnuha Tights", augments={'STR+10','DEX+10','"Dbl.Atk."+3','"Triple Atk."+3',}},
- feet={ name="Herculean Boots", augments={'Accuracy+22 Attack+22','"Triple Atk."+3',}},
- neck="Lissome Necklace",
- waist="Reiki Yotai",
- left_ear="Suppanomimi",
- right_ear="Telos Earring",
- left_ring="Epona's Ring",
- right_ring="Petrov Ring",
- back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Crit.hit rate+10',}}}
- sets.TP.AccuracyFull = {ammo="Falcon Eye",
- head="Dampening tam",neck="Lissome necklace", ear1="Dignitary's earring", ear2="Telos Earring", body="Adhemar jacket",hands="Leyline gloves",ring1="Ramuh Ring +1",ring2="Ramuh Ring +1", back="Rosmerta's cape",waist="Kentarch belt +1",legs="Carmine cuisses +1",feet="Herculean boots"}
- sets.TP.DT = {ammo="Ginsen",
- head="Iuitl headgear +1",neck="Loricate Torque +1", ear1="Suppanomimi", ear2="Telos Earring",
- body="Emet harness +1",hands="Umuthi gloves",ring1="Dark ring",ring2="Defending Ring",
- back="Moonbeam cape",waist="Flume belt",legs="Miasmic pants",feet="Battlecast gaiters"}
- --Weaponskill Sets--
- sets.WS = {}
- sets.Requiescat = {}
- sets.Requiescat.index = {'Attack','Accuracy'}
- Requiescat_ind = 1
- sets.Requiescat.Attack = {ammo="Ginsen",
- head="Jhakri Coronal +1",neck="Fotia gorget",ear1="Moonshade earring",ear2="Telos Earring",
- body="Jhakri Robe +2",hands="Jhakri Cuffs +1",ring1="Epona's ring",ring2="Hetaroi ring",
- back="Rosmerta's cape",waist="Fotia belt",legs="Jhakri Slops +1",feet="Jhakri Pigaches +1"}
- sets.Requiescat.Accuracy = {ammo="Falcon eye",
- head="Jhakri Coronal +1",neck="Fotia gorget",ear1="Moonshade earring",ear2="Telos Earring",
- body="Jhakri Robe +2",hands="Jhakri Cuffs +1",ring1="Epona's ring",ring2="Hetaroi ring",
- back="Rosmerta's cape",waist="Fotia belt",legs="Jhakri Slops +1",feet="Jhakri Pigaches +1"}
- sets.ChantDuCygne = {}
- sets.ChantDuCygne.index = {'Attack','Accuracy'}
- ChantDuCygne_ind = 1
- sets.ChantDuCygne.Attack = {ammo="Falcon Eye",
- head={ name="Adhemar Bonnet", augments={'DEX+10','AGI+10','Accuracy+15',}},
- body={ name="Herculean Vest", augments={'Attack+21','"Triple Atk."+4','Accuracy+13',}},
- hands={ name="Herculean Gloves", augments={'Accuracy+11','"Triple Atk."+4','AGI+8','Attack+8',}},
- legs={ name="Samnuha Tights", augments={'STR+10','DEX+10','"Dbl.Atk."+3','"Triple Atk."+3',}},
- feet={ name="Herculean Boots", augments={'Attack+27','Weapon skill damage +4%',}},
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ear={ name="Moonshade Earring", augments={'Attack+4','TP Bonus +250',}},
- right_ear="Brutal Earring",
- left_ring="Epona's Ring",
- right_ring="Hetairoi Ring",
- back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Crit.hit rate+10',}}}
- sets.ChantDuCygne.Accuracy = {ammo="Falcon Eye",
- head={ name="Adhemar Bonnet", augments={'DEX+10','AGI+10','Accuracy+15',}},
- body={ name="Herculean Vest", augments={'Attack+21','"Triple Atk."+4','Accuracy+13',}},
- hands={ name="Herculean Gloves", augments={'Accuracy+11','"Triple Atk."+4','AGI+8','Attack+8',}},
- legs={ name="Samnuha Tights", augments={'STR+10','DEX+10','"Dbl.Atk."+3','"Triple Atk."+3',}},
- feet={ name="Herculean Boots", augments={'Attack+27','Weapon skill damage +4%',}},
- neck="Fotia Gorget",
- waist="Fotia Belt",
- left_ear={ name="Moonshade Earring", augments={'Attack+4','TP Bonus +250',}},
- right_ear="Brutal Earring",
- left_ring="Epona's Ring",
- right_ring="Hetairoi Ring",
- back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Crit.hit rate+10',}}}
- sets.WS.SanguineBlade = {}
- sets.WS.SanguineBlade = {ammo="Ghastly tathlum +1",
- head="Jhakri Coronal +1",neck="Fotia gorget",ear1="Friomisi earring",ear2="Crematio earring",
- body="Jhakri Robe +2",hands="Jhakri Cuffs +1",ring1="Archon ring",ring2="Acumen ring",
- back="Rosmerta's cape",waist="Fotia belt",legs="Jhakri Slops +1",feet="Jhakri Pigaches +1"}
- sets.WS.CircleBlade = {}
- sets.WS.CircleBlade = {ammo="Ginsen",
- head="Uk'uxkaj cap",neck="Fotia Gorget",ear1="Moonshade earring",ear2="Telos Earring",
- body="Assim. jubbah +1",hands="Luh. bazubands +1",ring1="Epona's ring",ring2="Ifrit ring +1",
- back="Rosmerta's cape",waist="Fotia belt",legs="Samnuha tights",feet="Luhlaza Charuqs",}
- sets.WS.Expiacion = {}
- sets.WS.Expiacion = {ammo="Cheruski needle",
- head="Uk'uxkaj cap",neck="Fotia Gorget",ear1="Moonshade earring",ear2="Telos Earring",
- body="Assim. jubbah +1",hands="Luh. bazubands +1",ring1="Epona's ring",ring2="Ifrit ring +1",
- back="Rosmerta's cape",waist="Fotia belt",legs="Samnuha tights",feet="Luhlaza Charuqs"}
- sets.Realmrazer = {}
- sets.Realmrazer.index = {'Attack','Accuracy'}
- Realmrazer_ind = 1
- sets.Realmrazer.Attack = {ammo="Cheruski needle",
- head="Adhemar Bonnet",neck="Fotia gorget",ear1="Bladeborn earring",ear2="Steelflash Earring",
- body="Luhlaza jubbah +1",hands="Luh. Bazubands +1",ring1="Levia. ring",ring2="Levia. ring",
- back="Rosmerta's cape",waist="Fotia belt",legs="Samnuha tights",feet="Luhlaza Charuqs"}
- sets.Realmrazer.Accuracy = {ammo="Ginsen",
- head="Adhemar Bonnet",neck="Fotia gorget",ear1="Bladeborn earring",ear2="Zennaroi earring",
- body="Luhlaza jubbah +1",hands="Luh. Bazubands +1",ring1="Levia. ring",ring2="Aquasoul ring",
- back="Rosmerta's cape",waist="Fotia belt",legs="Samnuha tights",feet="Assim. charuqs +1"}
- sets.SavageBlade = {ammo="Ginsen",
- head="Adhemar bonnet",neck="Fotia gorget",ear1="Moonshade earring",ear2="Telos Earring",
- body="Herculean Vest",hands="Jhakri cuffs +1",ring1="Epona's ring",ring2="Petrov ring",
- back="Rosmerta's cape",waist="Fotia belt",legs="Carmine cuisses +1",feet="Thereoid Greaves"}
- sets.WS.FlashNova = {}
- sets.WS.FlashNova = {ammo="Ghastly Tathlum +1",
- head="Amalric Coif +1",neck="Eddy necklace",ear1="Hecate's earring",ear2="Friomisi earring",
- body="Jhakri Robe +2",hands="Amalric gages",ring1="Weatherspoon ring",ring2="Weatherspoon ring",
- back="Cornflower cape",waist="Aswang sash",legs="Jhakri Slops +1",feet="Hashishin basmak +1"}
- --Blue Magic P Sets--
- sets.BlueMagicP = {}
- sets.BlueMagicP.index = {'Attack','Accuracy'}
- BlueMagicP_ind = 1
- sets.BlueMagicP.Attack = {ammo="Ginsen",
- head="Adhemar Bonnet",neck="Sanctity Necklace",ear1="Flame pearl",ear2="Flame pearl",
- body="Herculean vest",hands="Herculean gloves",ring1="Pyrosoul ring",ring2="Petrov ring",
- back="Cornflower cape",waist="Prosilio belt",legs="Samnuha tights",feet="Adhemar Gamashes"}
- sets.BlueMagicP.Accuracy = {ammo="Ginsen",
- head="Carmine Mask",neck="Ej necklace",ear1="Flame pearl",ear2="Flame pearl",
- body="Herculean vest",hands="Herculean gloves",ring1="Pyrosoul Ring",ring2="Petrov ring",
- back="Rosmerta's cape",waist="Kentarch belt +1",legs="Samnuha tights",feet="Herculean boots"}
- --Blue Magic M Sets--
- sets.BlueMagic = {}
- sets.BlueMagic.INT = {ammo="Pemphredo Tathlum",
- head="Amalric Coif +1",neck="Sanctity necklace",ear1="Crematio earring",ear2="Friomisi earring",
- body="Jhakri Robe +2",hands="Amalric gages",ring1="Weatherspoon ring",ring2="Acumen ring",
- back="Cornflower cape",waist="Yamabuki-no-Obi",legs="Jhakri Slops +1",feet="Jhakri Pigaches +1"}
- sets.BlueMagic.DarkINT = set_combine(sets.BlueMagic.INT, {head="Pixie hairpin +1", ring1="Archon ring"})
- sets.BlueMagic.LightINT = set_combine(sets.BlueMagic.INT, {ring1="Weatherspoon ring"})
- sets.BlueMagic.Cures = {ammo="Hydrocera",
- head="Carmine Mask",neck="Phalaina Locket",ear1="Mendi. Earring",ear2="Lifestorm earring",body="Vrikodara jupon",hands="Telchine gloves",ring1="Sirona's ring",ring2="Metamor. ring +1", back="Pahtli's cape",waist="Luminary sash",legs="Carmine cuisses +1",feet="Medium's sabots"}
- sets.BlueMagic.SelfCures = {ammo="Hydrocera",
- head="Carmine Mask",neck="Phalaina Locket",ear1="Mendi. Earring",ear2="Lifestorm earring",body="Vrikodara jupon",hands="Telchine gloves",ring1="Sirona's ring",ring2="Metamor. ring +1",back="Pahtli's cape",waist="Luminary sash",legs="Carmine cuisses +1",feet="Medium's sabots"}
- sets.BlueMagic.Stun = {ammo="Ginsen",
- head="Amalric Coif +1",neck="Ej necklace",ear1="Psystorm earring",ear2="Lifestorm earring",
- body="Hashishin mintan +1",hands="Rawhide gloves",ring1="Weatherspoon ring",ring2="Sangoma ring",
- back="Cornflower cape",waist="Kentarch belt +1",legs="Miasmic pants",feet="Jhakri Pigaches +1"}
- sets.BlueMagic.HeavyStrike = {ammo="Ginsen",
- head="Adhemar Bonnet",neck="Ire torque +1",ear1="Flame pearl",ear2="Heartseeker earring",
- body="Luhlaza jubbah +1",hands="Herculean gloves",ring1="Ifrit ring +1",ring2="Petrov ring",
- back="Rosmerta's cape",waist="Kentarch belt +1",legs="Samnuha tights",feet="Assim. charuqs +1"}
- sets.BlueMagic.WhiteWind = {ammo="Hydrocera",
- head="Carmine Mask",neck="Phalaina Locket",ear1="Mendi. Earring",ear2="Lifestorm earring",body="Vrikodara jupon",hands="Telchine gloves",ring1="Sirona's ring",ring2="Metamor. ring +1",back="Pahtli's cape",waist="Luminary sash",legs="Carmine cuisses +1",feet="Medium's sabots"}
- sets.BlueMagic.MagicAccuracy = {ammo="Pemphredo Tathlum",
- head="Amalric Coif +1",neck="Sanctity necklace",ear1="Gwati earring",ear2="Dignitary's earring",
- body="Jhakri Robe +2",hands="Rawhide gloves",ring1="Weatherspoon ring",ring2="Metamorph Ring +1",
- back="Cornflower cape",waist="Luminary sash",legs="Psycloth Lappas",feet="Hashishin basmak +1"}
- sets.BlueMagic.Skill = {ammo="Ghastly Tathlum +1",
- head="Luh. Keffiyeh +1",neck="Voltsurge torque",ear1="Loquac. earring",
- body="Assim. jubbah +1",hands="Rawhide gloves",ring1="Prolix ring", ring2="Weatherspoon ring",
- back="Cornflower cape",waist="Twilight belt",legs="Hashishin tayt +1",feet="Luhlaza Charuqs"}
- sets.BlueMagic.SkillRecast = {ammo="Ghastly Tathlum +1",
- head="Luh. Keffiyeh +1",neck="Voltsurge torque",ear1="Loquac. earring",
- body="Assim. jubbah +1",hands="Mv. Bazubands +2",ring1="Prolix ring",
- back="Swith cape",waist="Twilight belt",legs="Hashishin tayt +1",feet="Luhlaza Charuqs"}
- --Utility Sets--
- sets.Utility = {}
- sets.Utility.Stoneskin = {head="Haruspex hat",neck="Fotia gorget",ear1="Loquac. earring",ear2="Earthcry earring",
- body="Assim. jubbah +1",hands="Stone Mufflers",ring1="Prolix ring",
- back="Swith cape",waist="Siegel sash",legs="Haven hose",feet="Iuitl gaiters"}
- sets.Utility.Phalanx = {head="Haruspex hat",neck="Incanter's Torque",ear1="Loquac. earring",ear2="Augment. earring",
- body="Assim. jubbah +1",hands="Ayao's gages",ring1="Prolix ring",
- back="Swith cape",waist="Pythia sash +1",legs="Portent pants",feet="Iuitl gaiters"}
- sets.Utility.Steps = {ammo="Ginsen",
- head="Adhemar Bonnet",ear2="Heartseeker earring",
- body="Herculean vest",hands="Umuthi gloves",
- back="Rosmerta's cape",waist="Chaac belt",legs="Samnuha tights",feet="Herculean boots"}
- sets.Utility.PDT = {head="Iuitl headgear +1",neck="Loricate Torque +1",ear1="Ethereal earring",
- body="Iuitl vest +1",hands="Umuthi gloves",ring1="Dark ring",ring2="Defending Ring",
- back="Mollusca mantle",waist="Flume belt",legs="Iuitl Tights +1",feet="Iuitl gaiters +1"}
- sets.Utility.MDT = {head="Adhemar Bonnet",neck="Loricate Torque +1",
- body="Assim. jubbah +1",hands="Umuthi gloves",ring1="Dark ring",ring2="Defending Ring",
- back="Mollusca mantle",legs="Samnuha tights",feet="Luhlaza Charuqs"}
- --Job Ability Sets--
- sets.JA = {}
- sets.JA.ChainAffinity = {head="Hashishin kavuk",feet="Assim. charuqs +1"}
- sets.JA.BurstAffinity = {legs="Assim. shalwar",feet="Hashishin basmak +1"}
- sets.JA.BurstAffinity2 = {"Hashishin basmak +1"}
- sets.JA.Efflux = {legs="Hashishin tayt +1"}
- sets.JA.AzureLore = {hands="Luh. bazubands +1"}
- sets.JA.Diffusion = {feet="Luhlaza Charuqs"}
- --Precast Sets--
- sets.precast = {}
- sets.precast.FC = {}
- sets.precast.FC.Standard = {ammo="Impatiens",
- head="Amalric Coif +1",neck="Baetyl Pendant",ear1="Loquac. Earring",ear2="Etiolation earring",
- body="Luhlaza jubbah +1",hands="Leyline Gloves",ring1="Prolix ring",ring2="Weatherspoon ring",
- back="Swith Cape",waist="Witful Belt",legs="Enif Cosciales",feet="Jhakri Pigaches +1"}
- sets.precast.FC.Blue = {ammo="Impatiens",head="Carmine mask",neck="Baetyl Pendant",ear1="Loquac. Earring",
- body="Hashishin mintan +1",hands="Leyline Gloves",ring1="prolix ring",ring2="Weatherspoon ring",
- back="Swith Cape",waist="Witful Belt",legs="Enif Cosciales",feet="Jhakri Pigaches +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 == 'Chain Affinity' then
- equip(sets.JA.ChainAffinity)
- end
- if spell.english == 'Burst Affinity' then
- equip(sets.JA.BurstAffinity)
- end
- if spell.english == 'Efflux' then
- equip(sets.JA.Efflux)
- end
- if spell.english == 'Diffusion' then
- equip(sets.JA.Diffusion)
- 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 sub_job_change()
- send_command('wait 7;input /lockstyleset 4')
- 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' or spell.english == 'Sinker Drill' or 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 == 'Thrashing Assault' or
- spell.english == 'Quad. Continuum' or spell.english == 'Delta Thrust' or spell.english == 'Cannonball' or spell.english == 'Glutinous Dart' or spell.english == 'Whirl of Rage' or
- spell.english == 'Saurian Slide' or spell.english == 'Benthic Typhoon' or spell.english == 'Final Sting' or spell.english == 'Spiral Spin' then
- equip(sets.BlueMagicP[sets.BlueMagicP.index[BlueMagicP_ind]])
- 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 == '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 == 'Subduction' or
- spell.english == 'Anvil Lightning' or spell.english == 'Entomb' or spell.english == 'Silent Storm' or spell.english == 'Searing Tempest' or spell.english == 'Spectral Floe' or
- spell.english == 'Scouring Spate' or spell.english == 'Charged Whisker' or spell.english == 'Crashing Thunder' or spell.english == 'Polar Roar' then
- equip(sets.BlueMagic.INT)
- if buffactive['Burst Affinity'] then
- equip(sets.JA.BurstAffinity)
- end
- end
- if spell.english == 'Tenebral Crush' or spell.english == 'Palling Salvo' or spell.english == 'Evryone. Grudge' or spell.english == 'Dark Orb' then
- equip(sets.BlueMagic.DarkINT)
- if buffactive['Burst Affinity'] then
- equip(sets.JA.BurstAffinity)
- end
- end
- if spell.english == 'Blinding Fulgor' or spell.english == 'Retinal Glare' or spell.english == 'Rail Cannon' or spell.english == 'Uproot' or spell.english == 'Magic Hammer' then
- equip(sets.BlueMagic.LightINT)
- 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') 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' or spell.english == 'Barbed Crescent' or spell.english == 'Tourbillion' or spell.english == 'Sub-zero smash' or
- spell.english == 'Sweeping Gouge' or spell.english == 'Paralyzing Triad' then
- equip(sets.BlueMagic.Stun)
- end
- if spell.english == 'Heavy Strike' then
- equip(sets.BlueMagic.HeavyStrike)
- end
- if spell.english == 'Frightful Roar' or spell.english == 'Infrasonics' or spell.english == 'Cimicine Discharge' 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 == 'Dream Flower' or spell.english == 'Sheep Song' or
- spell.english == 'Yawn' 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' then
- equip(sets.BlueMagic.Skill)
- 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 BlueMagicP set' then
- BlueMagicP_ind = BlueMagicP_ind +1
- if BlueMagicP_ind > #sets.BlueMagicP.index then BlueMagicP_ind = 1 end
- send_command('@input /echo <----- Physical Blue Magic Set changed to '..sets.BlueMagicP.index[BlueMagicP_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
- -- Select default macro book on initial load or subjob change.
- function select_default_macro_book()
- set_macro_page(2, 2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement