Calculate attack mod