From 71a12993befcd7f1da7f38771139874126904fa8 Mon Sep 17 00:00:00 2001 From: LoneFox Date: Mon, 13 Jul 2015 11:20:07 +0300 Subject: [PATCH] Fix misspellings of "Equipped" --- .../combat/AttacksIfAbleAttachedEffect.java | 14 +++++++------- .../combat/BlocksIfAbleAttachedEffect.java | 14 +++++++------- .../combat/CantAttackAttachedEffect.java | 4 ++-- .../combat/CantAttackBlockAttachedEffect.java | 4 ++-- .../CantAttackControllerAttachedEffect.java | 18 +++++++++--------- .../common/combat/CantBlockAttachedEffect.java | 8 ++++---- 6 files changed, 31 insertions(+), 31 deletions(-) diff --git a/Mage/src/mage/abilities/effects/common/combat/AttacksIfAbleAttachedEffect.java b/Mage/src/mage/abilities/effects/common/combat/AttacksIfAbleAttachedEffect.java index f435569bed..2a3d5d3df5 100644 --- a/Mage/src/mage/abilities/effects/common/combat/AttacksIfAbleAttachedEffect.java +++ b/Mage/src/mage/abilities/effects/common/combat/AttacksIfAbleAttachedEffect.java @@ -1,16 +1,16 @@ /* * Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: - * + * * 1. Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. - * + * * 2. Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. - * + * * THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR @@ -20,7 +20,7 @@ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * + * * The views and conclusions contained in the software and documentation are those of the * authors and should not be interpreted as representing official policies, either expressed * or implied, of BetaSteward_at_googlemail.com. @@ -47,8 +47,8 @@ public class AttacksIfAbleAttachedEffect extends RequirementEffect { if (attachmentType.equals(AttachmentType.AURA)) { this.staticText = "Enchanted creature attacks each turn if able"; } else { - this.staticText = "Equiped creature attacks each turn if able"; - } + this.staticText = "Equipped creature attacks each turn if able"; + } } public AttacksIfAbleAttachedEffect(final AttacksIfAbleAttachedEffect effect) { diff --git a/Mage/src/mage/abilities/effects/common/combat/BlocksIfAbleAttachedEffect.java b/Mage/src/mage/abilities/effects/common/combat/BlocksIfAbleAttachedEffect.java index d7584c2eb5..02d817da83 100644 --- a/Mage/src/mage/abilities/effects/common/combat/BlocksIfAbleAttachedEffect.java +++ b/Mage/src/mage/abilities/effects/common/combat/BlocksIfAbleAttachedEffect.java @@ -1,16 +1,16 @@ /* * Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: - * + * * 1. Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. - * + * * 2. Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. - * + * * THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR @@ -20,7 +20,7 @@ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * + * * The views and conclusions contained in the software and documentation are those of the * authors and should not be interpreted as representing official policies, either expressed * or implied, of BetaSteward_at_googlemail.com. @@ -47,8 +47,8 @@ public class BlocksIfAbleAttachedEffect extends RequirementEffect { if (attachmentType.equals(AttachmentType.AURA)) { this.staticText = "Enchanted creature blocks each turn if able"; } else { - this.staticText = "Equiped creature blocks each turn if able"; - } + this.staticText = "Equipped creature blocks each turn if able"; + } } public BlocksIfAbleAttachedEffect(final BlocksIfAbleAttachedEffect effect) { diff --git a/Mage/src/mage/abilities/effects/common/combat/CantAttackAttachedEffect.java b/Mage/src/mage/abilities/effects/common/combat/CantAttackAttachedEffect.java index 7293e7b8a2..4c2c2141b0 100644 --- a/Mage/src/mage/abilities/effects/common/combat/CantAttackAttachedEffect.java +++ b/Mage/src/mage/abilities/effects/common/combat/CantAttackAttachedEffect.java @@ -47,8 +47,8 @@ public class CantAttackAttachedEffect extends RestrictionEffect { if (attachmentType.equals(AttachmentType.AURA)) { this.staticText = "Enchanted creature can't attack"; } else { - this.staticText = "Equiped creature can't attack"; - } + this.staticText = "Equipped creature can't attack"; + } } public CantAttackAttachedEffect(final CantAttackAttachedEffect effect) { diff --git a/Mage/src/mage/abilities/effects/common/combat/CantAttackBlockAttachedEffect.java b/Mage/src/mage/abilities/effects/common/combat/CantAttackBlockAttachedEffect.java index ba1c8e793f..882fa73129 100644 --- a/Mage/src/mage/abilities/effects/common/combat/CantAttackBlockAttachedEffect.java +++ b/Mage/src/mage/abilities/effects/common/combat/CantAttackBlockAttachedEffect.java @@ -45,7 +45,7 @@ public class CantAttackBlockAttachedEffect extends RestrictionEffect { if (attachmentType.equals(AttachmentType.AURA)) { this.staticText = "Enchanted creature can't attack or block"; } else { - this.staticText = "Equiped creature can't attack or block"; + this.staticText = "Equipped creature can't attack or block"; } } @@ -67,7 +67,7 @@ public class CantAttackBlockAttachedEffect extends RestrictionEffect { public boolean canAttack(Game game) { return false; } - + @Override public boolean canBlock(Permanent attacker, Permanent blocker, Ability source, Game game) { return false; diff --git a/Mage/src/mage/abilities/effects/common/combat/CantAttackControllerAttachedEffect.java b/Mage/src/mage/abilities/effects/common/combat/CantAttackControllerAttachedEffect.java index 465cac1abf..693b73307a 100644 --- a/Mage/src/mage/abilities/effects/common/combat/CantAttackControllerAttachedEffect.java +++ b/Mage/src/mage/abilities/effects/common/combat/CantAttackControllerAttachedEffect.java @@ -1,16 +1,16 @@ /* * Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: - * + * * 1. Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. - * + * * 2. Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. - * + * * THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR @@ -20,7 +20,7 @@ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * + * * The views and conclusions contained in the software and documentation are those of the * authors and should not be interpreted as representing official policies, either expressed * or implied, of BetaSteward_at_googlemail.com. @@ -38,7 +38,7 @@ import mage.game.permanent.Permanent; /** - * + * * @author LevelX2 */ @@ -49,8 +49,8 @@ public class CantAttackControllerAttachedEffect extends RestrictionEffect { if (attachmentType.equals(AttachmentType.AURA)) { this.staticText = "Enchanted creature can't attack you or a planeswalker you control"; } else { - this.staticText = "Equiped creature can't attack you or a planeswalker you control"; - } + this.staticText = "Equipped creature can't attack you or a planeswalker you control"; + } } public CantAttackControllerAttachedEffect(final CantAttackControllerAttachedEffect effect) { @@ -71,7 +71,7 @@ public class CantAttackControllerAttachedEffect extends RestrictionEffect { return plainswalker == null || !plainswalker.getControllerId().equals(source.getControllerId()); } - + @Override public CantAttackControllerAttachedEffect copy() { return new CantAttackControllerAttachedEffect(this); diff --git a/Mage/src/mage/abilities/effects/common/combat/CantBlockAttachedEffect.java b/Mage/src/mage/abilities/effects/common/combat/CantBlockAttachedEffect.java index 06749ce98d..d58293e927 100644 --- a/Mage/src/mage/abilities/effects/common/combat/CantBlockAttachedEffect.java +++ b/Mage/src/mage/abilities/effects/common/combat/CantBlockAttachedEffect.java @@ -40,17 +40,17 @@ import mage.game.permanent.Permanent; */ public class CantBlockAttachedEffect extends RestrictionEffect { - public CantBlockAttachedEffect(AttachmentType attachmentType) { + public CantBlockAttachedEffect(AttachmentType attachmentType) { this(attachmentType, Duration.WhileOnBattlefield); } - - public CantBlockAttachedEffect(AttachmentType attachmentType, Duration duration) { + + public CantBlockAttachedEffect(AttachmentType attachmentType, Duration duration) { super(duration); StringBuilder sb = new StringBuilder(); if (attachmentType.equals(AttachmentType.AURA)) { sb.append("Enchanted creature can't block"); } else { - sb.append("Equiped creature can't block"); + sb.append("Equipped creature can't block"); } if (!duration.toString().isEmpty()) { sb.append(" ").append(duration.toString());