I'd say it depends a lot on how heavily modded the car is, and how tasteful any cosmetic mods are. I'd imagine something with thousands spent on it, forced induction etc would be worth more to the right buyer but put others off entirely. My car was lightly modded when I bought it (Milltek exhaust, 421 manifold, HKS induction and remap) with no cosmetic mods and it wasn't priced any differently to others I looked at.