Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include('organizer-lib')
- function get_sets()
- send_command('bind f9 gs c toggle MTP set')
- send_command('bind f10 gs c toggle Idle set')
- send_command('bind f11 gs c toggle Shoha set')
- send_command('bind f12 gs c toggle Fudo set')
- send_command('bind ^f11 gs c toggle Apex set')
- send_command('bind ^f12 gs c toggle Kaiten 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
- --Idle Sets--
- sets.Idle = {}
- sets.Idle.index = {'Standard', 'Town'}
- Idle_ind = 1
- sets.Idle.Standard = {ammo="Knobkierrie",
- head="Valorous mask",neck="Wiglen Gorget", ear1="Steelflash earring", ear2="Bladeborn earring",
- body="Hiza. Haramaki +1",hands="Rao Kote",ring1="Defending ring",ring2="Dark ring",
- back="Mecisto. mantle",waist="Flume belt",legs="Rao Haidate",feet="Rao Sune-Ate"}
- sets.Idle.Town = sets.Idle.Standard
- --TP Sets--
- sets.TP = {}
- sets.TP.index = {'Standard', 'AccuracyLite', 'AccuracyFull', 'DT', 'DTAccuracy'}
- --1=Standard, 2=AccuracyLite, 3=AccuracyFull, 4=DT, 5=DTAccuracy--
- TP_ind = 1
- sets.TP.Standard = {ammo="Ginsen",
- head="Flam. Zucchetto +2",neck="Ganesha's Mala", ear1="Cessance earring", ear2="Digni. earring",
- body="Kasuga Domaru +1",hands="Flam. Manoplas +1",ring1="Hetairoi ring",ring2="Petrov ring",
- back="Takaha mantle",waist="Windbuffet belt",legs="Kasuga haidate +1",feet="Ryuo Sune-ate +1"}
- sets.TP.AccuracyLite = {ammo="Knobkierrie",
- head="Yaoyotl helm",neck="Asperity necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
- body="Sakonji domaru +1",hands="Wakido kote +1",ring1="K'ayres ring",ring2="Rajas ring",
- back="Takaha mantle",waist="Dynamic belt +1",legs="Hiza. Hizayoroi +1",feet="Waki. Sune-Ate +1"}
- sets.TP.AccuracyFull = {ammo="Knobkierrie",
- head="Yaoyotl helm",neck="Iqabi necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
- body="Sakonji domaru +1",hands="Wakido kote +1",ring1="K'ayres ring",ring2="Rajas ring",
- back="Takaha mantle",waist="Dynamic belt +1",legs="Hiza. Hizayoroi +1",feet="Waki. Sune-Ate +1"}
- sets.TP.DT = {ammo="Knobkierrie",
- head="Yaoyotl helm",neck="Asperity necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
- body="Miki. breastplate",hands="Wakido kote +1",ring1="K'ayres ring",ring2="Rajas ring",
- back="Takaha mantle",waist="Cetl belt",legs="Otronif brais",feet="Waki. Sune-Ate +1"}
- sets.TP.DTAccuracy = {ammo="Knobkierrie",
- head="Yaoyotl helm",neck="Asperity necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
- body="Miki. breastplate",hands="Wakido kote +1",ring1="K'ayres ring",ring2="Rajas ring",
- back="Takaha mantle",waist="Cetl belt",legs="Hiza. Hizayoroi +1",feet="Waki. Sune-Ate +1"}
- sets.RangedTP = {}
- sets.RangedTP.index = {'Standard', 'AccuracyLite', 'AccuracyFull'}
- --1=Standard, 2=AccuracyLite, 3=AccuracyFull--
- TP_ind = 1
- sets.RangedTP.Standard = {ammo="Knobkierrie",
- head="Flam. Zucchetto +2",neck="Iqabi necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
- body="Sakonji domaru +1",hands="Umuthi gloves",ring1="K'ayres ring",ring2="Rajas ring",
- back="Takaha mantle",waist="Cetl belt",legs="Hiza. Hizayoroi +1",feet="Waki. Sune-Ate +1"}
- sets.RangedTP.AccuracyLite = {ammo="Knobkierrie",
- head="Flam. Zucchetto +2",neck="Asperity necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
- body="Sakonji domaru +1",hands="Otronif gloves",ring1="K'ayres ring",ring2="Rajas ring",
- back="Takaha mantle",waist="Dynamic belt +1",legs="Hiza. Hizayoroi +1",feet="Waki. Sune-Ate +1"}
- sets.RangedTP.AccuracyFull = {ammo="Knobkierrie",
- head="Yaoyotl helm",neck="Iqabi necklace", ear1="Steelflash earring", ear2="Bladeborn earring",
- body="Sakonji domaru +1",hands="Umuthi gloves",ring1="K'ayres ring",ring2="Rajas ring",
- back="Takaha mantle",waist="Dynamic belt +1",legs="Hiza. Hizayoroi +1",feet="Waki. Sune-Ate +1"}
- --Weaponskill Sets--
- sets.WS = {}
- sets.Shoha = {}
- sets.Shoha.index = {'Attack','Accuracy'}
- Shoha_ind = 1
- sets.Shoha.Attack = {ammo="Knobkierrie",
- head="Flam. Zucchetto +2",neck="Fotia Gorget",ear1="Ishvara earring",ear2="Moonshade earring",
- body="Hiza. Haramaki +1",hands="Flam. Manopolas +1",ring1="Shukuyu Ring",ring2="Apate Ring",
- back="Vespid Mantle",waist="Fotia Belt",legs="Hiza. Hizayoroi +1",feet="Flam. Gambieras +1"}
- sets.Shoha.Accuracy = {ammo="Knobkierrie",
- head="Yaoyotl helm",neck="Fotia Gorget",ear1="Brutal earring",ear2="Moonshade earring",
- body="Hiza. Haramaki +1",hands="Umuthi gloves",ring1="Shukuyu Ring",ring2="Apate Ring",
- back="Vespid Mantle",waist="Dynamic belt +1",legs="Hiza. Hizayoroi +1",feet="Flam. Gambieras +1"}
- sets.Fudo = {}
- sets.Fudo.index = {'Attack','Accuracy'}
- Fudo_ind = 1
- sets.Fudo.Attack = {ammo="Knobkierrie",
- head="Flam. Zucchetto +2",neck="Fotia Gorget",ear1="Ishvara earring",ear2="Moonshade earring",
- body="Hiza. Haramaki +1",hands="Flam. Manopolas +1",ring1="Apate Ring",ring2="Rajas ring",
- back="Vespid Mantle",waist="Fotia belt",legs="Hiza. Hizayoroi +1",feet="Flam. Gambieras +1"}
- sets.Fudo.Accuracy = {ammo="Knobkierrie",
- head="Yaoyotl helm",neck="Fotia Gorget",ear1="Brutal earring",ear2="Moonshade earring",
- body="Hiza. Haramaki +1",hands="Flam. Manopolas +1",ring1="Apate Ring",ring2="Rajas ring",
- back="Vespid Mantle",waist="Prosilio belt",legs="Hiza. Hizayoroi +1",feet="Flam. Gambieras +1"}
- sets.Kaiten = {}
- sets.Kaiten.index = {'Attack','Accuracy'}
- Kaiten_ind = 1
- sets.Kaiten.Attack = {ammo="Knobkierrie",
- head="Flam. Zucchetto +2",neck="Fotia Gorget",ear1="Steelflash earring", ear2="Bladeborn earring",
- body="Hiza. Haramaki +1",hands="Flam. Manopolas +1",ring1="Shukuyu Ring",ring2="Apate Ring",
- back="Vespid Mantle",waist="Light belt",legs="Hiza. Hizayoroi +1",feet="Flam. Gambieras +1"}
- sets.Kaiten.Accuracy = {ammo="Knobkierrie",
- head="Yaoyotl helm",neck="Fotia Gorget",ear1="Steelflash earring", ear2="Bladeborn earring",
- body="Hiza. Haramaki +1",hands="Flam. Manopolas +1",ring1="Shukuyu Ring",ring2="Apate Ring",
- back="Vespid Mantle",waist="Light belt",legs="Hiza. Hizayoroi +1",feet="Flam. Gambieras +1"}
- sets.Jinpu = {}
- sets.Jinpu = {ammo="Knobkierrie",
- head="Yaoyotl helm",neck="Soil gorget",ear1="Friomisi earring",ear2="Moonshade earring",
- body="Hiza. Haramaki +1",hands="Flam. Manopolas +1",ring1="Shukuyu Ring",ring2="Apate Ring",
- back="Vespid Mantle",waist="Soil belt",legs="Hiza. Hizayoroi +1",feet="Flam. Gambieras +1"}
- sets.Apex = {}
- sets.Apex.index = {'Attack','Accuracy', 'Accuracy Max'}
- Apex_ind = 1
- sets.Apex.Attack = {ammo="Knobkierrie",
- head="Sakonji kabuto +1",neck="Fotia Gorget",ear1="Matanki earring",ear2="Moonshade earring",
- body="Hiza. Haramaki +1",hands="Unkai kote +2",ring1="Stormsoul ring",ring2="Auster's ring",
- back="Vespid Mantle",waist="Light belt",legs="Hiza. Hizayoroi +1",feet="Waki. Sune-Ate +1"}
- sets.Apex.Accuracy = {ammo="Knobkierrie",
- head="Sakonji kabuto +1",neck="Fotia Gorget",ear1="Matanki earring",ear2="Moonshade earring",
- body="Hiza. Haramaki +1",hands="Buremte gloves",ring1="Hajduk ring",ring2="Longshot ring",
- back="Thall Mantle",waist="Light belt",legs="Hiza. Hizayoroi +1",feet="Waki. Sune-Ate +1"}
- sets.Apex.MaxAccuracy = {ammo="Knobkierrie",
- head="Sakonji kabuto +1",neck="Fotia Gorget",ear1="Matanki earring",ear2="Clearview earring",
- body="Aetosaur Jerkin",hands="Buremte gloves",ring1="Hajduk ring",ring2="Longshot ring",
- back="Thall Mantle",waist="Light belt",legs="Aeto. Trousers",feet="Waki. Sune-Ate +1"}
- sets.Namas = {}
- sets.Namas.index = {'Attack','Accuracy'}
- Namas_ind = 1
- sets.Namas.Attack = {ammo="Knobkierrie",
- head="Flam. Zucchetto +2",neck="Flame gorget",ear1="Brutal earring",ear2="Moonshade earring",
- body="Hiza. Haramaki +1",hands="Flam. Manopolas +1",ring1="Shukuyu Ring",ring2="Rajas ring",
- back="Vespid Mantle",waist="Light belt",legs="Wakido haidate",feet="Gor. sollerets +1"}
- sets.Namas.Accuracy = {ammo="Knobkierrie",
- head="Yaoyotl helm",neck="Flame gorget",ear1="Brutal earring",ear2="Moonshade earring",
- body="Hiza. Haramaki +1",hands="Flam. Manopolas +1",ring1="Shukuyu Ring",ring2="Rajas ring",
- back="Vespid Mantle",waist="Light belt",legs="Wakido haidate",feet="Gor. sollerets +1"}
- --Utility Sets--
- sets.Utility = {}
- sets.Utility.PDT = {head="Otronif mask",neck="Twilight torque",
- body="Miki. breastplate",hands="Otronif gloves",ring1="Dark ring",ring2="Dark ring",
- back="Mollusca mantle",waist="Flume belt",legs="Otronif brais",feet="Otronif boots"}
- sets.Utility.MDT = {head="Ogier's helm",neck="Twilight torque",
- body="Nocturnus mail",hands="Umuthi gloves",ring1="Dark ring",ring2="Dark ring",
- back="Mollusca mantle",legs="Hiza. Hizayoroi +1",feet="Waki. Sune-Ate +1"}
- --Job Ability Sets--
- sets.JA = {}
- sets.JA.Meditate = {head="Myn. kabuto +1",
- hands="Sao. kote +2"}
- sets.JA.Meikyo = {feet="Flam. Gambieras +1"}
- end
- function precast(spell)
- if spell.english == 'Meditate' then
- equip(sets.JA.Meditate)
- end
- if spell.english == 'Meikyo Shisui' then
- equip(sets.JA.Meikyo)
- end
- if spell.english == 'Tachi: Shoha' or spell.english == 'Tachi: Gekko' or spell.english == 'Tachi: Yukikaze' or spell.english == 'Tachi: Kasha' then
- equip(sets.Shoha[sets.Shoha.index[Shoha_ind]])
- end
- if spell.english == 'Tachi: Fudo' or spell.english == 'Tachi: Rana' then
- equip(sets.Fudo[sets.Fudo.index[Fudo_ind]])
- end
- if spell.english == 'Tachi: Kaiten' then
- equip(sets.Kaiten[sets.Kaiten.index[Kaiten_ind]])
- end
- if spell.english == 'Tachi: Jinpu' then
- equip(sets.Jinpu)
- end
- if spell.english == 'Apex Arrow' then
- equip(sets.Apex[sets.Apex.index[Apex_ind]])
- end
- if spell.english == 'Namas Arrow' then
- equip(sets.Namas[sets.Namas.index[Namas_ind]])
- end
- if spell.name == "Ranged" then
- equip(sets.Utility.Snapshot)
- end
- if spell.name == "Hasso" then
- equip(sets.TP[sets.TP.index[TP_ind]])
- end
- end
- function midcast(spell,act)
- if spell.name == "Ranged" then
- equip(sets.RangedTP[sets.RangedTP.index[RangedTP_ind]])
- end
- end
- function aftercast(spell,act)
- if player.status == 'Engaged' then
- equip(sets.TP[sets.TP.index[TP_ind]])
- else
- equip(sets.Idle[sets.Idle.index[Idle_ind]])
- 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 MTP 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 RTP set' then
- RangedTP_ind = RangedTP_ind +1
- if RangedTP_ind > #sets.RangedTP.index then RangedTP_ind = 1 end
- send_command('@input /echo <----- Ranged TP Set changed to '..sets.RangedTP.index[RangedTP_ind]..' ----->')
- equip(sets.RangedTP[sets.RangedTP.index[RangedTP_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 Shoha set' then
- Shoha_ind = Shoha_ind +1
- if Shoha_ind > #sets.Shoha.index then Shoha_ind = 1 end
- send_command('@input /echo <----- Tachi: Shoha Set changed to '..sets.Shoha.index[Shoha_ind]..' ----->')
- elseif command == 'toggle Fudo set' then
- Fudo_ind = Fudo_ind +1
- if Fudo_ind > #sets.Fudo.index then Fudo_ind = 1 end
- send_command('@input /echo <----- Tachi: Fudo Set changed to '..sets.Fudo.index[Fudo_ind]..' ----->')
- elseif command == 'toggle Kaiten set' then
- Kaiten_ind = Kaiten_ind +1
- if Kaiten_ind > #sets.Kaiten.index then Kaiten_ind = 1 end
- send_command('@input /echo <----- Tachi: Kaiten Set changed to '..sets.Kaiten.index[Kaiten_ind]..' ----->')
- elseif command == 'toggle Apex set' then
- Apex_ind = Apex_ind +1
- if Apex_ind > #sets.Apex.index then Apex_ind = 1 end
- send_command('@input /echo <----- Apex Arrow Set changed to '..sets.Apex.index[Apex_ind]..' ----->')
- elseif command == 'toggle Namas set' then
- Namas_ind = Namas_ind +1
- if Namas_ind > #sets.Namas.index then Namas_ind = 1 end
- send_command('@input /echo <----- Namas Arrow Set changed to '..sets.Namas.index[Namas_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
- fps = 1
- sec = 0
- sav = 0
- autoreive=0
- windower.register_event('prerender', function()
- if fps < 30 then
- fps = fps +1
- else
- fps = 1
- end
- --if fps == 1 and buffactive['silence'] then
- -- send_command('input /item "echo drops" '..player.name..'')
- --end
- if fps == 1 and buffactive['curse'] then
- send_command('input /item "holy water" '..player.name..'')
- end
- if fps == 1 then
- if autoreive == 1 then
- -- Checking Reive Mark511 and Mount252
- if buffactive[71] and buffactive[511] then
- elseif not buffactive[511] and not buffactive[71] then
- --send_command('input /mount Bomb')
- send_command('input /ja "Spectral Jig" <me>')
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement