From 64e7a199618b7284ccadd009712d7439362fc00b Mon Sep 17 00:00:00 2001 From: North Date: Wed, 25 Jul 2012 20:17:19 +0300 Subject: [PATCH 1/2] [5DN] Serum Visions --- .../src/mage/sets/fifthdawn/SerumVisions.java | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/fifthdawn/SerumVisions.java diff --git a/Mage.Sets/src/mage/sets/fifthdawn/SerumVisions.java b/Mage.Sets/src/mage/sets/fifthdawn/SerumVisions.java new file mode 100644 index 0000000000..6e4f1a48e2 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fifthdawn/SerumVisions.java @@ -0,0 +1,63 @@ +/* + * 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.sets.fifthdawn; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.abilities.effects.common.DrawCardControllerEffect; +import mage.abilities.effects.common.ScryEffect; +import mage.cards.CardImpl; + +/** + * + * @author North + */ +public class SerumVisions extends CardImpl { + + public SerumVisions(UUID ownerId) { + super(ownerId, 36, "Serum Visions", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{U}"); + this.expansionSetCode = "5DN"; + + this.color.setBlue(true); + + // Draw a card. + this.getSpellAbility().addEffect(new DrawCardControllerEffect(1)); + // Scry 2. + this.getSpellAbility().addEffect(new ScryEffect(2)); + } + + public SerumVisions(final SerumVisions card) { + super(card); + } + + @Override + public SerumVisions copy() { + return new SerumVisions(this); + } +} From c1134d7b34a482957f1ba717913b07b7138caf90 Mon Sep 17 00:00:00 2001 From: North Date: Wed, 25 Jul 2012 20:21:35 +0300 Subject: [PATCH 2/2] Added local repository to pom There is no need to manually install the jspf library anymore --- pom.xml | 4 ++++ repository/install-maven.bat | 1 - repository/install-maven.sh | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 repository/install-maven.bat delete mode 100644 repository/install-maven.sh diff --git a/pom.xml b/pom.xml index 8bea9862fc..cc8a0f1d22 100644 --- a/pom.xml +++ b/pom.xml @@ -60,6 +60,10 @@ daily + + local-project-repo + file:repository + diff --git a/repository/install-maven.bat b/repository/install-maven.bat deleted file mode 100644 index 5479d30207..0000000000 --- a/repository/install-maven.bat +++ /dev/null @@ -1 +0,0 @@ -mvn install:install-file -DgroupId=com.googlecode.jspf -DartifactId=jspf-core -Dversion=0.9.1 -Dpackaging=jar -Dfile=./com/googlecode/jspf/jspf-core/0.9.1/jspf-core-0.9.1.jar \ No newline at end of file diff --git a/repository/install-maven.sh b/repository/install-maven.sh deleted file mode 100644 index 5479d30207..0000000000 --- a/repository/install-maven.sh +++ /dev/null @@ -1 +0,0 @@ -mvn install:install-file -DgroupId=com.googlecode.jspf -DartifactId=jspf-core -Dversion=0.9.1 -Dpackaging=jar -Dfile=./com/googlecode/jspf/jspf-core/0.9.1/jspf-core-0.9.1.jar \ No newline at end of file