mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
Include BN multiplier in faction donation
This commit is contained in:
parent
01f6c6cb7a
commit
ea39e5e1f4
@ -1,6 +1,7 @@
|
||||
import { CONSTANTS } from "../../Constants";
|
||||
import { BitNodeMultipliers } from "../../BitNode/BitNodeMultipliers";
|
||||
import { Person } from "../../PersonObjects/Person";
|
||||
|
||||
export function repFromDonation(amt: number, person: Person): number {
|
||||
return (amt / CONSTANTS.DonateMoneyToRepDivisor) * person.mults.faction_rep;
|
||||
return (amt / CONSTANTS.DonateMoneyToRepDivisor) * person.mults.faction_rep * BitNodeMultipliers.FactionWorkRepGain;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user