Move fence logging

This commit is contained in:
Dev 2023-05-30 13:36:15 +01:00
parent 00e1679dd9
commit 774357c1f3

View File

@ -347,12 +347,12 @@ export class InraidController
const fenceId = Traders.FENCE; const fenceId = Traders.FENCE;
let fenceStanding = Number(pmcData.TradersInfo[fenceId].standing); let fenceStanding = Number(pmcData.TradersInfo[fenceId].standing);
this.logger.debug(`Old fence standing: ${fenceStanding}`);
fenceStanding = this.inRaidHelper.calculateFenceStandingChangeFromKills(fenceStanding, offraidData.profile.Stats.Victims); fenceStanding = this.inRaidHelper.calculateFenceStandingChangeFromKills(fenceStanding, offraidData.profile.Stats.Victims);
// Successful extract with scav adds 0.01 standing // Successful extract with scav adds 0.01 standing
if (offraidData.exit === "survived") if (offraidData.exit === "survived")
{ {
this.logger.debug(`Old fence standing: ${fenceStanding}`);
fenceStanding += this.inraidConfig.scavExtractGain; fenceStanding += this.inraidConfig.scavExtractGain;
} }