attempt to fix weird mob ending behavior
@@ -230,8 +230,15 @@ class Mobs(commands.Cog): # fuck I really don't want to work on this
embed = discord.Embed(color=self.d.cc) # create new embed which shows health to show that user has lost / won
embed.set_image(url=mob.image)
- if u_health == 1: u_health = 2
- if mob.health == 1: mob.health = 2
+ # if u_health == 1: u_health = 2
+ # if mob.health == 1: mob.health = 2
+
+ if u_health > mob.health:
+ u_health = 1
+ mob.health = 0
+ else:
+ u_health = 0
+ mob.health = 1
embed.add_field( # user health bar
name=f'**{u.display_name}**',
