Added some armies and navies code, now can safely initiate triggerBattle function