mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
Implemented Nissa, Who Shakes the World
This commit is contained in:
parent
15d389a5ba
commit
b28bef8f62
4 changed files with 179 additions and 2 deletions
|
|
@ -14,7 +14,6 @@ import mage.filter.predicate.mageobject.CardTypePredicate;
|
|||
import mage.game.command.Emblem;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class ElspethKnightErrantEmblem extends Emblem {
|
||||
|
|
@ -28,7 +27,7 @@ public final class ElspethKnightErrantEmblem extends Emblem {
|
|||
new CardTypePredicate(CardType.ENCHANTMENT),
|
||||
new CardTypePredicate(CardType.LAND)));
|
||||
Effect effect = new GainAbilityAllEffect(IndestructibleAbility.getInstance(), Duration.WhileOnBattlefield, filter, false);
|
||||
effect.setText("Artifacts, creatures, enchantments, and lands you control are indestructible");
|
||||
effect.setText("Artifacts, creatures, enchantments, and lands you control have indestructible");
|
||||
this.getAbilities().add(new SimpleStaticAbility(Zone.COMMAND, effect));
|
||||
this.setExpansionSetCodeForImage("MMA");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
package mage.game.command.emblems;
|
||||
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityAllEffect;
|
||||
import mage.abilities.keyword.IndestructibleAbility;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.command.Emblem;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class NissaWhoShakesTheWorldEmblem extends Emblem {
|
||||
|
||||
public NissaWhoShakesTheWorldEmblem() {
|
||||
this.setName("Emblem Nissa");
|
||||
this.getAbilities().add(new SimpleStaticAbility(
|
||||
Zone.COMMAND,
|
||||
new GainAbilityAllEffect(
|
||||
IndestructibleAbility.getInstance(), Duration.WhileOnBattlefield,
|
||||
StaticFilters.FILTER_CONTROLLED_PERMANENT_LAND, false
|
||||
)
|
||||
));
|
||||
this.setExpansionSetCodeForImage("WAR");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue