mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 15:12:27 +01:00
Fix favor threshold for donateToFaction
This commit is contained in:
parent
9ddb1c4379
commit
04cfdc76ae
@ -1212,7 +1212,7 @@ export function NetscriptSingularity(
|
|||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const repNeededToDonate = Math.round(CONSTANTS.BaseFavorToDonate * BitNodeMultipliers.RepToDonateToFaction);
|
const repNeededToDonate = Math.floor(CONSTANTS.BaseFavorToDonate * BitNodeMultipliers.RepToDonateToFaction);
|
||||||
if (faction.favor < repNeededToDonate) {
|
if (faction.favor < repNeededToDonate) {
|
||||||
workerScript.log(
|
workerScript.log(
|
||||||
"donateToFaction",
|
"donateToFaction",
|
||||||
|
Loading…
Reference in New Issue
Block a user