[AFR] Implemented Mordenkainen (#7990)

* [AFR] Implemented Mordenkainen

* [AFR] Mordenkainen - Use putCardsOnTopOfLibrary method
This commit is contained in:
Daniel Bomar 2021-07-10 18:43:31 -05:00 committed by GitHub
parent 9d9bf3e88c
commit 08aead581c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 208 additions and 0 deletions

View file

@ -0,0 +1,22 @@
package mage.game.command.emblems;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.common.continuous.MaximumHandSizeControllerEffect;
import mage.constants.Duration;
import mage.constants.Zone;
import mage.game.command.Emblem;
/**
*
* @author weirddan455
*/
public final class MordenkainenEmblem extends Emblem {
// You get an emblem with "You have no maximum hand size."
public MordenkainenEmblem() {
this.setName("Emblem Mordenkainen");
this.getAbilities().add(new SimpleStaticAbility(Zone.COMMAND, new MaximumHandSizeControllerEffect(
Integer.MAX_VALUE, Duration.WhileOnBattlefield, MaximumHandSizeControllerEffect.HandSizeModification.SET
)));
}
}