mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 17:23:53 +01:00
744 B
744 B
Home > bitburner > HackingFormulas > hackChance
HackingFormulas.hackChance() method
Calculate hack chance.
Signature:
hackChance(server: Server, player: Player): number;
Parameters
Parameter | Type | Description |
---|---|---|
server | Server | Server info from getServer |
player | Player | Player info from getPlayer |
Returns:
number
The calculated hack chance.