forked from External/mage
[AFR] Implemented Mordenkainen (#7990)
* [AFR] Implemented Mordenkainen * [AFR] Mordenkainen - Use putCardsOnTopOfLibrary method
This commit is contained in:
parent
9d9bf3e88c
commit
08aead581c
5 changed files with 208 additions and 0 deletions
|
|
@ -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
|
||||
)));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue