Add additional reverse engineer chance

This commit is contained in:
2024-12-10 11:34:24 +01:00
parent 80173da3b0
commit 3c7b9f7360
2 changed files with 4 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ namespace CykaOfIndustry {
Actor.ID, Item.ID, Type, BaseRating, Bonus, SecondaryBonus, Interrupt, PsychometryApplied,
Interruptable, ForSifrah, __result);
__result = (int)(__result * Main.reverseEngineerChanceMultiplier.Value);
__result += Main.reverseEngineerChanceAdditional.Value;
if (__result > 100)
__result = 100;
if (Main.debugMode.Value)