Examples of RatToken


Examples of mage.game.permanent.token.RatToken

                    break;
                }
            }

            // create tokens according to life spent by each player
            RatToken token = new RatToken();
            for (Map.Entry<UUID, Integer> entry
                    : payLife.entrySet()) {
                Player player = game.getPlayer(entry.getKey());
                if (player != null) {
                    token.putOntoBattlefield(entry.getValue(), game, source.getSourceId(), player.getId());
                }
            }

        }
        return true;
View Full Code Here

Examples of mage.game.permanent.token.RatToken

        this.color.setBlack(true);

        // Buyback {4}
        this.addAbility(new BuybackAbility("{4}"));
        // Put a 1/1 black Rat creature token onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new RatToken()));
    }
View Full Code Here

Examples of mage.game.permanent.token.RatToken

        // Rat creatures have fear. (They can't be blocked except by artifact creatures and/or black creatures.)
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(FearAbility.getInstance(), Duration.WhileOnBattlefield, filterFear)));

        // {T}, Sacrifice a Rat: Put X 1/1 black Rat creature tokens onto the battlefield, where X is the number of Rats you control.
        Ability ability;
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new RatToken(),new PermanentsOnBattlefieldCount(filter3)), new SacrificeTargetCost(new TargetControlledPermanent(filterSacrifice)));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.game.permanent.token.RatToken

        this.toughness = new MageInt(3);

        this.color.setBlack(true);

        // Whenever another nontoken creature dies, you may put a 1/1 black Rat creature token onto the battlefield.
        this.addAbility(new DiesCreatureTriggeredAbility(new CreateTokenEffect(new RatToken()), true, filter));
        // Rats you control have deathtouch.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(DeathtouchAbility.getInstance(), Duration.WhileOnBattlefield, filter2)));
        
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.