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:
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:
|
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 = []
|
||||||
|
|
Loading…
Reference in a new issue