fixed the hp percent

This commit is contained in:
Raatty 2018-08-26 11:14:25 +12:00
parent e5ab9245d6
commit c8b403f9f0
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class drpg:
if message.content.startswith('```diff\n!========['): if message.content.startswith('```diff\n!========['):
try: try:
usr, hp = read_adv(message.content) usr, hp = read_adv(message.content)
if hp <= 50: if hp <= 20:
usr = message.server.get_member_named(usr) usr = message.server.get_member_named(usr)
msg = f"❤️ **Heal up!** {usr.mention} you only have "\ msg = f"❤️ **Heal up!** {usr.mention} you only have "\
f"{hp:.2f}% HP left." f"{hp:.2f}% HP left."