If you hit an object with a melee weapon you get the "DamageType.Unknown" -> 6 and this can't be used in a condition.