We won't translate it into ancient Greek, Chace; instead, we'll give you the original Greek!
That would be from Herodotus, Book 7, paragraph 226. A Spartan named Dienekes promises a Trachinian that, even if the Persians darken the sun with the number of their arrows (as the Trachinian fears), it will be perfectly OK because then "the fight against them will be in the shade," and not in the sun. The words you want are
Πάντα ἀγαθά... εἰ ὑπὸ σκιῇ ἔσοιτο πρός αὐτούς ἡ μάχη.
By the way, you're getting neither Doric nor Attic, but the original Ionic of Herodotus!