mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
Implemented Reckless Pangolin
This commit is contained in:
parent
bd46889c8c
commit
1c2f384bcc
3 changed files with 40 additions and 0 deletions
38
Mage.Sets/src/mage/cards/r/RecklessPangolin.java
Normal file
38
Mage.Sets/src/mage/cards/r/RecklessPangolin.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.constants.SubType;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RecklessPangolin extends CardImpl {
|
||||
|
||||
public RecklessPangolin(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.subtype.add(SubType.PANGOLIN);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Whenever Reckless Pangolin attacks, it gets +1/+1 until end of turn.
|
||||
this.addAbility(new AttacksTriggeredAbility(new BoostSourceEffect(1, 1, Duration.EndOfTurn), false));
|
||||
}
|
||||
|
||||
public RecklessPangolin(final RecklessPangolin card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RecklessPangolin copy() {
|
||||
return new RecklessPangolin(this);
|
||||
}
|
||||
}
|
|
@ -43,6 +43,7 @@ public final class JiangYangguMuYanling extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Plains", 20, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Purple-Crystal Crab", 3, Rarity.COMMON, mage.cards.p.PurpleCrystalCrab.class));
|
||||
cards.add(new SetCardInfo("Qilin's Blessing", 14, Rarity.COMMON, mage.cards.q.QilinsBlessing.class));
|
||||
cards.add(new SetCardInfo("Reckless Pangolin", 26, Rarity.COMMON, mage.cards.r.RecklessPangolin.class));
|
||||
cards.add(new SetCardInfo("Timber Gorge", 38, Rarity.COMMON, mage.cards.t.TimberGorge.class));
|
||||
cards.add(new SetCardInfo("Welkin Tern", 5, Rarity.COMMON, mage.cards.w.WelkinTern.class));
|
||||
}
|
||||
|
|
|
@ -247,6 +247,7 @@ public enum SubType {
|
|||
OX("Ox", SubTypeSet.CreatureType),
|
||||
OYSTER("Oyster", SubTypeSet.CreatureType),
|
||||
// P
|
||||
PANGOLIN("Pangolin", SubTypeSet.CreatureType),
|
||||
PEGASUS("Pegasus", SubTypeSet.CreatureType),
|
||||
PENTAVITE("Pentavite", SubTypeSet.CreatureType),
|
||||
PEST("Pest", SubTypeSet.CreatureType),
|
||||
|
|
Loading…
Reference in a new issue