Package mage.game.permanent.token

Examples of mage.game.permanent.token.SpiritWhiteToken


    @Override
    public boolean apply(Game game, Ability source) {
        Permanent permanent = game.getPermanentOrLKIBattlefield(this.getTargetPointer().getFirst(game, source));
        if (permanent != null) {
            SpiritWhiteToken token = new SpiritWhiteToken();
            token.putOntoBattlefield(1, game, source.getSourceId(), permanent.getControllerId());
        }
        return true;
    }
View Full Code Here


    }

    @Override
    public boolean apply(Game game, Ability source) {
        new DestroyAllEffect(new FilterCreaturePermanent("all creatures"), true).apply(game, source);
        return new CreateTokenEffect(new SpiritWhiteToken(), 2).apply(game, source);
    }
View Full Code Here

        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        this.addAbility(LifelinkAbility.getInstance());
        // When Elgaud Inquisitor dies, put a 1/1 white Spirit creature token with flying onto the battlefield.
        this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(new SpiritWhiteToken())));
    }
View Full Code Here

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetEffect(), new SacrificeTargetCost(new TargetControlledCreaturePermanent(3, 3, filterWhite, true)));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
       
        // Whenever another black creature you control dies, put a 1/1 white Spirit creature token with flying onto the battlefield.
        this.addAbility(new DiesCreatureTriggeredAbility(new CreateTokenEffect(new SpiritWhiteToken("GPT")), false, filterBlack));
    }
View Full Code Here

}

class AvacynsCollarTriggeredAbility extends TriggeredAbilityImpl {

    public AvacynsCollarTriggeredAbility() {
        super(Zone.BATTLEFIELD, new CreateTokenEffect(new SpiritWhiteToken()));
    }
View Full Code Here

        this.expansionSetCode = "DKA";

        this.color.setWhite(true);

        // Put two 1/1 white Spirit creature tokens with flying onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SpiritWhiteToken("ISD"), 2));
        // Flashback {1}{B}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{1}{B}"), TimingRule.SORCERY));
    }
View Full Code Here

                Permanent permanent = game.getPermanent(permanentId);
                if (permanent != null) {
                    Player controller = game.getPlayer(permanent.getControllerId());
                    permanent.destroy(source.getSourceId(), game, false);
                    if (controller != null) {
                        Token spirit = new SpiritWhiteToken("AVR", 1);
                        spirit.putOntoBattlefield(1, game, source.getSourceId(), controller.getId());
                    }
                    affectedTargets++;
                }
            }
        }
View Full Code Here

        this.toughness = new MageInt(5);

        this.addAbility(FlyingAbility.getInstance());

        // Whenever another non-Spirit creature you control dies, put a 1/1 white Spirit creature token with flying onto the battlefield.
        this.addAbility(new DiesCreatureTriggeredAbility(new CreateTokenEffect(new SpiritWhiteToken(), 1), false, filter));
    }
View Full Code Here

        this.expansionSetCode = "SHM";

        this.color.setWhite(true);

        // Put three 1/1 white Spirit creature tokens with flying onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SpiritWhiteToken(), 3));
    }
View Full Code Here

TOP

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

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.