only setdamage 0 if building has UID or ID