Skip to content

Commit

Permalink
Merge branch 'Skua' of https://github.com/BrenoHenrike/Scripts into Skua
Browse files Browse the repository at this point in the history
  • Loading branch information
wtffidy committed Jan 21, 2025
2 parents 7a48386 + 370e71e commit 6038a88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Nation/Various/EmpoweredNationItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ public void GetEmpoweredItem(EmpoweredItems Item)
Core.AddDrop(Nation.bagDrops);
foreach (int Quest in Core.FromTo(8694, 8701))
{
Quest q = Core.InitializeWithRetries(() => Core.EnsureLoad(Quest));
Quest? q = Core.InitializeWithRetries(() => Core.EnsureLoad(Quest));
if (q == null)
{
Core.Logger($"Failed to load quest with ID {Quest}");
continue;
}
Core.AddDrop(q.Rewards.Select(x => x.ID).ToArray());
}

Expand Down
2 changes: 1 addition & 1 deletion scripts.json
Original file line number Diff line number Diff line change
Expand Up @@ -4884,7 +4884,7 @@
"evovled void armor"
],
"path": "Nation/Various/EmpoweredNationItem.cs",
"size": 10120,
"size": 10272,
"fileName": "EmpoweredNationItem.cs",
"downloadUrl": "https://raw.githubusercontent.com/BrenoHenrike/Scripts/Skua/Nation/Various/EmpoweredNationItem.cs"
},
Expand Down

0 comments on commit 6038a88

Please sign in to comment.