From bee62c1362651635c9113a701c67d60247bf84e5 Mon Sep 17 00:00:00 2001 From: Plopman Date: Mon, 29 Oct 2012 12:48:44 +0100 Subject: [PATCH] Circle of protection --- .../CircleOfProtectionBlack.java | 54 +++++++ .../eighthedition/CircleOfProtectionBlue.java | 54 +++++++ .../CircleOfProtectionGreen.java | 54 +++++++ .../eighthedition/CircleOfProtectionRed.java | 54 +++++++ .../CircleOfProtectionWhite.java | 54 +++++++ .../fifthedition/CircleOfProtectionBlack.java | 52 +++++++ .../fifthedition/CircleOfProtectionBlue.java | 52 +++++++ .../fifthedition/CircleOfProtectionGreen.java | 52 +++++++ .../fifthedition/CircleOfProtectionRed.java | 52 +++++++ .../fifthedition/CircleOfProtectionWhite.java | 52 +++++++ .../CircleOfProtectionBlack.java | 52 +++++++ .../fourthedition/CircleOfProtectionBlue.java | 52 +++++++ .../CircleOfProtectionGreen.java | 52 +++++++ .../fourthedition/CircleOfProtectionRed.java | 52 +++++++ .../CircleOfProtectionWhite.java | 52 +++++++ .../sets/iceage/CircleOfProtectionBlack.java | 138 ++++++++++++++++++ .../sets/iceage/CircleOfProtectionBlue.java | 136 +++++++++++++++++ .../sets/iceage/CircleOfProtectionGreen.java | 137 +++++++++++++++++ .../sets/iceage/CircleOfProtectionRed.java | 137 +++++++++++++++++ .../sets/iceage/CircleOfProtectionWhite.java | 137 +++++++++++++++++ .../ninthedition/CircleOfProtectionBlack.java | 54 +++++++ .../ninthedition/CircleOfProtectionRed.java | 54 +++++++ .../CircleOfProtectionBlack.java | 52 +++++++ .../CircleOfProtectionBlue.java | 52 +++++++ .../CircleOfProtectionGreen.java | 52 +++++++ .../seventhedition/CircleOfProtectionRed.java | 52 +++++++ .../CircleOfProtectionWhite.java | 52 +++++++ .../sixthedition/CircleOfProtectionBlack.java | 52 +++++++ .../sixthedition/CircleOfProtectionBlue.java | 52 +++++++ .../sixthedition/CircleOfProtectionGreen.java | 52 +++++++ .../sixthedition/CircleOfProtectionRed.java | 52 +++++++ .../sixthedition/CircleOfProtectionWhite.java | 52 +++++++ .../sets/tempest/CircleOfProtectionBlack.java | 52 +++++++ .../sets/tempest/CircleOfProtectionBlue.java | 52 +++++++ .../sets/tempest/CircleOfProtectionGreen.java | 52 +++++++ .../sets/tempest/CircleOfProtectionRed.java | 52 +++++++ .../sets/tempest/CircleOfProtectionWhite.java | 52 +++++++ 37 files changed, 2363 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionBlack.java create mode 100644 Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionBlue.java create mode 100644 Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionGreen.java create mode 100644 Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionRed.java create mode 100644 Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionWhite.java create mode 100644 Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionBlack.java create mode 100644 Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionBlue.java create mode 100644 Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionGreen.java create mode 100644 Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionRed.java create mode 100644 Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionWhite.java create mode 100644 Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionBlack.java create mode 100644 Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionBlue.java create mode 100644 Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionGreen.java create mode 100644 Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionRed.java create mode 100644 Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionWhite.java create mode 100644 Mage.Sets/src/mage/sets/iceage/CircleOfProtectionBlack.java create mode 100644 Mage.Sets/src/mage/sets/iceage/CircleOfProtectionBlue.java create mode 100644 Mage.Sets/src/mage/sets/iceage/CircleOfProtectionGreen.java create mode 100644 Mage.Sets/src/mage/sets/iceage/CircleOfProtectionRed.java create mode 100644 Mage.Sets/src/mage/sets/iceage/CircleOfProtectionWhite.java create mode 100644 Mage.Sets/src/mage/sets/ninthedition/CircleOfProtectionBlack.java create mode 100644 Mage.Sets/src/mage/sets/ninthedition/CircleOfProtectionRed.java create mode 100644 Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionBlack.java create mode 100644 Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionBlue.java create mode 100644 Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionGreen.java create mode 100644 Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionRed.java create mode 100644 Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionWhite.java create mode 100644 Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionBlack.java create mode 100644 Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionBlue.java create mode 100644 Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionGreen.java create mode 100644 Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionRed.java create mode 100644 Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionWhite.java create mode 100644 Mage.Sets/src/mage/sets/tempest/CircleOfProtectionBlack.java create mode 100644 Mage.Sets/src/mage/sets/tempest/CircleOfProtectionBlue.java create mode 100644 Mage.Sets/src/mage/sets/tempest/CircleOfProtectionGreen.java create mode 100644 Mage.Sets/src/mage/sets/tempest/CircleOfProtectionRed.java create mode 100644 Mage.Sets/src/mage/sets/tempest/CircleOfProtectionWhite.java diff --git a/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionBlack.java b/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionBlack.java new file mode 100644 index 0000000000..1532805b47 --- /dev/null +++ b/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionBlack.java @@ -0,0 +1,54 @@ +/* + * 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.eighthedition; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlack extends mage.sets.iceage.CircleOfProtectionBlack { + + public CircleOfProtectionBlack(UUID ownerId) { + super(ownerId); + this.cardNumber = 10; + this.expansionSetCode = "8ED"; + this.rarity = Rarity.UNCOMMON; + } + + public CircleOfProtectionBlack(final CircleOfProtectionBlack card) { + super(card); + } + + @Override + public CircleOfProtectionBlack copy() { + return new CircleOfProtectionBlack(this); + } +} diff --git a/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionBlue.java b/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionBlue.java new file mode 100644 index 0000000000..04b5e6a64b --- /dev/null +++ b/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionBlue.java @@ -0,0 +1,54 @@ +/* + * 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.eighthedition; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlue extends mage.sets.iceage.CircleOfProtectionBlue { + + public CircleOfProtectionBlue(UUID ownerId) { + super(ownerId); + this.cardNumber = 11; + this.expansionSetCode = "8ED"; + this.rarity = Rarity.UNCOMMON; + } + + public CircleOfProtectionBlue(final CircleOfProtectionBlue card) { + super(card); + } + + @Override + public CircleOfProtectionBlue copy() { + return new CircleOfProtectionBlue(this); + } +} diff --git a/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionGreen.java b/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionGreen.java new file mode 100644 index 0000000000..e8f91a3a45 --- /dev/null +++ b/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionGreen.java @@ -0,0 +1,54 @@ +/* + * 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.eighthedition; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionGreen extends mage.sets.iceage.CircleOfProtectionGreen { + + public CircleOfProtectionGreen(UUID ownerId) { + super(ownerId); + this.cardNumber = 12; + this.expansionSetCode = "8ED"; + this.rarity = Rarity.UNCOMMON; + } + + public CircleOfProtectionGreen(final CircleOfProtectionGreen card) { + super(card); + } + + @Override + public CircleOfProtectionGreen copy() { + return new CircleOfProtectionGreen(this); + } +} diff --git a/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionRed.java b/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionRed.java new file mode 100644 index 0000000000..81b9715c8b --- /dev/null +++ b/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionRed.java @@ -0,0 +1,54 @@ +/* + * 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.eighthedition; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionRed extends mage.sets.iceage.CircleOfProtectionRed { + + public CircleOfProtectionRed(UUID ownerId) { + super(ownerId); + this.cardNumber = 13; + this.expansionSetCode = "8ED"; + this.rarity = Rarity.UNCOMMON; + } + + public CircleOfProtectionRed(final CircleOfProtectionRed card) { + super(card); + } + + @Override + public CircleOfProtectionRed copy() { + return new CircleOfProtectionRed(this); + } +} diff --git a/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionWhite.java b/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionWhite.java new file mode 100644 index 0000000000..1627cd78ea --- /dev/null +++ b/Mage.Sets/src/mage/sets/eighthedition/CircleOfProtectionWhite.java @@ -0,0 +1,54 @@ +/* + * 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.eighthedition; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionWhite extends mage.sets.iceage.CircleOfProtectionWhite { + + public CircleOfProtectionWhite(UUID ownerId) { + super(ownerId); + this.cardNumber = 14; + this.expansionSetCode = "8ED"; + this.rarity = Rarity.UNCOMMON; + } + + public CircleOfProtectionWhite(final CircleOfProtectionWhite card) { + super(card); + } + + @Override + public CircleOfProtectionWhite copy() { + return new CircleOfProtectionWhite(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionBlack.java b/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionBlack.java new file mode 100644 index 0000000000..0900678110 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionBlack.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.fifthedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlack extends mage.sets.iceage.CircleOfProtectionBlack { + + public CircleOfProtectionBlack(UUID ownerId) { + super(ownerId); + this.cardNumber = 293; + this.expansionSetCode = "5ED"; + } + + public CircleOfProtectionBlack(final CircleOfProtectionBlack card) { + super(card); + } + + @Override + public CircleOfProtectionBlack copy() { + return new CircleOfProtectionBlack(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionBlue.java b/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionBlue.java new file mode 100644 index 0000000000..3810c972bb --- /dev/null +++ b/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionBlue.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.fifthedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlue extends mage.sets.iceage.CircleOfProtectionBlue { + + public CircleOfProtectionBlue(UUID ownerId) { + super(ownerId); + this.cardNumber = 294; + this.expansionSetCode = "5ED"; + } + + public CircleOfProtectionBlue(final CircleOfProtectionBlue card) { + super(card); + } + + @Override + public CircleOfProtectionBlue copy() { + return new CircleOfProtectionBlue(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionGreen.java b/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionGreen.java new file mode 100644 index 0000000000..5ab5c20b11 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionGreen.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.fifthedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionGreen extends mage.sets.iceage.CircleOfProtectionGreen { + + public CircleOfProtectionGreen(UUID ownerId) { + super(ownerId); + this.cardNumber = 295; + this.expansionSetCode = "5ED"; + } + + public CircleOfProtectionGreen(final CircleOfProtectionGreen card) { + super(card); + } + + @Override + public CircleOfProtectionGreen copy() { + return new CircleOfProtectionGreen(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionRed.java b/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionRed.java new file mode 100644 index 0000000000..dfef4a28e7 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionRed.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.fifthedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionRed extends mage.sets.iceage.CircleOfProtectionRed { + + public CircleOfProtectionRed(UUID ownerId) { + super(ownerId); + this.cardNumber = 296; + this.expansionSetCode = "5ED"; + } + + public CircleOfProtectionRed(final CircleOfProtectionRed card) { + super(card); + } + + @Override + public CircleOfProtectionRed copy() { + return new CircleOfProtectionRed(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionWhite.java b/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionWhite.java new file mode 100644 index 0000000000..55d4f7bae1 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fifthedition/CircleOfProtectionWhite.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.fifthedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionWhite extends mage.sets.iceage.CircleOfProtectionWhite { + + public CircleOfProtectionWhite(UUID ownerId) { + super(ownerId); + this.cardNumber = 297; + this.expansionSetCode = "5ED"; + } + + public CircleOfProtectionWhite(final CircleOfProtectionWhite card) { + super(card); + } + + @Override + public CircleOfProtectionWhite copy() { + return new CircleOfProtectionWhite(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionBlack.java b/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionBlack.java new file mode 100644 index 0000000000..ac9ea7e088 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionBlack.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 Plopman + */ +public class CircleOfProtectionBlack extends mage.sets.iceage.CircleOfProtectionBlack { + + public CircleOfProtectionBlack(UUID ownerId) { + super(ownerId); + this.cardNumber = 264; + this.expansionSetCode = "4ED"; + } + + public CircleOfProtectionBlack(final CircleOfProtectionBlack card) { + super(card); + } + + @Override + public CircleOfProtectionBlack copy() { + return new CircleOfProtectionBlack(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionBlue.java b/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionBlue.java new file mode 100644 index 0000000000..cf49fc7bb1 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionBlue.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 Plopman + */ +public class CircleOfProtectionBlue extends mage.sets.iceage.CircleOfProtectionBlue { + + public CircleOfProtectionBlue(UUID ownerId) { + super(ownerId); + this.cardNumber = 265; + this.expansionSetCode = "4ED"; + } + + public CircleOfProtectionBlue(final CircleOfProtectionBlue card) { + super(card); + } + + @Override + public CircleOfProtectionBlue copy() { + return new CircleOfProtectionBlue(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionGreen.java b/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionGreen.java new file mode 100644 index 0000000000..fe858447d1 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionGreen.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 Plopman + */ +public class CircleOfProtectionGreen extends mage.sets.iceage.CircleOfProtectionGreen { + + public CircleOfProtectionGreen(UUID ownerId) { + super(ownerId); + this.cardNumber = 266; + this.expansionSetCode = "4ED"; + } + + public CircleOfProtectionGreen(final CircleOfProtectionGreen card) { + super(card); + } + + @Override + public CircleOfProtectionGreen copy() { + return new CircleOfProtectionGreen(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionRed.java b/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionRed.java new file mode 100644 index 0000000000..9f986f7976 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionRed.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 Plopman + */ +public class CircleOfProtectionRed extends mage.sets.iceage.CircleOfProtectionRed { + + public CircleOfProtectionRed(UUID ownerId) { + super(ownerId); + this.cardNumber = 267; + this.expansionSetCode = "4ED"; + } + + public CircleOfProtectionRed(final CircleOfProtectionRed card) { + super(card); + } + + @Override + public CircleOfProtectionRed copy() { + return new CircleOfProtectionRed(this); + } +} diff --git a/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionWhite.java b/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionWhite.java new file mode 100644 index 0000000000..dca4234eb3 --- /dev/null +++ b/Mage.Sets/src/mage/sets/fourthedition/CircleOfProtectionWhite.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 Plopman + */ +public class CircleOfProtectionWhite extends mage.sets.iceage.CircleOfProtectionWhite { + + public CircleOfProtectionWhite(UUID ownerId) { + super(ownerId); + this.cardNumber = 268; + this.expansionSetCode = "4ED"; + } + + public CircleOfProtectionWhite(final CircleOfProtectionWhite card) { + super(card); + } + + @Override + public CircleOfProtectionWhite copy() { + return new CircleOfProtectionWhite(this); + } +} diff --git a/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionBlack.java b/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionBlack.java new file mode 100644 index 0000000000..a17d94b339 --- /dev/null +++ b/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionBlack.java @@ -0,0 +1,138 @@ +/* + * 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.iceage; + +import java.util.UUID; +import mage.Constants; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.ObjectColor; +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.PreventionEffectImpl; +import mage.cards.CardImpl; +import mage.filter.FilterObject; +import mage.filter.predicate.mageobject.ColorPredicate; +import mage.game.Game; +import mage.game.events.GameEvent; +import mage.target.TargetSource; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlack extends CardImpl { + + + + public CircleOfProtectionBlack(UUID ownerId) { + super(ownerId, 236, "Circle of Protection: Black", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}"); + this.expansionSetCode = "ICE"; + + this.color.setWhite(true); + + // {1}: The next time a black source of your choice would deal damage to you this turn, prevent that damage. + this.addAbility(new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new CircleOfProtectionBlackEffect() , new ManaCostsImpl("1"))); + } + + public CircleOfProtectionBlack(final CircleOfProtectionBlack card) { + super(card); + } + + @Override + public CircleOfProtectionBlack copy() { + return new CircleOfProtectionBlack(this); + } +} + +class CircleOfProtectionBlackEffect extends PreventionEffectImpl { + + private static final FilterObject filter = new FilterObject("black source"); + static{ + filter.add(new ColorPredicate(ObjectColor.BLACK)); + } + private TargetSource target; + + public CircleOfProtectionBlackEffect() { + super(Constants.Duration.EndOfTurn); + target = new TargetSource(filter); + + staticText = "The next time a black source of your choice would deal damage to you this turn, prevent that damage"; + } + + public CircleOfProtectionBlackEffect(final CircleOfProtectionBlackEffect effect) { + super(effect); + this.target = effect.target.copy(); + } + + @Override + public CircleOfProtectionBlackEffect copy() { + return new CircleOfProtectionBlackEffect(this); + } + + @Override + public boolean apply(Game game, Ability source) { + return true; + } + + @Override + public void init(Ability source, Game game) { + this.target.choose(Constants.Outcome.PreventDamage, source.getControllerId(), source.getSourceId(), game); + } + + @Override + public boolean replaceEvent(GameEvent event, Ability source, Game game) { + if (event.getTargetId().equals(source.getControllerId()) && event.getSourceId().equals(target.getFirstTarget())) { + preventDamage(event, source, target.getFirstTarget(), game); + return true; + } + return false; + } + + private void preventDamage(GameEvent event, Ability source, UUID target, Game game) { + GameEvent preventEvent = new GameEvent(GameEvent.EventType.PREVENT_DAMAGE, target, source.getId(), source.getControllerId(), event.getAmount(), false); + if (!game.replaceEvent(preventEvent)) { + int damage = event.getAmount(); + event.setAmount(0); + this.used = true; + game.fireEvent(GameEvent.getEvent(GameEvent.EventType.PREVENTED_DAMAGE, target, source.getId(), source.getControllerId(), damage)); + } + } + + @Override + public boolean applies(GameEvent event, Ability source, Game game) { + if (!this.used && super.applies(event, source, game)) { + if (event.getTargetId().equals(source.getControllerId()) && event.getSourceId().equals(target.getFirstTarget())) { + return true; + } + } + return false; + } + +} \ No newline at end of file diff --git a/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionBlue.java b/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionBlue.java new file mode 100644 index 0000000000..72fb8bee82 --- /dev/null +++ b/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionBlue.java @@ -0,0 +1,136 @@ +/* + * 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.iceage; + +import java.util.UUID; +import mage.Constants; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.ObjectColor; +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.PreventionEffectImpl; +import mage.cards.CardImpl; +import mage.filter.FilterObject; +import mage.filter.predicate.mageobject.ColorPredicate; +import mage.game.Game; +import mage.game.events.GameEvent; +import mage.target.TargetSource; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlue extends CardImpl { + + public CircleOfProtectionBlue(UUID ownerId) { + super(ownerId, 237, "Circle of Protection: Blue", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}"); + this.expansionSetCode = "ICE"; + + this.color.setWhite(true); + + // {1}: The next time a blue source of your choice would deal damage to you this turn, prevent that damage. + this.addAbility(new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new CircleOfProtectionBlueEffect() , new ManaCostsImpl("1"))); + + } + + public CircleOfProtectionBlue(final CircleOfProtectionBlue card) { + super(card); + } + + @Override + public CircleOfProtectionBlue copy() { + return new CircleOfProtectionBlue(this); + } +} +class CircleOfProtectionBlueEffect extends PreventionEffectImpl { + + private static final FilterObject filter = new FilterObject("blue source"); + static{ + filter.add(new ColorPredicate(ObjectColor.BLUE)); + } + private TargetSource target; + + public CircleOfProtectionBlueEffect() { + super(Constants.Duration.EndOfTurn); + target = new TargetSource(filter); + + staticText = "The next time a blue source of your choice would deal damage to you this turn, prevent that damage"; + } + + public CircleOfProtectionBlueEffect(final CircleOfProtectionBlueEffect effect) { + super(effect); + this.target = effect.target.copy(); + } + + @Override + public CircleOfProtectionBlueEffect copy() { + return new CircleOfProtectionBlueEffect(this); + } + + @Override + public boolean apply(Game game, Ability source) { + return true; + } + + @Override + public void init(Ability source, Game game) { + this.target.choose(Constants.Outcome.PreventDamage, source.getControllerId(), source.getSourceId(), game); + } + + @Override + public boolean replaceEvent(GameEvent event, Ability source, Game game) { + if (event.getTargetId().equals(source.getControllerId()) && event.getSourceId().equals(target.getFirstTarget())) { + preventDamage(event, source, target.getFirstTarget(), game); + return true; + } + return false; + } + + private void preventDamage(GameEvent event, Ability source, UUID target, Game game) { + GameEvent preventEvent = new GameEvent(GameEvent.EventType.PREVENT_DAMAGE, target, source.getId(), source.getControllerId(), event.getAmount(), false); + if (!game.replaceEvent(preventEvent)) { + int damage = event.getAmount(); + event.setAmount(0); + this.used = true; + game.fireEvent(GameEvent.getEvent(GameEvent.EventType.PREVENTED_DAMAGE, target, source.getId(), source.getControllerId(), damage)); + } + } + + @Override + public boolean applies(GameEvent event, Ability source, Game game) { + if (!this.used && super.applies(event, source, game)) { + if (event.getTargetId().equals(source.getControllerId()) && event.getSourceId().equals(target.getFirstTarget())) { + return true; + } + } + return false; + } + +} \ No newline at end of file diff --git a/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionGreen.java b/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionGreen.java new file mode 100644 index 0000000000..8b8b76546c --- /dev/null +++ b/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionGreen.java @@ -0,0 +1,137 @@ +/* + * 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.iceage; + +import java.util.UUID; +import mage.Constants; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.ObjectColor; +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.PreventionEffectImpl; +import mage.cards.CardImpl; +import mage.filter.FilterObject; +import mage.filter.predicate.mageobject.ColorPredicate; +import mage.game.Game; +import mage.game.events.GameEvent; +import mage.target.TargetSource; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionGreen extends CardImpl { + + public CircleOfProtectionGreen(UUID ownerId) { + super(ownerId, 238, "Circle of Protection: Green", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}"); + this.expansionSetCode = "ICE"; + + this.color.setWhite(true); + + // {1}: The next time a green source of your choice would deal damage to you this turn, prevent that damage. + this.addAbility(new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new CircleOfProtectionGreenEffect() , new ManaCostsImpl("1"))); + + } + + public CircleOfProtectionGreen(final CircleOfProtectionGreen card) { + super(card); + } + + @Override + public CircleOfProtectionGreen copy() { + return new CircleOfProtectionGreen(this); + } +} + +class CircleOfProtectionGreenEffect extends PreventionEffectImpl { + + private static final FilterObject filter = new FilterObject("green source"); + static{ + filter.add(new ColorPredicate(ObjectColor.GREEN)); + } + private TargetSource target; + + public CircleOfProtectionGreenEffect() { + super(Constants.Duration.EndOfTurn); + target = new TargetSource(filter); + + staticText = "The next time a green source of your choice would deal damage to you this turn, prevent that damage"; + } + + public CircleOfProtectionGreenEffect(final CircleOfProtectionGreenEffect effect) { + super(effect); + this.target = effect.target.copy(); + } + + @Override + public CircleOfProtectionGreenEffect copy() { + return new CircleOfProtectionGreenEffect(this); + } + + @Override + public boolean apply(Game game, Ability source) { + return true; + } + + @Override + public void init(Ability source, Game game) { + this.target.choose(Constants.Outcome.PreventDamage, source.getControllerId(), source.getSourceId(), game); + } + + @Override + public boolean replaceEvent(GameEvent event, Ability source, Game game) { + if (event.getTargetId().equals(source.getControllerId()) && event.getSourceId().equals(target.getFirstTarget())) { + preventDamage(event, source, target.getFirstTarget(), game); + return true; + } + return false; + } + + private void preventDamage(GameEvent event, Ability source, UUID target, Game game) { + GameEvent preventEvent = new GameEvent(GameEvent.EventType.PREVENT_DAMAGE, target, source.getId(), source.getControllerId(), event.getAmount(), false); + if (!game.replaceEvent(preventEvent)) { + int damage = event.getAmount(); + event.setAmount(0); + this.used = true; + game.fireEvent(GameEvent.getEvent(GameEvent.EventType.PREVENTED_DAMAGE, target, source.getId(), source.getControllerId(), damage)); + } + } + + @Override + public boolean applies(GameEvent event, Ability source, Game game) { + if (!this.used && super.applies(event, source, game)) { + if (event.getTargetId().equals(source.getControllerId()) && event.getSourceId().equals(target.getFirstTarget())) { + return true; + } + } + return false; + } + +} \ No newline at end of file diff --git a/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionRed.java b/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionRed.java new file mode 100644 index 0000000000..218306184d --- /dev/null +++ b/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionRed.java @@ -0,0 +1,137 @@ +/* + * 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.iceage; + +import java.util.UUID; +import mage.Constants; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.ObjectColor; +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.PreventionEffectImpl; +import mage.cards.CardImpl; +import mage.filter.FilterObject; +import mage.filter.predicate.mageobject.ColorPredicate; +import mage.game.Game; +import mage.game.events.GameEvent; +import mage.target.TargetSource; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionRed extends CardImpl { + + public CircleOfProtectionRed(UUID ownerId) { + super(ownerId, 239, "Circle of Protection: Red", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}"); + this.expansionSetCode = "ICE"; + + this.color.setWhite(true); + + // {1}: The next time a red source of your choice would deal damage to you this turn, prevent that damage. + this.addAbility(new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new CircleOfProtectionRedEffect() , new ManaCostsImpl("1"))); + + } + + public CircleOfProtectionRed(final CircleOfProtectionRed card) { + super(card); + } + + @Override + public CircleOfProtectionRed copy() { + return new CircleOfProtectionRed(this); + } +} + +class CircleOfProtectionRedEffect extends PreventionEffectImpl { + + private static final FilterObject filter = new FilterObject("red source"); + static{ + filter.add(new ColorPredicate(ObjectColor.RED)); + } + private TargetSource target; + + public CircleOfProtectionRedEffect() { + super(Constants.Duration.EndOfTurn); + target = new TargetSource(filter); + + staticText = "The next time a red source of your choice would deal damage to you this turn, prevent that damage"; + } + + public CircleOfProtectionRedEffect(final CircleOfProtectionRedEffect effect) { + super(effect); + this.target = effect.target.copy(); + } + + @Override + public CircleOfProtectionRedEffect copy() { + return new CircleOfProtectionRedEffect(this); + } + + @Override + public boolean apply(Game game, Ability source) { + return true; + } + + @Override + public void init(Ability source, Game game) { + this.target.choose(Constants.Outcome.PreventDamage, source.getControllerId(), source.getSourceId(), game); + } + + @Override + public boolean replaceEvent(GameEvent event, Ability source, Game game) { + if (event.getTargetId().equals(source.getControllerId()) && event.getSourceId().equals(target.getFirstTarget())) { + preventDamage(event, source, target.getFirstTarget(), game); + return true; + } + return false; + } + + private void preventDamage(GameEvent event, Ability source, UUID target, Game game) { + GameEvent preventEvent = new GameEvent(GameEvent.EventType.PREVENT_DAMAGE, target, source.getId(), source.getControllerId(), event.getAmount(), false); + if (!game.replaceEvent(preventEvent)) { + int damage = event.getAmount(); + event.setAmount(0); + this.used = true; + game.fireEvent(GameEvent.getEvent(GameEvent.EventType.PREVENTED_DAMAGE, target, source.getId(), source.getControllerId(), damage)); + } + } + + @Override + public boolean applies(GameEvent event, Ability source, Game game) { + if (!this.used && super.applies(event, source, game)) { + if (event.getTargetId().equals(source.getControllerId()) && event.getSourceId().equals(target.getFirstTarget())) { + return true; + } + } + return false; + } + +} diff --git a/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionWhite.java b/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionWhite.java new file mode 100644 index 0000000000..dcfcb66dfc --- /dev/null +++ b/Mage.Sets/src/mage/sets/iceage/CircleOfProtectionWhite.java @@ -0,0 +1,137 @@ +/* + * 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.iceage; + +import java.util.UUID; +import mage.Constants; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.ObjectColor; +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.PreventionEffectImpl; +import mage.cards.CardImpl; +import mage.filter.FilterObject; +import mage.filter.predicate.mageobject.ColorPredicate; +import mage.game.Game; +import mage.game.events.GameEvent; +import mage.target.TargetSource; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionWhite extends CardImpl { + + public CircleOfProtectionWhite(UUID ownerId) { + super(ownerId, 240, "Circle of Protection: White", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}"); + this.expansionSetCode = "ICE"; + + this.color.setWhite(true); + + // {1}: The next time a white source of your choice would deal damage to you this turn, prevent that damage. + this.addAbility(new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new CircleOfProtectionWhiteEffect() , new ManaCostsImpl("1"))); + + } + + public CircleOfProtectionWhite(final CircleOfProtectionWhite card) { + super(card); + } + + @Override + public CircleOfProtectionWhite copy() { + return new CircleOfProtectionWhite(this); + } +} + +class CircleOfProtectionWhiteEffect extends PreventionEffectImpl { + + private static final FilterObject filter = new FilterObject("white source"); + static{ + filter.add(new ColorPredicate(ObjectColor.WHITE)); + } + private TargetSource target; + + public CircleOfProtectionWhiteEffect() { + super(Constants.Duration.EndOfTurn); + target = new TargetSource(filter); + + staticText = "The next time a white source of your choice would deal damage to you this turn, prevent that damage"; + } + + public CircleOfProtectionWhiteEffect(final CircleOfProtectionWhiteEffect effect) { + super(effect); + this.target = effect.target.copy(); + } + + @Override + public CircleOfProtectionWhiteEffect copy() { + return new CircleOfProtectionWhiteEffect(this); + } + + @Override + public boolean apply(Game game, Ability source) { + return true; + } + + @Override + public void init(Ability source, Game game) { + this.target.choose(Constants.Outcome.PreventDamage, source.getControllerId(), source.getSourceId(), game); + } + + @Override + public boolean replaceEvent(GameEvent event, Ability source, Game game) { + if (event.getTargetId().equals(source.getControllerId()) && event.getSourceId().equals(target.getFirstTarget())) { + preventDamage(event, source, target.getFirstTarget(), game); + return true; + } + return false; + } + + private void preventDamage(GameEvent event, Ability source, UUID target, Game game) { + GameEvent preventEvent = new GameEvent(GameEvent.EventType.PREVENT_DAMAGE, target, source.getId(), source.getControllerId(), event.getAmount(), false); + if (!game.replaceEvent(preventEvent)) { + int damage = event.getAmount(); + event.setAmount(0); + this.used = true; + game.fireEvent(GameEvent.getEvent(GameEvent.EventType.PREVENTED_DAMAGE, target, source.getId(), source.getControllerId(), damage)); + } + } + + @Override + public boolean applies(GameEvent event, Ability source, Game game) { + if (!this.used && super.applies(event, source, game)) { + if (event.getTargetId().equals(source.getControllerId()) && event.getSourceId().equals(target.getFirstTarget())) { + return true; + } + } + return false; + } + +} \ No newline at end of file diff --git a/Mage.Sets/src/mage/sets/ninthedition/CircleOfProtectionBlack.java b/Mage.Sets/src/mage/sets/ninthedition/CircleOfProtectionBlack.java new file mode 100644 index 0000000000..1df730b33f --- /dev/null +++ b/Mage.Sets/src/mage/sets/ninthedition/CircleOfProtectionBlack.java @@ -0,0 +1,54 @@ +/* + * 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.ninthedition; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlack extends mage.sets.iceage.CircleOfProtectionBlack { + + public CircleOfProtectionBlack(UUID ownerId) { + super(ownerId); + this.cardNumber = 10; + this.expansionSetCode = "9ED"; + this.rarity = Rarity.UNCOMMON; + } + + public CircleOfProtectionBlack(final CircleOfProtectionBlack card) { + super(card); + } + + @Override + public CircleOfProtectionBlack copy() { + return new CircleOfProtectionBlack(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ninthedition/CircleOfProtectionRed.java b/Mage.Sets/src/mage/sets/ninthedition/CircleOfProtectionRed.java new file mode 100644 index 0000000000..9b143ac08f --- /dev/null +++ b/Mage.Sets/src/mage/sets/ninthedition/CircleOfProtectionRed.java @@ -0,0 +1,54 @@ +/* + * 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.ninthedition; + +import java.util.UUID; +import mage.Constants.Rarity; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionRed extends mage.sets.iceage.CircleOfProtectionRed { + + public CircleOfProtectionRed(UUID ownerId) { + super(ownerId); + this.cardNumber = 11; + this.expansionSetCode = "9ED"; + this.rarity = Rarity.UNCOMMON; + } + + public CircleOfProtectionRed(final CircleOfProtectionRed card) { + super(card); + } + + @Override + public CircleOfProtectionRed copy() { + return new CircleOfProtectionRed(this); + } +} diff --git a/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionBlack.java b/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionBlack.java new file mode 100644 index 0000000000..97b72772ca --- /dev/null +++ b/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionBlack.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.seventhedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlack extends mage.sets.iceage.CircleOfProtectionBlack { + + public CircleOfProtectionBlack(UUID ownerId) { + super(ownerId); + this.cardNumber = 6; + this.expansionSetCode = "7ED"; + } + + public CircleOfProtectionBlack(final CircleOfProtectionBlack card) { + super(card); + } + + @Override + public CircleOfProtectionBlack copy() { + return new CircleOfProtectionBlack(this); + } +} diff --git a/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionBlue.java b/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionBlue.java new file mode 100644 index 0000000000..8efad13bd5 --- /dev/null +++ b/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionBlue.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.seventhedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlue extends mage.sets.iceage.CircleOfProtectionBlue { + + public CircleOfProtectionBlue(UUID ownerId) { + super(ownerId); + this.cardNumber = 7; + this.expansionSetCode = "7ED"; + } + + public CircleOfProtectionBlue(final CircleOfProtectionBlue card) { + super(card); + } + + @Override + public CircleOfProtectionBlue copy() { + return new CircleOfProtectionBlue(this); + } +} diff --git a/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionGreen.java b/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionGreen.java new file mode 100644 index 0000000000..346b7bc4e4 --- /dev/null +++ b/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionGreen.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.seventhedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionGreen extends mage.sets.iceage.CircleOfProtectionGreen { + + public CircleOfProtectionGreen(UUID ownerId) { + super(ownerId); + this.cardNumber = 8; + this.expansionSetCode = "7ED"; + } + + public CircleOfProtectionGreen(final CircleOfProtectionGreen card) { + super(card); + } + + @Override + public CircleOfProtectionGreen copy() { + return new CircleOfProtectionGreen(this); + } +} diff --git a/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionRed.java b/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionRed.java new file mode 100644 index 0000000000..34b06974ac --- /dev/null +++ b/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionRed.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.seventhedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionRed extends mage.sets.iceage.CircleOfProtectionRed { + + public CircleOfProtectionRed(UUID ownerId) { + super(ownerId); + this.cardNumber = 9; + this.expansionSetCode = "7ED"; + } + + public CircleOfProtectionRed(final CircleOfProtectionRed card) { + super(card); + } + + @Override + public CircleOfProtectionRed copy() { + return new CircleOfProtectionRed(this); + } +} diff --git a/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionWhite.java b/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionWhite.java new file mode 100644 index 0000000000..1d6126c239 --- /dev/null +++ b/Mage.Sets/src/mage/sets/seventhedition/CircleOfProtectionWhite.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.seventhedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionWhite extends mage.sets.iceage.CircleOfProtectionWhite { + + public CircleOfProtectionWhite(UUID ownerId) { + super(ownerId); + this.cardNumber = 10; + this.expansionSetCode = "7ED"; + } + + public CircleOfProtectionWhite(final CircleOfProtectionWhite card) { + super(card); + } + + @Override + public CircleOfProtectionWhite copy() { + return new CircleOfProtectionWhite(this); + } +} diff --git a/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionBlack.java b/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionBlack.java new file mode 100644 index 0000000000..692cb25ecd --- /dev/null +++ b/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionBlack.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.sixthedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlack extends mage.sets.iceage.CircleOfProtectionBlack { + + public CircleOfProtectionBlack(UUID ownerId) { + super(ownerId); + this.cardNumber = 8; + this.expansionSetCode = "6ED"; + } + + public CircleOfProtectionBlack(final CircleOfProtectionBlack card) { + super(card); + } + + @Override + public CircleOfProtectionBlack copy() { + return new CircleOfProtectionBlack(this); + } +} diff --git a/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionBlue.java b/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionBlue.java new file mode 100644 index 0000000000..6ee103b6a4 --- /dev/null +++ b/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionBlue.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.sixthedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlue extends mage.sets.iceage.CircleOfProtectionBlue { + + public CircleOfProtectionBlue(UUID ownerId) { + super(ownerId); + this.cardNumber = 9; + this.expansionSetCode = "6ED"; + } + + public CircleOfProtectionBlue(final CircleOfProtectionBlue card) { + super(card); + } + + @Override + public CircleOfProtectionBlue copy() { + return new CircleOfProtectionBlue(this); + } +} diff --git a/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionGreen.java b/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionGreen.java new file mode 100644 index 0000000000..1d0e2bf3b4 --- /dev/null +++ b/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionGreen.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.sixthedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionGreen extends mage.sets.iceage.CircleOfProtectionGreen { + + public CircleOfProtectionGreen(UUID ownerId) { + super(ownerId); + this.cardNumber = 10; + this.expansionSetCode = "6ED"; + } + + public CircleOfProtectionGreen(final CircleOfProtectionGreen card) { + super(card); + } + + @Override + public CircleOfProtectionGreen copy() { + return new CircleOfProtectionGreen(this); + } +} diff --git a/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionRed.java b/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionRed.java new file mode 100644 index 0000000000..b387ec7673 --- /dev/null +++ b/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionRed.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.sixthedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionRed extends mage.sets.iceage.CircleOfProtectionRed { + + public CircleOfProtectionRed(UUID ownerId) { + super(ownerId); + this.cardNumber = 11; + this.expansionSetCode = "6ED"; + } + + public CircleOfProtectionRed(final CircleOfProtectionRed card) { + super(card); + } + + @Override + public CircleOfProtectionRed copy() { + return new CircleOfProtectionRed(this); + } +} diff --git a/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionWhite.java b/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionWhite.java new file mode 100644 index 0000000000..c81a7953bc --- /dev/null +++ b/Mage.Sets/src/mage/sets/sixthedition/CircleOfProtectionWhite.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.sixthedition; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionWhite extends mage.sets.iceage.CircleOfProtectionWhite { + + public CircleOfProtectionWhite(UUID ownerId) { + super(ownerId); + this.cardNumber = 12; + this.expansionSetCode = "6ED"; + } + + public CircleOfProtectionWhite(final CircleOfProtectionWhite card) { + super(card); + } + + @Override + public CircleOfProtectionWhite copy() { + return new CircleOfProtectionWhite(this); + } +} diff --git a/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionBlack.java b/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionBlack.java new file mode 100644 index 0000000000..030ed74a7f --- /dev/null +++ b/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionBlack.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.tempest; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlack extends mage.sets.iceage.CircleOfProtectionBlack { + + public CircleOfProtectionBlack(UUID ownerId) { + super(ownerId); + this.cardNumber = 220; + this.expansionSetCode = "TMP"; + } + + public CircleOfProtectionBlack(final CircleOfProtectionBlack card) { + super(card); + } + + @Override + public CircleOfProtectionBlack copy() { + return new CircleOfProtectionBlack(this); + } +} diff --git a/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionBlue.java b/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionBlue.java new file mode 100644 index 0000000000..2e18e23edf --- /dev/null +++ b/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionBlue.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.tempest; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionBlue extends mage.sets.iceage.CircleOfProtectionBlue { + + public CircleOfProtectionBlue(UUID ownerId) { + super(ownerId); + this.cardNumber = 221; + this.expansionSetCode = "TMP"; + } + + public CircleOfProtectionBlue(final CircleOfProtectionBlue card) { + super(card); + } + + @Override + public CircleOfProtectionBlue copy() { + return new CircleOfProtectionBlue(this); + } +} diff --git a/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionGreen.java b/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionGreen.java new file mode 100644 index 0000000000..36e033efdd --- /dev/null +++ b/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionGreen.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.tempest; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionGreen extends mage.sets.iceage.CircleOfProtectionGreen { + + public CircleOfProtectionGreen(UUID ownerId) { + super(ownerId); + this.cardNumber = 222; + this.expansionSetCode = "TMP"; + } + + public CircleOfProtectionGreen(final CircleOfProtectionGreen card) { + super(card); + } + + @Override + public CircleOfProtectionGreen copy() { + return new CircleOfProtectionGreen(this); + } +} diff --git a/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionRed.java b/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionRed.java new file mode 100644 index 0000000000..57c2e885cb --- /dev/null +++ b/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionRed.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.tempest; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionRed extends mage.sets.iceage.CircleOfProtectionRed { + + public CircleOfProtectionRed(UUID ownerId) { + super(ownerId); + this.cardNumber = 223; + this.expansionSetCode = "TMP"; + } + + public CircleOfProtectionRed(final CircleOfProtectionRed card) { + super(card); + } + + @Override + public CircleOfProtectionRed copy() { + return new CircleOfProtectionRed(this); + } +} diff --git a/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionWhite.java b/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionWhite.java new file mode 100644 index 0000000000..d7a406449e --- /dev/null +++ b/Mage.Sets/src/mage/sets/tempest/CircleOfProtectionWhite.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.tempest; + +import java.util.UUID; + +/** + * + * @author Plopman + */ +public class CircleOfProtectionWhite extends mage.sets.iceage.CircleOfProtectionWhite { + + public CircleOfProtectionWhite(UUID ownerId) { + super(ownerId); + this.cardNumber = 225; + this.expansionSetCode = "TMP"; + } + + public CircleOfProtectionWhite(final CircleOfProtectionWhite card) { + super(card); + } + + @Override + public CircleOfProtectionWhite copy() { + return new CircleOfProtectionWhite(this); + } +}