def evaluate(self, thing):
        key = thing.type
        if thing.probability == 100 or randint(1,100) <= thing.probability:
            val = randint(thing.range[0], thing.range[1])
        else:
            val = 0
        return key, val
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/lib/registers.py/DamageRegister.evaluate/swapped operands of `<=`