Exemplo n.º 1
0
 public void CanPerformActions(GenericShip ship, GenericAction action, ref bool result)
 {
     if (ship.Tokens.GetToken(typeof(StressToken)) != null)
     {
         result = ship.CallCanPerformActionWhileStressed(action) || action.CanBePerformedWhileStressed || !action.IsRealAction || ship.ActionBar.ActionsThatCanbePreformedwhileStressed.Contains(action.GetType());
     }
 }