1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00

Nerf spell damage and add new types

This commit is contained in:
Steffo 2019-02-17 22:15:24 +01:00
parent 757d3cdd5d
commit 1b848cb5ea

View file

@ -82,10 +82,10 @@ class Hit:
while random.randrange(1, 21) == 20: while random.randrange(1, 21) == 20:
self.crit_multiplier *= 2 self.crit_multiplier *= 2
def damage(self): @property
def total_damage(self):
return self.damage * self.crit_multiplier return self.damage * self.crit_multiplier
class Cast: class Cast:
def __init__(self, spell: Spell): def __init__(self, spell: Spell):
self.hits = [] self.hits = []