attack: Check item type instead of validity.