mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 13:43:49 +01:00
1.0 KiB
1.0 KiB
Home > bitburner > Grafting > getAugmentationGraftTime
Grafting.getAugmentationGraftTime() method
Retrieves the time required to graft an aug. Do not use this value to determine when the ongoing grafting finishes. The ongoing grafting is affected by current intelligence level and focus bonus. You should use waitForOngoingGrafting for that purpose.
Signature:
getAugmentationGraftTime(augName: string): number;
Parameters
Parameter | Type | Description |
---|---|---|
augName | string | Name of the aug to check the grafting time of. Must be an exact match. |
Returns:
number
The time required, in milliseconds, to graft the named augmentation.
Exceptions
Will error if an invalid Augmentation name is provided.
Remarks
RAM cost: 3.75 GB