From 3a3bd95dab5a94dc24c25a6b1eaf410ab4c94c43 Mon Sep 17 00:00:00 2001 From: Loki Date: Wed, 15 Dec 2010 01:36:47 +0200 Subject: [PATCH 1/2] ARB cards --- .../src/mage/sets/alarareborn/ArdentPlea.java | 63 ++++++++++ .../mage/sets/alarareborn/ColossalMight.java | 67 +++++++++++ .../mage/sets/alarareborn/DenyReality.java | 64 ++++++++++ .../sets/alarareborn/EthercasteKnight.java | 65 ++++++++++ .../sets/alarareborn/EtheriumAbomination.java | 66 +++++++++++ .../mage/sets/alarareborn/FiligreeAngel.java | 112 ++++++++++++++++++ .../sets/alarareborn/JenaraAsuraofWar.java | 71 +++++++++++ .../mage/sets/alarareborn/KathariRemnant.java | 72 +++++++++++ .../src/mage/sets/alarareborn/RhoxBrute.java | 62 ++++++++++ .../mage/sets/alarareborn/TalonTrooper.java | 65 ++++++++++ .../mage/sets/alarareborn/WallofDenial.java | 70 +++++++++++ 11 files changed, 777 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/alarareborn/ArdentPlea.java create mode 100644 Mage.Sets/src/mage/sets/alarareborn/ColossalMight.java create mode 100644 Mage.Sets/src/mage/sets/alarareborn/DenyReality.java create mode 100644 Mage.Sets/src/mage/sets/alarareborn/EthercasteKnight.java create mode 100644 Mage.Sets/src/mage/sets/alarareborn/EtheriumAbomination.java create mode 100644 Mage.Sets/src/mage/sets/alarareborn/FiligreeAngel.java create mode 100644 Mage.Sets/src/mage/sets/alarareborn/JenaraAsuraofWar.java create mode 100644 Mage.Sets/src/mage/sets/alarareborn/KathariRemnant.java create mode 100644 Mage.Sets/src/mage/sets/alarareborn/RhoxBrute.java create mode 100644 Mage.Sets/src/mage/sets/alarareborn/TalonTrooper.java create mode 100644 Mage.Sets/src/mage/sets/alarareborn/WallofDenial.java diff --git a/Mage.Sets/src/mage/sets/alarareborn/ArdentPlea.java b/Mage.Sets/src/mage/sets/alarareborn/ArdentPlea.java new file mode 100644 index 0000000000..329c54f7fe --- /dev/null +++ b/Mage.Sets/src/mage/sets/alarareborn/ArdentPlea.java @@ -0,0 +1,63 @@ +/* + * Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are + * permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of + * conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, this list + * of conditions and the following disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the + * authors and should not be interpreted as representing official policies, either expressed + * or implied, of BetaSteward_at_googlemail.com. + */ + +package mage.sets.alarareborn; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Duration; +import mage.Constants.Rarity; +import mage.Constants.Zone; +import mage.abilities.keyword.CascadeAbility; +import mage.abilities.keyword.ExaltedAbility; +import mage.cards.CardImpl; + +/** + * + * @author Loki + */ +public class ArdentPlea extends CardImpl { + + public ArdentPlea (UUID ownerId) { + super(ownerId, 1, "Ardent Plea", Rarity.UNCOMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}{U}"); + this.expansionSetCode = "ARB"; + this.color.setWhite(true); + this.color.setBlue(true); + this.addAbility(new ExaltedAbility()); + this.addAbility(new CascadeAbility()); + } + + public ArdentPlea (final ArdentPlea card) { + super(card); + } + + @Override + public ArdentPlea copy() { + return new ArdentPlea(this); + } +} diff --git a/Mage.Sets/src/mage/sets/alarareborn/ColossalMight.java b/Mage.Sets/src/mage/sets/alarareborn/ColossalMight.java new file mode 100644 index 0000000000..f850b78973 --- /dev/null +++ b/Mage.Sets/src/mage/sets/alarareborn/ColossalMight.java @@ -0,0 +1,67 @@ +/* + * 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.alarareborn; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Duration; +import mage.Constants.Rarity; +import mage.Constants.Zone; +import mage.abilities.effects.common.BoostTargetEffect; +import mage.abilities.effects.common.GainAbilityTargetEffect; +import mage.abilities.keyword.TrampleAbility; +import mage.cards.CardImpl; +import mage.target.common.TargetCreaturePermanent; + +/** + * + * @author Loki + */ +public class ColossalMight extends CardImpl { + + public ColossalMight (UUID ownerId) { + super(ownerId, 51, "Colossal Might", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{R}{G}"); + this.expansionSetCode = "ARB"; + this.color.setRed(true); + this.color.setGreen(true); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + this.getSpellAbility().addEffect(new BoostTargetEffect(4, 2, Duration.EndOfTurn)); + this.getSpellAbility().addEffect(new GainAbilityTargetEffect(TrampleAbility.getInstance(), Duration.EndOfTurn)); + } + + public ColossalMight (final ColossalMight card) { + super(card); + } + + @Override + public ColossalMight copy() { + return new ColossalMight(this); + } + +} diff --git a/Mage.Sets/src/mage/sets/alarareborn/DenyReality.java b/Mage.Sets/src/mage/sets/alarareborn/DenyReality.java new file mode 100644 index 0000000000..e8ecf551c8 --- /dev/null +++ b/Mage.Sets/src/mage/sets/alarareborn/DenyReality.java @@ -0,0 +1,64 @@ +/* + * 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.alarareborn; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.abilities.effects.common.ReturnToHandTargetEffect; +import mage.abilities.keyword.CascadeAbility; +import mage.cards.CardImpl; +import mage.target.TargetPermanent; + +/** + * + * @author Loki + */ +public class DenyReality extends CardImpl { + + public DenyReality (UUID ownerId) { + super(ownerId, 19, "Deny Reality", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{3}{U}{B}"); + this.expansionSetCode = "ARB"; + this.color.setBlue(true); + this.color.setBlack(true); + this.getSpellAbility().addTarget(new TargetPermanent()); + this.getSpellAbility().addEffect(new ReturnToHandTargetEffect()); + this.addAbility(new CascadeAbility()); + } + + public DenyReality (final DenyReality card) { + super(card); + } + + @Override + public DenyReality copy() { + return new DenyReality(this); + } + +} diff --git a/Mage.Sets/src/mage/sets/alarareborn/EthercasteKnight.java b/Mage.Sets/src/mage/sets/alarareborn/EthercasteKnight.java new file mode 100644 index 0000000000..56c72c3583 --- /dev/null +++ b/Mage.Sets/src/mage/sets/alarareborn/EthercasteKnight.java @@ -0,0 +1,65 @@ +/* + * 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.alarareborn; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.ExaltedAbility; +import mage.cards.CardImpl; + +/** + * + * @author Loki + */ +public class EthercasteKnight extends CardImpl { + + public EthercasteKnight (UUID ownerId) { + super(ownerId, 3, "Ethercaste Knight", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{W}{U}"); + this.expansionSetCode = "ARB"; + this.subtype.add("Human"); + this.subtype.add("Knight"); + this.color.setWhite(true); + this.color.setBlue(true); + this.power = new MageInt(1); + this.toughness = new MageInt(3); + this.addAbility(new ExaltedAbility()); + } + + public EthercasteKnight (final EthercasteKnight card) { + super(card); + } + + @Override + public EthercasteKnight copy() { + return new EthercasteKnight(this); + } + +} diff --git a/Mage.Sets/src/mage/sets/alarareborn/EtheriumAbomination.java b/Mage.Sets/src/mage/sets/alarareborn/EtheriumAbomination.java new file mode 100644 index 0000000000..fbc5ed1bee --- /dev/null +++ b/Mage.Sets/src/mage/sets/alarareborn/EtheriumAbomination.java @@ -0,0 +1,66 @@ +/* + * 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.alarareborn; + +import java.util.UUID; + +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.keyword.UnearthAbility; +import mage.cards.CardImpl; + +/** + * + * @author Loki + */ +public class EtheriumAbomination extends CardImpl { + + public EtheriumAbomination (UUID ownerId) { + super(ownerId, 20, "Etherium Abomination", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{3}{U}{B}"); + this.expansionSetCode = "ARB"; + this.subtype.add("Horror"); + this.color.setBlue(true); + this.color.setBlack(true); + this.power = new MageInt(4); + this.toughness = new MageInt(3); + this.addAbility(new UnearthAbility(new ManaCostsImpl("{1}{U}{B}"))); + } + + public EtheriumAbomination (final EtheriumAbomination card) { + super(card); + } + + @Override + public EtheriumAbomination copy() { + return new EtheriumAbomination(this); + } + +} diff --git a/Mage.Sets/src/mage/sets/alarareborn/FiligreeAngel.java b/Mage.Sets/src/mage/sets/alarareborn/FiligreeAngel.java new file mode 100644 index 0000000000..e6ef336c13 --- /dev/null +++ b/Mage.Sets/src/mage/sets/alarareborn/FiligreeAngel.java @@ -0,0 +1,112 @@ +/* + * 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.alarareborn; + +import java.util.UUID; + +import mage.Constants; +import mage.Constants.CardType; +import mage.Constants.Duration; +import mage.Constants.Rarity; +import mage.Constants.Zone; +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.OneShotEffect; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; +import mage.filter.Filter; +import mage.filter.FilterPermanent; +import mage.game.Game; +import mage.players.Player; + +/** + * + * @author Loki + */ +public class FiligreeAngel extends CardImpl { + + public FiligreeAngel (UUID ownerId) { + super(ownerId, 6, "Filigree Angel", Rarity.RARE, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{5}{W}{W}{U}"); + this.expansionSetCode = "ARB"; + this.subtype.add("Angel"); + this.color.setWhite(true); + this.color.setBlue(true); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + this.addAbility(FlyingAbility.getInstance()); + this.addAbility(new EntersBattlefieldTriggeredAbility(new FiligreeAngelEffect())); + } + + public FiligreeAngel (final FiligreeAngel card) { + super(card); + } + + @Override + public FiligreeAngel copy() { + return new FiligreeAngel(this); + } +} + +class FiligreeAngelEffect extends OneShotEffect { + private static FilterPermanent filter = new FilterPermanent(); + + static { + filter.getCardType().add(CardType.ARTIFACT); + filter.setScopeCardType(Filter.ComparisonScope.All); + } + + public FiligreeAngelEffect() { + super(Constants.Outcome.GainLife); + } + + public FiligreeAngelEffect(final FiligreeAngelEffect effect) { + super(effect); + } + + @Override + public boolean apply(Game game, Ability source) { + Player player = game.getPlayer(source.getControllerId()); + if (player != null) { + int life = game.getBattlefield().count(filter, source.getControllerId(), game) * 3; + player.gainLife(life, game); + } + return true; + } + + @Override + public FiligreeAngelEffect copy() { + return new FiligreeAngelEffect(this); + } + + @Override + public String getText(Ability source) { + return "you gain 3 life for each artifact you control"; + } +} diff --git a/Mage.Sets/src/mage/sets/alarareborn/JenaraAsuraofWar.java b/Mage.Sets/src/mage/sets/alarareborn/JenaraAsuraofWar.java new file mode 100644 index 0000000000..bb8ab7d145 --- /dev/null +++ b/Mage.Sets/src/mage/sets/alarareborn/JenaraAsuraofWar.java @@ -0,0 +1,71 @@ +/* + * 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.alarareborn; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.Constants.Zone; +import mage.MageInt; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.AddPlusOneCountersSourceEffect; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; + +/** + * + * @author Loki + */ +public class JenaraAsuraofWar extends CardImpl { + + public JenaraAsuraofWar (UUID ownerId) { + super(ownerId, 128, "Jenara, Asura of War", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{G}{W}{U}"); + this.expansionSetCode = "ARB"; + this.subtype.add("Angel"); + this.supertype.add("Legendary"); + this.color.setGreen(true); + this.color.setWhite(true); + this.color.setBlack(true); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + this.addAbility(FlyingAbility.getInstance()); + this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddPlusOneCountersSourceEffect(1), new ManaCostsImpl("{1}{W}"))); + } + + public JenaraAsuraofWar (final JenaraAsuraofWar card) { + super(card); + } + + @Override + public JenaraAsuraofWar copy() { + return new JenaraAsuraofWar(this); + } + +} diff --git a/Mage.Sets/src/mage/sets/alarareborn/KathariRemnant.java b/Mage.Sets/src/mage/sets/alarareborn/KathariRemnant.java new file mode 100644 index 0000000000..d20744e6bf --- /dev/null +++ b/Mage.Sets/src/mage/sets/alarareborn/KathariRemnant.java @@ -0,0 +1,72 @@ +/* + * 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.alarareborn; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.Constants.Zone; +import mage.MageInt; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.RegenerateSourceEffect; +import mage.abilities.keyword.CascadeAbility; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; + +/** + * + * @author Loki + */ +public class KathariRemnant extends CardImpl { + + public KathariRemnant (UUID ownerId) { + super(ownerId, 23, "Kathari Remnant", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{2}{U}{B}"); + this.expansionSetCode = "ARB"; + this.subtype.add("Bird"); + this.subtype.add("Skeleton"); + this.color.setBlue(true); + this.color.setBlack(true); + this.power = new MageInt(0); + this.toughness = new MageInt(1); + this.addAbility(FlyingAbility.getInstance()); + this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{B}"))); + this.addAbility(new CascadeAbility()); + } + + public KathariRemnant (final KathariRemnant card) { + super(card); + } + + @Override + public KathariRemnant copy() { + return new KathariRemnant(this); + } + +} diff --git a/Mage.Sets/src/mage/sets/alarareborn/RhoxBrute.java b/Mage.Sets/src/mage/sets/alarareborn/RhoxBrute.java new file mode 100644 index 0000000000..e91def1df9 --- /dev/null +++ b/Mage.Sets/src/mage/sets/alarareborn/RhoxBrute.java @@ -0,0 +1,62 @@ +/* + * 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.alarareborn; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.cards.CardImpl; + +/** + * + * @author Loki + */ +public class RhoxBrute extends CardImpl { + + public RhoxBrute (UUID ownerId) { + super(ownerId, 59, "Rhox Brute", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{2}{R}{G}"); + this.expansionSetCode = "ARB"; + this.subtype.add("Rhino"); + this.subtype.add("Warrior"); + this.color.setRed(true); + this.color.setGreen(true); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + } + + public RhoxBrute (final RhoxBrute card) { + super(card); + } + + @Override + public RhoxBrute copy() { + return new RhoxBrute(this); + } +} diff --git a/Mage.Sets/src/mage/sets/alarareborn/TalonTrooper.java b/Mage.Sets/src/mage/sets/alarareborn/TalonTrooper.java new file mode 100644 index 0000000000..b75a8a3ffa --- /dev/null +++ b/Mage.Sets/src/mage/sets/alarareborn/TalonTrooper.java @@ -0,0 +1,65 @@ +/* + * 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.alarareborn; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Rarity; +import mage.MageInt; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; + +/** + * + * @author Loki + */ +public class TalonTrooper extends CardImpl { + + public TalonTrooper (UUID ownerId) { + super(ownerId, 14, "Talon Trooper", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{W}{U}"); + this.expansionSetCode = "ARB"; + this.subtype.add("Bird"); + this.subtype.add("Scout"); + this.color.setWhite(true); + this.color.setBlue(true); + this.power = new MageInt(2); + this.toughness = new MageInt(3); + this.addAbility(FlyingAbility.getInstance()); + } + + public TalonTrooper (final TalonTrooper card) { + super(card); + } + + @Override + public TalonTrooper copy() { + return new TalonTrooper(this); + } + +} diff --git a/Mage.Sets/src/mage/sets/alarareborn/WallofDenial.java b/Mage.Sets/src/mage/sets/alarareborn/WallofDenial.java new file mode 100644 index 0000000000..070b03b870 --- /dev/null +++ b/Mage.Sets/src/mage/sets/alarareborn/WallofDenial.java @@ -0,0 +1,70 @@ +/* + * 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.alarareborn; + +import java.util.UUID; +import mage.Constants.CardType; +import mage.Constants.Duration; +import mage.Constants.Rarity; +import mage.Constants.Zone; +import mage.MageInt; +import mage.abilities.keyword.DefenderAbility; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.keyword.ShroudAbility; +import mage.cards.CardImpl; + +/** + * + * @author Loki + */ +public class WallofDenial extends CardImpl { + + public WallofDenial (UUID ownerId) { + super(ownerId, 16, "Wall of Denial", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{1}{W}{U}"); + this.expansionSetCode = "ARB"; + this.subtype.add("Wall"); + this.color.setWhite(true); + this.color.setBlue(true); + this.power = new MageInt(0); + this.toughness = new MageInt(8); + this.addAbility(DefenderAbility.getInstance()); + this.addAbility(FlyingAbility.getInstance()); + this.addAbility(ShroudAbility.getInstance()); + } + + public WallofDenial (final WallofDenial card) { + super(card); + } + + @Override + public WallofDenial copy() { + return new WallofDenial(this); + } + +} From 896df46856f12a4c8ae8ba77fef02b41a5776058 Mon Sep 17 00:00:00 2001 From: Loki Date: Wed, 15 Dec 2010 01:37:06 +0200 Subject: [PATCH 2/2] typo in template --- Utils/cardclass.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/cardclass.tmpl b/Utils/cardclass.tmpl index 05fc759cca..6ad0603110 100644 --- a/Utils/cardclass.tmpl +++ b/Utils/cardclass.tmpl @@ -32,7 +32,7 @@ import java.util.UUID; import mage.Constants.CardType; import mage.Constants.Duration; import mage.Constants.Rarity; -import mage.Constants.Zone;[= if (defined($power)) {$OUT .= "\nimport mage.MageInt";}=] +import mage.Constants.Zone;[= if (defined($power)) {$OUT .= "\nimport mage.MageInt;"}=] import mage.cards.CardImpl; /**