mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
Refactor - moved HumanWizardToken to shared area
This commit is contained in:
parent
97bf274fc8
commit
c00692ffad
3 changed files with 19 additions and 13 deletions
|
|
@ -49,7 +49,7 @@ import mage.filter.predicate.mageobject.CardTypePredicate;
|
|||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.token.Token;
|
||||
import mage.game.permanent.token.HumanWizardToken;
|
||||
import mage.players.Player;
|
||||
|
||||
/**
|
||||
|
|
@ -134,15 +134,3 @@ class DocentOfPerfectionEffect extends OneShotEffect {
|
|||
}
|
||||
}
|
||||
|
||||
class HumanWizardToken extends Token {
|
||||
|
||||
public HumanWizardToken() {
|
||||
super("Human Wizard", "1/1 blue Human Wizard creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add("Human");
|
||||
subtype.add("Wizard");
|
||||
color.setBlue(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ import mage.filter.predicate.Predicates;
|
|||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
import mage.game.permanent.token.HumanWizardToken;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
|
||||
public class HumanWizardToken extends Token {
|
||||
|
||||
public HumanWizardToken() {
|
||||
super("Human Wizard", "1/1 blue Human Wizard creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add("Human");
|
||||
subtype.add("Wizard");
|
||||
color.setBlue(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue