Move fence logging
This commit is contained in:
parent
00e1679dd9
commit
774357c1f3
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user