mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 20:29:19 -08:00
Merge
This commit is contained in:
commit
b09de12f23
30 changed files with 636 additions and 232 deletions
68
Mage.Sets/src/mage/sets/championsofkamigawa/VineKami.java
Normal file
68
Mage.Sets/src/mage/sets/championsofkamigawa/VineKami.java
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
/*
|
||||
* 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.championsofkamigawa;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.Constants.Zone;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continious.CantBeBlockedByOneEffect;
|
||||
import mage.abilities.keyword.SoulshiftAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author North
|
||||
*/
|
||||
public class VineKami extends CardImpl<VineKami> {
|
||||
|
||||
public VineKami(UUID ownerId) {
|
||||
super(ownerId, 249, "Vine Kami", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{6}{G}");
|
||||
this.expansionSetCode = "CHK";
|
||||
this.subtype.add("Spirit");
|
||||
|
||||
this.color.setGreen(true);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Vine Kami can't be blocked except by two or more creatures.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2)));
|
||||
this.addAbility(new SoulshiftAbility(6));
|
||||
}
|
||||
|
||||
public VineKami(final VineKami card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VineKami copy() {
|
||||
return new VineKami(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -45,7 +45,7 @@ public class HowlOfTheNightPack extends CardImpl<HowlOfTheNightPack> {
|
|||
private final static FilterControlledPermanent filter = new FilterControlledPermanent("for each Forest you control");
|
||||
|
||||
static {
|
||||
filter.getName().add("Forest");
|
||||
filter.getSubtype().add("Forest");
|
||||
}
|
||||
|
||||
public HowlOfTheNightPack(UUID ownerId) {
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public class SeismicStrike extends CardImpl<SeismicStrike> {
|
|||
private final static FilterControlledPermanent filter = new FilterControlledPermanent("Mountains you control");
|
||||
|
||||
static {
|
||||
filter.getName().add("Mountain");
|
||||
filter.getSubtype().add("Mountain");
|
||||
}
|
||||
|
||||
public SeismicStrike(UUID ownerId) {
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class TendrilsOfCorruption extends CardImpl<TendrilsOfCorruption> {
|
|||
private final static FilterControlledPermanent filter = new FilterControlledPermanent("Swamp you control");
|
||||
|
||||
static {
|
||||
filter.getName().add("Swamp");
|
||||
filter.getSubtype().add("Swamp");
|
||||
}
|
||||
|
||||
public TendrilsOfCorruption(UUID ownerId) {
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ class BloodlordOfVaasgothEffect extends ContinuousEffectImpl {
|
|||
|
||||
public BloodlordOfVaasgothEffect(final BloodlordOfVaasgothEffect effect) {
|
||||
super(effect);
|
||||
this.ability = effect.ability.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -30,13 +30,14 @@ package mage.sets.magic2012;
|
|||
|
||||
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.common.SimpleStaticAbility;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.continious.BoostSourceEffect;
|
||||
import mage.abilities.effects.common.continious.SetPowerToughnessSourceEffect;
|
||||
import mage.abilities.keyword.HexproofAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
|
|
@ -47,21 +48,23 @@ import mage.filter.common.FilterControlledPermanent;
|
|||
*/
|
||||
public class DungroveElder extends CardImpl<DungroveElder> {
|
||||
|
||||
final static FilterControlledPermanent filterLands = new FilterControlledPermanent("Forests");
|
||||
final static FilterControlledPermanent filterLands = new FilterControlledPermanent("Forests you control");
|
||||
|
||||
static {
|
||||
filterLands.getName().add("Forest");
|
||||
filterLands.getSubtype().add("Forest");
|
||||
}
|
||||
|
||||
public DungroveElder (UUID ownerId) {
|
||||
super(ownerId, 171, "Dungrove Elder", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
this.expansionSetCode = "M12";
|
||||
this.subtype.add("Treefolk");
|
||||
|
||||
this.color.setGreen(true);
|
||||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(0);
|
||||
|
||||
this.addAbility(new HexproofAbility());
|
||||
this.addAbility(new SimpleStaticAbility(Constants.Zone.BATTLEFIELD, new BoostSourceEffect(new PermanentsOnBattlefieldCount(filterLands), new PermanentsOnBattlefieldCount(filterLands), Constants.Duration.WhileOnBattlefield)));
|
||||
this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(new PermanentsOnBattlefieldCount(filterLands), Duration.EndOfGame)));
|
||||
}
|
||||
|
||||
public DungroveElder (final DungroveElder card) {
|
||||
|
|
|
|||
|
|
@ -27,88 +27,42 @@
|
|||
*/
|
||||
package mage.sets.magic2012;
|
||||
|
||||
import mage.Constants;
|
||||
import java.util.UUID;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.Constants.Zone;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.ContinuousEffectImpl;
|
||||
import mage.abilities.effects.common.continious.CantBeBlockedByOneEffect;
|
||||
import mage.abilities.keyword.BloodthirstAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author nantuko
|
||||
*/
|
||||
public class StormbloodBerserker extends CardImpl<StormbloodBerserker> {
|
||||
|
||||
public StormbloodBerserker(UUID ownerId) {
|
||||
super(ownerId, 156, "Stormblood Berserker", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{1}{R}");
|
||||
this.expansionSetCode = "M12";
|
||||
this.subtype.add("Human");
|
||||
this.subtype.add("Berserker");
|
||||
public StormbloodBerserker(UUID ownerId) {
|
||||
super(ownerId, 156, "Stormblood Berserker", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{1}{R}");
|
||||
this.expansionSetCode = "M12";
|
||||
this.subtype.add("Human");
|
||||
this.subtype.add("Berserker");
|
||||
|
||||
this.color.setRed(true);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
this.color.setRed(true);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
this.addAbility(new BloodthirstAbility(2));
|
||||
// Stormblood Berserker can't be blocked except by two or more creatures.
|
||||
this.addAbility(new SimpleStaticAbility(Constants.Zone.BATTLEFIELD, new StormbloodBerserkerEffect()));
|
||||
}
|
||||
this.addAbility(new BloodthirstAbility(2));
|
||||
// Stormblood Berserker can't be blocked except by two or more creatures.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2)));
|
||||
}
|
||||
|
||||
public StormbloodBerserker(final StormbloodBerserker card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StormbloodBerserker copy() {
|
||||
return new StormbloodBerserker(this);
|
||||
}
|
||||
}
|
||||
|
||||
class StormbloodBerserkerEffect extends ContinuousEffectImpl<StormbloodBerserkerEffect> {
|
||||
|
||||
public StormbloodBerserkerEffect() {
|
||||
super(Constants.Duration.WhileOnBattlefield, Constants.Outcome.Benefit);
|
||||
staticText = "{this} can't be blocked except by two or more creatures";
|
||||
}
|
||||
|
||||
public StormbloodBerserkerEffect(final StormbloodBerserkerEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StormbloodBerserkerEffect copy() {
|
||||
return new StormbloodBerserkerEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Constants.Layer layer, Constants.SubLayer sublayer, Ability source, Game game) {
|
||||
Permanent perm = game.getPermanent(source.getSourceId());
|
||||
if (perm != null) {
|
||||
switch (layer) {
|
||||
case RulesEffects:
|
||||
perm.setMinBlockedBy(2);
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasLayer(Constants.Layer layer) {
|
||||
return layer == Constants.Layer.RulesEffects;
|
||||
}
|
||||
public StormbloodBerserker(final StormbloodBerserker card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StormbloodBerserker copy() {
|
||||
return new StormbloodBerserker(this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ package mage.sets.morningtide;
|
|||
|
||||
import java.util.UUID;
|
||||
|
||||
import com.sun.org.apache.bcel.internal.generic.NEW;
|
||||
import mage.Constants;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ public class Lashwrithe extends CardImpl<Lashwrithe> {
|
|||
private static final FilterLandPermanent filter = new FilterLandPermanent("Swamp you control");
|
||||
|
||||
static {
|
||||
filter.getName().add("Swamp");
|
||||
filter.getSubtype().add("Swamp");
|
||||
filter.setTargetController(TargetController.YOU);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,20 +29,13 @@ package mage.sets.riseoftheeldrazi;
|
|||
|
||||
import java.util.UUID;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Duration;
|
||||
import mage.Constants.Layer;
|
||||
import mage.Constants.Outcome;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.Constants.SubLayer;
|
||||
import mage.Constants.Zone;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.ContinuousEffectImpl;
|
||||
import mage.abilities.effects.common.continious.CantBeBlockedByOneEffect;
|
||||
import mage.abilities.keyword.AnnihilatorAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -59,7 +52,8 @@ public class PathrazerOfUlamog extends CardImpl<PathrazerOfUlamog> {
|
|||
this.toughness = new MageInt(9);
|
||||
|
||||
this.addAbility(new AnnihilatorAbility(3));
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new PathrazerOfUlamogEffect()));
|
||||
// Pathrazer of Ulamog can't be blocked except by three or more creatures.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(3)));
|
||||
}
|
||||
|
||||
public PathrazerOfUlamog(final PathrazerOfUlamog card) {
|
||||
|
|
@ -71,44 +65,3 @@ public class PathrazerOfUlamog extends CardImpl<PathrazerOfUlamog> {
|
|||
return new PathrazerOfUlamog(this);
|
||||
}
|
||||
}
|
||||
|
||||
class PathrazerOfUlamogEffect extends ContinuousEffectImpl<PathrazerOfUlamogEffect> {
|
||||
|
||||
public PathrazerOfUlamogEffect() {
|
||||
super(Duration.WhileOnBattlefield, Outcome.Benefit);
|
||||
staticText = "{this} can't be blocked except by three or more creatures";
|
||||
}
|
||||
|
||||
public PathrazerOfUlamogEffect(final PathrazerOfUlamogEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PathrazerOfUlamogEffect copy() {
|
||||
return new PathrazerOfUlamogEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Layer layer, SubLayer sublayer, Ability source, Game game) {
|
||||
Permanent perm = game.getPermanent(source.getSourceId());
|
||||
if (perm != null) {
|
||||
switch (layer) {
|
||||
case RulesEffects:
|
||||
perm.setMinBlockedBy(3);
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasLayer(Layer layer) {
|
||||
return layer == Layer.RulesEffects;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
79
Mage.Sets/src/mage/sets/shadowmoor/HordeOfBoggarts.java
Normal file
79
Mage.Sets/src/mage/sets/shadowmoor/HordeOfBoggarts.java
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
/*
|
||||
* 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.shadowmoor;
|
||||
|
||||
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.common.SimpleStaticAbility;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.continious.CantBeBlockedByOneEffect;
|
||||
import mage.abilities.effects.common.continious.SetPowerToughnessSourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author North
|
||||
*/
|
||||
public class HordeOfBoggarts extends CardImpl<HordeOfBoggarts> {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("red permanents you control");
|
||||
|
||||
static {
|
||||
filter.getColor().setRed(true);
|
||||
filter.setUseColor(true);
|
||||
}
|
||||
|
||||
public HordeOfBoggarts(UUID ownerId) {
|
||||
super(ownerId, 94, "Horde of Boggarts", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{3}{R}");
|
||||
this.expansionSetCode = "SHM";
|
||||
this.subtype.add("Goblin");
|
||||
|
||||
this.color.setRed(true);
|
||||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(0);
|
||||
|
||||
// Horde of Boggarts's power and toughness are each equal to the number of red permanents you control.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(new PermanentsOnBattlefieldCount(filter), Duration.EndOfGame)));
|
||||
// Horde of Boggarts can't be blocked except by two or more creatures.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2)));
|
||||
}
|
||||
|
||||
public HordeOfBoggarts(final HordeOfBoggarts card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HordeOfBoggarts copy() {
|
||||
return new HordeOfBoggarts(this);
|
||||
}
|
||||
}
|
||||
70
Mage.Sets/src/mage/sets/shardsofalara/KederektCreeper.java
Normal file
70
Mage.Sets/src/mage/sets/shardsofalara/KederektCreeper.java
Normal file
|
|
@ -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.shardsofalara;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.Constants.Zone;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continious.CantBeBlockedByOneEffect;
|
||||
import mage.abilities.keyword.DeathtouchAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author North
|
||||
*/
|
||||
public class KederektCreeper extends CardImpl<KederektCreeper> {
|
||||
|
||||
public KederektCreeper(UUID ownerId) {
|
||||
super(ownerId, 176, "Kederekt Creeper", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{U}{B}{R}");
|
||||
this.expansionSetCode = "ALA";
|
||||
this.subtype.add("Horror");
|
||||
|
||||
this.color.setRed(true);
|
||||
this.color.setBlue(true);
|
||||
this.color.setBlack(true);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
this.addAbility(DeathtouchAbility.getInstance());
|
||||
// Kederekt Creeper can't be blocked except by two or more creatures.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2)));
|
||||
}
|
||||
|
||||
public KederektCreeper(final KederektCreeper card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public KederektCreeper copy() {
|
||||
return new KederektCreeper(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -52,7 +52,7 @@ public class BlanchwoodArmor extends CardImpl<BlanchwoodArmor> {
|
|||
private final static FilterControlledPermanent filter = new FilterControlledPermanent("Forest you control");
|
||||
|
||||
static {
|
||||
filter.getName().add("Forest");
|
||||
filter.getSubtype().add("Forest");
|
||||
}
|
||||
|
||||
public BlanchwoodArmor(UUID ownerId) {
|
||||
|
|
@ -66,8 +66,6 @@ public class BlanchwoodArmor extends CardImpl<BlanchwoodArmor> {
|
|||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||
this.addAbility(ability);
|
||||
this.addAbility(new SimpleStaticAbility(Constants.Zone.BATTLEFIELD, new BoostEnchantedEffect(new PermanentsOnBattlefieldCount(filter), new PermanentsOnBattlefieldCount(filter), Constants.Duration.WhileOnBattlefield)));
|
||||
// Enchant creature
|
||||
// Enchanted creature gets +1/+1 for each Forest you control.
|
||||
}
|
||||
|
||||
public BlanchwoodArmor(final BlanchwoodArmor card) {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ import mage.filter.common.FilterCreatureCard;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author anonymous
|
||||
* @author Loki
|
||||
*/
|
||||
public class Mortivore extends CardImpl<Mortivore> {
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ public class Nightmare extends CardImpl<Nightmare> {
|
|||
private final static FilterControlledPermanent filter = new FilterControlledPermanent("Swamps you control");
|
||||
|
||||
static {
|
||||
filter.getName().add("Swamp");
|
||||
filter.getSubtype().add("Swamp");
|
||||
}
|
||||
|
||||
public Nightmare(UUID ownerId) {
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public class SpittingEarth extends CardImpl<SpittingEarth> {
|
|||
private final static FilterControlledPermanent filter = new FilterControlledPermanent("Mountain you control");
|
||||
|
||||
static {
|
||||
filter.getName().add("Mountain");
|
||||
filter.getSubtype().add("Mountain");
|
||||
}
|
||||
|
||||
public SpittingEarth(UUID ownerId) {
|
||||
|
|
|
|||
66
Mage.Sets/src/mage/sets/tenth/ViashinoRunner.java
Normal file
66
Mage.Sets/src/mage/sets/tenth/ViashinoRunner.java
Normal file
|
|
@ -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.tenth;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.Constants.Zone;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continious.CantBeBlockedByOneEffect;
|
||||
import mage.cards.CardImpl;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author North
|
||||
*/
|
||||
public class ViashinoRunner extends CardImpl<ViashinoRunner> {
|
||||
|
||||
public ViashinoRunner(UUID ownerId) {
|
||||
super(ownerId, 245, "Viashino Runner", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{3}{R}");
|
||||
this.expansionSetCode = "10E";
|
||||
this.subtype.add("Viashino");
|
||||
|
||||
this.color.setRed(true);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Viashino Runner can't be blocked except by two or more creatures.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2)));
|
||||
}
|
||||
|
||||
public ViashinoRunner(final ViashinoRunner card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViashinoRunner copy() {
|
||||
return new ViashinoRunner(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -47,7 +47,7 @@ public class PrimalBellow extends CardImpl<PrimalBellow> {
|
|||
private static final FilterLandPermanent filter = new FilterLandPermanent("Forest you control");
|
||||
|
||||
static {
|
||||
filter.getName().add("Forest");
|
||||
filter.getSubtype().add("Forest");
|
||||
filter.setTargetController(TargetController.YOU);
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ public class TimbermawLarva extends CardImpl<TimbermawLarva> {
|
|||
private static final FilterLandPermanent filter = new FilterLandPermanent("Forest you control");
|
||||
|
||||
static {
|
||||
filter.getName().add("Forest");
|
||||
filter.getSubtype().add("Forest");
|
||||
filter.setTargetController(TargetController.YOU);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue