async def infection(self): percent = (DB.who_healthy_and_walk() + DB.who_ill_and_walk()*1.5) / (DB.show_users_count()) if percent <= 0: return self.min_chance elif percent > self.max_chance: return self.max_chance return round(percent, 2)
async def stocks(self): return DB.show_users_count() * randint(50, 100) def __init__(self, file='situation.world'):