Additionally, each time you rub a magic lamp, there is a 1/3 chance that 'You see a puff of smoke', and another 1/3 chance that 'Nothing happens' the remaining 1/3 of the time, a djinni appears, and the lamp is auto-identified and turned into an oil lamp of the same BUC with 1000-1500 turns of charges. While also used to illuminate areas like a normal oil lamp, a magic lamp will never run out of power. As random loot, they are normally generated 25% blessed, 50% uncursed, and 25% cursed. Magic lamps cannot be wished or polypiled for, and you will instead get an ordinary oil lamp.