mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Implemented Estrid, the Masked
This commit is contained in:
parent
5a846e9343
commit
ef38467326
4 changed files with 205 additions and 0 deletions
|
|
@ -375,6 +375,7 @@ public enum SubType {
|
|||
DOOKU("Dooku", SubTypeSet.PlaneswalkerType, true), // Star Wars
|
||||
DOVIN("Dovin", SubTypeSet.PlaneswalkerType),
|
||||
ELSPETH("Elspeth", SubTypeSet.PlaneswalkerType),
|
||||
ESTRID("Estrid", SubTypeSet.PlaneswalkerType),
|
||||
FREYALISE("Freyalise", SubTypeSet.PlaneswalkerType),
|
||||
GARRUK("Garruk", SubTypeSet.PlaneswalkerType),
|
||||
GIDEON("Gideon", SubTypeSet.PlaneswalkerType),
|
||||
|
|
|
|||
43
Mage/src/main/java/mage/game/permanent/token/MaskToken.java
Normal file
43
Mage/src/main/java/mage/game/permanent/token/MaskToken.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.common.AttachEffect;
|
||||
import mage.abilities.keyword.EnchantAbility;
|
||||
import mage.abilities.keyword.TotemArmorAbility;
|
||||
import mage.constants.Outcome;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class MaskToken extends TokenImpl {
|
||||
|
||||
public MaskToken() {
|
||||
super(
|
||||
"Mask", "white Aura enchantment token named Mask "
|
||||
+ "attached to another target permanent. "
|
||||
+ "The token has enchant permanent and totem armor."
|
||||
);
|
||||
cardType.add(CardType.ENCHANTMENT);
|
||||
color.setWhite(true);
|
||||
subtype.add(SubType.AURA);
|
||||
|
||||
TargetPermanent auraTarget = new TargetPermanent();
|
||||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||
ability.addEffect(new AttachEffect(Outcome.BoostCreature));
|
||||
this.addAbility(ability);
|
||||
|
||||
this.addAbility(new TotemArmorAbility());
|
||||
}
|
||||
|
||||
public MaskToken(final MaskToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public MaskToken copy() {
|
||||
return new MaskToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue