there was a final battle in space in a series i like with artificial celestial bodies created to be weapons of mass destruction hurtling towards a planet while fighting a protagonist and a antagonist with glowing powers that go with gems and in order to beat the object, one character has to "sacrifice" themselves to defeat the object