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

Reduce healing dice quantity

This commit is contained in:
Steffo 2019-02-18 23:17:00 +01:00
parent 68e1d40164
commit 6f7b192a7e

View file

@ -80,7 +80,7 @@ class HealingComponent:
def __init__(self): def __init__(self):
# ENSURE THE SEED IS ALREADY SET WHEN CREATING THIS COMPONENT!!! # ENSURE THE SEED IS ALREADY SET WHEN CREATING THIS COMPONENT!!!
self.dice_number = random.randrange(1, 21) self.dice_number = random.randrange(1, 11)
self.dice_type = random.sample(self.dice_type_distribution, 1)[0] self.dice_type = random.sample(self.dice_type_distribution, 1)[0]
self.constant = random.randrange(math.floor(-self.dice_type / 4), math.ceil(self.dice_type / 4) + 1) self.constant = random.randrange(math.floor(-self.dice_type / 4), math.ceil(self.dice_type / 4) + 1)
@ -140,7 +140,7 @@ class StatsComponent:
class Spell: class Spell:
version = "3.1" version = "3.2"
damaging_spell_chance = 0.8 damaging_spell_chance = 0.8
healing_spell_chance = 0.8 # If not a damaging spell healing_spell_chance = 0.8 # If not a damaging spell