modified and added player damage for collision etc