Skip to content
Merged

Deploy #1797

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@
// Midnight S2 added new IDs for some reason
248: 'World Activity',
249: 'Delve',
250: 'Normal Prey', // probably
251: 'Hard Prey',
252: 'Nightmare Prey',
258: 'Purging the Vaults',
};

Expand Down
7 changes: 7 additions & 0 deletions apps/frontend/data/achievements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,4 +552,11 @@ export const extraCategories: ExtraAchievementCategory[] = [
],
children: [],
},
{
slug: 'northrend-cup',
achievementIds: [
19674, 19675, 19676, 19677, 19679, 19681, 19682, 19683, 19684, 19721, 19722, 19723,
],
children: [],
},
];
8 changes: 4 additions & 4 deletions apps/frontend/data/vault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ export const keyVaultItemLevel: Array<Array<number>> = [
];

export const raidVaultItemLevel: Record<number, Array<number>> = {
16: [convertibleCategories[0].tiers[0].itemLevel, 5], // Mythic
15: [convertibleCategories[0].tiers[1].itemLevel, 4], // Heroic
14: [convertibleCategories[0].tiers[2].itemLevel, 3], // Normal
17: [convertibleCategories[0].tiers[3].itemLevel, 2], // LFR
16: [convertibleCategories[0].tiers[0].itemLevel + 16, 5], // Mythic = 6/6 Myth loot?
15: [convertibleCategories[0].tiers[0].itemLevel, 5], // Heroic = Myth 1
14: [convertibleCategories[0].tiers[1].itemLevel, 4], // Normal = Hero 1
17: [convertibleCategories[0].tiers[2].itemLevel, 3], // LFR = Champion 1
};

export const worldVaultItemLevel: Array<Array<number>> = [
Expand Down
9 changes: 9 additions & 0 deletions apps/frontend/shared/stores/data/achievements/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,18 @@ export function processAchievementsData(rawData: RawAchievements): DataAchieveme
achievementIds: [],
children: [],
};
} else if (extraCategory.slug === 'northrend-cup') {
slugCat = {
id: 1_000_002,
name: 'Northrend Cup',
slug: 'northrend-cup-hidden',
achievementIds: [],
children: [],
};
} else {
slugCat = reputations?.children.find((child) => child.slug === extraCategory.slug);
}

if (!slugCat) {
console.log('uh oh', extraCategory);
continue;
Expand Down
11 changes: 9 additions & 2 deletions apps/frontend/user-home/components/everything/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export const everythingData: Record<string, EverythingData> = {
'timewalking-wotlk': {
name: 'WotLK Timewalking',
tag: 'event:timewalking-wotlk',
vendorsKey: ['wrath-of-the-lich-king', 'timewalking'],
},
'timewalking-cata': {
name: 'Cata Timewalking',
Expand Down Expand Up @@ -140,11 +141,17 @@ export const everythingData: Record<string, EverythingData> = {
},

//
'cup-northrend': {
name: 'Northrend Cup',
tag: 'event:skyriding-cup',
achievementsKey: ['northrend-cup-hidden'],
vendorsKey: ['world-events', 'skyriding-cups'],
},
'cup-outland': {
name: 'Outland Cup',
tag: 'event:outland-cup',
tag: 'event:skyriding-cup',
achievementsKey: ['outland-cup-hidden'],
vendorsKey: ['world-events', 'outland-cup'],
vendorsKey: ['world-events', 'skyriding-cups'],
},
//
anniversary: {
Expand Down
Loading