mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
[TDM] Implement Wild Ride
This commit is contained in:
parent
baeb75cca7
commit
a0ccbc741c
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/w/WildRide.java
Normal file
44
Mage.Sets/src/mage/cards/w/WildRide.java
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.w;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.HarmonizeAbility;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class WildRide extends CardImpl {
|
||||
|
||||
public WildRide(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{R}");
|
||||
|
||||
// Target creature gets +3/+0 and gains haste until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(
|
||||
3, 0, Duration.EndOfTurn
|
||||
).setText("Target creature gets +3/+0"));
|
||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(
|
||||
HasteAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("and gains haste until end of turn"));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
|
||||
// Harmonize {4}{R}
|
||||
this.addAbility(new HarmonizeAbility(this, "{4}{R}"));
|
||||
}
|
||||
|
||||
private WildRide(final WildRide card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public WildRide copy() {
|
||||
return new WildRide(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -180,6 +180,7 @@ public final class TarkirDragonstorm extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Venerated Stormsinger", 97, Rarity.UNCOMMON, mage.cards.v.VeneratedStormsinger.class));
|
||||
cards.add(new SetCardInfo("Voice of Victory", 33, Rarity.RARE, mage.cards.v.VoiceOfVictory.class));
|
||||
cards.add(new SetCardInfo("Watcher of the Wayside", 249, Rarity.COMMON, mage.cards.w.WatcherOfTheWayside.class));
|
||||
cards.add(new SetCardInfo("Wild Ride", 132, Rarity.COMMON, mage.cards.w.WildRide.class));
|
||||
cards.add(new SetCardInfo("Wind-Scarred Crag", 271, Rarity.COMMON, mage.cards.w.WindScarredCrag.class));
|
||||
cards.add(new SetCardInfo("Wingblade Disciple", 65, Rarity.UNCOMMON, mage.cards.w.WingbladeDisciple.class));
|
||||
cards.add(new SetCardInfo("Wingspan Stride", 66, Rarity.COMMON, mage.cards.w.WingspanStride.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue