I think it was The Seer and the Sword ! I've read it when I was attending middle school, so I'm not sure about the title (the cover doesn't help, even though I've found the one I remember on Google)!Have you ever read it?