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.admin": 1, "contributor.level": -1, "backer.npc": -1, "profile.name": 1 }`
|
||||||
- `{ "contributor.level": 1 }`
|
- `{ "contributor.level": 1 }`
|
||||||
- `{ "flags.newStuff": 1 }`
|
- `{ "flags.newStuff": 1 }`
|
||||||
|
- `{ "flags.armoireEmpty": 1 }`
|
||||||
- `{ "guilds": 1, "_id": 1 }`
|
- `{ "guilds": 1, "_id": 1 }`
|
||||||
- `{ "invitations.guilds.id": 1, "_id": 1 }`
|
- `{ "invitations.guilds.id": 1, "_id": 1 }`
|
||||||
- `{ "invitations.party.id": 1 }`
|
- `{ "invitations.party.id": 1 }`
|
||||||
- `{ "loginIncentives": 1 }`
|
- `{ "loginIncentives": 1 }`
|
||||||
- `{ "migration": 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, "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 }`
|
- `{ "preferences.sleep": 1, "_id": 1, "lastCron": 1, "preferences.emailNotifications.importantAnnouncements": 1, "preferences.emailNotifications.unsubscribeFromAll": 1, "flags.recaptureEmailsPhase": 1 }`
|
||||||
- `{ "profile.name": 1 }`
|
- `{ "profile.name": 1 }`
|
||||||
|
|||||||
@@ -164,30 +164,30 @@ export default {
|
|||||||
classGear (heroClass) {
|
classGear (heroClass) {
|
||||||
if (heroClass === 'rogue') {
|
if (heroClass === 'rogue') {
|
||||||
return {
|
return {
|
||||||
armor: 'armor_special_winter2018Rogue',
|
armor: 'armor_rogue_5',
|
||||||
head: 'head_special_winter2018Rogue',
|
head: 'head_rogue_5',
|
||||||
shield: 'shield_special_winter2018Rogue',
|
shield: 'shield_rogue_6',
|
||||||
weapon: 'weapon_special_winter2018Rogue',
|
weapon: 'weapon_rogue_6',
|
||||||
};
|
};
|
||||||
} else if (heroClass === 'wizard') {
|
} else if (heroClass === 'wizard') {
|
||||||
return {
|
return {
|
||||||
armor: 'armor_special_winter2018Mage',
|
armor: 'armor_wizard_5',
|
||||||
head: 'head_special_winter2018Mage',
|
head: 'head_wizard_5',
|
||||||
weapon: 'weapon_special_winter2018Mage',
|
weapon: 'weapon_wizard_6',
|
||||||
};
|
};
|
||||||
} else if (heroClass === 'healer') {
|
} else if (heroClass === 'healer') {
|
||||||
return {
|
return {
|
||||||
armor: 'armor_special_winter2018Healer',
|
armor: 'armor_healer_5',
|
||||||
head: 'head_special_winter2018Healer',
|
head: 'head_healer_5',
|
||||||
shield: 'shield_special_winter2018Healer',
|
shield: 'shield_healer_5',
|
||||||
weapon: 'weapon_special_winter2018Healer',
|
weapon: 'weapon_healer_6',
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
return {
|
return {
|
||||||
armor: 'armor_special_winter2018Warrior',
|
armor: 'armor_warrior_5',
|
||||||
head: 'head_special_winter2018Warrior',
|
head: 'head_warrior_5',
|
||||||
shield: 'shield_special_winter2018Warrior',
|
shield: 'shield_warrior_5',
|
||||||
weapon: 'weapon_special_winter2018Warrior',
|
weapon: 'weapon_warrior_6',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user