コード例 #1
0
        public override void createCard(Player owner)
        {
            this.playerOwner = owner;
            ActionDynastyRepeatable ad = new ActionDynastyRepeatable();

            ad.actionOwner = this;
            ad.gs          = playerOwner.gs;


            ERecruitCardFromProvince ae = new ERecruitCardFromProvince();

            ae.effectOwner = ad;
            ae.cardOwner   = this;

            ad.actionsEffects.Add(ae);
            ad.displayActionText = "Repeatable Dynasty,*: Bring into play a face-up Personality or Holding from your Prov- ince with Gold Cost equal to the amount you paid, paying 2 more Gold if the Personality has a Clan Alignment but does not have your Clan Alignment. (Holdings enter play bowed.) ";

            this.cardAbilities.Add(ad);
        }
コード例 #2
0
        public override void createCard(Player owner)
        {
            this.playerOwner = owner;

            ActionDynastyRepeatable adr = new ActionDynastyRepeatable();

            adr.actionOwner       = this;
            adr.gs                = this.playerOwner.gs;
            adr.displayActionText = "Repeatable Dynasty: Discard a face-up card from one of your Provinces. (Rell it face-down.)";

            ERefillProvince erp = new ERefillProvince();

            erp.cardOwner   = this;
            erp.effectOwner = adr;

            erp.effectCondition = new ConditionNull();

            adr.actionsEffects.Add(erp);

            this.cardAbilities.Add(adr);
        }