From 9f0736808e245e923c44cc85ad3786356461adb6 Mon Sep 17 00:00:00 2001 From: TastyPumPum <79149170+TastyPumPum@users.noreply.github.com> Date: Thu, 22 Feb 2024 06:51:40 +0000 Subject: [PATCH] Fix Zahur/Wesley Costs (#5706) Fix the check on wesley/zahur to pick the right cost if the users selects true to both options, it also returns the correct name. Closes #5698 --- src/mahoji/commands/mix.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mahoji/commands/mix.ts b/src/mahoji/commands/mix.ts index 14f553e2c6..900e8659a9 100644 --- a/src/mahoji/commands/mix.ts +++ b/src/mahoji/commands/mix.ts @@ -92,8 +92,10 @@ export const mixCommand: OSBMahojiCommand = { if ((zahur && mixableZahur) || (wesley && mixableWesley)) { timeToMixSingleItem = 0.000_001; - requiredItems.add('Coins', wesley ? 50 : 200); - cost = `decided to pay ${wesley ? 'Wesley 50' : 'Zahur 200'} gp for each item so they don't have to go`; + requiredItems.add('Coins', mixableWesley ? 50 : 200); + cost = `decided to pay ${ + mixableWesley ? 'Wesley 50' : 'Zahur 200' + } gp for each item so they don't have to go.`; } const maxTripLength = calcMaxTripLength(user, 'Herblore');