diff --git a/package.json b/package.json index aee766b5..5368cd98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "d2-checklist", - "version": "24.4.2", + "version": "24.4.3", "manifest": "226472.24.06.26.1731-1-bnet.56090", "license": "MIT", "scripts": { diff --git a/src/app/service/parse.service.ts b/src/app/service/parse.service.ts index f235bd1d..ffd8c7eb 100644 --- a/src/app/service/parse.service.ts +++ b/src/app/service/parse.service.ts @@ -409,7 +409,8 @@ export class ParseService { } - private async populateProgressions(c: Character, _prog: any, milestonesByKey: { [id: string]: MileStoneName }, milestoneList: MileStoneName[], accountProgressions: Progression[]): Promise { + private async populateProgressions(c: Character, _prog: any, milestonesByKey: { [id: string]: MileStoneName }, + milestoneList: MileStoneName[], accountProgressions: Progression[], dynamicStrings: DynamicStrings): Promise { c.milestones = {}; c.notReady = false; @@ -427,7 +428,7 @@ export class ParseService { const ms: PrivMilestone = _prog.milestones[key]; // hide non-weekly dungeons const desc = await this.destinyCacheService.getMilestone(key); - // warlord's ruin is available every week as a pinnnacel + // warlord's ruin is available every week as a pinnacle // then we have one and only one rotator on top // special case for clan rewards @@ -504,16 +505,25 @@ export class ParseService { let challenge: any; if (act.challenges != null && act.challenges.length > 0) { // use the second challenge for IB - // TODO accurately display the 8 total pinnacles you can get // TODO accurately display the 3 total pinnacles you can get from ritual pathfinder if (key == '3427325023' && act.challenges.length>1) { challenge = act.challenges[1]; + const charStrings = dynamicStrings?.character[c.characterId]; + if (charStrings && charStrings[4161792462]) { + let number = charStrings[4161792462]; + if (number == null) { + number = 0; + } + for (let i = 1; i < 9; i++) { + phases.push(i