mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Implemented Pack Mastiff
This commit is contained in:
parent
b61e8eed64
commit
55d252ae49
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/p/PackMastiff.java
Normal file
49
Mage.Sets/src/mage/cards/p/PackMastiff.java
Normal file
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.p;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.NamePredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class PackMastiff extends CardImpl {
|
||||
|
||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent();
|
||||
|
||||
static {
|
||||
filter.add(new NamePredicate("Pack Mastiff"));
|
||||
}
|
||||
|
||||
public PackMastiff(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}");
|
||||
|
||||
this.subtype.add(SubType.HOUND);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// {1}{R}: Each creature you control named Pack Mastiff gets +1/+0 until end of turn.
|
||||
this.addAbility(new SimpleActivatedAbility(new BoostControlledEffect(
|
||||
1, 0, Duration.EndOfTurn, filter
|
||||
).setText("Each creature you control named Pack Mastiff gets +1/+0 until end of turn."), new ManaCostsImpl("{1}{R}")));
|
||||
}
|
||||
|
||||
private PackMastiff(final PackMastiff card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PackMastiff copy() {
|
||||
return new PackMastiff(this);
|
||||
}
|
||||
}
|
|
@ -161,6 +161,7 @@ public final class CoreSet2020 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Omnath, Locus of the Roil", 216, Rarity.MYTHIC, mage.cards.o.OmnathLocusOfTheRoil.class));
|
||||
cards.add(new SetCardInfo("Overgrowth Elemental", 187, Rarity.UNCOMMON, mage.cards.o.OvergrowthElemental.class));
|
||||
cards.add(new SetCardInfo("Pacifism", 32, Rarity.COMMON, mage.cards.p.Pacifism.class));
|
||||
cards.add(new SetCardInfo("Pack Mastiff", 152, Rarity.COMMON, mage.cards.p.PackMastiff.class));
|
||||
cards.add(new SetCardInfo("Planar Cleansing", 33, Rarity.RARE, mage.cards.p.PlanarCleansing.class));
|
||||
cards.add(new SetCardInfo("Portal of Sanctuary", 71, Rarity.UNCOMMON, mage.cards.p.PortalOfSanctuary.class));
|
||||
cards.add(new SetCardInfo("Pulse of Murasa", 189, Rarity.UNCOMMON, mage.cards.p.PulseOfMurasa.class));
|
||||
|
|
Loading…
Reference in a new issue