解决了。
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Player - Make 剑士 Unavailable for training/construction by (Picked player))
captain training
Events
Unit - A unit Finishes research
Conditions
(Researched tech-type) Equal to 训练剑士
Actions
Player - Make 剑士 Available for training/construction by (Owner of (Researching unit))