mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
30 lines
1.0 KiB
Markdown
30 lines
1.0 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getBonusTime](./bitburner.bladeburner.getbonustime.md)
|
||
|
||
## Bladeburner.getBonusTime() method
|
||
|
||
You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.
|
||
|
||
Returns the amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic.
|
||
|
||
“Bonus time” is accumulated when the game is offline or if the game is inactive in the browser.
|
||
|
||
“Bonus time” makes the game progress faster, up to 5x the normal speed. For example, if an action takes 30 seconds to complete but you’ve accumulated over 30 seconds in bonus time, then the action will only take 6 seconds in real life to complete.
|
||
|
||
<b>Signature:</b>
|
||
|
||
```typescript
|
||
getBonusTime(): number;
|
||
```
|
||
<b>Returns:</b>
|
||
|
||
number
|
||
|
||
Amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic.
|
||
|
||
## Remarks
|
||
|
||
RAM cost: 0 GB
|
||
|