Package mage.game.permanent.token

Examples of mage.game.permanent.token.AngelToken


        // At the beginning of each opponent's end step, if you didn't lose life this turn, you may put a quest counter on Luminarch Ascension.
        this.addAbility(new ConditionalTriggeredAbility(new LuminarchAscensionTriggeredAbility(), YouLostNoLifeThisTurnCondition.getInstance(), rule, true));
       
        // {1}{W}: Put a 4/4 white Angel creature token with flying onto the battlefield. Activate this ability only if Luminarch Ascension has four or more quest counters on it.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new AngelToken()), new ManaCostsImpl("{1}{W}"));
        ability.addCost(new SourceHasCountersCost(4, CounterType.QUEST));
        this.addAbility(ability);
    }
View Full Code Here


        this.expansionSetCode = "M14";

        this.color.setWhite(true);

        // At the beginning of each end step, if you gained 4 or more life this turn, put a 4/4 white Angel creature token with flying onto the battlefield.
        this.addAbility(new BeginningOfEndStepTriggeredAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new AngelToken()), TargetController.ANY, new YouGainedLifeCondition(Condition.ComparisonType.GreaterThan, 3), false));
        this.addWatcher(new PlayerGainedLifeWatcher());
    }
View Full Code Here

        super(effect);
    }

    @Override
    public boolean apply(Game game, Ability source) {
        AngelToken token = new AngelToken();
        Player controller = game.getPlayer(source.getControllerId());
        if (controller != null && token.putOntoBattlefield(1, game, source.getSourceId(), source.getControllerId(), true, true)) {
            Effect effect = new ExileTargetEffect();
            effect.setTargetPointer(new FixedTarget(token.getLastAddedToken()));
            CreateDelayedTriggeredAbilityEffect createEffect = new CreateDelayedTriggeredAbilityEffect(new AtTheEndOfCombatDelayedTriggeredAbility(effect));
            createEffect.apply(game, source);
            return true;
        }
        return false;
View Full Code Here

        this.subtype.add("Equipment");

        // Equipped creature has first strike.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(FirstStrikeAbility.getInstance(), AttachmentType.EQUIPMENT)));
        // Whenever equipped creature attacks, put a 4/4 white Angel creature token with flying onto the battlefield.
        this.addAbility(new AttacksAttachedTriggeredAbility(new CreateTokenEffect(new AngelToken())));
        // Equip {4}
        this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(4)));
    }
View Full Code Here

        this.expansionSetCode = "AVR";

        this.color.setWhite(true);

        // Put X 4/4 white Angel creature tokens with flying onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new AngelToken(), new ManacostVariableValue()));

        // Miracle {X}{W}{W}
        this.addAbility(new MiracleAbility(this, new ManaCostsImpl("{X}{W}{W}")));
    }
View Full Code Here

                else {
                    break;
                }
            }
            if (tappedAmount > 0) {
                AngelToken angelToken = new AngelToken();
                angelToken.putOntoBattlefield(tappedAmount, game, source.getSourceId(), source.getControllerId());
                game.informPlayers(new StringBuilder(controller.getName()).append(" puts ").append(tappedAmount).append(" token").append(tappedAmount != 1 ?"s":"").append(" onto the battlefield").toString());
            }
            return true;
        }
        return false;
View Full Code Here

    public SigilOfTheEmptyThrone(UUID ownerId) {
        super(ownerId, 18, "Sigil of the Empty Throne", Rarity.RARE, new CardType[]{CardType.ENCHANTMENT}, "{3}{W}{W}");
        this.expansionSetCode = "CON";
        this.color.setWhite(true);

        this.addAbility(new SpellCastControllerTriggeredAbility(new CreateTokenEffect(new AngelToken()), filter, false));
    }
View Full Code Here

        this.expansionSetCode = "VMA";

        this.color.setWhite(true);

        // Put X 4/4 white Angel creature tokens with flying onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new AngelToken(), new ManacostVariableValue()));
       
        // Cycling {2}{W}
        this.addAbility(new CyclingAbility(new ManaCostsImpl<>("{2}{W}")));
       
        // When you cycle Decree of Justice, you may pay {X}. If you do, put X 1/1 white Soldier creature tokens onto the battlefield.
View Full Code Here

        this.color.setWhite(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

        // When Urbis Protector enters the battlefield, put a 4/4 white Angel creature token with flying onto the battlefield.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new AngelToken())));
    }
View Full Code Here

TOP

Related Classes of mage.game.permanent.token.AngelToken

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.