fix damage calculation for real this time