forked from External/mage
[FIC] Implement Umaro, Raging Yeti
This commit is contained in:
parent
83c0c8e782
commit
af40403508
2 changed files with 70 additions and 0 deletions
69
Mage.Sets/src/mage/cards/u/UmaroRagingYeti.java
Normal file
69
Mage.Sets/src/mage/cards/u/UmaroRagingYeti.java
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
package mage.cards.u;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.effects.common.discard.DiscardHandControllerEffect;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.abilities.triggers.BeginningOfCombatTriggeredAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetAnyTarget;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class UmaroRagingYeti extends CardImpl {
|
||||
|
||||
public UmaroRagingYeti(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{R}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.YETI);
|
||||
this.subtype.add(SubType.BERSERKER);
|
||||
this.power = new MageInt(6);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// At the beginning of combat on your turn, choose one at random --
|
||||
// * Other creatures you control get +3/+0 and gain trample until end of turn.
|
||||
Ability ability = new BeginningOfCombatTriggeredAbility(new BoostControlledEffect(
|
||||
3, 0, Duration.EndOfTurn, true
|
||||
));
|
||||
ability.addEffect(new GainAbilityControlledEffect(
|
||||
TrampleAbility.getInstance(), Duration.EndOfTurn,
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE, true
|
||||
).setText("and gain trample until end of turn"));
|
||||
ability.getModes().setRandom(true);
|
||||
|
||||
// * Discard your hand, then draw four cards.
|
||||
ability.addMode(new Mode(new DiscardHandControllerEffect())
|
||||
.addEffect(new DrawCardSourceControllerEffect(4).concatBy(", then")));
|
||||
|
||||
// * Umaro deals 5 damage to any target.
|
||||
ability.addMode(new Mode(new DamageTargetEffect(5)).addTarget(new TargetAnyTarget()));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private UmaroRagingYeti(final UmaroRagingYeti card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UmaroRagingYeti copy() {
|
||||
return new UmaroRagingYeti(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -264,6 +264,7 @@ public final class FinalFantasyCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Torrential Gearhulk", 272, Rarity.RARE, mage.cards.t.TorrentialGearhulk.class));
|
||||
cards.add(new SetCardInfo("Tragic Arrogance", 258, Rarity.RARE, mage.cards.t.TragicArrogance.class));
|
||||
cards.add(new SetCardInfo("Trailblazer's Boots", 370, Rarity.UNCOMMON, mage.cards.t.TrailblazersBoots.class));
|
||||
cards.add(new SetCardInfo("Umaro, Raging Yeti", 63, Rarity.RARE, mage.cards.u.UmaroRagingYeti.class));
|
||||
cards.add(new SetCardInfo("Underground River", 439, Rarity.RARE, mage.cards.u.UndergroundRiver.class));
|
||||
cards.add(new SetCardInfo("Unfinished Business", 259, Rarity.RARE, mage.cards.u.UnfinishedBusiness.class));
|
||||
cards.add(new SetCardInfo("Vandalblast", 298, Rarity.UNCOMMON, mage.cards.v.Vandalblast.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue