Use/Evaluate This Lua

Language: JP EN DE FR
2010-09-08
New Items
329 users online
Forum » FFXI » Jobs » Dark Knight » Use/Evaluate This Lua
Use/Evaluate This Lua
Offline
Posts: 237
By Galkapryme 2020-08-11 12:19:03
Link | Quote | Reply
 
There are obviously some items I do not yet have that I need to get, including Emicho Body and Hands +1 for DW and DA. I have Valorous gear, but Oseem is being stingy on the augments. The below is based off of Sel's lua, and I have added/tweaked a lot for easy understanding by people looking to switch to DRK (i.e., I have multiple sets that give small comments of some gear that would be questionable). Would appreciate input as to where I might be better with some gearthan others.
Code
function user_job_setup()
	-- Options: Override default values
    state.OffenseMode:options('Normal','STP','DA','TA','QA','FiveHit','ACC')
    state.WeaponskillMode:options('Match','Normal','SomeAcc','Acc','FullAcc','Fodder')
    state.HybridMode:options('Normal')
    state.PhysicalDefenseMode:options('PDT', 'PDTReraise')
    state.MagicalDefenseMode:options('MDT', 'MDTReraise')
	state.ResistDefenseMode:options('MEVA')
	state.IdleMode:options('Normal', 'PDT','Refresh','Reraise')
	state.Weapons:options('Apocalypse','FatherTime','Nanadaka','Ragnarok','Lycurgos','Naegling1','Naegling2','Sangarius')
    state.ExtraMeleeMode = M{['description']='Extra Melee Mode','None'}
	state.Passive = M{['description'] = 'Passive Mode','None','MP','Twilight'}
	state.DrainSwapWeaponMode = M{'Always','Never','300','1000'}

	-- Additional local binds
	send_command('bind ^` input /ja "Hasso" <me>')
	send_command('bind !` input /ja "Seigan" <me>')
	send_command('bind @` gs c cycle SkillchainMode')
	
	select_default_macro_book()
end


-- LEGEND
   -- FC = Fast Cast
   -- DA = Double Attack
   -- TA = Triple Attack
   -- QA = Quad. Attack
   -- PDT = Physical Damage Taken
   -- MDT = Magic Damage Taken
   -- MEVA = Magic Evasion
   -- DEF = Defense
   -- WSD = Weaponskill Damage
   -- SWSD = STR + WSD
   -- VWSD = VIT + WSD
   -- IWSD = INT + WSD

-- Define sets and vars used by this job file.
function init_gear_sets()
	--------------------------------------
    -- Start defining the sets
    --------------------------------------
    -- Augmented gear
    Niht = {name="Niht Mantle", augments={'Attack+7','Dark magic skill +10','"Drain" and "Aspir" potency +23'}}

    Ankou = {}
    Ankou.INT  = { name="Ankou's Mantle", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','Mag. Acc.+10','"Fast Cast"+10','Spell interruption rate down-10%',}}
    Ankou.STP = { name="Ankou's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Store TP"+10','Damage taken-5%',}}
    Ankou.DA  = { name="Ankou's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','"Dbl.Atk."+10','Phys. dmg. taken -10%'}}
    Ankou.SWSD = { name="Ankou's Mantle", augments={'STR+20','Accuracy+20 Attack+20','STR+10','Weapon skill damage +10%','Damage taken-5%',}}
    Ankou.DEF = { name="Ankou's Mantle", augments={'VIT+20','Eva.+20 /Mag. Eva.+20','Mag. Evasion+10','Haste+10',}}
	Ankou.VWSD = { name="Ankou's Mantle", augments={'VIT+20','Accuracy+20 Attack+20','VIT+10','Weapon skill damage +10%'}}
	Ankou.IWSD = { name="Ankou's Mantle", augments={'INT+20','Mag. Acc+20 /Mag. Dmg.+20','Magic Damage +10','Weapon skill damage +10%',}}

	Odyssean = {}
	Odyssean.Head = { name="Odyssean Helm", augments={'"Mag.Atk.Bns."+25','Weapon skill damage +2%','Mag. Acc.+3',}}
    Odyssean.Body = { name="Odyss. Chestplate", augments={'"Mag.Atk.Bns."+24','"Fast Cast"+4','STR+1','Accuracy+13',}}
    Odyssean.Hands = { name="Odyssean Gauntlets", augments={'"Dbl.Atk."+2','INT+13','Accuracy+12 Attack+12','Mag. Acc.+17 "Mag.Atk.Bns."+17',}}
    Odyssean.Legs = { name="Odyssean Cuisses", augments={'Mag. Acc.+11 "Mag.Atk.Bns."+11','"Dbl.Atk."+3','Mag. Acc.+3','"Mag.Atk.Bns."+15',}}
    Odyssean.feet = { name="Odyssean Greaves", augments={'Pet: Attack+7 Pet: Rng.Atk.+7','STR+10','Weapon skill damage +5%','Accuracy+17 Attack+17',}}

    sets.TreasureHunter = {waist="Chaac Belt" }
     
    sets.Organizer = {}

    sets.precast.JA['Diabolic Eye'] = {hands="Fallen's Finger Gauntlets +3"}
    sets.precast.JA['Nether Void']  = {legs="Heathen's Flanchard +1"}
    sets.precast.JA['Dark Seal']    = {head="Fallen's burgeonet +3"}
    sets.precast.JA['Souleater']    = {head="Ignominy burgeonet +3"}
    sets.precast.JA['Weapon Bash']   = {hands="Ignominy Gauntlets +2",left_ring="Slayer's Ring"} --Skillchain Property
    sets.precast.JA['Blood Weapon'] = {body="Fallen's Cuirass +3"}
    sets.precast.JA['Last Resort']  = {feet="Fallen's Sollerets +3"}
                   
	-- Waltz set (chr and vit)
	sets.precast.Waltz = {}
                   
	-- Don't need any special gear for Healing Waltz.
	sets.precast.Waltz['Healing Waltz'] = {}
           
	sets.precast.Step = {}
	
	sets.precast.Flourish1 = {}
		   
	-- Fast cast sets for spells
	-- 67
	sets.precast.FC = {
	ammo="Impatiens",
	head="Carmine Mask +1", -- 14
	neck="Voltsurge Torque", -- 4
	ear1="Enchntr. Earring +1", -- 2
	ear2="Malignance Earring", -- 4
	body=Odyssean.Body, -- 9
	hands="Leyline Gloves", -- 8
	ring1="Lebeche Ring",
	ring2="Kishar Ring", -- 4
	back=Ankou.INT, -- 10
	waist="Tempus Fugit +1",
	legs="Arjuna Breeches", -- 4
	feet="Carmine Greaves +1", -- 8
	}

	sets.precast.FC.Impact = set_combine(sets.precast.FC, {head=empty,body="Twilight Cloak"})
		
	-- Midcast Sets
	sets.midcast.FastRecast = sets.precast.FC
                   
	-- Specific spells
 
	sets.midcast['Dark Magic'] = {
	ammo="Ghastly Tathlum +1", -- R15
	head="Ig. Burgonet +3",
	neck="Erra Pendant",
	ear1="Hermetic Earring",
	ear2="Malignance Earring",
	body="Carmine Scale Mail +1",
	hands="Fall. Fin. Gaunt. +3",
	ring1="Metamor. Ring +1", -- R15
	ring2="Stikini Ring +1",
	back=Ankou.INT,
	waist="Skrymir Cord +1",
	legs="Fall. Flanchard +3",
	feet="Ratri Sollerets +1",
	}
           
	sets.midcast['Enfeebling Magic'] = {
	ammo="Ghastly Tathlum +1", -- R15
	head="Carmine Mask +1",
	neck="Erra Pendant",
	ear1="Hermetic Earring",
	ear2="Malignance Earring",
	body="Ignominy Cuirass +3",
	hands="Ratri gadlings +1",
	ring1="Kishar Ring",
	ring2="Metamor. Ring +1", -- R15
	back=Ankou.INT,
	waist="Skrymir Cord +1",
	legs="Fallen's Flanchard +3",
	feet="Ig. Sollerets +2",
	}
		
	sets.midcast['Elemental Magic'] = {
        ammo="Pemphredo Tathlum", 
        head="Carmine Mask +1",
        neck="Eddy Necklace", -- macc 5, 11 matk
        ear1="Friomisi Earring", -- 10 matk
        right_ear="Malignance Earring", -- matk 8, m.acc 10
        body={ name="Fall. Cuirass +3", augments={'Enhances "Blood Weapon" effect',}}, -- macc 40, matk 60
        hands={ name="Fall. Fin. Gaunt. +3", augments={'Enhances "Diabolic Eye" effect',}}, -- macc 38, matk 62
        ring1="Shiva Ring +1", -- mab 3/INT 9
        ring2="Shiva Ring +1", -- mab 3/INT 9
        waist="Orpheus's Sash",
        legs=Odyssean.Legs,
        back=Ankou.INT, -- macc 30, mdmg 20
        feet="Heathen's Sollerets +1", -- macc/matk 20, Occult Acumen 30
		}
		   
	sets.midcast['Dread Spikes'] = set_combine(sets.midcast['Dark Magic'], {body="Heath. Cuirass +1",})
	
		
	sets.midcast.Absorb = set_combine(sets.midcast['Dark Magic'], {ring1="Kishar Ring"})
	
	sets.midcast['Absorb-TP'] = set_combine(sets.midcast.Absorb, {hands="Heathen's Gauntlets +1",})
	
	sets.midcast.Endark = sets.midcast['Dark Magic'] 
	
	sets.midcast['Dark Magic'].Acc = set_combine(sets.midcast['Dark Magic'], {
        head="Ratri Sallet +1", -- 45 macc
        hands="Ratri gadlings +1" -- 44 macc
        })
     
	-- M.Acc./Dark Magic Skill Focus
	sets.midcast.Stun = {
	ammo="Ghastly Tathlum +1", -- R15
	head="Carmine Mask +1",
	neck="Erra Pendant",
	ear1="Hermetic Earring",
	ear2="Malignance Earring",
	body="Flamma Korazin +2",
	hands="Flam. Manopolas +2",
	ring1="Metamor. Ring +1", -- R15
	ring2="Stikini Ring +1",
	back=Ankou.INT,
	waist="Skrymir Cord +1",
	legs="Flamma Dirs +2",
	feet="Flam. Gambieras +2",
	}
                   
	sets.midcast.Drain = set_combine(sets.midcast['Dark Magic'], {
	head="Pixie Hairpin +1",
	hands={ name="Fall. Fin. Gaunt. +3", augments={'Enhances "Diabolic Eye" effect',}}, 
	ring1="Evanescence Ring",
	ring2="Metamor. Ring +1", -- R15
	back="Niht Mantle", -- Drain/Aspir +23 Augment
	waist="Austerity Belt +1"})
	
	sets.DrainWeapon = {main="Apocalypse",sub="Utu Grip"} -- R15
                   
	sets.midcast.Aspir = sets.midcast.Drain
	
	sets.midcast.Impact = set_combine(sets.midcast['Dark Magic'], {head=empty,body="Twilight Cloak"})
	
	sets.midcast.Cure = {}
	
	sets.Self_Healing = {neck="Phalaina Locket",hands="Buremte Gloves",ring2="Kunaji Ring",waist="Gishdubar Sash"}
	sets.Cure_Received = {neck="Phalaina Locket",hands="Buremte Gloves",ring2="Kunaji Ring",waist="Gishdubar Sash"}
	sets.Self_Refresh = {waist="Gishdubar Sash"}
						                   
	-- WEAPONSKILL SETS
    -- General sets
	-- Balanced (Acc and WSD) WSD +85
    sets.precast.WS = {
    ammo="Knobkierrie", --WSD +6
    head="Ratri Sallet +1", --WSD +8
    body="Ignominy Cuirass +3", --WSD +10
    hands="Ratri Gadlings +1", --WSD +8
    legs={ name="Fall. Flanchard +3", augments={'Enhances "Muted Soul" effect',}}, --WSD +10
    feet="Ratri Sollerets +1", --WSD +8
    neck="Fotia Gorget", --WSA/WSD +10
    waist="Fotia Belt", --WSA/WSD +10
    left_ear="Thrud Earring", --WSD +3
    right_ear="Ishvara Earring", --WSD +2
    left_ring="Regal Ring",
    right_ring="Niqmaddu Ring",
    back=Ankou.SWSD, -- WSD +10
	}
	
	------- SCYTHE WEAPONSKILLS -------
	
	-- CATASTROPHE
	-- 40% STR/40% INT
	-- +68% Catastrophe Damage
	sets.precast.WS['Catasrophe'] = {
    main="Apocalypse", -- R15
    sub="Utu Grip",
    ammo="Knobkierrie",
    head="Ratri Sallet +1",
    body="Ignominy Cuirass +3",
    hands="Rat. Gadlings +1",
    legs={ name="Fall. Flanchard +3", augments={'Enhances "Muted Soul" effect',}},
    feet="Rat. Sollerets +1",
    neck="Abyssal Beads +2",
    waist="Prosilio Belt +1",
    left_ear="Thrud Earring",
    right_ear="Lugra Earring +1", -- R15
    left_ring="Niqmaddu Ring",
    right_ring="Regal Ring",
    back=Ankou.SWSD,
}	 

    -- INSURGENCY
    -- 20% STR/INT 
    sets.precast.WS['Insurgency'] = sets.precast.WS
	   
    -- CROSS REAPER
    -- 60% STR/MND
    sets.precast.WS['Cross Reaper'] = sets.precast.WS
	
	-- SPINNING SCYTHE (AOE)
	-- 100% STR
	sets.precast.WS['Spinning Scythe'] = sets.precast.WS
    
    -- ENTROPY
    -- 86-100% INT 
    sets.precast.WS['Entropy'] = {
	ammo="Knobkierrie",
    head="Pixie Hairpin +1",
    body={ name="Fall. Cuirass +3", augments={'Enhances "Blood Weapon" effect',}},
    hands={ name="Fall. Fin. Gaunt. +3", augments={'Enhances "Diabolic Eye" effect',}},
    legs={ name="Fall. Flanchard +3", augments={'Enhances "Muted Soul" effect',}},
    feet="Ratri Sollerets +1",
    neck="Fotia Gorget",
    waist="Fotia Belt",
    left_ear="Friomisi Earring",
    right_ear="Thrud Earring",
    left_ring="Metamor. Ring +1", -- R15
    right_ring="Shiva Ring +1",
    back=Ankou.IWSD,
    }
    
	-- INFERNAL SCYTHE (MAGICAL)
    -- 70% INT/30% STR 
    sets.precast.WS['Infernal Scythe'] = {
	ammo="Knobkierrie",
    head="Pixie Hairpin +1",
    body={ name="Fall. Cuirass +3", augments={'Enhances "Blood Weapon" effect',}},
    hands={ name="Fall. Fin. Gaunt. +3", augments={'Enhances "Diabolic Eye" effect',}},
    legs={ name="Fall. Flanchard +3", augments={'Enhances "Muted Soul" effect',}},
    feet=Odyssean.Feet,
    neck="Eddy Necklace",
    waist="Orpheus's Sash",
    left_ear="Friomisi Earring",
    right_ear="Malignance Earring",
    left_ring="Archon Ring",
    right_ring="Metamor. Ring +1", -- R15
    back=Ankou.IWSD,
    }

    -- Quietus
    -- 60% STR/MND 
    sets.precast.WS['Quietus'] = sets.precast.WS['Catastrophe']
    
    -- SPIRAL HELL
    -- 50% STR/INT 
    sets.precast.WS['Spiral Hell'] = sets.precast.WS['Catastrophe']

    -- SHADOW OF DEATH (Magical)
    -- 40% STR/INT - Darkness Elemental
    sets.precast.WS['Shadow of Death'] = sets.precast.WS['Infernal Scythe']
    
    -- DARK HARVEST 
    -- 40% STR/INT - Darkness Elemental
    sets.precast.WS['Dark Harvest'] = sets.precast.WS['Shadow of Death']
    sets.precast.WS['Dark Harvest'].Mid = set_combine(sets.precast.WS['Shadow of Death'], {head="Ignominy Burgeonet +3", feet="Heathen's Sollerets +1"})
    sets.precast.WS['Dark Harvest'].Acc = set_combine(sets.precast.WS['Shadow of Death'], {head="Ignominy Burgeonet +3", feet="Heathen's Sollerets +1"})
	
	------- GREAT SWORD WEAPONSKILLS -------
	
	-- SPINNING SLASH
	-- 30% STR/INT
	sets.precast.WS['Spinning Slash'] = sets.precast.WS
	
	-- RESOLUTION
    -- 86-100% STR
    sets.precast.WS['Resolution'] = sets.precast.WS
    
    -- TORCLEAVER 
    -- VIT 80%
    sets.precast.WS['Torcleaver']= set_combine(sets.precast.WS, {back=Ankou.VWSD})
		
	-- GROUND STRIKE
	-- 50% STR/INT
	sets.precast.WS['Ground Strike'] = sets.precast.WS
	
	-- HERCULEAN SLASH (Magical)
	-- 70% VIT
	sets.precast.WS['Herculean Slash'] = {
	ammo="Aurgelmir Orb +1",
    head="Hjarrandi Helm",
    body={ name="Fall. Cuirass +3", augments={'Enhances "Blood Weapon" effect',}},
    hands={ name="Fall. Fin. Gaunt. +3", augments={'Enhances "Diabolic Eye" effect',}},
    legs={ name="Fall. Flanchard +3", augments={'Enhances "Muted Soul" effect',}},
    feet={ name="Odyssean Greaves", augments={'Pet: Attack+7 Pet: Rng.Atk.+7','STR+10','Weapon skill damage +5%','Accuracy+17 Attack+17',}},
    neck="Eddy Necklace",
    waist="Skrymir Cord +1",
    left_ear="Malignance Earring",
    right_ear="Thrud Earring",
    left_ring="Regal Ring",
    right_ring="Fenrir Ring +1",
    back=Ankou.VWSD,
}	
	
	------- SWORD WEAPONSKILLS -------

    -- SANGUINE BLADE (Magical)
    -- 50% MND/30% STR -- Darkness Elemental
    sets.precast.WS['Sanguine Blade'] = set_combine(sets.precast.WS, {
        head="Pixie Hairpin +1",
        neck="Eddy Necklace",
        ear1="Friomisi Earring",
        body="Fallen's Cuirass +3",
        hands={ name="Fall. Fin. Gaunt. +3", augments={'Enhances "Diabolic Eye" effect',}},
		left_ring="Archon Ring",
		right_ring="Rufescent Ring",
        back=Ankou.WSD,
        feet="Heathen's Sollerets +1"
    })
    sets.precast.WS['Sanguine Blade'].Mid = set_combine(sets.precast.WS['Sanguine Blade'], sets.precast.WS.Mid)
    sets.precast.WS['Sanguine Blade'].Acc = set_combine(sets.precast.WS['Sanguine Blade'], sets.precast.WS.Acc)

	-- SAVAGE BLADE
	-- 50% STR/MND - Physical
	sets.precast.WS['Savage Blade'] = {
	ammo="Knobkierrie",
    head="Ig. Burgonet +3",
    body="Ignominy Cuirass +3",
    hands={ name="Fall. Fin. Gaunt. +3", augments={'Enhances "Diabolic Eye" effect',}},
    legs={ name="Fall. Flanchard +3", augments={'Enhances "Muted Soul" effect',}},
    feet="Rat. Sollerets +1",
    neck={ name="Abyssal Beads +2", augments={'Path: A',}},
    waist="Prosilio Belt +1",
    left_ear="Lugra Earring +1", -- R15
    right_ear="Thrud Earring",
    left_ring="Niqmaddu Ring",
    right_ring="Regal Ring",
	back=Ankou.WSD,
	}
	
    -- REQUIESCAT
    -- 73% MND - Physical - breath damage
    sets.precast.WS['Requiescat'] = set_combine(sets.precast.WS, {
        head="Flamma Zucchetto +2",
        neck="Abyssal Bead Necklace +2",
        body="Ignominy Cuirass +3",
        hands={ name="Fall. Fin. Gaunt. +3", augments={'Enhances "Diabolic Eye" effect',}},
        waist="Fotia Belt",
    })
    sets.precast.WS.Requiescat.Mid = set_combine(sets.precast.WS.Requiscat, sets.precast.WS.Mid)
    sets.precast.WS.Requiescat.Acc = set_combine(sets.precast.WS.Requiscat, sets.precast.WS.Acc)

	------- GREAT AXE WEAPONSKILLS -------

	-- Upheaval
	-- 76% VIT - Physical
	sets.precast.WS['Upheaval'] = sets.precast.WS
	
	
	-- Fell Cleave
	-- 60% STR - Physical AOE
	sets.precast.WS['Fell Cleave'] = sets.precast.WS
	
	
	-- Steel Cyclone
	-- 60% STR/VIT - Physical
	sets.precast.WS['Steel Cyclone'] = sets.precast.WS
	
	-- Keen Edge
	-- 100% STR - Physical
	sets.precast.WS['Keen Edge'] = sets.precast.WS
           
     -- Sets to return to when not performing an action.
           
     -- Resting sets
     sets.resting = {}
           
	-- Swap to these on Moonshade using WS if at 3000 TP
	sets.MaxTP = {}
	sets.AccMaxTP = {ear1="Mache Earring +1",ear2="Cessance Earring"}
	sets.AccDayMaxTPWSEars = {ear1="Mache Earring +1",ear2="Telos Earring"}
	sets.DayMaxTPWSEars = {ear1="Ishvara Earring",ear2="Thrud Earring",}
	sets.AccDayWSEars = {ear1="Mache Earring +1",ear2="Zwazo Earring +1"}
	sets.DayWSEars = {ear1="Lugra Earring +1",ear2="Moonshade Earring",}
     
            -- Idle sets
           
    sets.idle = {
	ammo="Staunch Tathlum +1",
	head="Ratri Sallet +1",
	neck="Loricate Torque +1",
	ear1="Zwazo Earring +1",
	ear2="Lugra Earring +1", -- R15
	body="Hjarrandi Breast.",
	hands="Sulev. Gauntlets +2",
	ring1="Stikini Ring +1",
	ring2="Chirich Ring +1",
	back="Moonlight Mantle",
	waist="Flume Belt +1",
	legs="Carmine Cuisses +1",
	feet="Sulev. Leggings +2"}
		
    sets.idle.PDT = set_combine(sets.idle, {ring1="Moonlight Ring",ring2="Defending Ring",back="Moonlight Cape"})

	sets.idle.Weak = set_combine(sets.idle.PDT, {head="Twilight Helm",body="Twilight Mail"})
		
	sets.idle.Reraise = set_combine(sets.idle.PDT, {head="Twilight Helm",body="Twilight Mail"})
           
    -- Defense sets
	-- PDT = 64% (14% over cap, but all pieces add other benefits)
	sets.defense.PDT = {
	ammo="Staunch Tathlum +1",
    head="Hjarrandi Helm",
    body="Hjarrandi Breast.",
    hands="Sulev. Gauntlets +2",
    legs={ name="Carmine Cuisses +1", augments={'MP+80','INT+12','MND+12',}},
    feet="Sulev. Leggings +2",
    neck="Homeric Gorget",
    waist="Flume Belt +1",
    left_ear={ name="Lugra Earring +1", augments={'Path: A',}}, -- R15
    right_ear="Impreg. Earring",
    ring1="Moonlight Ring",
	ring2="Moonlight Ring",
    back=Ankou.DA,
}
	
    sets.defense.PDTReraise = set_combine(sets.defense.PDT, {head="Twilight Helm",body="Twilight Mail"})
	
	-- MDT = -50%/ MDB = 32%
	sets.defense.MDT = {ammo="Staunch Tathlum +1",
    head="Hjarrandi Helm",
    body="Hjarrandi Breast.",
    hands="Sulev. Gauntlets +2",
    legs={ name="Fall. Flanchard +3", augments={'Enhances "Muted Soul" effect',}},
    feet="Sulev. Leggings +2",
    neck="Warder's Charm +1",
    waist="Asklepian Belt",
    left_ear={ name="Lugra Earring +1", augments={'Path: A',}}, -- R15
    right_ear="Etiolation Earring",
    left_ring="Moonlight Ring",
    right_ring="Moonlight Ring",
    back="Moonlight Cape",
}
		
	sets.defense.MDTReraise = set_combine(sets.defense.MDT, {head="Twilight Helm",body="Twilight Mail"})
		
	sets.defense.MEVA = set_combine(sets.defense.MDT, {ear1="Flashward Earring"})

    sets.Kiting = {legs="Carmine Cuisses +1"}
	sets.passive.Reraise = {head="Twilight Helm",body="Twilight Mail"}
	sets.buff.Doom = set_combine(sets.buff.Doom, {})
	sets.buff.Sleep = {}
	sets.buff['Dark Seal'] = {head="Fallen's Burgeonet +3"}
     
	-- Base set (balanced catch-all set)
	-- STP 33/DA 36/TA 4/QA 4
    sets.engaged = {
    ammo="Aurgelmir Orb +1", -- STP 5/
    head="Hjarrandi Helm", -- STP 7/DA 6
    body="Hjarrandi Breast.", -- STP 10/
    hands="Sulev. Gauntlets +2", -- DA 6
    legs="Sulev. Cuisses +2", -- TA 4
    feet="Sulev. Leggings +2",
    neck="Abyssal Beads +2", -- STP 7
    waist="Ioskeha Belt +1", -- DA 9
    left_ear="Brutal Earring", -- STP 1/DA 5
    right_ear="Balder Earring +1", -- STP 3/QA 1
    left_ring="Niqmaddu Ring", -- QA 3
    right_ring="Regal Ring",
    back=Ankou.DA, -- DA 10
}
	

	-- STP Set 83~87	
	sets.engaged.STP = {
	ammo="Aurgelmir Orb +1", --5
    head="Sulevia's Mask +2", --10
    body="Hjarrandi Breast.", --10
    hands="Flam. Manopolas +2", --6
    legs="Flamma Dirs +2", --8
    feet="Flam. Gambieras +2", --6
    neck="Abyssal Beads +2",--7
    waist="Kentarch Belt +1", --1~5
    left_ear="Telos Earring", --5
    right_ear="Cessance Earring", --3
    left_ring="Chirich Ring +1", --6
    right_ring="Chirich Ring +1", --6
    back=Ankou.STP, --10
}


	-- DA 62/STP 32 (QA 3)
    sets.engaged.DA = {
	ammo="Aurgelmir Orb +1", -- STP 5
    head="Hjarrandi Helm", -- DA 6/STP 7
    body="Valorous Mail", -- DA 7/STP 3
    hands="Sulev. Gauntlets +2", -- DA 6
    legs="Ig. Flanchard +3", -- DA 10
    feet="Flam. Gambieras +2", --DA 6/STP 6
    neck="Abyssal Beads +2", -- STP 7
    waist="Ioskeha Belt +1", -- DA 9
    left_ear="Brutal Earring", -- DA 5/STP 1
    right_ear="Cessance Earring", -- DA 3/STP 3
    left_ring="Regal Ring",
    right_ring="Niqmaddu Ring",
    back=Ankou.DA, -- DA 10
}
	-- TA 13
	sets.engaged.TA = set_combine(sets.engaged.DA, {
	head="Flam. Zucchetto +2", -- 5
	legs="Sulev. Cuisses +2", -- 4
	left_ring="Hetairoi Ring", -- 2
	waist="Chiner's Belt +1"}) -- 2 (and TA Damage+)
	
	-- QA 6 (Niqmaddu Ring +3)
	sets.engaged.QA = set_combine(sets.engaged.TA,{
	right_ear="Balder Earring +1", -- 1
	waist="Windbuffet Belt +1"}) -- 2
	
	
	-- DA 46/TA 8/QA 4/STP 38/Haste 22 (32 w/AM; 47 w/LR)
	-- 5~6-hit Apoc	
	sets.engaged.FiveHit = {
	ammo="Aurgelmir Orb +1", -- STP 5
    head="Flam. Zucchetto +2", -- STP 6/TA 6
    body="Hjarrandi Breast.", -- STP 10
    hands="Sulev. Gauntlets +2", -- DA 6
    legs="Ig. Flanchard +3", -- DA 10
    feet="Flam. Gambieras +2", -- DA 6/STP 6
    neck="Abyssal Beads +2", -- STP 7
    waist="Ioskeha Belt +1", -- DA 9
    left_ear="Brutal Earring", -- DA 5/STP 1
    right_ear="Balder Earring +1", -- QA 1/STP 3
    left_ring="Hetairoi Ring", -- TA 2
    right_ring="Niqmaddu Ring", -- QA 3
    back=Ankou.DA, -- DA 10
}
	
	sets.engaged.ACC = {
	ammo="Ginsen",
    head="Ig. Burgonet +3",
    body="Ignominy Cuirass +3",
    hands="Ig. Gauntlets +2",
    legs="Sulev. Cuisses +2",
    feet="Flam. Gambieras +2",
    neck={ name="Abyssal Beads +2", augments={'Path: A',}},
    waist="Kentarch Belt +1", -- R15
    left_ear="Telos Earring",
    right_ear="Mache Earring +1",
    left_ring="Cacoethic Ring +1", -- R15
    right_ring="Chirich Ring +1",
	back="Ground. Mantle +1", -- R15
}
   	

	--Extra Special Sets
	
	sets.buff.Souleater = {}
	sets.buff.Doom = set_combine(sets.buff.Doom, {})
	sets.buff.Sleep = {head="Frenzy Sallet"}
	sets.TreasureHunter = set_combine(sets.TreasureHunter, {})
	
	-- Weapons sets
	sets.weapons.Apocalypse = {main="Apocalypse",sub="Utu Grip"} -- R15
	sets.weapons.FatherTime = {main="Father Time",sub="Utu Grip"} -- For Undead
	sets.weapons.Nanadaka = {main="Nanadaka",sub="Utu Grip"}
	sets.weapons.Ragnarok = {main="Ragnarok",sub="Utu Grip"} -- In Work
	sets.weapons.Lycurgos = {main="Lycurgos",sub="Utu Grip"}
	sets.weapons.Naegling1 = {main="Naegling",sub="Sangarius +1"}
	sets.weapons.Naegling2 = {main="Naegling",sub="Pukulatmuj +1"}
	sets.weapons.Sangarius  = {main="Sangarius +1","Pukulatmuj +1"}
	
    end
	
-- Select default macro book on initial load or subjob change.
function select_default_macro_book()
    -- Default macro set/book
    if player.sub_job == 'WAR' then
        set_macro_page(9, 8)
    elseif player.sub_job == 'SAM' then
        set_macro_page(1, 8)
    elseif player.sub_job == 'DNC' then
        set_macro_page(4, 8)
    elseif player.sub_job == 'THF' then
        set_macro_page(1, 8)
    else
        set_macro_page(9, 8)
    end
end
 Asura.Kingnobody
Bug Hunter
Offline
Server: Asura
Game: FFXI
Posts: 34187
By Asura.Kingnobody 2020-08-11 12:20:01
Link | Quote | Reply
 
2/10 Need more Cowbell.
 Shiva.Thorny
Online
Server: Shiva
Game: FFXI
user: Rairin
Posts: 1445
By Shiva.Thorny 2020-08-11 12:20:49
Link | Quote | Reply
 
1.5/10 could do with less reliance on external validation
Offline
Posts: 237
By Galkapryme 2020-08-11 12:21:52
Link | Quote | Reply
 
huh?
Offline
Posts: 237
By Galkapryme 2020-08-11 12:23:08
Link | Quote | Reply
 
Despite the title of the post, it's dual purpose:
1. Input from others
2. Benefit to others who might need a good lua.
 Asura.Kingnobody
Bug Hunter
Offline
Server: Asura
Game: FFXI
Posts: 34187
By Asura.Kingnobody 2020-08-11 12:25:23
Link | Quote | Reply
 
Oh, I thought you really meant "Rate this Lua"

My bad.
Log in to post.