Exemple #1
0
        public override void createCard(Player owner)
        {
            this.playerOwner = owner;
            this.name        = "Player Open Pass";


            ActionOpenRepeatable tempAction = new ActionOpenRepeatable();

            tempAction.gs = playerOwner.gs;
            tempAction.displayActionText = "Open: Pass";

            EPass tempEffect = new EPass();


            tempEffect.effectOwner = tempAction;
            tempAction.actionsEffects.Add(tempEffect);
            tempAction.actionOwner = this;

            this.cardAbilities.Add(tempAction);
        }
Exemple #2
0
        public override void createCard(Player owner)
        {
            this.playerOwner = owner;
            this.name        = "Equip";
            ActionOpenRepeatable tempAction = new ActionOpenRepeatable();

            tempAction.displayActionText = "Repeatable Open,*: Attach an attachment card, with Gold Cost equal to the amount you paid, from your hand to your target Personality.";

            tempAction.gs          = playerOwner.gs;
            tempAction.actionOwner = this;

            ERecruitAttachment ra = new ERecruitAttachment();

            ra.effectCondition = new ConditionTypeAttachment();
            ra.effectTarget    = new TargetACardInHand();

            ra.cardOwner   = this;
            ra.effectOwner = tempAction;


            tempAction.actionsEffects.Add(ra);
            this.cardAbilities.Add(tempAction);
        }