mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-25 17:13:47 +01:00
777 B
777 B
Home > bitburner > HackingFormulas > weakenTime
HackingFormulas.weakenTime() method
Calculate weaken time.
Signature:
weakenTime(server: Server, player: Person): number;
Parameters
Parameter | Type | Description |
---|---|---|
server | Server | Server info, typically from getServer |
player | Person | Player info, typically from getPlayer |
Returns:
number
The calculated weaken time, in milliseconds.