Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #147 from maxx0911/patch-3
Browse files Browse the repository at this point in the history
small inconsistency in activeadventure
  • Loading branch information
Gelbpunkt authored Aug 19, 2019
2 parents d60cf5f + 16fc8af commit 2c4980e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/adventure.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def is_valid_move(r, u):
if move == "defend" and enemymove == "attack":
await ctx.send(_("Enemy attack was blocked!"), delete_after=5)
if move == "defend" and enemymove == "defend":
await ctx.send(_("Noone attacked."))
await ctx.send(_("Noone attacked."), delete_after=5)
if move == "attack" and enemymove == "attack":
efficiency = random.randint(int(SWORD * 0.5), int(SWORD * 1.5))
HP -= efficiency
Expand Down

0 comments on commit 2c4980e

Please sign in to comment.