From 1b848cb5eaf752dd2e88130356192e263bf9cd33 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 17 Feb 2019 22:15:24 +0100 Subject: [PATCH] Nerf spell damage and add new types --- utils/cast.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/cast.py b/utils/cast.py index c99c564d..810da1ab 100644 --- a/utils/cast.py +++ b/utils/cast.py @@ -82,10 +82,10 @@ class Hit: while random.randrange(1, 21) == 20: self.crit_multiplier *= 2 - def damage(self): + @property + def total_damage(self): return self.damage * self.crit_multiplier - class Cast: def __init__(self, spell: Spell): self.hits = []