added attack calculation

attack calculation for the hero of the story.