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:
Michael Ficocelli
2024-03-20 17:12:35 -04:00
committed by GitHub
parent dd4b54406c
commit 6b9f9ef7fa
6 changed files with 24 additions and 17 deletions

View File

@@ -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);
}
/**