mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 21:52:30 +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 { CONSTANTS } from "../../Constants";
|
||||||
|
import { BitNodeMultipliers } from "../../BitNode/BitNodeMultipliers";
|
||||||
import { Person } from "../../PersonObjects/Person";
|
import { Person } from "../../PersonObjects/Person";
|
||||||
|
|
||||||
export function repFromDonation(amt: number, person: Person): number {
|
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