FFXI Offline Gear Parser for Stats
Requires argparse, copy, json, lupa, re, tabulate modules
This script will parse the equipment set in the file and display the stats added by the equipment set. If two sets are provided, the --diff option can be used to generate the comparision between the two equipment set
usage: parse_equip.py [-h] [--demo] [--diff] [--gearswap] [--debug] [--table] [--output OUTPUT]
[--format {plain,simple,fancy_grid,html,pretty,mediawiki,github,tsv,htmlcss}]
[filename ...]
Parse Gearinfo Stats.
positional arguments:
filename A lua gearinfo structure file to parse
optional arguments:
-h, --help show this help message and exit
--demo Generate output using demo data
--diff Generate diff data comparing two files
--gearswap Input file is gearswap format, i.e. sets initialized in get_sets()
--debug Export the lua script to debug.log to line errors investigation
--table Generate in table form
--output OUTPUT Output file to write the results
--format {plain,simple,fancy_grid,html,pretty,mediawiki,github,tsv,htmlcss}
Specify format of table
The equipment file format is similar to the Windower GearSwap export output, multiple sets can be specified in one file, separated by a comma. See tp_gear1.lua and tp_gear2.lua for examples.
{main="Trishula",sub="Utu Grip",ammo="Aurgelmir Orb",
head="Flam. Zucchetto +2",body="Dagon Breastplate",hands="Pel. Vambraces +2",legs="Peltast's Cuissots +2",feet="Flam. Gambieras +2",
neck="Anu Torque",waist="Sailfi Belt +1",ear1="Telos Earring",ear2="Sherida Earring",ring1="Niqmaddu Ring",ring2="Flamma Ring",
back={ name="Brigantia's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','"Store TP"+10',}}}
,
{main="Trishula",sub="Utu Grip",ammo="Oshasha's Treatise",neck="Fotia Gorget",waist="Fotia Belt",
ear1="Moonshade Earring",ear2="Thrud Earring",ring1="Niqmaddu Ring",ring2="Rufescent Ring",
head="Blistering Sallet +1",body="Hjarrandi Breastplate",hands="Pel. Vambraces +2",
legs="Peltast's Cuissots +2",feet="Sulev. Leggings +2",
back={ name="Brigantia's Mantle", augments={'DEX+20','Accuracy+20 Attack+20','"Store TP"+10',}}}
python .\parse_equip.py --gearswap --table --format html --output results.html C:\Games\Windower4\addons\GearSwap\data\Name_JOB.lua
The option --gearswap to support parsing of GearSwap files directly. When this option is added, the script assumes the lua file is a gearswap script and invokes the get_sets() function then retrieve the sets structure. The gearswap is expected to have the function get_sets() that configure all the sets in the sets {} object. See below for example of the functionality of the get_sets() script.
The parser will search for every non-empty set and extract it out into a single equipset and calculate the stats for the set.
The --output option will direct the output to a file instead of printing to the console.
The --format option can be used to change the output format to other formats such as html so that the generated table can be view in a browser or imported into a spreadsheet.
function get_sets()
sets.precast = {}
sets.midcast = {}
sets.aftercast = {}
sets.buff = {}
-- Current Active Set
sets.current = {}
-- Store the list of active buffs that affect equip
sets.buffActive = {}
-- Store the equip from actives buffs that will merge with TP set
sets.buffActiveTP = {}
sets.DD = {}
sets.DD.precast = {}
sets.DD.midcast = {}
sets.DD.aftercast = {}
sets.DD.buff = {}
sets.DD.aftercast.TP = {ammo="Aurgelmir Orb",ear1="Telos Earring",ear2="Suppanomimi",neck="Mirage Stole +1",ring1="Ilabrat Ring",ring2="Epona's Ring",back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','"Store TP"+10','Damage taken-5%',}},waist="Windbuffet Belt +1",head="Hashishin Kavuk +2",body="Adhemar Jacket +1",hands="Adhemar Wrist. +1",legs="Samnuha Tights",feet={ name="Herculean Boots", augments={'Accuracy+24 Attack+24','"Store TP"+5','DEX+10','Accuracy+13','Attack+14',}}}
sets.DD.aftercast.Idle = set_combine(sets.DD.aftercast.TP,{ammo="Staunch Tathlum",ear1="Ethereal Earring",ear2="Etiolation Earring",ring1="Defending Ring",ring2="Etana Ring",neck="Loricate Torque +1",waist="Flume Belt +1",back="Moonbeam Cape",body="Hashishin Mintan +2",head={ name="Herculean Helm", augments={'"Dbl.Atk."+3','VIT+5','"Refresh"+2',}},hands={ name="Herculean Gloves", augments={'INT+5','MND+6','"Refresh"+2','Mag. Acc.+10 "Mag.Atk.Bns."+10',}},legs="Carmine Cuisses +1",feet={ name="Herculean Boots", augments={'Attack+8','"Refresh"+2',}}})
sets.DD.buff['Aftermath: Lv.3'] = {head="Malignance Chapeau",body="Malignance Tabard",hands="Malignance Gloves",legs="Malignance Tights",feet="Malignance Boots",back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','"Store TP"+10','Damage taken-5%',}},ammo="Aurgelmir Orb",neck="Mirage Stole +1",waist="Reiki Yotai",ear1="Telos Earring",ear2="Eabani Earring",ring1="Ilabrat Ring",ring2="Rajas Ring"}
sets.precast.WS = {ammo="Oshasha's Treatise",waist="Fotia Belt",neck="Fotia Gorget",ear1="Ishvara Earring",ear2="Moonshade Earring",ring1="Ilabrat Ring",ring2="Epona's Ring",back={ name="Rosmerta's Cape", augments={'STR+20','Accuracy+20 Attack+20','Weapon skill damage +10%',}},head="Hashishin Kavuk +2",body="Assim. Jubbah +3",hands="Jhakri Cuffs +2",legs="Luhlaza Shalwar +3",feet={ name="Herculean Boots", augments={'STR+3','"Dbl.Atk."+3','Weapon skill damage +10%','Accuracy+11 Attack+11',}}} --ammo="Aurgelmir Orb",
sets.precast['Chant du Cygne'] = set_combine(sets.precast.WS,{ammo="Aurgelmir Orb",waist="Fotia Belt",neck="Mirage Stole +1",ear1="Odr Earring",ear2="Moonshade Earring",ring1="Begrudging Ring",ring2="Epona's Ring",back={ name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','Crit.hit rate+10',}},head="Blistering Sallet +1",body="Herculean Vest",hands="Adhemar Wrist. +1",legs="Samnuha Tights",feet={ name="Herculean Boots", augments={'Accuracy+24 Attack+24','"Store TP"+5','DEX+10','Accuracy+13','Attack+14',}}})
}
end
This is the output from the two equipset and the difference using the --table option.
python .\parse_equip.py --table --diff .\tp_gear1.lua
βββββββββββββββββ€ββββββββββββββββββββββββ€ββββββββββββββββββββββββββββββββββββββββββββββ€ββββββββββββββββββββββββββββββββββββββ€βββββββββββββββββββββββββββββββββββββββββββββββ
β Stats β EquipSet β .\tp_gear1.lua:1 β .\tp_gear1.lua:2 β Difference β
βββββββββββββββββͺββββββββββββββββββββββββͺββββββββββββββββββββββββββββββββββββββββββββββͺββββββββββββββββββββββββββββββββββββββͺβββββββββββββββββββββββββββββββββββββββββββββββ‘
β Gear β Main β Trishula β Trishula β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Sub β Utu Grip β Utu Grip β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Ammo β Aurgelmir Orb β Oshasha's Treatise β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Head β Flam. Zucchetto +2 β Blistering Sallet +1 β β
β β β β Accuracy+45 β β
β β β β Magic Accuracy+45 β β
β β β β Critical Hit Rate %+10 β β
β β β β STR+25 β β
β β β β DEX+25 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Body β Dagon Breast. β Hjarrandi Breast. β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Hands β Pel. Vambraces +2 β Pel. Vambraces +2 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Legs β Pelt. Cuissots +2 β Pelt. Cuissots +2 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Feet β Flam. Gambieras +2 β Sulev. Leggings +2 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Neck β Anu Torque β Fotia Gorget β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Waist β Sailfi Belt +1 β Fotia Belt β β
β β β STR+15 β β β
β β β Double Attack %+5 β β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Left Ear β Telos Earring β Moonshade Earring β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Right Ear β Sherida Earring β Thrud Earring β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Left Ring β Niqmaddu Ring β Niqmaddu Ring β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Right Ring β Flamma Ring β Rufescent Ring β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Back β Brigantia's Mantle β Brigantia's Mantle β β
β β β DEX+20 β DEX+20 β β
β β β Accuracy+20 β Accuracy+20 β β
β β β Attack+20 β Attack+20 β β
β β β Store TP+10 β Store TP+10 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β Attribute β DMG β 345 β 345 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Delay β 492 β 492 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Magic Damage β 155 β 155 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β DEF β 666 β 643 β -23 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β HP β 443 β 553 β 110 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β MP β 89 β 20 β -69 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β STR β 209 β 201 β -8 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β DEX β 178 β 156 β -22 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β VIT β 176 β 193 β 17 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β AGI β 114 β 103 β -11 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β INT β 91 β 89 β -2 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β MND β 104 β 125 β 21 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β CHR β 108 β 129 β 21 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Haste % β 25 β 18 β -7 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Accuracy β 302 β 302 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Attack β 262 β 269 β 7 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Ranged Accuracy β 10 β β -10 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Ranged Attack β 10 β β -10 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Magic Accuracy β 197 β 179 β -18 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Evasion β 311 β 255 β -56 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Magic Evasion β 417 β 389 β -28 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Magic Def. Bonus β 23 β 23 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Damage taken % β -22 β -38 β -16 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Double Attack % β 23 β 9 β -14 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Triple Attack % β 12 β β -12 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Quadruple Attack % β 3 β 3 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Store TP β 58 β 30 β -28 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Critical hit damage % β 12 β 12 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Soul Jump attack % β 17 β 17 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Spirit Jump attack % β 17 β 17 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Critical hit rate % β 4 β 13 β 9 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Resist Slow β 90 β β -90 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Subtle Blow II β 20 β 5 β -15 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Magic Accuracy skill β 228 β 228 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Parrying skill β 269 β 269 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Polearm skill β 269 β 269 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β TP Bonus β 500 β 500 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Weapon skill DEX % β 10 β 10 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Spirit Link % β 14 β 14 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Resist Stun β 10 β β -10 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Physical damage taken β β -3 β -3 β
β β % β β β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Weapon skill damage % β β 13 β 13 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Weapon Skill Accuracy β β 7 β 7 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Critical Hit Rate % β β 10 β 10 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β TP not depleted when β β 2 β 2 β
β β weapon skill used % β β β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Conserve TP β β 7 β 7 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Trait β Stardiver β Stardiver β β
β β β Augments Spirit Link β Augments Spirit Link β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Active β Unity Ranking β Unity Ranking β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β Set β Trait β Attack occ. varies with wyvern's HP β Attack occ. varies with wyvern's HP β +Enhances Subtle Blow effect β
β β β Increases Strength, Dexterity, and Vitality β Enhances Subtle Blow effect β -Increases Strength, Dexterity, and Vitality β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β Wyvern β Accuracy β 105 β 105 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Magic Accuracy β 105 β 105 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Breath attacks β 15 β 15 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β Aftermath β Trait β Increases skillchain potency β Increases skillchain potency β β
β β β Increases magic burst potency β Increases magic burst potency β β
β β β Ultimate Skillchain β Ultimate Skillchain β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β All Jumps β Double Attack % β 20 β 20 β β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β Unity Ranking β Attack β 15 β β -15 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β HP β β 80 β 80 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β Latent effect β Weapon Skill Accuracy β β 20 β 20 β
βββββββββββββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββ€
β β Weapon skill damage % β β 20 β 20 β
βββββββββββββββββ§ββββββββββββββββββββββββ§ββββββββββββββββββββββββββββββββββββββββββββββ§ββββββββββββββββββββββββββββββββββββββ§βββββββββββββββββββββββββββββββββββββββββββββββ
The parser relies on the two json files items.json and unity_augments.json
The extract_items.py will generate items.json using the path specified
python .\extract_items.py C:\Games\Windower4
Reading C:\Games\Windower4\res\items.lua
Reading C:\Games\Windower4\res\item_descriptions.lua
Reading C:\Games\Windower4\res\jobs.lua
Reading C:\Games\Windower4\res\races.lua
Reading C:\Games\Windower4\res\slots.lua
22444 items generated in items.json
The extract_augments.py reads the unity_augments.txt (copied from bgwiki source) and generates unity_augments.json This file will only be used when the item is a unity rewards armor and doesn't include the augments in the equip set.
python .\extract_augments.py
108 items generated in unity_augments.json