From 8be7dff31004dd81f952bc56db1e7c70234faa73 Mon Sep 17 00:00:00 2001 From: magenoxx Date: Wed, 29 Aug 2012 20:46:25 +0400 Subject: [PATCH] Moved effect to effect common package --- .../src/mage/sets/magic2010/ElvishPiper.java | 2 +- .../sets/magic2012/QuicksilverAmulet.java | 2 +- .../ActivateAsSorceryActivatedAbility.java | 27 +++++++++++++++++++ .../PutCreatureOnBattlefieldEffect.java | 2 +- 4 files changed, 30 insertions(+), 3 deletions(-) rename Mage/src/mage/abilities/{ => effects}/common/PutCreatureOnBattlefieldEffect.java (97%) diff --git a/Mage.Sets/src/mage/sets/magic2010/ElvishPiper.java b/Mage.Sets/src/mage/sets/magic2010/ElvishPiper.java index 993afd1195..610788af0b 100644 --- a/Mage.Sets/src/mage/sets/magic2010/ElvishPiper.java +++ b/Mage.Sets/src/mage/sets/magic2010/ElvishPiper.java @@ -31,7 +31,7 @@ import mage.Constants.CardType; import mage.Constants.Rarity; import mage.Constants.Zone; import mage.MageInt; -import mage.abilities.common.PutCreatureOnBattlefieldEffect; +import mage.abilities.effects.common.PutCreatureOnBattlefieldEffect; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.mana.ManaCostsImpl; diff --git a/Mage.Sets/src/mage/sets/magic2012/QuicksilverAmulet.java b/Mage.Sets/src/mage/sets/magic2012/QuicksilverAmulet.java index 4c8e529492..475881e58e 100644 --- a/Mage.Sets/src/mage/sets/magic2012/QuicksilverAmulet.java +++ b/Mage.Sets/src/mage/sets/magic2012/QuicksilverAmulet.java @@ -30,7 +30,7 @@ package mage.sets.magic2012; import mage.Constants.CardType; import mage.Constants.Rarity; import mage.Constants.Zone; -import mage.abilities.common.PutCreatureOnBattlefieldEffect; +import mage.abilities.effects.common.PutCreatureOnBattlefieldEffect; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.mana.ManaCostsImpl; diff --git a/Mage/src/mage/abilities/common/ActivateAsSorceryActivatedAbility.java b/Mage/src/mage/abilities/common/ActivateAsSorceryActivatedAbility.java index 41f95ce0d7..10007c05c0 100644 --- a/Mage/src/mage/abilities/common/ActivateAsSorceryActivatedAbility.java +++ b/Mage/src/mage/abilities/common/ActivateAsSorceryActivatedAbility.java @@ -1,3 +1,30 @@ +/* +* 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 +* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +* 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. +*/ package mage.abilities.common; import mage.Constants; diff --git a/Mage/src/mage/abilities/common/PutCreatureOnBattlefieldEffect.java b/Mage/src/mage/abilities/effects/common/PutCreatureOnBattlefieldEffect.java similarity index 97% rename from Mage/src/mage/abilities/common/PutCreatureOnBattlefieldEffect.java rename to Mage/src/mage/abilities/effects/common/PutCreatureOnBattlefieldEffect.java index 077e13f290..b5f3dc4425 100644 --- a/Mage/src/mage/abilities/common/PutCreatureOnBattlefieldEffect.java +++ b/Mage/src/mage/abilities/effects/common/PutCreatureOnBattlefieldEffect.java @@ -1,4 +1,4 @@ -package mage.abilities.common; +package mage.abilities.effects.common; import mage.Constants; import mage.abilities.Ability;