From a1ec42c0b2fa874eeea5cccf9ec17fe475b5cdbb Mon Sep 17 00:00:00 2001 From: Frank Maximus Date: Wed, 20 May 2020 13:27:31 +0200 Subject: [PATCH] Fix Issue #12103: Wacky potions purchase warning (#12172) * Fix Issue #12103: Wacky potions purchase warning For wacky potions lower petsRemaining by 9, to exclude the mounts that don't exist. * Fix Issue #12103: Wacky potions purchase warning Handle comments * Use includes instead of indexOf() !== -1 * use droppEggs and dropHatchingPotions instead of fixed amounts --- .../client/src/components/shops/buyModal.vue | 59 ++++++++++++++----- 1 file changed, 44 insertions(+), 15 deletions(-) diff --git a/website/client/src/components/shops/buyModal.vue b/website/client/src/components/shops/buyModal.vue index 9013f9bc73..452ce3a533 100644 --- a/website/client/src/components/shops/buyModal.vue +++ b/website/client/src/components/shops/buyModal.vue @@ -377,8 +377,10 @@