You're meant to dodge the spears, the mobs have a fairly lengthy animation before they throw. The problem is they aggro offscreen and start charging, so if you flame dash/shield charge/quicksilver with high movespeed into them, they basically just shoot you right in the face. It's a bit like if...