Skip to content

Commit

Permalink
🥭 Mango
Browse files Browse the repository at this point in the history
  • Loading branch information
tookender committed Oct 18, 2024
1 parent de71da9 commit 87b8e2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extensions/dq/calculators.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ async def calc_runs(self, ctx, current_level: int, goal_level: int, dungeon_name
result = calculate_runs(current_level, goal_level, dungeon_name, event_active, booster_active, vip)

embed = Embed(title="Dungeon Runs Calculator",
description=f"To go from **Level {result['current_level']}** to **Level {result['goal_level']}** in **{result['dungeon_name']}** you will need **{result['xp_needed']} XP**")
description=f"To go from **Level {result['current_level']}** to **Level {result['goal_level']}** in **{result['dungeon_name']}** you will need **{fn(result['xp_needed'])} XP**")
embed.set_author(name="Dungeon Quest Helper", url="https://www.roblox.com/games/2414851778")

runs = result["runs"]

for run in runs:
embed.add_field(name=f"{run} Runs", value=f"**{run}** runs", inline=False)
for run in runs.items():
embed.add_field(name=f"{run[0]} Runs", value=f"**{fn(run[1])}** runs", inline=False)

await ctx.send(embed=embed)

0 comments on commit 87b8e2b

Please sign in to comment.