Skip to content

Commit

Permalink
Fixies
Browse files Browse the repository at this point in the history
  • Loading branch information
Iapetus-11 committed Jun 16, 2024
1 parent ea59822 commit ac7dfc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bot/cogs/commands/econ.py
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ async def fish(self, ctx: Ctx):
wait -= 12
wait = max(random.randint(3, 10), wait)

await asyncio.sleep(wait)
# await asyncio.sleep(wait)

# determine if user has fished up junk or an item (rather than a fish)
if random.randint(1, 8) == 1 or (lucky and random.randint(1, 5) == 1):
Expand Down
2 changes: 1 addition & 1 deletion bot/cogs/core/quests.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async def get_random_quest(self, user_id: int) -> typing.TypedDict(
quest_key: str = random.choice(list(self.d.normalized_quests.keys()))
quest_def = self.d.normalized_quests[quest_key]

variant_idx = random.randint(0, len(quest_def.targets))
variant_idx = random.randint(0, len(quest_def.targets) - 1)
variant = quest_def.targets[variant_idx]

difficulty_multi = await self.fetch_calc_difficulty_multiplier(user_id, quest_def)
Expand Down

0 comments on commit ac7dfc5

Please sign in to comment.