Skip to content

Commit

Permalink
[DBC] Export Azerite Item Level and Item Level Squish data
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
navv1234 committed Feb 8, 2018
1 parent 81b9ac2 commit 8f60556
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions dbc_extract3/dbc_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,14 @@
options.max_ilevel, options.build),
'values': combat_rating_values,
'max_rows': options.max_ilevel
}, {
'file': 'ItemLevelSquish.txt',
'key': 0,
'comment': '// Item level translation for item level 1 - %d, wow build %d\n' % (
options.max_ilevel, options.build),
'values': [ 1 ],
'max_rows': options.max_ilevel,
'simple_reader': True
}])
if not g.initialize():
sys.exit(1)
Expand All @@ -456,3 +464,15 @@

g.generate()

g = dbc.generator.CSVDataGenerator(options, {
'file': 'AzeriteLevelToItemLevel.txt',
'key': 'Azerite Level',
'comment': '// Azerite level to item level 1 - %d, wow build %d\n' % (
300, options.build),
'values': [ 'Item Level' ],
'max_rows': 300
})
if not g.initialize():
sys.exit(1)

g.generate()

0 comments on commit 8f60556

Please sign in to comment.