Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_sets()
- enf_spells = S{"Sleep", "Slow","Paralyze","Sleep II", "Gravity", "Dispel"}
- naSpells = S{"Blindna","Silena","Paralyna","Cursna","Viruna","Poisona"}
- sets.precast = {}
- sets.precast['Tabula Rasa']= {legs="Argute Pants +2"}
- sets.aftercast_Idle_noSub ={
- main="Owleyes",
- sub="Genbu's Shield",
- ammo="Hedgehog Bomb",
- head="Wivre Hairpin",
- body="Gendewitha Bliaut",
- hands="Serpentes Cuffs",
- legs="Nares Trews",
- feet="Serpentes Sabots",
- neck="Fylgja Torque",
- waist="Immortal's Sash",
- left_ear="Savant's Earring",
- right_ear="Loquac. Earring",
- left_ring="Ephedra Ring",
- right_ring="Sirona's Ring",
- back="Pahtli Cape",
- }
- sets.aftercast_Idle = sets.aftercast_Idle_noSub
- sets.precast_FastCast = {
- main="Tamaxchi",
- sub="Genbu's Shield",
- ammo="Hedgehog Bomb",
- head="Nares Cap",
- body="Gendewitha Bliaut",
- hands="Gendewitha Gages",
- legs="Orvail Pants +1",
- feet="Serpentes Sabots",
- neck="Fylgja Torque",
- waist="Korin Obi",
- left_ear="Savant's Earring",
- right_ear="Loquac. Earring",
- left_ring="Ephedra Ring",
- right_ring="Sirona's Ring",
- back="Pahtli Cape",
- }
- sets.precast_Precure = sets.precast_FastCast
- sets.midcast_EnhancingMagic ={
- main="Kirin's Pole",
- sub="Fulcio Grip",
- ammo="Incantor Stone",
- head="Nahtirah Hat",
- body="Anhur Robe",
- hands="Augur's Gloves",
- legs="Clr. Pantaln. +2",
- feet="Orsn. Duckbills +1",
- neck="Colossus's Torque",
- waist="Olympus Sash",
- left_ear="Orison Earring",
- right_ear="Novia Earring",
- left_ring="Ephedra Ring",
- right_ring="Sirona's Ring",
- back="Mending Cape",
- }
- sets.Perpetuance ={
- main="Kirin's Pole",
- sub="Fulcio Grip",
- ammo="Incantor Stone",
- head="Nahtirah Hat",
- body="Anhur Robe",
- hands="Svnt. Bracers +2",
- legs="Clr. Pantaln. +2",
- feet="Orsn. Duckbills +1",
- neck="Colossus's Torque",
- waist="Olympus Sash",
- left_ear="Orison Earring",
- right_ear="Novia Earring",
- left_ring="Ephedra Ring",
- right_ring="Sirona's Ring",
- back="Mending Cape",
- }
- sets.midcast_Cure = {
- main="Tamaxchi",
- sub="Genbu's Shield",
- ammo="Hedgehog Bomb",
- head="Gende. Caubeen",
- body="Gendewitha Bliaut",
- hands="Serpentes Cuffs",
- legs="Nares Trews",
- feet="Serpentes Sabots",
- neck="Fylgja Torque",
- waist="Korin Obi",
- left_ear="Savant's Earring",
- right_ear="Loquac. Earring",
- left_ring="Ephedra Ring",
- right_ring="Sirona's Ring",
- back="Twilight Cape",
- }
- sets.midcast_nuke={
- main="Baqil Staff",
- ammo="Kalboron Stone",
- head="Buremte Hat",
- body="Hagondes Coat",
- hands="Quauhpilli Gloves",
- legs="Hagondes Pants",
- feet="Gende. Galoshes",
- neck="Saevus Pendant",
- waist="Korin Obi",
- left_ear="Friomisi Earring",
- right_ear="Hecate's Earring",
- left_ring="Ephedra Ring",
- right_ring="Sirona's Ring",
- back="Toro Cape",
- }
- end
- function precast(spell,action)
- if string.find(spell.english,'Cur') then
- equip(sets.precast_Precure)
- elseif sets.precast[spell.english] then
- equip(sets.precast[spell.english])
- elseif spell.type:find('Magic') then
- equip(sets.precast_FastCast)
- end
- end
- function midcast(spell,action)
- if string.find(spell.english,'Cur') or string.find(spell.english,'Repos') or enf_spells[spell.name] then
- equip(sets.midcast_Cure)
- elseif string.find(spell.english,'Eras') or string.find(spell.english,'Esun') or naSpells[spell.name] then
- equip(sets.midcast_Haste)
- elseif spell.skill == 'EnhancingMagic' then
- equip(sets.midcast_EnhancingMagic)
- elseif spell.skill == 'ElementalMagic' then
- equip(sets.midcast_nuke)
- end
- if job_post_midcast then
- job_post_midcast(spell, action)
- end
- end
- function job_post_midcast(spell, action)
- if spell.type:find('Magic') then
- if buffactive["Perpetuance"] then
- equip(sets.Perpetuance)
- send_command('@input /echo ------- Perpetuance >> '..spell.english..' >>> '..spell.target.name..'-------')
- end
- end
- end
- function aftercast(spell,action)
- equip(sets['aftercast_Idle'])
- end
- function status_change(new,tab)
- if new == 'Resting' then
- equip(sets['Resting'])
- else
- equip(sets['aftercast_Idle'])
- end
- end
- function pet_midcast(spell,action)
- end
- function pet_aftercast(spell,action)
- end
- function self_command(command)
- end
Advertisement
Add Comment
Please, Sign In to add comment