Home > bitburner > HackingFormulas > weakenTime
Calculate weaken time.
Signature:
weakenTime(server: Server, player: Player): number;
Parameter | Type | Description |
---|---|---|
server | Server | Server info from getServer |
player | Player | Player info from getPlayer |
Returns:
number
The calculated weaken time.