Log fence standing changes post-raid
This commit is contained in:
parent
ea2898b1ef
commit
00e1679dd9
@ -352,6 +352,7 @@ export class InraidController
|
|||||||
// 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -363,6 +364,7 @@ export class InraidController
|
|||||||
|
|
||||||
// Make standing changes to scav profile
|
// Make standing changes to scav profile
|
||||||
scavData.TradersInfo[fenceId].standing = Math.min(Math.max(fenceStanding, -7), 15);
|
scavData.TradersInfo[fenceId].standing = Math.min(Math.max(fenceStanding, -7), 15);
|
||||||
|
this.logger.debug(`New fence standing: ${scavData.TradersInfo[fenceId].standing}`);
|
||||||
|
|
||||||
// Make standing changes to pmc profile
|
// Make standing changes to pmc profile
|
||||||
pmcData.TradersInfo[fenceId].standing = scavData.TradersInfo[fenceId].standing;
|
pmcData.TradersInfo[fenceId].standing = scavData.TradersInfo[fenceId].standing;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user