mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 23:38:35 +02:00
MISC: Apply SF override to charisma calculations (#2642)
This commit is contained in:
@@ -52,7 +52,7 @@ export function getFactionFieldWorkRepGain(p: IPerson, favor: number): number {
|
||||
}
|
||||
|
||||
function getDarknetCharismaBonus(p: IPerson, scalar: number = 1): number {
|
||||
if (Player.sourceFileLvl(15) >= 3) {
|
||||
if (Player.activeSourceFileLvl(15) >= 3) {
|
||||
return p.skills.charisma * scalar;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user