Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_sets()
- --Idle Sets--
- sets.Idle = {}
- sets.Idle.Standard = {main="Owleyes",sub="Genbu's shield",range="Aureole",
- head="Gende. Caubeen",neck="Twilight torque",ear1="Moonshade earring",ear2="Ethereal earring",
- body="Hagondes coat",hands="Serpentes cuffs",ring1="Tamas ring",ring2="Maquette ring",
- back="Umbra cape",waist="Cascade belt",legs="Hagondes pants",feet="Serpentes sabots"}
- sets.Idle.Sublimation = {main="Owleyes",sub="Genbu's shield",range="Aureole",
- head="Scholar's M.board",neck="Twilight torque",ear1="Moonshade earring",ear2="Savant's earring", body="Argute gown",hands="Serpentes cuffs",ring1="Tamas ring",ring2="Maquette ring",
- back="Umbra cape",waist="Cascade belt",legs="Hagondes pants",feet="Serpentes sabots"}
- sets.Idle.Sandstorm = {main="Owleyes",sub="Genbu's shield",range="Aureole",
- head="Gende. Caubeen",neck="Twilight torque",ear1="Moonshade earring",ear2="Ethereal earring",
- body="Hagondes coat",hands="Serpentes cuffs",ring1="Tamas ring",ring2="Maquette ring",
- back="Umbra cape",waist="Cascade belt",legs="Hagondes pants",feet="Desert Boots +1"}
- sets.Idle.SublimationSandstorm = {main="Owleyes",sub="Genbu's shield",range="Aureole",
- head="Scholar's M.board",neck="Twilight torque",ear1="Moonshade earring",ear2="Savant's earring",
- body="Argute gown",hands="Serpentes cuffs",ring1="Tamas ring",ring2="Maquette ring",
- back="Umbra cape",waist="Cascade belt",legs="Hagondes pants",feet="Desert Boots +1"}
- --Precast Sets--
- sets.Precast = {}
- sets.Precast.FC = {}
- sets.Precast.FC.Standard = {ammo='Incantor stone',
- ear1='Loquac. earring',
- hands='Gendewitha gages',ring1='Prolix ring',
- back='Swith cape',waist='Witful belt',legs='Orvail pants +1',feet='Argute loafers +2'}
- sets.Precast.FC.Cures = {ammo='Incantor Stone',
- ear1='Loquac. earring',
- body='Nefer kalasiris',hands='Gendewitha gages',ring1='Prolix ring',
- back='Pahtli cape',waist='Witful belt',legs='Orvail pants +1',feet='Argute loafers +2'}
- sets.Precast.JA = {}
- sets.Precast.JA.PenuryParsimony = {legs="Savant's pants +2"}
- sets.Precast.JA.ImmanencePerpetuation = {hands="Svnt. Bracers +2"}
- sets.Precast.JA.EbullienceRapture = {head="Svnt. bonnet +2"}
- --Midcast Sets--
- sets.Midcast = {}
- sets.Midcast.Cures = {main='Chatoyant Staff',sub='Verse strap +1',ammo='Clarus stone',
- head='Gende. caubeen', neck="Colossus's torque",ear1='Aredan earring',ear2='Beatific earring',
- body='Nefer kalasiris',hands='Bokwus gloves',ring1='Ephedra ring',ring2="Sirona's ring",
- back="Pahtli cape",waist='Cascade belt',legs="Scholar's pants",feet='Argute loafers +2'}
- sets.Midcast.LowNukes = {main='Eminent Staff',sub='Verse strap +1',ammo="Erlene's Notebook",
- head='Hagondes hat', neck="Saevus pendant",ear1="Hecate's earring",ear2='Friomisi earring',
- body='Hagondes coat',hands='Hagondes cuffs',ring1='Icesoul ring',ring2="Acumen ring",
- back="Bookworm's cape",waist='Cognition belt',legs="Hagondes pants",feet='Hagondes sabots'}
- sets.Midcast.HighNukes = {main='Eminent Staff',sub='Verse strap +1',ammo="Erlene's Notebook",
- head='Hagondes hat', neck="Saevus pendant",ear1="Hecate's earring",ear2='Friomisi earring',
- body='Hagondes coat',hands='Hagondes cuffs',ring1='Icesoul ring',ring2="Acumen ring",
- back="Bookworm's cape",waist='Cognition belt',legs="Hagondes pants",feet='Hagondes sabots'}
- sets.Midcast.Helix = {main='Eminent Staff',sub='Verse strap +1',ammo="Erlene's Notebook",
- head='Hagondes hat', neck="Saevus pendant",ear1="Hecate's earring",ear2='Friomisi earring',
- body='Hagondes coat',hands='Hagondes cuffs',ring1='Icesoul ring',ring2="Icesoul ring",
- back="Twilight cape",waist='Cognition belt',legs="Hagondes pants",feet='Hagondes sabots'}
- sets.Midcast.Stun = {main='Apamajas II',sub='Mephitis grip',ammo='Incantor stone',
- head='Zelus tiara',neck='Aesir torque',ear1='Psystorm earring',ear2='Lifestorm earring',
- body='Hagondes coat',hands='Gendewitha gages',ring1="Maquette ring",ring2="Balrahn's ring",
- back='Swith cape',waist='Witful belt',legs='Orvail pants +1',feet='Argute loafers +2'}
- sets.Midcast.Enhancing = {ammo="Savant's treatise",
- head="Savant's bonnet +2",neck="Colossus's torque",ear1='Loquac. earring',
- body='Argute gown',
- back='Merciful cape',waist='Cascade belt',legs="Scholar's pants"}
- sets.Midcast.Enfeebling = {main="Eminent staff",sub="Mephitis grip",
- head="Buremte hat",neck="Spider torque",ear1="Psystorm earring",ear2="Lifestorm earring",
- body="Orvail robe +1",hands="Gendewitha gages",ring1="Maquette ring",ring2="Balrahn's ring",
- back="Swith cape",waist="Cascade belt",legs="Savant's pants +2",feet="Orvail souliers +1"}
- sets.Midcast.Stoneskin = {head="Nahtirah hat",neck="Stone gorget",ear1="Earthcry earring",ear2="Loquac. earring",
- hands="Stone mufflers",ring1="Prolix ring",
- back="Swith cape",waist="Siegel sash",legs="Haven hose",feet="Chelona boots"}
- sets.Midcast.Regen = {main='Chatoyant Staff',sub='Verse strap +1',ammo='Clarus stone',
- head="Svnt. bonnet +2", neck="Colossus's torque",ear1='Aredan earring',ear2='Beatific earring',
- body='Nefer kalasiris',hands='Bokwus gloves',ring1='Ephedra ring',ring2="Sirona's ring",
- back="Pahtli cape",waist='Cascade belt',legs="Scholar's pants",feet='Argute loafers +2'}
- sets.Obi = {}
- sets.Obi.Fire = {waist='Karin Obi',back='Twilight Cape',ring1='Zodiac Ring'}
- sets.Obi.Earth = {waist='Dorin Obi',back='Twilight Cape',ring1='Zodiac Ring'}
- sets.Obi.Water = {waist='Suirin Obi',back='Twilight Cape',ring1='Zodiac Ring'}
- sets.Obi.Wind = {waist='Furin Obi',back='Twilight Cape',ring1='Zodiac Ring'}
- sets.Obi.Ice = {waist='Hyorin Obi',back='Twilight Cape',ring1='Zodiac Ring'}
- sets.Obi.Thunder = {waist='Rairin Obi',back='Twilight Cape',ring1='Zodiac Ring'}
- sets.Obi.Light = {waist='Korin Obi',back='Twilight Cape',ring1='Zodiac Ring'}
- sets.Obi.Dark = {waist='Anrin Obi',back='Twilight Cape',ring1='Zodiac Ring'}
- --Aftercast Sets--
- sets.Aftercast = {}
- end
- function precast(spell)
- if spell.action_type == 'Magic' then
- equip(sets.Precast.FC.Standard)
- if string.find(spell.english,'Cur') and spell.name ~= 'Cursna' then
- equip(sets.Precast.FC.Cure)
- end
- end
- if spell.english == 'Penury' or spell.english == 'Parsimony' then
- equip(sets.Precast.JA.PenuryParsimony)
- end
- if spell.english == 'Ebullience' or spell.english == 'Rapture' then
- equip(sets.Precast.JA.EbullienceRapture)
- end
- if spell.english == 'Immanence' or spell.english == 'Perpetuation' then
- equip(sets.Precast.JA.ImmanencePerpetuation)
- end
- end
- function midcast(spell)
- if spell.english == 'Cure' or spell.english == 'Cure II' or spell.english == 'Cure III' or spell.english == 'Cure IV' then
- equip(sets.Midcast.Cures)
- if spell.element == world.weather_element or spell_element == world.day_element then
- equip(sets.Obi[spell.element])
- end
- if buffactive.rapture then
- equip(sets.Precast.JA.EbullienceRapture)
- end
- end
- if string.find(spell.english,'helix') then
- equip(sets.Midcast.Helix)
- end
- if spell.english == 'Kaustra' then
- equip(sets.Midcast.Helix)
- if spell.element == world.weather_element or spell_element == world.day_element then
- equip(sets.Obi[spell.element])
- end
- end
- if spell.english == 'Stone' or spell.english == 'Thunder' or spell.english == 'Water' or spell.english == 'Fire' or spell.english == 'Blizzard' or spell.english == 'Aero' then
- equip(sets.Midcast.LowNukes)
- if spell.element == world.weather_element or spell_element == world.day_element then
- equip(sets.Obi[spell.element])
- end
- if buffactive.ebullience then
- equip(sets.Precast.JA.EbullienceRapture)
- end
- if buffactive.klimaform then
- equip ({feet="Savant's Loafers +2"})
- end
- end
- if spell.english == 'Stone III' or spell.english == 'Thunder III' or spell.english == 'Water III' or spell.english == 'Fire III' or spell.english == 'Blizzard III' or spell.english == 'Aero III' or spell.english == 'Stone IV' or spell.english == 'Thunder IV' or spell.english == 'Water IV' or spell.english == 'Fire IV' or spell.english == 'Blizzard IV' or spell.english == 'Aero IV' or spell.english == 'Stone V' or spell.english == 'Thunder V' or spell.english == 'Water V' or spell.english == 'Fire V' or spell.english == 'Blizzard V' or spell.english == 'Aero V'then
- equip(sets.Midcast.HighNukes)
- if spell.element == world.weather_element or spell_element == world.day_element then
- equip(sets.Obi[spell.element])
- end
- if buffactive.ebullience then
- equip(sets.Precast.JA.EbullienceRapture)
- end
- if buffactive.klimaform then
- equip ({feet="Savant's Loafers +2"})
- end
- end
- if spell.skill == 'EnhancingMagic' then
- if spell.english == 'Embrava' then
- equip(sets.Midcast.Enhancing)
- if not buffactive.perpetuance then
- add_to_chat(8,'--------- Perpetuance is down ---------')
- end
- if not buffactive.accession then
- add_to_chat(8,'--------- Accession is down ---------')
- end
- if not buffactive.penury then
- add_to_chat(8,'--------- Penury is down ---------')
- end
- end
- if buffactive.perpetuance then
- equip(sets.Midcast.Enhancing,{hands="Savant's Bracers +2"})
- else
- equip(sets.Midcast.Enhancing)
- end
- end
- if spell.english == 'Stoneskin' then
- equip(sets.Midcast.Stoneskin)
- if buffActive['Stoneskin'] then
- send_command('@wait 2.5;@input //cancel Stoneskin')
- end
- end
- if spell.english == 'Slow' or spell.english == 'Paralyze' or spell.english == 'Blind' or spell.english == 'Silence' or spell.english == 'Break' or spell.english == 'Sleep' or spell.english == 'Sleep II' or spell.english == 'Sleepga' or spell.english == 'Dispel' then
- equip(sets.Midcast.Enfeebling)
- end
- if spell.english == 'Sneak' then
- send_command('@wait 1.8;cancel 71;')
- end
- end
- function aftercast(spell)
- equip(sets.Idle.Standard)
- if buffactive['Sublimation: Activated'] then
- equip(sets.Idle.Sublimation)
- end
- if buffactive['Sandstorm'] then
- equip(sets.Idle.Sandstorm)
- if buffactive['Sublimation: Activated'] then
- equip(sets.Idle.SublimationSandstorm)
- end
- end
- if spell.english == 'Sleep' or spell.english == 'Sleepga' then
- send_command('@wait 50;input /echo ------- '..spell.english..' is wearing off in 10 seconds -------')
- elseif spell.english == 'Sleep II' or spell.english == 'Sleepga II' then
- send_command('@wait 80;input /echo ------- '..spell.english..' is wearing off in 10 seconds -------')
- elseif spell.english == 'Break' or spell.english == 'Breakga' then
- send_command('@wait 20;input /echo ------- '..spell.english..' is wearing off in 10 seconds -------')
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement