From bb43e7c40b142e135ca55d2cc673d23e965b8e40 Mon Sep 17 00:00:00 2001 From: Badora II <79532596+Arodab@users.noreply.github.com> Date: Wed, 21 Aug 2024 00:21:17 -0300 Subject: [PATCH] Fix elite clue drop rates for TOB (#6010) --- src/lib/simulation/tob.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/simulation/tob.ts b/src/lib/simulation/tob.ts index f47453de62..4aa20322b1 100644 --- a/src/lib/simulation/tob.ts +++ b/src/lib/simulation/tob.ts @@ -98,6 +98,7 @@ class TheatreOfBloodClass { loot.add(NonUniqueTable.roll()); } + let clueRate = 3 / 25; if (isHardMode) { // Add 15% extra regular loot for hard mode: for (const [itemID] of Object.entries(loot.bank)) { @@ -105,9 +106,11 @@ class TheatreOfBloodClass { } // Add HM Tertiary drops: dust / kits loot.add(HardModeExtraTable.roll()); + + clueRate = 3.5 / 25; } - if (roll(25)) { + if (Math.random() < clueRate) { loot.add('Clue scroll (elite)'); }