mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
Implemented Volatile Claws
This commit is contained in:
parent
5977f833c2
commit
4ed665c7a1
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/v/VolatileClaws.java
Normal file
40
Mage.Sets/src/mage/cards/v/VolatileClaws.java
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.v;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.keyword.ChangelingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class VolatileClaws extends CardImpl {
|
||||
|
||||
public VolatileClaws(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{R}");
|
||||
|
||||
// Until end of turn, creatures you control get +2/+0 and gain all creature types.
|
||||
this.getSpellAbility().addEffect(new BoostControlledEffect(
|
||||
2, 0, Duration.EndOfTurn
|
||||
).setText("until end of turn, creatures you control get +2/+0"));
|
||||
this.getSpellAbility().addEffect(new GainAbilityControlledEffect(
|
||||
ChangelingAbility.getInstance(), Duration.EndOfTurn,
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE
|
||||
).setText("and gain all creature types"));
|
||||
}
|
||||
|
||||
private VolatileClaws(final VolatileClaws card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VolatileClaws copy() {
|
||||
return new VolatileClaws(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -257,6 +257,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Venomous Changeling", 114, Rarity.COMMON, mage.cards.v.VenomousChangeling.class));
|
||||
cards.add(new SetCardInfo("Vesperlark", 35, Rarity.UNCOMMON, mage.cards.v.Vesperlark.class));
|
||||
cards.add(new SetCardInfo("Viashino Sandsprinter", 153, Rarity.COMMON, mage.cards.v.ViashinoSandsprinter.class));
|
||||
cards.add(new SetCardInfo("Volatile Claws", 154, Rarity.COMMON, mage.cards.v.VolatileClaws.class));
|
||||
cards.add(new SetCardInfo("Wall of Blossoms", 190, Rarity.UNCOMMON, mage.cards.w.WallOfBlossoms.class));
|
||||
cards.add(new SetCardInfo("Wall of One Thousand Cuts", 36, Rarity.COMMON, mage.cards.w.WallOfOneThousandCuts.class));
|
||||
cards.add(new SetCardInfo("Warteye Witch", 115, Rarity.COMMON, mage.cards.w.WarteyeWitch.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue