Adding restricted classes to an enemy's attack component does not result in not being able to attack. This is caused by the CanAttack function, not taking a type option.
refs #3484, it seems that ticket needs this one before, if it comes the patches are too related and the need to be done at ones, that is fine with me too, but I don't see a real reason.