mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 15:28:43 +02:00
IPVGO: Balance: Reduce base bonuses, increase SF 14.1 to compensate (#1176)
* IPVGO: Balance: Reduce base bonuses, increase SF 14.1 to compensate * Fix ts doc format * Do not show "No AI" opponent in stat summary page
This commit is contained in:
committed by
GitHub
parent
dd4b54406c
commit
6b9f9ef7fa
@@ -412,7 +412,8 @@ export async function determineCheatSuccess(
|
||||
* Cheating success rate scales with player's crime success rate, and decreases with prior cheat attempts.
|
||||
*/
|
||||
export function cheatSuccessChance(cheatCount: number) {
|
||||
return Math.min(0.6 * 0.65 ** cheatCount * Player.mults.crime_success, 1);
|
||||
const sourceFileBonus = Player.sourceFileLvl(14) === 3 ? 1.25 : 1;
|
||||
return Math.min(0.6 * 0.65 ** cheatCount * Player.mults.crime_success * sourceFileBonus, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user