forked from External/mage
refactor: added face down status to SpellAbilityCastMode (related to #11884);
This commit is contained in:
parent
057fa2694d
commit
4334ac8987
2 changed files with 12 additions and 8 deletions
|
|
@ -100,8 +100,7 @@ public class Spell extends StackObjectImpl implements Card {
|
|||
this.ability = ability;
|
||||
this.ability.setControllerId(controllerId);
|
||||
|
||||
if (ability.getSpellAbilityCastMode() == SpellAbilityCastMode.MORPH
|
||||
|| ability.getSpellAbilityCastMode() == SpellAbilityCastMode.MEGAMORPH){
|
||||
if (ability.getSpellAbilityCastMode().isFaceDown()){
|
||||
// TODO: need research:
|
||||
// - why it use game param for color and subtype (possible bug?)
|
||||
// - is it possible to use BecomesFaceDownCreatureEffect.makeFaceDownObject or like that?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue