The class you're playing affects the drop rate of non-unique class-specific idols, body armour, helmets, relics, and bows, and to a smaller extent the rate at which other weapon types drop. For example you'll find more rare wands as a mage than as a rogue. However, it has no effect on the drop rate of any unique or set items.