A mix of both. I think DOS1 (non-EE atleast) was random but not completly? Like, there were certain weapons that always dropped (or had a reasonable chance to drop) from bosses. Like, wasnt there a 2-hand axe that had like a 80% chance to drop from the Act 1 boss? Its been a few years now since I played.