fixed problem calculating damage mod against structures