forked from External/mage
Refactored more subtypes usages to enum
This commit is contained in:
parent
245bf2f2df
commit
c33fe6a7e5
31 changed files with 40 additions and 29 deletions
|
|
@ -36,6 +36,7 @@ import mage.cards.CardImpl;
|
|||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
|
@ -92,8 +93,8 @@ class KinTreeInvocationCreateTokenEffect extends OneShotEffect {
|
|||
}
|
||||
|
||||
SubTypeList list = new SubTypeList();
|
||||
list.add("Spirit");
|
||||
list.add("Warrior");
|
||||
list.add(SubType.SPIRIT);
|
||||
list.add(SubType.WARRIOR);
|
||||
ObjectColor objectColor = new ObjectColor();
|
||||
objectColor.setBlack(true);
|
||||
objectColor.setGreen(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue