+1, this should be a thing. However, also consider the following situation: say you're on the boss wave, and you're about to die. You know this, so you reach for the gun you want to leave. You won't be choosing your most powerful weapon if you've spent all of its ammo. You might want to leave the second weapon in your inventory for your teammates to use if they run out of ammo, in which case a system that exclusively drops the most expensive gun would be of no use. Furthermore, what if you upgrade guns? Say I have upgraded my starting pistols, but am also carrying a top-tier gun in my inventory. Will it drop the pistols because they cost the most? And what about the possibility of having two guns that cost the same in your inventory, does it randomly choose what you drop if you're not using either one of them at the time you die? I'd sooner suggest that dying should only drop the gun that you're holding right now. That allows for high-IQ plays by saving a good gun when you know you're about to die, and keep the game tense and fair.