Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_sets()
- TP_Index = 1
- CDC_Index = 2
- Idle_Index = 1
- Crush_Index = 1
- --Precast Sets
- include('organizer-lib')
- sets.extras = {ring1="Trizek Ring", ring2="Capacity Ring", back="Mecistopins Mantle",
- head="Echo Drops", body="Warp Ring", main="Claidheamh Soluis", sub="Nibiru Blade"}
- sets.precast = {}
- sets.precast.CDC = {}
- CDC_Sets = {"CDCAcc", "CDCDD"}
- sets.precast.CDC["CDCAcc"] = {ammo="Falcon Eye", head="Dampening Tam", neck="Light Gorget", ear1="Steelflash earring", ear2="Brutal Earring", body="Luhlaza Jubbah +1", hands="Adhemar Wristbands", ring1="Epona's ring", ring2="Enlivened Ring", back="Kayapa Cape", waist="Light Belt", legs="Samnuha Tights", feet="Rawhide Boots"}
- sets.precast.CDC["CDCDD"] = {ammo="Falcon Eye", head="Taeon Chapeau", neck="Light Gorget", ear1="Thunder Pearl", ear2="Brutal Earring", body="Rawhide Vest", hands="Adhemar Wristbands", ring1="Epona's ring", ring2="Rajas Ring", back="Rancorous Mantle", waist="Light Belt", legs="Samnuha Tights", feet="Thereoid Greaves"}
- sets.precast["Requiescat"] = {head="Taeon Chapeau", ammo="Falcon Eye", neck="Asperity Necklace", ear1="Brutal Earring", ear2="Lifestorm earring", body="Luhlaza Jubbah +1", hands="Taeon Gloves", ring1="Epona's ring", ring2="Leviathan ring",
- back="Bleating Mantle", waist="Windbuffet Belt", legs="Samnuha Tights",
- feet="Taeon Boots"}
- sets.precast['Sanguine Blade'] = {head="Pixie Hairpin +1", neck="Eddy Necklace", ear1="Friomisi earring", ear2="Hecate's earring", body="Samnuha Coat", hands="Leyline Gloves",ring1="Shiva Ring", ring2="Acumen ring", back="Cornflower cape", legs="Lengo Pants", ammo="Dosis Tathlum", waist="Eschan Stone"}
- sets.precast['Flash Nova'] = {head= "Helios Band", neck="Eddy Necklace", ear1="Friomisi earring", ear2="Hecate's earring", body="Samnuha Coat", hands="Leyline Gloves",ring1="Weatherspoon Ring", ring2="Acumen ring", back="Cornflower cape", legs="Lengo Pants", ammo="Dosis Tathlum", waist="Eschan Stone"}
- sets.precast.FC = {ear1="Loquacious earring", body="Luhlaza Jubbah +1", legs="Lengo Pants", hands="Leyline Gloves", feet="Chelona Boots", ring1="Weatherspoon Ring", back="Swith Cape", waist="Witful Belt"}
- sets.precast.BlueFC = {ear1="Loquacious earring", body="Mavi Mintan +2", hands="Leyline Gloves", legs="Lengo Pants", feet="Chelona Boots", ring1="Weatherspoon Ring", back="Swith Cape", waist="Witful Belt"}
- sets.precast['Stoneskin'] = {ear1="Loquacious earring", body="Luhlaza Jubbah +1", legs="Doyen Pants", hands="Leyline Gloves", feet="Chelona Boots", ring1="Weatherspoon Ring", back="Swith Cape", waist="Witful Belt"}
- sets.precast['Chain Affinity'] = {feet="Assimilator's Charuqs +1"}
- --Midcast sets
- sets.midcast = {}
- sets.midcast['Sinker Drill'] = {ammo="Falcon Eye", head="Lilitu Headpiece", neck="Ire Torque +1", ear1="Pixie Earring", ear2="Thunder Pearl", body="Assimilator's Jubbah +1", hands="Adhemar Wristbands", ring1="Ramuh ring", ring2="Rajas ring", back="Kayapa Cape", waist="Prosilio belt", legs="Samnuha Tights", feet="Taeon Boots"}
- sets.midcast['Delta Thrust'] = {ammo="Jukukik Feather", head="Whirlpool Mask", neck="Ire Torque +1", ear1="Flame earring", ear2="Thunder Pearl", body="Assimilator's Jubbah +1", hands="Buremte gloves", ring1="Ifrit ring", ring2="Rajas ring", back="Cornflower Cape", waist="Prosilio belt", legs="Samnuha Tights", feet="Assimilator's Charuqs +1"}
- sets.midcast['Heavy Strike'] = {ammo="Jukukik Feather", head="Whirlpool Mask", neck="Ire Torque +1", ear1="Flame earring", ear2="Thunder Pearl", body="Assimilator's Jubbah +1", hands="Buremte gloves", ring1="Ifrit ring", ring2="Rajas ring", back="Cornflower Cape", waist="Prosilio belt", legs="Samnuha Tights", feet="Taeon Boots"}
- sets.midcast['Whirl of Rage'] = {ammo="Jukukik Feather", head="Whirlpool Mask", neck="Ire Torque +1", ear1="Flame earring", ear2="Thunder Pearl", body="Assimilator's Jubbah +1", hands="Buremte gloves", ring1="Ifrit ring", ring2="Rajas ring", back="Cornflower Cape", waist="Prosilio belt", legs="Samnuha Tights", feet="Taeon Boots"}
- sets.midcast['Benthic Typhoon'] = {ammo="Jukukik Feather", head="Whirlpool Mask", neck="Ire Torque +1", ear1="Flame earring", ear2="Thunder Pearl", body="Assimilator's Jubbah +1", hands="Buremte gloves", ring1="Ifrit ring", ring2="Rajas ring", back="Cornflower Cape", waist="Prosilio belt", legs="Samnuha Tights", feet="Taeon Boots"}
- sets.midcast['Thrashing Assault'] = {ammo="Jukukik Feather", head="Whirlpool Mask", neck="Ire Torque +1", ear1="Flame earring", ear2="Thunder Pearl", body="Assimilator's Jubbah +1", hands="Buremte gloves", ring1="Ifrit ring", ring2="Ifrit ring", back="Cornflower Cape", waist="Prosilio belt", legs="Samnuha Tights", feet="Assimilator's Charuqs +1"}
- sets.midcast['Glutinous Dart'] = {ammo="Honed Tathlum", head="Whirlpool Mask", neck="Ire Torque +1", ear1="Flame earring", ear2="Suppanomimi", body="Assimilator's Jubbah +1", hands="Taeon Gloves", ring1="Ifrit ring", ring2="Spiral Ring", back="Cornflower Cape", waist="Prosilio belt", legs="Samnuha Tights", feet="Taeon Boots"}
- sets.midcast.HybridAcc = {head ="Dampening Tam", neck="Iqabi Necklace", ear1="Psystorm Earring", ear2="Lifestorm Earring", body="Samnuha Coat", hands="Leyline Gloves", ring1="Enlivened Ring", ring2="Weatherspoon Ring", back="Cornflower Cape", legs="Lengo Pants", feet="Taeon Boots", waist="Eschan Stone"}
- sets.midcast.MagicAcc = {head ="Dampening Tam", neck="Eddy Necklace", ear1="Psystorm Earring", ear2="Lifestorm Earring", body="Samnuha Coat", hands="Leyline Gloves", ring1="Weatherspoon Ring", ring2="Perception Ring", back="Cornflower Cape", legs="Lengo Pants",feet="Helios Boots", waist="Eschan Stone"}
- sets.midcast.Nuke = {main="Nibiru Cudgel", sub="Gabaxorea", head ="Helios Band", neck="Eddy Necklace", ear1="Friomisi earring", ear2="Hecate's earring", body="Samnuha Coat", hands="Leyline gloves", ring1="Weatherspoon Ring", ring2="Acumen Ring", back="Cornflower Cape", legs="Lengo Pants", feet="Helios Boots", waist="Eschan Stone", ammo="Dosis Tathlum"}
- sets.midcast.Stone = {main="Nibiru Cudgel", sub="Gabaxorea", head ="Helios Band", neck="Quanpur Necklace", ear1="Friomisi earring", ear2="Hecate's earring", body="Samnuha Coat", hands="Helios gloves", ring1="Weatherspoon Ring", ring2="Acumen Ring", back="Cornflower Cape", legs="Lengo Pants", feet="Helios Boots", waist="Eschan Stone", ammo="Dosis Tathlum"}
- sets.midcast['Dream Flower'] = {main="Nibiru Cudgel", sub="Gabaxorea", head ="Dampening Tam", neck="Eddy Necklace", ear1="Psystorm Earring", ear2="Lifestorm Earring", body="Samnuha Coat", hands="Leyline Gloves", ring1="Weatherspoon Ring", ring2="Perception Ring", back="Cornflower Cape", legs="Lengo Pants",feet="Helios Boots", waist="Eschan Stone"}
- --Tenebral Crush Sets
- Crush_Sets = {'CrushMAC', 'CrushMAB'}
- sets.midcast['CrushMAC'] = {head ="Helios Band", neck="Eddy Necklace", ear1="Lifestorm earring", ear2="Psystorm earring", body="Samnuha Coat", hands="Leyline gloves", ring1="Weatherspoon Ring", ring2="Perception Ring", back="Cornflower Cape", legs="Lengo Pants",feet="Helios Boots", waist="Eschan Stone", ammo="Dosis Tathlum"}
- sets.midcast['CrushMAB'] = {main="Nibiru Cudgel", sub="Gabaxorea", head ="Pixie Hairpin +1", neck="Eddy Necklace", ear1="Friomisi earring", ear2="Hecate's earring", body="Samnuha Coat", hands="Leyline gloves", ring1="Weatherspoon Ring", ring2="Acumen Ring", back="Cornflower Cape", legs="Lengo Pants", feet="Helios Boots", waist="Eschan Stone", ammo="Dosis Tathlum"}
- sets.midcast['Restoral'] = {hands="Buremte Gloves", ring1="Leviathan Ring", ring2="Leviathan Ring", waist="Gishdubar Sash", feet="Medium's Sabots", back="Tempered Cape"}
- sets.midcast['Magic Fruit'] = {hands="Buremte Gloves", ring1="Leviathan Ring", ring2="Leviathan Ring", waist="Gishdubar Sash", feet="Medium's Sabots", back="Tempered Cape"}
- sets.midcast['Stoneskin'] = {neck="Nodens Gorget"}
- --Aftercast sets
- sets.aftercast = {}
- sets.aftercast.Idle = {}
- --Idle Set
- Idle_Sets = {"std", "ref", "cleave"}
- sets.aftercast.Idle["std"] = {head="Rabid Visor", neck="Twilight torque", ear2="Ethereal earring", body="Luhlaza Jubbah +1", hands="Umuthi gloves", ring2="Dark ring", back="Repulse mantle", waist="Flume belt", legs="Hagondes Pants +1", feet="Battlecast Gaiters"}
- sets.aftercast.Idle["ref"] = {main= "Bolelabunga", head="Rabid Visor", neck="Twilight torque", ear2="Ethereal earring", body="Luhlaza Jubbah +1", hands="Umuthi gloves", ring2="Dark ring", back="Repulse mantle", waist="Flume belt", legs="Hagondes Pants +1", feet="Battlecast Gaiters"}
- sets.aftercast.Idle["cleave"] = {main="Earth Staff", head="Rabid Visor", neck="Twilight torque", ear2="Ethereal earring", body="Luhlaza Jubbah +1", hands="Umuthi gloves", ring1="Vertigo Ring", ring2="Dark ring", back="Repulse mantle", waist="Flume belt", legs="Hagondes pants +1", feet="Battlecast Gaiters"}
- -- TP Sets
- sets.aftercast.TP = {}
- TP_Sets = {'LowHasteDD', 'LowHasteAcc', 'HasteCapDD', 'HasteCapAcc', 'ACC', 'PDT', 'MIX', 'MDT'}
- --DD set
- sets.aftercast.TP['LowHasteDD'] = {ammo="Falcon Eye",
- head="Taeon Chapeau", neck="Asperity Necklace", ear1="Suppanomimi", ear2="Brutal Earring", body="Samnuha Coat", hands="Adhemar Wristbands", ring1="Epona's ring", ring2="Petrov Ring", back="Bleating Mantle", waist="Windbuffet belt", legs="Samnuha Tights", feet="Taeon Boots"}
- sets.aftercast.TP['LowHasteAcc'] = {ammo="Falcon Eye",
- head="Dampening Tam", neck="Iqabi Necklace", ear1="Suppanomimi", ear2="Brutal Earring", body="Samnuha Coat", hands="Adhemar Wristbands", ring1="Ramuh ring", ring2="Enlivened Ring", back="Kayapa Cape", waist="Eschan Stone", legs="Samnuha Tights", feet="Rawhide Boots"}
- sets.aftercast.TP['HasteCapDD'] = {ammo="Falcon Eye",
- head="Taeon Chapeau", neck="Asperity Necklace", ear1="Suppanomimi", ear2="Brutal earring", body="Rawhide Vest", hands="Adhemar Wristbands", ring1="Epona's ring", ring2="Petrov Ring", back="Bleating Mantle", waist="Windbuffet belt", legs="Samnuha Tights", feet="Taeon Boots"}
- sets.aftercast.TP['HasteCapAcc'] = {ammo="Falcon Eye",
- head="Dampening Tam", neck="Asperity Necklace", ear1="Steelflash earring", ear2="Bladeborn earring", body="Samnuha Coat", hands="Adhemar Wristbands", ring1="Epona's ring", ring2="Enlivened Ring", back="Kayapa Cape", waist="Eschan Stone", legs="Samnuha Tights", feet="Rawhide Boots"}
- --Accuracy Set
- sets.aftercast.TP['ACC'] = {ammo="Falcon Eye", head="Dampening Tam", neck="Iqabi Necklace", ear1="Suppanomimi", ear2="Brutal earring", body="Samnuha Coat", hands="Adhemar Wristbands", ring1="Enlivened ring", ring2="Ramuh Ring", back="Kayapa Cape", waist="Eschan Stone", legs="Samnuha Tights", feet="Rawhide Boots"}
- --PDT Set
- sets.aftercast.TP['PDT']= {head="Rabid Visor", neck="Twilight torque", ear1="Steelflash Earring", ear2="Ethereal earring", body="Samnuha Coat", hands="Umuthi gloves",
- left_ring={ name="Dark Ring", augments={'Spell interruption rate down 4%','Phys. dmg. taken -3%','Magic dmg. taken -3%',}},
- right_ring={ name="Dark Ring", augments={'Magic dmg. taken -4%','Phys. dmg. taken -3%',}}, back="Repulse mantle", waist="Flume belt", legs="Hagondes pants +1", feet="Battlecast Gaiters"}
- --MDT Set
- sets.aftercast.TP['MDT']= {head="Dampening Tam", neck="Twilight Torque", ear2="Ethereal earring", body="Qaaxo Harness", hands="Umuthi gloves",
- ring1={ name="Dark Ring", augments={'Spell interruption rate down 4%', 'Phys. dmg. taken -3%', 'Magic dmg. taken -3%'}},
- ring2={ name="Dark Ring", augments={'Magic dmg. taken -4%', 'Phys. dmg. taken -3%'}}, back="Engulfer Cape +1", waist="Flume belt", legs="Hagondes pants +1", feet="Battlecast Gaiters"}
- --Mixed Acc/Multi set
- sets.aftercast.TP['MIX'] = {ammo="Falcon Eye",
- head="Rabid Visor", neck="Twilight Torque", ear1="Suppanomimi", ear2="Brutal earring",
- body="Qaaxo Harness", hands="Adhemar Wristbands", ring1="Epona's ring", ring2="Enlivened Ring", back="Bleating Mantle", waist="Windbuffet belt", legs="Samnuha Tights", feet="Battlecast Gaiters"}
- function precast(spell)
- if sets.precast[spell.english] then
- equip(sets.precast[spell.english])
- end
- if spell.action_type == 'Magic' and spell.skill == "Blue Magic" then
- equip(sets.precast.BlueFC)
- elseif spell.action_type == 'Magic' then
- equip(sets.precast.FC)
- end
- if spell.english == "Chant du Cygne" then
- equip(sets.precast.CDC[CDC_Sets[CDC_Index]])
- end
- end
- function midcast(spell)
- if sets.midcast[spell.english] then
- equip(sets.midcast[spell.english])
- if buffactive['Chain Affinity'] then
- equip(sets.precast['Chain Affinity'])
- end
- end
- if spell.english == 'Frightful Roar' or spell.english == 'Absolute Terror' or spell.english == 'Magic Barrier' or spell.english == 'Chaotic Eye' or spell.english == 'Filamented Hold' then
- equip(sets.midcast.MagicAcc)
- end
- if spell.english == 'Sudden Lunge' or spell.english == 'Benthic Typhoon' or
- spell.english == 'Sweeping Gouge' or spell.english == 'Tourbillion' or
- spell.english == "Delta Thrust" or spell.english == 'Saurian Slide' then
- equip(sets.midcast.HybridAcc)
- end
- if spell.english == 'Magic Hammer' or spell.english == 'Thermal Pulse' or
- spell.english == 'Blazing Bound' or spell.english == 'Subduction' or
- spell.english == 'Tempestuous Upheaval' or spell.english == 'Retinal Glare' or
- spell.english == 'Rail Cannon' or spell.english == 'Diffusion Ray' or
- spell.english == 'Regurgitation' or spell.english == 'Spectral Floe' or spell.english == 'Scouring Spate'
- then equip(sets.midcast.Nuke)
- elseif spell.english == 'Entomb'
- then equip(sets.midcast.Stone)
- elseif spell.english == "Tenebral Crush" then
- equip(sets.midcast[Crush_Sets[Crush_Index]])
- end
- end
- function aftercast(spell)
- if player.status == 'Engaged' then
- equip(sets.aftercast.TP[TP_Sets[TP_Index]])
- else
- equip(sets.aftercast.Idle[Idle_Sets[Idle_Index]])
- end
- end
- function self_command(command)
- if command == 'lowd' then
- TP_Index = 1
- send_command('@input /echo ----- TP Set changed to '..TP_Sets[TP_Index]..' -----')
- equip(sets.aftercast.TP[TP_Sets[TP_Index]])
- elseif command == 'lowa' then
- TP_Index = 2
- send_command('@input /echo ----- TP Set changed to '..TP_Sets[TP_Index]..' -----')
- equip(sets.aftercast.TP[TP_Sets[TP_Index]])
- elseif command == 'capd' then
- TP_Index = 3
- send_command('@input /echo ----- TP Set changed to '..TP_Sets[TP_Index]..' -----')
- equip(sets.aftercast.TP[TP_Sets[TP_Index]])
- elseif command == 'capa' then
- TP_Index = 4
- send_command('@input /echo ----- TP Set changed to '..TP_Sets[TP_Index]..' -----')
- equip(sets.aftercast.TP[TP_Sets[TP_Index]])
- elseif command == 'acc' then
- TP_Index = 5
- send_command('@input /echo ----- TP Set changed to '..TP_Sets[TP_Index]..' -----')
- equip(sets.aftercast.TP[TP_Sets[TP_Index]])
- elseif command == 'pdt' then
- TP_Index = 6
- send_command('@input /echo ----- TP Set changed to '..TP_Sets[TP_Index]..' -----')
- equip(sets.aftercast.TP[TP_Sets[TP_Index]])
- elseif command == 'mix' then
- TP_Index = 7
- send_command('@input /echo ----- TP Set changed to '..TP_Sets[TP_Index]..' -----')
- equip(sets.aftercast.TP[TP_Sets[TP_Index]])
- elseif command == 'mdt' then
- TP_Index = 8
- send_command('@input /echo ----- TP Set changed to '..TP_Sets[TP_Index]..' -----')
- equip(sets.aftercast.TP[TP_Sets[TP_Index]])
- elseif command == 'cdcacc' then
- CDC_Index = 1
- send_command('@input /echo ----- CDC Set changed to '..CDC_Sets[CDC_Index]..' -----')
- equip(sets.precast.CDC[CDC_Sets[CDC_Index]])
- elseif command == 'cdcdd' then
- CDC_Index = 2
- send_command('@input /echo ----- CDC Set changed to '..CDC_Sets[CDC_Index]..' -----')
- equip(sets.precast.CDC[CDC_Sets[CDC_Index]])
- elseif command == "dis" then
- disable("back")
- elseif command == "ena" then
- enable("back")
- elseif command == "std" then
- Idle_Index = 1
- send_command('@input /echo ----- Idle Set changed to '..Idle_Sets[Idle_Index]..' -----')
- elseif command == "ref" then
- Idle_Index = 2
- send_command('@input /echo ----- Idle Set changed to '..Idle_Sets[Idle_Index]..' -----')
- elseif command == "cleave" then
- Idle_Index = 3
- send_command('@input /echo ----- Idle Set changed to '..Idle_Sets[Idle_Index]..' -----')
- equip(sets.aftercast.Idle[Idle_Sets[Idle_Index]])
- elseif command == "b" then
- Crush_Index = 2
- send_command('@input /echo ----- Tenebral Crush Set changed to '..Crush_Sets[Crush_Index]..' -----')
- elseif command == "c" then
- Crush_Index = 1
- send_command('@input /echo ----- Tenebral Crush Set changed to '..Crush_Sets[Crush_Index]..' -----')
- end
- end
- function status_change(new,old)
- if T{'Idle','Resting'}:contains(new) then
- equip(sets.aftercast.Idle)
- elseif new == 'Engaged' then
- equip(sets.aftercast.TP[TP_Sets[TP_Index]])
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement