diff --git a/src/Mods/SpecialForce/TrickShotNight.js b/src/Mods/SpecialForce/TrickShotNight.js index 679090f2bde58ac3719e5a0a5cfdb9dbbc9d0815..7acecdcde4cb6f15585877471d4fd99daa416a88 100644 --- a/src/Mods/SpecialForce/TrickShotNight.js +++ b/src/Mods/SpecialForce/TrickShotNight.js @@ -15,30 +15,10 @@ App.Events.TrickShotNight = class TrickShotNight extends App.Events.BaseEvent { const { HeA } = getPronouns(assistant.pronouns().main).appendSuffix("A"); - let shootChance; - if (V.PC.skill.warfare === -100) { - shootChance = 5; - } else if (V.PC.skill.warfare <= -75) { - shootChance = 10; - } else if (V.PC.skill.warfare <= -50) { - shootChance = 15; - } else if (V.PC.skill.warfare <= -25) { - shootChance = 20; - } else if (V.PC.skill.warfare === 0) { - shootChance = 25; - } else if (V.PC.skill.warfare <= 25) { - shootChance = 45; - } else if (V.PC.skill.warfare <= 50) { - shootChance = 60; - } else if (V.PC.skill.warfare <= 75) { - shootChance = 85; - } else if (V.PC.skill.warfare >= 100) { - shootChance = 90; - } + const shootChance = (0.45 * V.PC.skill.warfare) + 40; App.Events.addParagraph(node, [`Despite your direct elevator, interaction with the majority of your security force is relatively scarce. Aside from mutually exchanged nods in the firebase and the occasional briefing, your ${V.SF.Lower} enjoy a degree of autonomy.`]); - r.push(`On a particularly lackadaisical evening, you find yourself alerted to a message alert by ${V.assistant.name}.`); if (V.assistant.personality > 0) { r.push(`"${properMaster()}, a message from ${V.SF.Lower}." ${HeA} pauses before continuing. "It seems they're asking if you'd like to join their trick shot night."`);