mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
Implement getBonusTime in Corporation
Used documentation from other 'getBonusTime' methods
This commit is contained in:
@@ -846,5 +846,9 @@ export function NetscriptCorporation(
|
||||
const amountShares = helper.number("bribe", "amountShares", aamountShares);
|
||||
return bribe(factionName, amountCash, amountShares);
|
||||
},
|
||||
getBonusTime: function (): number {
|
||||
checkAccess("getBonusTime");
|
||||
return Math.round(getCorporation().storedCycles / 5) * 1000;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user