mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
* remove link between rebirth and beastmaster, and fix tests * add test checking rebirth is reset when beastmaster is enabled * remove exclusive test
This commit is contained in:
committed by
Sabe Jones
parent
d711bf4085
commit
444f393f3a
@@ -81,12 +81,10 @@ module.exports = function rebirth (user, tasks = [], req = {}, analytics) {
|
||||
}
|
||||
|
||||
let flags = user.flags;
|
||||
if (!user.achievements.beastMaster) {
|
||||
flags.rebirthEnabled = false;
|
||||
}
|
||||
flags.itemsEnabled = false;
|
||||
flags.dropsEnabled = false;
|
||||
flags.classSelected = false;
|
||||
flags.rebirthEnabled = false;
|
||||
flags.levelDrops = {};
|
||||
|
||||
if (!user.achievements.rebirths) {
|
||||
|
||||
Reference in New Issue
Block a user