fixed troop generation, still needs touching up