Added GoblinToken and refactored cards using it

This commit is contained in:
North 2011-09-21 23:10:50 +03:00
parent c386e15dff
commit c366f3ed61
3 changed files with 52 additions and 27 deletions

View file

@ -43,7 +43,7 @@ import mage.abilities.effects.common.DamageTargetEffect;
import mage.cards.CardImpl;
import mage.filter.Filter;
import mage.filter.common.FilterControlledCreaturePermanent;
import mage.game.permanent.token.Token;
import mage.game.permanent.token.GoblinToken;
import mage.target.common.TargetControlledCreaturePermanent;
import mage.target.common.TargetCreatureOrPlayer;
@ -83,14 +83,3 @@ public class SiegeGangCommander extends CardImpl<SiegeGangCommander> {
return new SiegeGangCommander(this);
}
}
class GoblinToken extends Token {
public GoblinToken() {
super("Goblin", "1/1 red Goblin creature token");
cardType.add(CardType.CREATURE);
color.setRed(true);
subtype.add("Goblin");
power = new MageInt(1);
toughness = new MageInt(1);
}
}