node-diablo2-data
expose diablo 2 data in NodeJS
Features
For example it's often useful to :
- find areas by id
- find items by name
- find monster by name
Example
const diabloData = require('diablo2-data')('pod_1.13d')
console.log(JSON.stringify(diabloData.skills[50]))
console.log(JSON.stringify(diabloData.areas[101]))
console.log(JSON.stringify(diabloData.npcsByName['Akara']))
console.log(JSON.stringify(diabloData.objectsByName['StoneTheta']))
console.log(JSON.stringify(diabloData.itemEnums.Action))
console.log(JSON.stringify(diabloData.itemPropertiesByName['Maximum Damage']))
console.log(JSON.stringify(diabloData.itemDataByName['Ring Mail']))
console.log(JSON.stringify(diabloData.itemTypesByName['Amulet']))
console.log(JSON.stringify(diabloData.uniqueItemsByName['Shako']))