1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

halloween remove

This commit is contained in:
Imasaab 2019-01-02 21:49:27 +01:00 committed by Stefano Pigozzi
parent 3fa21a06a2
commit 8f7706f20b

14
cast.py
View file

@ -39,13 +39,13 @@ def cast(spell_name: str, target_name: str, platform: str) -> str:
total *= crit total *= crit
else: else:
crit_msg = "" crit_msg = ""
# HALLOWEEN
if total >= 800:
return f"❇️ Ho lanciato <b>{spell}</b> su " \
f"<i>{target_name}</i>.\n" \
f"{crit_msg}" \
f"...ma non succede nulla."
# END
if platform == "telegram": if platform == "telegram":
if dmg_dice == 10 and dmg_max == 100 and dmg_mod == 20: if dmg_dice == 10 and dmg_max == 100 and dmg_mod == 20:
return f"❇️‼️ Ho lanciato <b>{spell}</b> su " \ return f"❇️‼️ Ho lanciato <b>{spell}</b> su " \