Reduced cyclomatic complexity of BMAttackSkill->validate_attack()