mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[WAR] - added token image;
This commit is contained in:
parent
c6e262b0ed
commit
6c3b48b2a7
3 changed files with 10 additions and 8 deletions
|
@ -1198,3 +1198,4 @@
|
||||||
|Generate|TOK:RNA|Thopter|||ThopterToken|
|
|Generate|TOK:RNA|Thopter|||ThopterToken|
|
||||||
|Generate|TOK:RNA|Treasure|||TreasureToken|
|
|Generate|TOK:RNA|Treasure|||TreasureToken|
|
||||||
|Generate|TOK:RNA|Zombie|||ZombieToken|
|
|Generate|TOK:RNA|Zombie|||ZombieToken|
|
||||||
|
|Generate|TOK:WAR|Zombie Army|||ZombieArmyToken|
|
|
@ -13,7 +13,7 @@ import mage.filter.common.FilterControlledPermanent;
|
||||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.game.permanent.token.AmassToken;
|
import mage.game.permanent.token.ZombieArmyToken;
|
||||||
import mage.players.Player;
|
import mage.players.Player;
|
||||||
import mage.target.Target;
|
import mage.target.Target;
|
||||||
import mage.target.TargetPermanent;
|
import mage.target.TargetPermanent;
|
||||||
|
@ -69,7 +69,7 @@ public class AmassEffect extends OneShotEffect {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!game.getBattlefield().contains(filter, 1, game)) {
|
if (!game.getBattlefield().contains(filter, 1, game)) {
|
||||||
new CreateTokenEffect(new AmassToken()).apply(game, source);
|
new CreateTokenEffect(new ZombieArmyToken()).apply(game, source);
|
||||||
}
|
}
|
||||||
Target target = new TargetPermanent(filter);
|
Target target = new TargetPermanent(filter);
|
||||||
target.setNotTarget(true);
|
target.setNotTarget(true);
|
||||||
|
|
|
@ -8,10 +8,11 @@ import mage.constants.SubType;
|
||||||
/**
|
/**
|
||||||
* @author TheElk801
|
* @author TheElk801
|
||||||
*/
|
*/
|
||||||
public final class AmassToken extends TokenImpl {
|
public final class ZombieArmyToken extends TokenImpl {
|
||||||
|
|
||||||
public AmassToken() {
|
public ZombieArmyToken() {
|
||||||
super("Zombie Army", "0/0 black Zombie Army creature token");
|
super("Zombie Army", "0/0 black Zombie Army creature token");
|
||||||
|
setExpansionSetCodeForImage("WAR"); // default
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
color.setBlack(true);
|
color.setBlack(true);
|
||||||
subtype.add(SubType.ZOMBIE);
|
subtype.add(SubType.ZOMBIE);
|
||||||
|
@ -20,12 +21,12 @@ public final class AmassToken extends TokenImpl {
|
||||||
toughness = new MageInt(0);
|
toughness = new MageInt(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private AmassToken(final AmassToken token) {
|
private ZombieArmyToken(final ZombieArmyToken token) {
|
||||||
super(token);
|
super(token);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AmassToken copy() {
|
public ZombieArmyToken copy() {
|
||||||
return new AmassToken(this);
|
return new ZombieArmyToken(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue