[Home](./index.md) > [bitburner](./bitburner.md) > [HackingFormulas](./bitburner.hackingformulas.md) > [hackChance](./bitburner.hackingformulas.hackchance.md) ## HackingFormulas.hackChance() method Signature: ```typescript hackChance(server: number, player: number): number; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | server | number | | | player | number | | Returns: number