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
|
|
@ -75,7 +75,7 @@ public class Spell extends StackObjectImpl implements Card {
|
|||
Card affectedCard = card;
|
||||
|
||||
// TODO: must be removed after transform cards (one side) migrated to MDF engine (multiple sides)
|
||||
if (ability.getSpellAbilityCastMode() == SpellAbilityCastMode.TRANSFORMED && affectedCard.getSecondCardFace() != null) {
|
||||
if (ability.getSpellAbilityCastMode().isTransformed() && affectedCard.getSecondCardFace() != null) {
|
||||
// simulate another side as new card (another code part in continues effect from disturb ability)
|
||||
affectedCard = TransformAbility.transformCardSpellStatic(card, card.getSecondCardFace(), game);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue