forked from External/mage
[BOT] Implement Megatron, Tyrant // Megatron, Destructive Force (#10666)
* [BOT] Implement Megatron, Tyrant // Megatron, Destructive Force * fix verify test. * cleanup AbilityCastMode for Disturb & MoreThanMeetsTheEye * cleanup unecessary checks. * fix duration of silence static effect * fix Disturb tests
This commit is contained in:
parent
32e340032b
commit
4856c65443
9 changed files with 310 additions and 19 deletions
|
|
@ -5,7 +5,6 @@ import mage.cards.Card;
|
|||
import mage.game.Game;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public enum SpellAbilityCastMode {
|
||||
|
|
@ -13,12 +12,26 @@ public enum SpellAbilityCastMode {
|
|||
MADNESS("Madness"),
|
||||
FLASHBACK("Flashback"),
|
||||
BESTOW("Bestow"),
|
||||
TRANSFORMED("Transformed");
|
||||
TRANSFORMED("Transformed", true),
|
||||
DISTURB("Disturb", true),
|
||||
MORE_THAN_MEETS_THE_EYE("More than Meets the Eye", true);
|
||||
|
||||
private final String text;
|
||||
|
||||
// Should the cast mode use the second face?
|
||||
private final boolean isTransformed;
|
||||
|
||||
public boolean isTransformed() {
|
||||
return this.isTransformed;
|
||||
}
|
||||
|
||||
SpellAbilityCastMode(String text) {
|
||||
this(text, false);
|
||||
}
|
||||
|
||||
SpellAbilityCastMode(String text, boolean isTransformed) {
|
||||
this.text = text;
|
||||
this.isTransformed = isTransformed;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue