Skip to content

Commit

Permalink
Improved FiR handling of weapon/armors from cultist circle
Browse files Browse the repository at this point in the history
  • Loading branch information
Chomp committed Feb 4, 2025
1 parent 163e97a commit bdeddde
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions project/src/services/CircleOfCultistService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,7 @@ export class CircleOfCultistService {
this.itemHelper.remapRootItemId(presetAndMods);

// Set item as FiR
presetAndMods[0].upd ||= {};
presetAndMods[0].upd.SpawnedInSession = true;
this.itemHelper.setFoundInRaid(presetAndMods);

rewardItemCount++;
totalRewardCost += this.itemHelper.getItemPrice(randomItemTplFromPool);
Expand Down Expand Up @@ -490,8 +489,7 @@ export class CircleOfCultistService {
this.itemHelper.remapRootItemId(presetAndMods);

// Set item as FiR
presetAndMods[0].upd ||= {};
presetAndMods[0].upd.SpawnedInSession = true;
this.itemHelper.setFoundInRaid(presetAndMods);

rewards.push(presetAndMods);

Expand Down

0 comments on commit bdeddde

Please sign in to comment.