for the naugrim withstood fire more hardily than either elves or men , and it was their custom moreover to wear great masks in battle hideous to look upon ; and those stood them in good stead against the dragons .