I had an idea I got really excited about for one of my projects, but my friend (He's also a writer) tells me it's a deus-ex-machina. I got pretty excited because of this idea, so I decided to get a second opinion from you guys. It's a bit of a spoiler, but I admit it's originality is not it's main point, so I don't think it needs a spoiler around it. One of my main characters is the leader of large band of aliens attacking the planet my story centers on. Through out the book, the reader is shown his mysterious alien prosthetic taken from an extinct race. At the end, the MC dies, but the prosthetic revives him by rebuilding his body with nanites fused with his DNA. Then all through-out the second book (If I do decide to write one) he dies in various horrible fashions, from all of which the prosthetic revives him, and the book would focus on how he slowly loses his identity in his race as he becomes more and more artificial, and goes a little nuts. But my friend says it will get old, him dying, and that it would basically amount to a bunch of Deus-ex-machina. I value his opinion, but I'm not so sure. What do you guys think?