mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix(classes): remove winter preview
Also adds a new index to the Mongo doc and fixes a typo in that file.
This commit is contained in:
@@ -43,12 +43,13 @@ If we ever have an issue, use this list to reindex.
|
||||
- `{ "contributor.admin": 1, "contributor.level": -1, "backer.npc": -1, "profile.name": 1 }`
|
||||
- `{ "contributor.level": 1 }`
|
||||
- `{ "flags.newStuff": 1 }`
|
||||
- `{ "flags.armoireEmpty": 1 }`
|
||||
- `{ "guilds": 1, "_id": 1 }`
|
||||
- `{ "invitations.guilds.id": 1, "_id": 1 }`
|
||||
- `{ "invitations.party.id": 1 }`
|
||||
- `{ "loginIncentives": 1 }`
|
||||
- `{ "migration": 1 }`
|
||||
- {` "party._id": 1, "_id": 1 }`
|
||||
- `{ "party._id": 1, "_id": 1 }`
|
||||
- `{ "preferences.sleep": 1, "_id": 1, "flags.lastWeeklyRecap": 1, "preferences.emailNotifications.unsubscribeFromAll": 1, "preferences.emailNotifications.weeklyRecaps": 1 }`
|
||||
- `{ "preferences.sleep": 1, "_id": 1, "lastCron": 1, "preferences.emailNotifications.importantAnnouncements": 1, "preferences.emailNotifications.unsubscribeFromAll": 1, "flags.recaptureEmailsPhase": 1 }`
|
||||
- `{ "profile.name": 1 }`
|
||||
|
||||
@@ -164,30 +164,30 @@ export default {
|
||||
classGear (heroClass) {
|
||||
if (heroClass === 'rogue') {
|
||||
return {
|
||||
armor: 'armor_special_winter2018Rogue',
|
||||
head: 'head_special_winter2018Rogue',
|
||||
shield: 'shield_special_winter2018Rogue',
|
||||
weapon: 'weapon_special_winter2018Rogue',
|
||||
armor: 'armor_rogue_5',
|
||||
head: 'head_rogue_5',
|
||||
shield: 'shield_rogue_6',
|
||||
weapon: 'weapon_rogue_6',
|
||||
};
|
||||
} else if (heroClass === 'wizard') {
|
||||
return {
|
||||
armor: 'armor_special_winter2018Mage',
|
||||
head: 'head_special_winter2018Mage',
|
||||
weapon: 'weapon_special_winter2018Mage',
|
||||
armor: 'armor_wizard_5',
|
||||
head: 'head_wizard_5',
|
||||
weapon: 'weapon_wizard_6',
|
||||
};
|
||||
} else if (heroClass === 'healer') {
|
||||
return {
|
||||
armor: 'armor_special_winter2018Healer',
|
||||
head: 'head_special_winter2018Healer',
|
||||
shield: 'shield_special_winter2018Healer',
|
||||
weapon: 'weapon_special_winter2018Healer',
|
||||
armor: 'armor_healer_5',
|
||||
head: 'head_healer_5',
|
||||
shield: 'shield_healer_5',
|
||||
weapon: 'weapon_healer_6',
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
armor: 'armor_special_winter2018Warrior',
|
||||
head: 'head_special_winter2018Warrior',
|
||||
shield: 'shield_special_winter2018Warrior',
|
||||
weapon: 'weapon_special_winter2018Warrior',
|
||||
armor: 'armor_warrior_5',
|
||||
head: 'head_warrior_5',
|
||||
shield: 'shield_warrior_5',
|
||||
weapon: 'weapon_warrior_6',
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user