diablo2 exact loots were determined upon death of the mob... since the MF % (% greater chance to find magic items) of the person or pet who kills the mob determines the quality of the drop.

in WoW i really don't know, i have never noticed any patterns, hehe!