From 5229827dc797004fa7c74e4263896a0aeeabc53d Mon Sep 17 00:00:00 2001 From: icetc Date: Tue, 26 Jan 2016 23:47:47 +0100 Subject: [PATCH] Added Celestial Prism --- .../sets/fourthedition/CelestialPrism.java | 52 +++++++++++++++ .../sets/limitedalpha/CelestialPrism.java | 63 +++++++++++++++++++ .../mage/sets/limitedbeta/CelestialPrism.java | 52 +++++++++++++++ .../sets/revisededition/CelestialPrism.java | 52 +++++++++++++++ .../sets/unlimitededition/CelestialPrism.java | 52 +++++++++++++++ 5 files changed, 271 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/fourthedition/CelestialPrism.java create mode 100644 Mage.Sets/src/mage/sets/limitedalpha/CelestialPrism.java create mode 100644 Mage.Sets/src/mage/sets/limitedbeta/CelestialPrism.java create mode 100644 Mage.Sets/src/mage/sets/revisededition/CelestialPrism.java create mode 100644 Mage.Sets/src/mage/sets/unlimitededition/CelestialPrism.java diff --git a/Mage.Sets/src/mage/sets/fourthedition/CelestialPrism.java b/Mage.Sets/src/mage/sets/fourthedition/CelestialPrism.java new file mode 100644 index 00000000000..71be96eb679 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fourthedition/CelestialPrism.java @@ -0,0 +1,52 @@ +/* + * 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.fourthedition; + +import java.util.UUID; + +/** + * + * @author icetc + */ +public class CelestialPrism extends mage.sets.limitedalpha.CelestialPrism { + + public CelestialPrism(UUID ownerId) { + super(ownerId); + this.cardNumber = 322; + this.expansionSetCode = "4ED"; + } + + public CelestialPrism(final CelestialPrism card) { + super(card); + } + + @Override + public CelestialPrism copy() { + return new CelestialPrism(this); + } +} diff --git a/Mage.Sets/src/mage/sets/limitedalpha/CelestialPrism.java b/Mage.Sets/src/mage/sets/limitedalpha/CelestialPrism.java new file mode 100644 index 00000000000..39e94c9528b --- /dev/null +++ b/Mage.Sets/src/mage/sets/limitedalpha/CelestialPrism.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.limitedalpha; + +import java.util.UUID; +import mage.abilities.Ability; +import mage.abilities.costs.common.TapSourceCost; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.mana.AnyColorManaAbility; +import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Rarity; + +/** + * + * @author icetc + */ +public class CelestialPrism extends CardImpl { + + public CelestialPrism(UUID ownerId) { + super(ownerId, 234, "Celestial Prism", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{3}"); + this.expansionSetCode = "LEA"; + + // {2}, {tap}: Add one mana of any color to your mana pool. + Ability ability = new AnyColorManaAbility(new GenericManaCost(2)); + ability.addCost(new TapSourceCost()); + this.addAbility(ability); + } + + public CelestialPrism(final CelestialPrism card) { + super(card); + } + + @Override + public CelestialPrism copy() { + return new CelestialPrism(this); + } +} diff --git a/Mage.Sets/src/mage/sets/limitedbeta/CelestialPrism.java b/Mage.Sets/src/mage/sets/limitedbeta/CelestialPrism.java new file mode 100644 index 00000000000..bc1154c3b92 --- /dev/null +++ b/Mage.Sets/src/mage/sets/limitedbeta/CelestialPrism.java @@ -0,0 +1,52 @@ +/* + * 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.limitedbeta; + +import java.util.UUID; + +/** + * + * @author icetc + */ +public class CelestialPrism extends mage.sets.limitedalpha.CelestialPrism { + + public CelestialPrism(UUID ownerId) { + super(ownerId); + this.cardNumber = 236; + this.expansionSetCode = "LEB"; + } + + public CelestialPrism(final CelestialPrism card) { + super(card); + } + + @Override + public CelestialPrism copy() { + return new CelestialPrism(this); + } +} diff --git a/Mage.Sets/src/mage/sets/revisededition/CelestialPrism.java b/Mage.Sets/src/mage/sets/revisededition/CelestialPrism.java new file mode 100644 index 00000000000..90f0a0e21fe --- /dev/null +++ b/Mage.Sets/src/mage/sets/revisededition/CelestialPrism.java @@ -0,0 +1,52 @@ +/* + * 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.revisededition; + +import java.util.UUID; + +/** + * + * @author icetc + */ +public class CelestialPrism extends mage.sets.limitedalpha.CelestialPrism { + + public CelestialPrism(UUID ownerId) { + super(ownerId); + this.cardNumber = 239; + this.expansionSetCode = "3ED"; + } + + public CelestialPrism(final CelestialPrism card) { + super(card); + } + + @Override + public CelestialPrism copy() { + return new CelestialPrism(this); + } +} diff --git a/Mage.Sets/src/mage/sets/unlimitededition/CelestialPrism.java b/Mage.Sets/src/mage/sets/unlimitededition/CelestialPrism.java new file mode 100644 index 00000000000..cbe7fb32b86 --- /dev/null +++ b/Mage.Sets/src/mage/sets/unlimitededition/CelestialPrism.java @@ -0,0 +1,52 @@ +/* + * 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.unlimitededition; + +import java.util.UUID; + +/** + * + * @author icetc + */ +public class CelestialPrism extends mage.sets.limitedalpha.CelestialPrism { + + public CelestialPrism(UUID ownerId) { + super(ownerId); + this.cardNumber = 235; + this.expansionSetCode = "2ED"; + } + + public CelestialPrism(final CelestialPrism card) { + super(card); + } + + @Override + public CelestialPrism copy() { + return new CelestialPrism(this); + } +}