mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Nerf spell damage and add new types
This commit is contained in:
parent
757d3cdd5d
commit
1b848cb5ea
1 changed files with 2 additions and 2 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Reference in a new issue