BST Lua
BST Lua
--[[
Custom commands:
-----------------------------------------------------------------------------------
--------------------------------
-- Setup functions for this job. Generally should not be modified.
-----------------------------------------------------------------------------------
--------------------------------
function job_setup()
-- Set up Reward Modes and keybind Ctrl-F8
[Link] = M{['description']='Reward Mode', 'Theta', 'Zeta', 'Eta'}
RewardFood = {name="Pet Food Theta"}
send_command('bind ^f8 gs c cycle RewardMode')
-----------------------------------------------------------------------------------
--------------------------------
-- User setup functions for this job. Recommend that these be overridden in a
sidecar file.
-----------------------------------------------------------------------------------
--------------------------------
function user_setup()
[Link]:options('Normal', 'Acc')
[Link]:options('Normal', 'Acc')
[Link]:options('Normal', 'Refresh', 'Reraise')
[Link]:options('PDT', 'Hybrid', 'Killer')
update_combat_form()
end
[Link]['Reward'] = {ammo=RewardFood,
head="Aetosaur Helm",
body="Mst. Jackcoat +2",
hands="Ogre Gloves",
back="Ferine Mantle",
waist="Crudelis Belt",
legs="Aeto. Trousers +1",
feet="Mst. Gaiters +2"
}
[Link]['Charm'] = {
head="Monster Helm",
body="Mst. Jackcoat +2",
hands="Beast Gloves",
waist="Monster Belt",
legs="Beast Trousers",
feet="Mst. Gaiters +2"
}
-- CURING WALTZ
[Link] = {
head="Aetosaur Helm",
body="Aetosaur Jerkin",
back="Ferine Mantle",
waist="Monster Belt",
legs="Aeto. Trousers +1",
feet="Aeto. Ledelsens"
}
-- HEALING WALTZ
[Link]['Healing Waltz'] = {}
-- STEPS
[Link] = {
head="Aetosaur Helm",
neck="Peacock Charm",
body="Aetosaur Jerkin",
hands="Brego Gloves",
ring1="Rajas Ring",
ring2="Ulthalam's Ring",
back="Ferine Mantle",
waist="Monster Belt",
legs="Aeto. Trousers +1",
feet="Aeto. Ledelsens"
}
-- VIOLENT FLOURISH
-- [Link].Flourish1 = {}
-- [Link].Flourish1['Violent Flourish'] = {body="Ankusa Jackcoat
+1",legs="Iuitl Tights +1",feet="Iuitl Gaiters +1"}
-- WEAPONSKILLS
-- Default weaponskill set.
[Link] = {
head="Aetosaur Helm",
neck="Peacock Charm",
ear1="Bushinomimi",
ear2="Brutal Earring",
body="Aetosaur Jerkin",
hands="Heafoc Mitts",
ring1="Rajas Ring",
ring2="Pyrosoul Ring",
back="Atheling Mantle",
waist="Beir Belt +1",
legs="Aeto. Trousers +1",
feet="Aeto. Ledelsens"
}
-- [Link]['Ruinator'].WSAcc = set_combine([Link],
{neck="Breeze Gorget",waist="Breeze Belt"})
-- [Link]['Onslaught'].WSAcc = set_combine([Link],
{hands="Buremte Gloves",ring1="Rajas Ring"})
--------------------------------------
-- Midcast sets
--------------------------------------
-- [Link] = [Link]
-- [Link] = set_combine([Link],
{hands="Scorpion Mittens"})
--------------------------------------
-- Idle/resting/defense/etc sets
--------------------------------------
-- RESTING
-- [Link] = {ammo="Demonry Core",
-- head="Twilight Helm",neck="Wiglen Gorget",ear1="Domesticator's
Earring",ear2="Sabong Earring",
-- body="Twilight Mail",hands="Totemic Gloves +1",ring1="Paguroidea
Ring",ring2="Sheltered Ring",
-- back="Pastoralist's Mantle",waist="Muscle Belt +1",legs="Ferine Quijotes
+2",feet="Skadi's Jambeaux +1"}
-- IDLE SETS
[Link] = {
head="Aetosaur Helm",
neck="Peacock Charm",
ear1="Ethereal Earring",
ear2="Brutal Earring",
body="Aetosaur Jerkin",
hands="Brego Gloves",
ring1="Ulthalam's Ring",
ring2="Rajas Ring",
back="Atheling Mantle",
waist="Twilight Belt",
legs="Aeto. Trousers +1",
feet="Aeto. Ledelsens"
}
-- [Link] = [Link]
-- [Link] = {
-- head="Anwig Salade",neck="Ferine Necklace",ear1="Domesticator's
Earring",ear2="Sabong Earring",
-- body="Ankusa Jackcoat +1",hands="Totemic Gloves +1",ring1="Angel's
Ring",ring2="Angel's Ring",
-- waist="Hurch'lan Sash",legs="Ankusa Trousers +1",feet="Armada Sollerets",
-- back="Ferine Mantle"
-- }
-- DEFENSE SETS
[Link] = set_combine([Link], {
neck="Twilight Torque",
ear1="Dodge Earring",
hands="Seiryu's Kote",
ring2="Patronus Ring",
ring1="Jelly Ring",
back="Metallon Mantle"
}
)
[Link] = set_combine([Link], {
ring1="Rajas Ring",
})
--------------------------------------
-- Engaged sets
--------------------------------------
[Link] = {
head="Aetosaur Helm",
neck="Peacock Charm",
ear1="Ethereal Earring",
ear2="Brutal Earring",
body="Aetosaur Jerkin",
hands="Brego Gloves",
ring1="Ulthalam's Ring",
ring2="Rajas Ring",
back="Atheling Mantle",
waist="Twilight Belt",
legs="Aeto. Trousers +1",
feet="Aeto. Ledelsens"
}
--------------------------------------
-- Custom buff sets
--------------------------------------
--------------------------------------
-- Sets included for Organizer
--------------------------------------
[Link] = {
main="Eminent Axe", sub="Astolfo",ammo="lucky broth",ring1="Warp Ring"
}
[Link] = {
ammo="Cl. Wheat Broth"
}
[Link] = {
ammo="Pet food theta"
}
end
-----------------------------------------------------------------------------------
--------------------------------
-- Job-specific hooks for standard casting events.
-----------------------------------------------------------------------------------
--------------------------------
-----------------------------------------------------------------------------------
--------------------------------
-- Job-specific hooks for non-casting events.
-----------------------------------------------------------------------------------
--------------------------------
end
-----------------------------------------------------------------------------------
--------------------------------
-- User code that supplements standard library decisions.
-----------------------------------------------------------------------------------
--------------------------------
if [Link].has_value then
msg = msg .. ' (' .. [Link] .. ')'
end
if [Link] then
msg = msg .. ', Kiting'
end
add_to_chat(122, msg)
[Link] = true
end
-----------------------------------------------------------------------------------
--------------------------------
-- Utility functions specific to this job.
-----------------------------------------------------------------------------------
--------------------------------
function update_combat_form()
if buffactive['Killer Instinct'] then
if (player.sub_job == 'NIN' or player.sub_job == 'DNC') and
[Link]:endswith('Axe') then
[Link]:set('KillerDW')
else
[Link]:set('Killer')
end
elseif (player.sub_job == 'NIN' or player.sub_job == 'DNC') and
[Link]:endswith('Axe') then
[Link]:set('DW')
else
[Link]:reset()
end
end