When hit with a sword throw it should do damage equal to 1/2 of your current HP (rounded up the nearest .5), and when it hits a wall (hit or miss) your sword should stick out off the wall and you are unable to swing or use other sword based npcs until you run over to the wall and retrieve it.
Same with arrows... those should stick in walls for aesthetic appeal too.