Tasks scoring and misc fixes (#8925)

* wip: add task scoring and persist checklist items

* remove unused files, fix checklist scoring and start adding support for groups tasks

* amke group and challenge tasks not scoreable
This commit is contained in:
Matteo Pagliazzi
2017-08-04 23:27:11 +02:00
committed by GitHub
parent ac800a94f9
commit c3ba70f5d6
30 changed files with 194 additions and 120 deletions

View File

@@ -16,7 +16,7 @@ module.exports = function ultimateGear (user) {
}, true);
if (user.achievements.ultimateGearSets[klass] === true) {
user.addNotification('ULTIMATE_GEAR_ACHIEVEMENT');
if (user.addNotification) user.addNotification('ULTIMATE_GEAR_ACHIEVEMENT');
}
}
});