Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_sets()
- TPback = { name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','AGI+10','"Store TP"+10',}}
- DEXback = { name="Belenus's Cape", augments={'DEX+20','Rng.Acc.+20 Rng.Atk.+20','DEX+10','Crit.hit rate+10',}}
- AGIback = { name="Belenus's Cape", augments={'AGI+20','Rng.Acc.+20 Rng.Atk.+20','AGI+10','Weapon skill damage +10%',}}
- SNAPback = { name="Belenus's Cape", augments={'"Snapshot"+10',}}
- -------------------------------------------
- -- aftercast for returning to TP and Idle sets
- -- the 'self command' area will change the set defined as aftercast.TP
- -------------------------------------------
- sets.aftercast = {}
- sets.engaged = {}
- sets.precast = {}
- sets.midcast = {}
- sets.midcast.Ranged = {}
- sets.aftercast.Idle = {
- head="Orion Beret +3",
- neck="Wiglen Gorget",
- lear="Infused Earring",
- rear="Ethereal Earring",
- body="Mummu Jacket +1",
- hands="Garden Bangles",
- lring="Sheltered Ring",
- rring="Shneddick Ring",
- back="Shadow Mantle",
- waist="Kwahu Kachina Belt",
- legs="Taeon Tights",
- feet="Fajin Boots"}
- -------------------------------------------
- -- The outermost table has to be named "sets", but
- -- otherwise there are no restrictions.
- -------------------------------------------
- sets.engaged.TPnormal = {
- head="Meghanada Visor +1",
- neck="Asperity Necklace",
- lear="Bladeborn Earring",
- rear="Steelflash Earring",
- body="Thaumas Coat",
- hands="Meg. Gloves +2",
- lring="Hetairoi Ring",
- rring="Epona's Ring",
- back="Letalis Mantle",
- waist="Goading Belt",
- legs="Taeon Tights",
- feet="Taeon Boots"} --8+4+4+5+6+4=31 haste
- sets.engaged.TPacc = set_combine(sets.engaged.TPnormal, {
- neck="Erudit. Necklace",
- body="Meg. Cuirie +2",
- lring="Patricius Ring",
- rring="Mars's Ring",
- waist="Sailfi Belt +1"}) --8+2+3+8+6+4=31 haste
- sets.aftercast.TP = sets.engaged.TPnormal
- -------------------------------------------
- -- Ranged sets:
- -- Precast is Snapshot (SS) / Rapid Shot (RS)
- -- Snapshot reduces aiming delay by %, Rapid Shot reduces aiming delay by chance procs
- -- Snapshot goal 70 without Flurry (merits 5/5 = 10)
- -- Flurry build allows for more RS to be input because 70 SS achieved easier
- -- Midcast is the TP builds, showing a normal and acc build
- -------------------------------------------
- sets.precast.Ranged = {
- head="Amini Gapette +1", --7/0
- lear="Enervating Earring", --just in case instant-shot
- rear="Telos Earring", --just in case instant-shot
- body="Amini Caban +1",
- hands="Carmine Fin. Ga. +1", --8/11
- back=SNAPback, --10/0
- waist="Impulse Belt", --3/0
- legs="Adhemar Kecks", --9/10
- feet="Meg. Jam. +2"} --10/0
- --snapshot: 10 merits+7+8+10+3+9+10=57
- sets.precast.Ranged.Flurry = {
- head="Orion Beret +3", --0/18
- lear="Enervating Earring", --just in case instant-shot
- rear="Telos Earring", --just in case instant-shot
- body="Amini Caban +1",
- hands="Carmine Fin. Ga. +1", --8/11
- back=SNAPback, --10/0
- waist="Yemaya Belt", --0/5
- legs="Adhemar Kecks", --9/10
- feet="Arcadian Socks +1"} --0/6
- --snapshot: 30 flurry II + 10 merits+8+10+9=67
- sets.midcast.Ranged.TPnormal = {
- head="Orion Beret +3", --0
- neck="Ocachi Gorget", --5
- lear="Enervating Earring", --4
- rear="Telos Earring", --5
- body="Mummu Jacket +1", --5
- hands="Amini Glove. +1", --9
- lring="Paqichikaji Ring", --0
- rring="Bellona's Ring", --0
- back=TPback, --10
- waist="Yemaya Belt", --4
- legs="Amini Brague +1", --10
- feet="Meg. Jam. +2"} --0
- -- STP totals: 5+4+5+5+9+10+4+10=52 STP, w/o weapon factoring
- -- STP totals: 62 for Fomal & Fail
- --1384 racc yoichi +knife/shield
- --1284 racc fomal/fail +knife/shield
- --normal 27.3tp w/fomal racc 22.8 w/fomal
- --normal 19.9tp ws racc 19.0 ws
- --normal 23.2tp w/yoichi racc 19.1 w/yoichi
- --normal 16.5tp ws racc 15.7 ws
- --normal 25.5tp w/fail racc 21.3 w/fail
- --normal 18.6tp ws racc 17.5 ws
- --i need 30 more stp for yoichi bow... can swap out neck for iskur when I get it
- --That would be +3 stp and +30 racc. swap out rings for +10stp and -22racc
- --Net so far +13 stp +8 racc
- --with yoichi, not possible to get 30stp, but the above changes would allow Fail to 4hit
- sets.midcast.Ranged.TPacc = set_combine(sets.midcast.Ranged.TPnormal, {
- neck="Erudit. Necklace", --6
- body="Meg. Cuirie +2", --0
- hands="Meg. Gloves +2", --0
- waist="Kwahu Kachina Belt", --0
- legs="Meg. Chausses +2"}) --0
- -- STP totals: 52-5+6-5-9-4-10=25
- sets.aftercast.Ranged = sets.midcast.Ranged.TPnormal
- -------------------------------------------
- -- STR WS : Refulgent Arrow
- -- So it's easy to determine if new obtained gear can replace anything, listed str stats per piece
- -------------------------------------------
- sets.precast.WSStr = {
- head="Orion Beret +3", --33
- neck="Fotia Gorget",
- lear="Moonshade Earring",
- rear="Ishvara Earring",
- body="Meg. Cuirie +2", --34
- hands="Meg. Gloves +2", --23
- lring="Apate Ring", --6
- rring="Rajas Ring", --5
- back=AGIback,
- waist="Fotia Belt",
- legs="Meg. Chausses +2", --40
- feet="Meg. Jam. +2"} --23
- -- STP totals: 52-5-4-5-5-9+3+5-10-4-10=8
- sets.precast.WSStrAcc = set_combine(sets.precast.WSStr, {
- rring="Paqichikaji Ring"})
- -- STP totals: 8-5=3
- -------------------------------------------
- -- STR/AGI WS Mix : Flaming Arrow, Piercing Arrow, Dulling Arrow, Sidewinder, Blast Arrow, Arching Arrow, Empyreal Arrow, Namas Arrow
- -- Apex Arrow ws also included even though it's purely AGI, the main modifiers for the above WS's are AGI anyways
- -- So it's easy to determine if new obtained gear can replace anything, listed str/agi stats per piece
- -------------------------------------------
- sets.precast.WSStrAgi = {
- head="Orion Beret +3", --33/39
- neck="Fotia Gorget",
- lear="Moonshade Earring",
- rear="Ishvara Earring",
- body="Meg. Cuirie +2", --34/41
- hands="Meg. Gloves +2", --23/19
- lring="Apate Ring", --6/6
- rring="Cho'j Band", --rring="Rajas Ring", --5/0
- back=AGIback, --0/30
- waist="Fotia Belt",
- legs="Meg. Chausses +2", --40/42
- feet="Meg. Jam. +2"} --23/54
- -- STP totals: 52-5-4-5-5-9+3+5-10-4-10=8
- sets.precast.WSStrAgiAcc = set_combine(sets.precast.WSStrAgi, {
- rring="Paqichikaji Ring"})
- -------------------------------------------
- -- AGI WS Mix : All Marksmanship WS's (except Trueflight/Wildfire -magic ws- & Coronach -Relic WS-)
- -- So it's easy to determine if new obtained gear can replace anything, listed agi stats per piece
- -------------------------------------------
- sets.precast.WSAgi = {
- head="Orion Beret +3", --39
- neck="Fotia Gorget",
- lear="Moonshade Earring",
- rear="Ishvara Earring",
- body="Meg. Cuirie +2", --41
- hands="Meg. Gloves +2", --19
- lring="Apate Ring", --6
- rring="Petrov Ring", --3
- back=AGIback, --30
- waist="Fotia Belt",
- legs="Meg. Chausses +2", --42
- feet="Meg. Jam. +2"} --54
- sets.precast.WSAgiAcc = set_combine(sets.precast.WSAgi, {
- rring="Paqichikaji Ring"})
- -------------------------------------------
- -- DEX WS : Jishnu's Radiance
- -- So it's easy to determine if new obtained gear can replace anything, listed dex stats per piece
- -------------------------------------------
- sets.precast.WSDex = {
- head="Orion Beret +3", --34
- neck="Fotia Gorget",
- lear="Moonshade Earring",
- rear="Sherida Earring", --5
- body="Meg. Cuirie +2", --45
- hands="Meg. Gloves +2", --50
- lring="Begrudging Ring",
- rring="Apate Ring", --6
- back=DEXback,
- waist="Fotia Belt",
- legs="Darraigner's Brais",
- feet="Meg. Jam. +2"} --34
- sets.precast.WSDexAcc = set_combine(sets.precast.WSDex, {
- rring="Paqichikaji Ring"})
- -------------------------------------------
- -- Magic WS Mix : Trueflight & Wildfire
- -- They have an AGI Modifier so using that as a base and applying gear with MAB
- -- Applying notes for gear chosen
- -------------------------------------------
- sets.precast.WSMAB = {
- head="Orion Beret +3", --39 agi, keeping for racc
- neck="Sanctity Necklace", --10 mab/mac/racc
- lear="Friomisi Earring", --10 mab
- rear="Crematio Earring", --6 mab
- body="Samnuha Coat", --34 mab, 36 mac, 8 mbd II
- hands="Carmine Fin. Ga. +1", --42 mab
- lring="Apate Ring", --6 agi
- rring="Acumen Ring", --4 mab
- back=AGIback, --30 agi
- waist="Eschan Stone", --7 mab/mac, 15 racc/ratk
- legs="Meg. Chausses +2", --42 agi, keeping for racc
- feet="Meg. Jam. +2"} --need adhemar feet
- sets.precast.WSMABAcc = set_combine(sets.precast.WSMAB, {
- rring="Paqichikaji Ring"})
- -------------------------------------------
- -- Precast sets for fastcast spells
- -------------------------------------------
- sets.precast.Fastcast = set_combine(sets.engaged.TPnormal, {
- head="Athos's Chapeau",
- neck="Voltsurge Torque",
- lear="Loquac. Earring",
- rear="Enchntr. Earring +1",
- body="Samnuha Coat",
- hands="Leyline Gloves",
- lring="Lebeche Ring",
- rring="Prolix Ring",
- waist="Sailfi Belt +1",
- legs="Limbo Trousers"})
- sets.precast.Utsusemi = set_combine(sets.precast.Fastcast, {
- neck="Magoraga Beads"})
- -------------------------------------------
- -- Job Ability sets
- -------------------------------------------
- sets.precast["Eagle Eye Shot"] = set_combine(sets.precast.WSDex, {legs="Arc. Braccae +1"})
- sets.precast.Sharpshot = {legs="Orion Braccae +1"}
- sets.precast.Scavage = {feet="Orion Socks +1"}
- sets.precast.Camouflage = {body="Orion Jerkin +2"}
- sets.precast.Barrage = {hands="Orion Bracers +3"}
- sets.precast.Shadowbind = {hands="Orion Bracers +3"}
- sets.precast["Velocity Shot"] = {body="Amini Caban +1"}
- sets.precast["Unlimited Shot"] = {feet="Amini Bottillons +1"}
- sets.precast["Flashy Shot"] = {hands="Arc. Bracers +1"}
- sets.precast["Stealth Shot"] = {feet="Arcadian Socks +1"}
- sets.precast["Double Shot"] = {head="Amini Gapette +1"}
- sets.precast["Bounty Shot"] = {hands="Amini Glove. +1"}
- sets.precast.Waltz = {hands="Slither Gloves +1"}
- send_command('input /macro book 3')
- end
- function precast(spell,action)
- if spell.action_type == 'Ranged Attack' and buffactive['Flurry'] then
- equip(sets.precast.Ranged.Flurry)
- elseif sets.precast[spell.english] then
- equip(sets.precast[spell.english])
- elseif spell.type == 'WeaponSkill' then
- if sets.aftercast.TP == sets.engaged.TPnormal then
- if spell.english == 'Refulgent Arrow' then
- equip(sets.precast.WSStr)
- elseif spell.english == 'Flaming Arrow' or 'Piercing Arrow' or 'Dulling Arrow' or 'Blast Arrow' or 'Arching Arrow' or 'Empyreal Arrow' or 'Namas Arrow' then
- equip(sets.precast.WSStrAgi)
- elseif spell.english == 'Sidewinder' or 'Apex Arrow' then
- equip(sets.precast.WSStrAgiAcc)
- --elseif spell.skill == 'Marksmanship' and spell.name ~= 'Last Stand' then
- --or 'Trueflight' or 'Wildfire') then
- --equip(sets.precast.WSAgi)
- elseif spell.english == 'Last Stand' then
- equip(sets.precast.WSAgiAcc)
- elseif spell.english == 'Trueflight' or 'Wildfire' then
- equip(sets.precast.WSMAB)
- elseif spell.english == "Jishnu's Radiance" then
- equip(sets.precast.WSDex)
- else equip(sets.precast.WSDex) -- when mainhand is a dagger
- end
- elseif sets.aftercast.TP == sets.engaged.TPacc then
- if spell.english == 'Refulgent Arrow' then
- equip(sets.precast.WSStrAcc)
- elseif spell.english == 'Flaming Arrow' or 'Piercing Arrow' or 'Dulling Arrow' or 'Blast Arrow' or 'Arching Arrow' or 'Empyreal Arrow' or 'Namas Arrow' then
- equip(sets.precast.WSStrAgiAcc)
- elseif spell.english == 'Sidewinder' or 'Apex Arrow' then
- equip(sets.precast.WSStrAgiAcc)
- elseif spell.skill == 'Marksmanship' and spell.name ~= ('Last Stand' or 'Trueflight' or 'Wildfire') then
- equip(sets.precast.WSAgiAcc)
- elseif spell.english == 'Last Stand' then
- equip(sets.precast.WSAgiAcc)
- elseif spell.english == 'Trueflight' or 'Wildfire' then
- equip(sets.precast.WSMABAcc)
- elseif spell.english == "Jishnu's Radiance" then
- equip(sets.precast.WSDexAcc)
- else equip(sets.precast.WSDexAcc) -- when mainhand is a dagger
- end
- end
- end
- end
- function midcast(spell,action)
- if spell.name == "Ranged" then
- equip(sets.aftercast.Ranged)
- end
- if spell.type:endswith('Magic') or spell.type == 'Ninjutsu' then
- if windower.wc_match(spell.english,'Utsusemi') then
- if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)']) then -- Cancel Copy Image 1 & 2 For Utsusemi: Ichi --
- send_command('@wait 1.7;cancel Copy Image*')
- end
- elseif spell.english == 'Monomi: Ichi' then -- Cancel Sneak --
- if buffactive['Sneak'] then
- send_command('@wait 1.7;cancel sneak')
- end
- else equip(sets.precast.Fastcast)
- end
- end
- end
- function aftercast(spell)
- if player.status == 'Engaged' then
- equip(sets.aftercast.TP)
- else
- equip(sets.aftercast.Idle)
- end
- end
- function buff_change(new,old)
- if buffactive['Barrage'] then
- equip(sets.precast.Barrage)
- end
- end
- function status_change(new,old)
- if new == 'Idle' then
- equip(sets.aftercast.Idle)
- elseif new == 'Resting' then
- equip(sets.aftercast.Resting)
- elseif new == 'Engaged' then
- equip(sets.aftercast.TP)
- end
- end
- function self_command(command)
- if command == 'toggle TP set' then
- if sets.aftercast.TP == sets.engaged.TPnormal then
- sets.aftercast.TP = sets.engaged.TPacc
- sets.aftercast.Ranged = sets.midcast.Ranged.TPacc
- send_command('@input /echo ACC SET')
- elseif sets.aftercast.TP == sets.engaged.TPacc then
- sets.aftercast.TP = sets.engaged.TPnormal
- sets.aftercast.Ranged = sets.midcast.Ranged.TPnormal
- send_command('@input /echo NORMAL SET')
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement