[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:
Susucre 2023-07-29 19:45:09 +02:00 committed by GitHub
parent 32e340032b
commit 4856c65443
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 310 additions and 19 deletions

View file

@ -34,10 +34,11 @@ public class DisturbAbility extends SpellAbility {
this.newId();
// getSecondFaceSpellAbility() already verified that second face exists
this.setCardName(card.getSecondCardFace().getName() + " with Disturb");
this.setCardName(card.getSecondCardFace().getName());
this.zone = Zone.GRAVEYARD;
this.spellAbilityType = SpellAbilityType.BASE_ALTERNATE;
this.spellAbilityCastMode = SpellAbilityCastMode.TRANSFORMED;
this.setSpellAbilityCastMode(SpellAbilityCastMode.DISTURB);
this.manaCost = manaCost;
this.getManaCosts().clear();