[Solved] Check and update dictionary if key exists doesn’t change value
To give some example of what we mean, I think this is kind of alright import random import pickle class BaseCharacter: def __init__(self): self.gold = random.randint(25, 215) * 2.5 self.currentHealth = 100 self.maxHealth = 100 self.stamina = 10 self.resil = 2 self.armor = 20 self.strength = 15 self.agility = 10 self.criticalChance = 25 self.spellPower = … Read more