public override bool AskIfActionCanBePerformed(GameAction g)
        {
            if (!base.Card.IsInPlayAndHasGameText)
            {
                bool?flag = g.DoesFirstCardAffectSecondCard((Card c) => c.Identifier != StSimeonsCatacombsInstructionsCardController.Identifier, (Card c) => c == base.Card);

                if (flag != null && flag.Value)
                {
                    return(false);
                }
            }
            return(true);
        }
Пример #2
0
        public override bool AskIfActionCanBePerformed(GameAction g)
        {
            //if AffectedCard is not in play, actions from hero cards cannot affect this card
            if (!this.IsAffectedCardInPlay())
            {
                bool?flag = g.DoesFirstCardAffectSecondCard((Card c) => c.IsHero, (Card c) => c == base.Card);

                if (flag != null && flag.Value)
                {
                    return(false);
                }
            }
            return(true);
        }