added collision detection and damage tracking for shield