How does the "crash to desktop" spell work?

Solution 1:

The "crash to desktop" spell "crashes" (kills) a random NPC/enemy, player, or yourself. It's dependent on range.

The most effective way for this spell to work is if there are many NPCs on the screen. It means that there is less chance of the spell affecting yourself.