tidy up ancients, add a few functions for a.i. combat