def rolagemItem5(): roll = randint(1, 100) if roll <= 25: item = 'nada' return f'Item: {item} (roll = {roll}) \n' elif roll <= 60: item = armaduraEscudo() return f'Item: {item} (roll = {roll}) \n' elif roll <= 90: item = arma() return (f'Item: {item} +1 (roll = {roll}) \n') elif roll <= 100: item = armaduraEscudo() return (f'Item: {item} +1 (roll = {roll}) \n')
def rolagemItem7(): roll = randint(1, 100) if roll <= 25: item = 'nada' return f'Item: {item} (roll = {roll}) \n' elif roll <= 65: item = armaduraEscudo() return (f'Item: {item} +1 (roll = {roll}) \n') elif roll <= 95: item = arma() material = materialEspecial() return (f'Item: {item} de {material} (roll = {roll}) \n') elif roll <= 100: item = armaduraEscudo() material = materialEspecial() return (f'Item: {item} de {material} (roll = {roll}) \n')
def rolagemItem1(): roll = randint(1, 100) if roll <= 50: item = 'nada' return f'Item: {item} (roll = {roll}) \n' elif roll <= 75: item = itemDiverso() return f'Item: {item} (roll = {roll}) \n' elif roll <= 95: item = arma() return f'Item: {item} (roll = {roll}) \n' elif roll <= 100: item = armaduraEscudo() return f'Item: {item} (roll = {roll}) \n'
def rolagemItem10(): roll = randint(1, 100) if roll <= 25: item = 'nada' return f'Item: {item} (roll = {roll}) \n' elif roll <= 55: item = arma() material = materialEspecial() return (f'Item: {item} de {material} (roll = {roll}) \n') elif roll <= 80: item = armaduraEscudo() material = materialEspecial() return (f'Item: {item} de {material} (roll = {roll}) \n') elif roll <= 100: item = 'Item mágico menor' return f'Item: {item} (roll = {roll}) \n'