Пример #1
0
        public override void ActionTake()
        {
            Selection.ActiveShip = Selection.ThisShip;

            Host = Selection.ThisShip;
            if (CritCard.CancelDiceResults.Count == 0)
            {
                CritCard.DiscardEffect();
                Phases.FinishSubPhase(typeof(SubPhases.CancelCritCheckSubPhase));
                Phases.CurrentSubPhase.CallBack();
            }
            else
            {
                Actions.SelectedCriticalHitCard = CritCard;
                Selection.ActiveShip            = Selection.ThisShip;
                Phases.StartTemporarySubPhaseOld(
                    "Trying to flip critical card",
                    typeof(SubPhases.CancelCritCheckSubPhase),
                    delegate {
                    Phases.FinishSubPhase(typeof(SubPhases.CancelCritCheckSubPhase));
                    Phases.CurrentSubPhase.CallBack();
                });
            }
        }