Exemple #1
0
 public EbonyNeedleCardController(Card card, TurnTakerController turnTakerController)
     : base(card, turnTakerController)
 {
     // If in play, show current play area
     SpecialStringMaker.ShowLocationOfCards(new LinqCardCriteria((Card c) => c == base.Card, base.Card.Title, useCardsSuffix: false), specifyPlayAreas: true).Condition = () => base.Card.IsInPlayAndHasGameText;
     SpecialStringMaker.ShowNumberOfCardsAtLocation(base.TurnTaker.Trash);
 }
 public CriticalMassCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocations(() => new List <Location>()
     {
         base.TurnTaker.Deck, base.TurnTaker.Trash
     }, new LinqCardCriteria((Card c) => c.Identifier == "ChainReaction", "chain reaction"));
     SpecialStringMaker.ShowNumberOfCardsAtLocation(base.TurnTaker.Trash, new LinqCardCriteria((Card c) => c.Identifier == "UnstableIsotope", "unstable isotope"));
 }
        public CriticalHitCardController(Card card, TurnTakerController turnTakerController) : base(card,
                                                                                                    turnTakerController)
        {
            SpecialStringMaker.ShowNumberOfCardsAtLocation(this.HeroTurnTaker.Deck, new LinqCardCriteria(c => IsCritical(c), "critical"));

            this.AllowFastCoroutinesDuringPretend           = false;
            this.RunModifyDamageAmountSimulationForThisCard = true;
        }
Exemple #4
0
        public CampaignOfTerrorCardController(Card card, TurnTakerController turnTakerController)
            : base(card, turnTakerController)
        {
            LinqCardCriteria imperialTarget = new LinqCardCriteria((Card c) => c.IsTarget && c.DoKeywordsContain(AuthorityKeyword), "Imperial target", true);

            SpecialStringMaker.ShowNumberOfCardsAtLocation(base.TurnTaker.Trash, imperialTarget);
            SpecialStringMaker.ShowNumberOfCardsInPlay(imperialTarget);
        }
 public HydraNoxiousFireTiamatInstructionsCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController, "HydraInfernoTiamatCharacter", "HydraDecayTiamatCharacter", "ElementOfFire")
 {
     SpecialStringMaker.ShowSpecialString(() => "The heroes may not win the game.").Condition = () => !base.Card.IsFlipped;
     SpecialStringMaker.ShowNumberOfCards(new LinqCardCriteria((Card c) => c.DoKeywordsContain("head") && c.IsFlipped, "", useCardsSuffix: false, singular: "decapitated head", plural: "decapitated heads")).Condition = () => base.Card.IsFlipped;
     SpecialStringMaker.ShowHeroTargetWithHighestHP().Condition = () => !base.Card.IsFlipped;
     SpecialStringMaker.ShowHeroTargetWithHighestHP(ranking: 2).Condition = () => base.Card.IsFlipped && !FirstHeadCardController().Card.IsFlipped;
     SpecialStringMaker.ShowNumberOfCardsAtLocation(base.TurnTaker.Trash, new LinqCardCriteria((Card c) => c.Identifier == "AcidBreath", "acid breath")).Condition = () => base.Card.IsFlipped && FirstHeadCardController().Card.IsFlipped&& !SecondHeadCardController().Card.IsFlipped&& SecondHeadCardController().Card.IsInPlayAndNotUnderCard;
 }
Exemple #6
0
 public TheShelledOneCharacterCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     AddThisCardControllerToList(CardControllerListType.MakesIndestructible);
     AddThisCardControllerToList(CardControllerListType.ModifiesKeywords);
     SpecialStringMaker.ShowTokenPool(base.Card.Identifier, StrikePoolIdentifier).Condition = () => !base.Card.IsFlipped;
     SpecialStringMaker.ShowNumberOfCardsInPlay(new LinqCardCriteria((Card c) => c.IsVillainTarget && !c.IsCharacter, "non-character villain targets", false, false, "non-character villain target", "non-character villain targets")).Condition = () => base.Card.IsFlipped;
     SpecialStringMaker.ShowNumberOfCardsAtLocation(base.TurnTaker.Deck, new LinqCardCriteria((Card c) => c.DoKeywordsContain("weather effect"), "Weather Effect")).Condition = () => base.Card.IsFlipped;
 }
Exemple #7
0
 public TeleportBarrageCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(HeroTurnTaker.Hand);
 }
 public UnweaveCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Trash, new LinqCardCriteria(c => IsRune(c), "rune", false, false, null, "runes"));
 }
Exemple #9
0
        /*
         *  "When this card enters play, play the top card of the villain deck.",
         *              "Destroy this card when {Celadroch} is dealt 16 damage in a single round.",
         *              "When this card is destroyed, put all targets from the villain trash into play."
         */

        public LingeringExhalationCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
        {
            SpecialStringMaker.ShowSpecialString(() => CharacterCard.AlternateTitleOrTitle + " has been dealt " + Journal.DealDamageEntriesThisRound().Where(j => j.TargetCard == CharacterCard).Sum(j => j.Amount) + " damage this round.").Condition = () => Card.IsInPlayAndHasGameText;
            SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Trash, new LinqCardCriteria(c => c.IsTarget, "target"));
        }
Exemple #10
0
 public DefenderOfTheRealmCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Deck, new LinqCardCriteria(c => c.Identifier == "PlateHelm" || c.Identifier == "PlateMail", "armor"));
 }
 public RagingBlizzardCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Deck, new LinqCardCriteria(c => IsFrozen(c), "frozen"));
 }
Exemple #12
0
 public FlickeringWebCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(HeroTurnTaker.Hand, new LinqCardCriteria(c => IsRune(c), "rune", false, false, null, "runes"));
 }
 public SniperRifleCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(this.HeroTurnTaker.Hand, new LinqCardCriteria(IsCritical, "critical"));
 }
 public ChampionOfTheRealmCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(this.TurnTaker.Deck, new LinqCardCriteria(c => IsEquipment(c) && IsSingleHandCard(c), "single hand equipment"));
 }
 public GrandSummonCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Deck, new LinqCardCriteria(c => IsUndead(c), "undead"));
 }
Exemple #16
0
 public FullyEvolvedDragontamerCharacterCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(Card.UnderLocation);
 }
 public GeneratorNodeCardController(Card card, TurnTakerController turnTakerController)
     : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(base.TurnTaker.Deck, new LinqCardCriteria((Card c) => c.DoKeywordsContain("cluster"), "Cluster"));
 }
 public InkScarCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Trash, new LinqCardCriteria(IsTattoo, "tattoo"));
 }
 public BloodSacrificeCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNonVillainTargetWithLowestHP();
     SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Deck, cardCriteria: new LinqCardCriteria(c => c.Identifier == ThrallIdentifier, "", useCardsSuffix: true, singular: "Thrall", plural: "Thralls"));
 }
 protected SpecialString ShowSpecialStringNumberOfAugmentsAtLocation(Location loc)
 {
     return(SpecialStringMaker.ShowNumberOfCardsAtLocation(loc, AugmentCardCriteria()));
 }
 public ParadoxIntrusionCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowHeroTargetWithHighestHP();
     SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Trash, new LinqCardCriteria(c => c.DoKeywordsContain("vortex"), "vortex"));
 }
 public UnstableIsotopeCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(base.TurnTaker.Deck, new LinqCardCriteria((Card c) => c.DoKeywordsContain("radiation"), "radiation"));
 }
 public RaidTheStockpilesCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(HeroTurnTaker.Deck, PatchFilter);
 }
 public OnTheFlyCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Deck, new LinqCardCriteria(c => c.DoKeywordsContain("command")));
 }
 public SupervirusCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     base.AddThisCardControllerToList(CardControllerListType.MakesIndestructible);
     SpecialStringMaker.ShowNumberOfCardsAtLocation(base.Card.UnderLocation).Condition = () => base.Card.IsInPlayAndHasGameText;
 }
        public SubterranAugCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
        {
            var ss = SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Trash, new LinqCardCriteria(c => IsVillainTarget(c), "villain target"));

            ss.Condition = () => base.Card.IsInPlayAndNotUnderCard;
        }
Exemple #27
0
 public HeadlongCharacterCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Deck, cardCriteria: new LinqCardCriteria(c => IsMomentum(c), "momentum"));
 }
 public SubjectRecyclingProjectCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Trash, new LinqCardCriteria(c => IsTestSubject(c), "test subject")).Condition = () => !Card.IsInPlayAndHasGameText;
 }
 public ExtraTimeCardController(Card card, TurnTakerController turnTakerController)
     : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(base.TurnTaker.Deck, GoalpostsCards);
     SpecialStringMaker.ShowNumberOfCardsAtLocation(base.TurnTaker.Trash, GoalpostsCards);
 }
 public RisingDarknessCardController(Card card, TurnTakerController turnTakerController) : base(card, turnTakerController)
 {
     SpecialStringMaker.ShowNumberOfCardsAtLocation(TurnTaker.Trash, new LinqCardCriteria(c => c.Identifier == ImmortalFormIdentifier, "immortal form"));
 }