示例#1
0
 private void AskToAssignTractor(object sender, System.EventArgs e)
 {
     //make sure host ship can perform a rotate action, and didn't die from Loose Stabilizer, hitting rocks, etc.
     if (HostShip.IsDestroyed || !HostShip.CanPerformAction(new RotateArcAction()))
     {
         Triggers.FinishTrigger();
     }
     else
     {
         AskToUseAbility(
             "Pinpoint Tractor Array",
             NeverUseByDefault,
             AgreeToAssignToken,
             descriptionLong: "Do you want to gain Tractor Token to perform a Rotate action?"
             );
     }
 }