quests quefaire (next)
This commit is contained in:
parent
d7b81da2b6
commit
49d25e8a83
@ -283,9 +283,9 @@ class WynncraftCog(commands.Cog):
|
||||
if quest["name"] in max_class["quests"]["list"]:
|
||||
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
|
||||
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
|
||||
|
||||
await ctx.send(":x: impossible de t'aider, je ne trouve plus de quêtes pour toi :(")
|
||||
|
Loading…
Reference in New Issue
Block a user