Changed random damage calculation