the portuguese planned the assault thoroughly