(Don't merge yet) Rename totem armor to umbra armor (#12270)

* rename totem armor to umbra armor

* merge fix

* merge fix
This commit is contained in:
Evan Kranzler 2024-06-06 20:52:37 -04:00 committed by GitHub
parent ebc58723f6
commit 720d6075ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 70 additions and 70 deletions

View file

@ -11,9 +11,9 @@ import mage.game.events.GameEvent;
import mage.game.permanent.Permanent;
/*
* 702.87. Totem Armor
* 702.87. Umbra Armor
*
* 702.87a Totem armor is a static ability that appears on some Auras. "Totem armor" means "
* 702.87a Umbra armor is a static ability that appears on some Auras. "Umbra armor" means "
* If enchanted permanent would be destroyed, instead remove all damage marked on it and
* destroy this Aura."
*
@ -21,34 +21,34 @@ import mage.game.permanent.Permanent;
*
*/
public class TotemArmorAbility extends SimpleStaticAbility {
public class UmbraArmorAbility extends SimpleStaticAbility {
public TotemArmorAbility() {
super(Zone.BATTLEFIELD, new TotemArmorEffect());
public UmbraArmorAbility() {
super(Zone.BATTLEFIELD, new UmbraArmorEffect());
}
private TotemArmorAbility(final TotemArmorAbility ability) {
private UmbraArmorAbility(final UmbraArmorAbility ability) {
super(ability);
}
@Override
public TotemArmorAbility copy() {
return new TotemArmorAbility(this);
public UmbraArmorAbility copy() {
return new UmbraArmorAbility(this);
}
@Override
public String getRule() {
return "totem armor <i>(If enchanted creature would be destroyed, instead remove all damage from it and destroy this Aura.)</i>";
return "umbra armor <i>(If enchanted creature would be destroyed, instead remove all damage from it and destroy this Aura.)</i>";
}
}
class TotemArmorEffect extends ReplacementEffectImpl {
class UmbraArmorEffect extends ReplacementEffectImpl {
TotemArmorEffect() {
UmbraArmorEffect() {
super(Duration.WhileOnBattlefield, Outcome.Benefit);
}
private TotemArmorEffect(final TotemArmorEffect effect) {
private UmbraArmorEffect(final UmbraArmorEffect effect) {
super(effect);
}
@ -76,7 +76,7 @@ class TotemArmorEffect extends ReplacementEffectImpl {
}
@Override
public TotemArmorEffect copy() {
return new TotemArmorEffect(this);
public UmbraArmorEffect copy() {
return new UmbraArmorEffect(this);
}
}

View file

@ -3,7 +3,7 @@ package mage.game.permanent.token;
import mage.abilities.Ability;
import mage.abilities.effects.common.AttachEffect;
import mage.abilities.keyword.EnchantAbility;
import mage.abilities.keyword.TotemArmorAbility;
import mage.abilities.keyword.UmbraArmorAbility;
import mage.constants.CardType;
import mage.constants.Outcome;
import mage.constants.SubType;
@ -18,7 +18,7 @@ public final class MaskToken extends TokenImpl {
super(
"Mask", "white Aura enchantment token named Mask "
+ "attached to another target permanent. "
+ "The token has enchant permanent and totem armor."
+ "The token has enchant permanent and umbra armor."
);
cardType.add(CardType.ENCHANTMENT);
color.setWhite(true);
@ -30,8 +30,8 @@ public final class MaskToken extends TokenImpl {
ability.addEffect(new AttachEffect(Outcome.BoostCreature));
this.addAbility(ability);
// Totem armor
this.addAbility(new TotemArmorAbility());
// Umbra armor
this.addAbility(new UmbraArmorAbility());
}
private MaskToken(final MaskToken token) {