quests quefaire (next)

This commit is contained in:
Amazed 2020-09-25 00:28:50 +02:00
parent d7b81da2b6
commit 49d25e8a83

View File

@ -283,9 +283,9 @@ class WynncraftCog(commands.Cog):
if quest["name"] in max_class["quests"]["list"]: if quest["name"] in max_class["quests"]["list"]:
continue # player has already done this quest continue # player has already done this quest
if quest["level"] < max_class["professions"]["combat"]["level"]: if quest["level"] < max_class["professions"]["combat"]["level"] and max_class["professions"]["combat"]["level"] - quest["level"] < 10:
# quest is doable # quest is doable
await ctx.send(":dizzy: Woosh! Tu peux faire la quête %s (%s)" % (quest["name"], quest["url"])) await ctx.send(":dizzy: Woosh! Tu peux faire la quête **%s** (%s)" % (quest["name"], quest["url"]))
return return
await ctx.send(":x: impossible de t'aider, je ne trouve plus de quêtes pour toi :(") await ctx.send(":x: impossible de t'aider, je ne trouve plus de quêtes pour toi :(")