A few fixes for damage and autotargeting.