added damage to permission check