Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 Rea set')
- function file_unload()
- send_command('unbind ^f9')
- send_command('unbind ^f10')
- send_command('unbind ^f11')
- send_command('unbind !f9')
- send_command('unbind !f10')
- send_command('unbind !f11')
- send_command('unbind f9')
- send_command('unbind f10')
- send_command('unbind f11')
- end
- --Idle Sets--
- sets.Idle = {}
- sets.Idle.index = {'Standard','DT','MDT'}
- Idle_ind = 1
- sets.Idle.Standard = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- sets.Idle.DT = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- sets.Idle.MDT = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- --TP Sets--
- sets.TP = {}
- sets.TP.index = {'Standard', 'Accuracy', 'PhysSkillUp'}
- TP_ind = 1
- sets.TP.Standard = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- sets.TP.Accuracy = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- sets.TP.PhysSkillUp = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- --Weaponskill Sets--
- sets.WS = {}
- sets.Realmrazer = {}
- sets.Realmrazer.index = {'Attack','Accuracy'}
- Realmrazer_ind = 1
- --Realmrazer: Full MND Attack multi hit STR Acc as needed | Flame Light Thunder Belts Necks --
- sets.Realmrazer.Attack = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- sets.Realmrazer.Accuracy = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- sets.WS.FlashNova = {}
- --Flash Nova: MagAtt MND STR some INT ok basically a nuking set | Aqua Belts Necks --
- sets.WS.FlashNova = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- --WHM Magic Sets--
- sets.WHM = {}
- sets.WHM.Cures = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- sets.WHM.SelfCures = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- sets.WHM.MagicAccuracy = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- -- Recast set Recast/haste --
- sets.WHM.SkillRecast = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- --Utility Sets--
- sets.Utility = {}
- -- Generic Enhancing Skill Spell interruption MND --
- sets.Utility.Enhance = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- -- Stoneskin enhance gear Haste Spell Interruption MND --
- sets.Utility.Stoneskin = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- --Job Ability Sets--
- sets.JA = {}
- sets.JA.Benediction = {}
- sets.JA.Asylum = {}
- sets.JA.DivineSeal = {}
- sets.JA.DivineCaress = {}
- sets.JA.AfflatusSolace = {}
- sets.JA.AfflatusMisery = {}
- sets.JA.Sacrosanctity = {}
- --Precast Sets - Fast Cast and reduced cast time only--
- sets.precast = {}
- sets.precast.FC = {}
- sets.precast.FC.Standard = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- sets.precast.FC.Enhance = {ammo="",
- head="",neck="", ear1="", ear2="",
- body="",hands="",ring1="",ring2="",
- back="",waist="",legs="",feet=""}
- end
- -- PRECASTING RULES --
- function precast(spell)
- if spell.action_type == 'Magic' then
- equip(sets.precast.FC.Standard)
- if spell.skill == 'Enhancing Magic' then
- equip(sets.precast.FC.Enhance)
- end
- end
- if spell.english == 'Benediction' then
- equip(sets.JA.Benediction)
- end
- if spell.english == 'Asylum' then
- equip(sets.JA.Asylum)
- end
- if spell.english == 'Divine Seal' then
- equip(sets.JA.DivineSeal)
- end
- if spell.english == 'Divine Caress' then
- equip(sets.JA.DivineCaress)
- end
- if spell.english == 'Afflatus Solace' then
- equip(sets.JA.AfflatusSolace)
- end
- if spell.english == 'Afflatus Misery' then
- equip(sets.JA.AfflatusMisery)
- end
- if spell.english == 'Sacrosanctity' then
- equip(sets.JA.Sacrosanctity)
- 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
- -- MIDCASTING RULES --
- function midcast(spell,act)
- 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.WHM.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.WHM.SelfCures)
- end
- end
- if spell.skill == 'Enhancing Magic' then
- equip(sets.Utility.Enhance)
- if spell.english == 'Stoneskin' then
- equip(sets.Utility.Stoneskin)
- end
- end
- end
- -- AFTERCAST & Misc RULES --
- 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 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement