mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 01:47:33 +01:00
Removed debug stuff for beta branch
This commit is contained in:
parent
63483837bc
commit
00f8c0a51f
@ -31,7 +31,6 @@ export function influenceStockThroughServerHack(server: Server, moneyHacked: num
|
||||
|
||||
const percTotalMoneyHacked = moneyHacked / server.moneyMax;
|
||||
if (Math.random() < percTotalMoneyHacked) {
|
||||
console.log(`Influencing stock ${stock.name}`);
|
||||
stock.changeForecastForecast(stock.otlkMagForecast - forecastForecastChangeFromHack);
|
||||
}
|
||||
}
|
||||
@ -53,7 +52,6 @@ export function influenceStockThroughServerGrow(server: Server, moneyGrown: numb
|
||||
|
||||
const percTotalMoneyGrown = moneyGrown / server.moneyMax;
|
||||
if (Math.random() < percTotalMoneyGrown) {
|
||||
console.log(`Influencing stock ${stock.name}`);
|
||||
stock.changeForecastForecast(stock.otlkMagForecast + forecastForecastChangeFromHack);
|
||||
}
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ export function StockTickerHeaderText(props: IProps): React.ReactElement {
|
||||
let plusOrMinus = stock.b; // True for "+", false for "-"
|
||||
if (stock.otlkMag < 0) { plusOrMinus = !plusOrMinus }
|
||||
hdrText += (plusOrMinus ? "+" : "-").repeat(Math.floor(Math.abs(stock.otlkMag) / 10) + 1);
|
||||
hdrText += ` - ${stock.getAbsoluteForecast()} / ${stock.otlkMagForecast}`;
|
||||
// hdrText += ` - ${stock.getAbsoluteForecast()} / ${stock.otlkMagForecast}`;
|
||||
}
|
||||
|
||||
let styleMarkup = {
|
||||
|
Loading…
Reference in New Issue
Block a user