1.4.5 • Published 7 years ago
poe-mod-descriptions v1.4.5
poe-mod-descriptions
This module provides descriptions for mods
Usage
import * as poe from 'poe-mod-descriptions';
var mods = [mod1, mod2, mod3];
poe.getDescriptions(mods);
Returns an object containing the text string of the stats and a boolean indicating whether it is a master craft. Pass a falsy value as a stat's value to get back a value range (min-max) for a stat's description.
Requirements
The data must be of this structure
"mod" : {
...
...
...
"stats": [
"stat1": {
"id": ...
"value": ...
"valueMin": ...
"valueMax": ...
"key": ...
...
},
"stat2": {
...
}
]
}
1.4.5
7 years ago
1.4.4
7 years ago
1.4.3
7 years ago
1.4.2
7 years ago
1.4.1
7 years ago
1.4.0
7 years ago
1.3.2
7 years ago
1.3.1
7 years ago
1.3.0
7 years ago
1.2.0
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago