Attacks takes in account types