mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-01 20:13:51 +01:00
stanek bitnode mult
This commit is contained in:
parent
918f733d52
commit
d49d8b4764
@ -901,7 +901,7 @@ export function initBitNodeMultipliers(p: IPlayer): void {
|
|||||||
|
|
||||||
BitNodeMultipliers.BladeburnerRank = 0.1;
|
BitNodeMultipliers.BladeburnerRank = 0.1;
|
||||||
BitNodeMultipliers.BladeburnerSkillCost = 5;
|
BitNodeMultipliers.BladeburnerSkillCost = 5;
|
||||||
BitNodeMultipliers.StaneksGiftPowerMultiplier = 2;
|
BitNodeMultipliers.StaneksGiftPowerMultiplier = 1.2;
|
||||||
BitNodeMultipliers.StaneksGiftExtraSize = 1;
|
BitNodeMultipliers.StaneksGiftExtraSize = 1;
|
||||||
BitNodeMultipliers.GangSoftcap = 0.2;
|
BitNodeMultipliers.GangSoftcap = 0.2;
|
||||||
BitNodeMultipliers.CorporationSoftCap = 0.2;
|
BitNodeMultipliers.CorporationSoftCap = 0.2;
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
import { BitNodeMultipliers } from "../../BitNode/BitNodeMultipliers";
|
||||||
|
|
||||||
export function CalculateEffect(avgCharge: number, numCharge: number, power: number, boost: number): number {
|
export function CalculateEffect(avgCharge: number, numCharge: number, power: number, boost: number): number {
|
||||||
return 1 + (Math.log(avgCharge + 1) / (Math.log(1.8) * 100)) * Math.pow((numCharge + 1) / 5, 0.07) * power * boost;
|
return (
|
||||||
|
1 +
|
||||||
|
(Math.log(avgCharge + 1) / (Math.log(1.8) * 100)) *
|
||||||
|
Math.pow((numCharge + 1) / 5, 0.07) *
|
||||||
|
power *
|
||||||
|
boost *
|
||||||
|
BitNodeMultipliers.StaneksGiftPowerMultiplier
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user