As seen in previous issues, Riley's been working with Twilight as part of his inner circle. This issue, Buffy spots him wounded on the battlefield and brings him in.
The three giant Goddesses from last issue are indiscriminately slaughtering both sides. It appears that they've been away from this plane for so long that all humans look the same to them, and they can't tell friend from foe.