diff --git a/lib/modules/category-parsers/dofus/parsers/getMonsters.js b/lib/modules/category-parsers/dofus/parsers/getMonsters.js index 3fcbca1..68539fa 100644 --- a/lib/modules/category-parsers/dofus/parsers/getMonsters.js +++ b/lib/modules/category-parsers/dofus/parsers/getMonsters.js @@ -93,7 +93,12 @@ function getMonsters(url) { } drops.push({ 'ankamaId': id, 'url': dropUrl, 'imgUrl': imgUrl, 'name': name, 'dropPercent': dropPercent }); }); - monster.drops = drops; + + if(monster.drops == undefined) { + monster.drops = drops; + } else { + monster.drops.push(drops); + } } });