mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Mystery Items 2016/10 (#8169)
* feat(content): mystery items 2016-10 * chore(news): Bailey 2016-10-25 Also ends the Enchanted Armoire A/B test. * fix(armoire): failing tests from A/B conclusion
This commit is contained in:
@@ -77,13 +77,7 @@ function _setUpNewUser (user) {
|
||||
let taskTypes;
|
||||
let iterableFlags = user.flags.toObject();
|
||||
|
||||
// A/B Test 2016-09-26: Start with Armoire Enabled?
|
||||
if (Math.random() < 0.5) {
|
||||
user.flags.armoireEnabled = true;
|
||||
user._ABtest = '20160926-armoireEnabled';
|
||||
} else {
|
||||
user._ABtest = '20160926-armoireDisabled';
|
||||
}
|
||||
user._ABtest = '';
|
||||
|
||||
if (user.registeredThrough === 'habitica-web' || user.registeredThrough === 'habitica-android') {
|
||||
taskTypes = ['habit', 'daily', 'todo', 'reward', 'tag'];
|
||||
|
||||
Reference in New Issue
Block a user