Commit 6ed40ce1 authored by Big Bad Waffle's avatar Big Bad Waffle

fixes #1082

parent cc8e35aa
......@@ -44,6 +44,13 @@ module.exports = {
delete i.noDestroy;
});
items
.filter(i => i.stats && i.stats.magicFind > 135)
.forEach(i => {
let value = '' + i.stats.magicFind;
i.stats.magicFind = ~~(value.substr(value.length - 2));
});
items
.filter(i => (
i.enchantedStats &&
......
......@@ -528,7 +528,7 @@ module.exports = {
if ((stat) && (stat.indexOf('|') > -1)) {
let split = stat.split('|');
stat = split[0];
value = split[1];
value = ~~split[1];
}
if (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment