Skip to content

Commit

Permalink
IB was hiding phases after rank was done
Browse files Browse the repository at this point in the history
  • Loading branch information
dcaslin committed Jul 9, 2024
1 parent 66ee8b1 commit bfed1f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "d2-checklist",
"version": "24.4.5",
"version": "24.4.6",
"manifest": "226472.24.06.26.1731-1-bnet.56090",
"license": "MIT",
"scripts": {
Expand Down
6 changes: 4 additions & 2 deletions src/app/service/parse.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,10 @@ export class ParseService {
let challenge: any;
if (act.challenges != null && act.challenges.length > 0) {
// use the second challenge for IB, it's the pinnacle, the first is just XP Boost
if (key == '3427325023' && act.challenges.length>1) {
challenge = act.challenges[1];
if (key == '3427325023' && act.challenges.length>0) {
// we want the last challenge. It'll either be 2, with the rank one first
// or just 1 with the pinnacle
challenge = act.challenges[act.challenges.length-1];
const charStrings = dynamicStrings?.character[c.characterId];
if (charStrings && charStrings[4161792462]) {
let number = charStrings[4161792462];
Expand Down

0 comments on commit bfed1f2

Please sign in to comment.