forked from External/mage
Refactored more subtypes usages to enum
This commit is contained in:
parent
92b999a9b4
commit
3cc178196e
29 changed files with 82 additions and 65 deletions
|
|
@ -245,7 +245,7 @@ public class Spell extends StackObjImpl implements Card {
|
|||
}
|
||||
counter(null, game);
|
||||
return false;
|
||||
} else if (this.isEnchantment() && this.getSubtype(game).contains("Aura")) {
|
||||
} else if (this.isEnchantment() && this.getSubtype(game).contains(SubType.AURA)) {
|
||||
if (ability.getTargets().stillLegal(ability, game)) {
|
||||
updateOptionalCosts(0);
|
||||
boolean bestow = ability instanceof BestowAbility;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue