mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[ONE] Implement Veil of Assimilation
This commit is contained in:
parent
48a28c3f44
commit
5bb46d5dd6
2 changed files with 42 additions and 0 deletions
41
Mage.Sets/src/mage/cards/v/VeilOfAssimilation.java
Normal file
41
Mage.Sets/src/mage/cards/v/VeilOfAssimilation.java
Normal file
|
@ -0,0 +1,41 @@
|
|||
package mage.cards.v;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldThisOrAnotherTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class VeilOfAssimilation extends CardImpl {
|
||||
|
||||
public VeilOfAssimilation(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}{W}");
|
||||
|
||||
// Whenever Veil of Assimilation or another artifact enters the battlefield under your control, target creature you control gets +1/+1 and gains vigilance until end of turn.
|
||||
Ability ability = new EntersBattlefieldThisOrAnotherTriggeredAbility(
|
||||
new BoostTargetEffect(1, 1).setText("target creature you control gets +1/+1"),
|
||||
StaticFilters.FILTER_PERMANENT_ARTIFACT, false, true
|
||||
);
|
||||
ability.addEffect(new GainAbilityTargetEffect(VigilanceAbility.getInstance())
|
||||
.setText("and gains vigilance until end of turn"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private VeilOfAssimilation(final VeilOfAssimilation card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VeilOfAssimilation copy() {
|
||||
return new VeilOfAssimilation(this);
|
||||
}
|
||||
}
|
|
@ -210,6 +210,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Urabrask's Forge", 153, Rarity.RARE, mage.cards.u.UrabrasksForge.class));
|
||||
cards.add(new SetCardInfo("Vanish into Eternity", 36, Rarity.COMMON, mage.cards.v.VanishIntoEternity.class));
|
||||
cards.add(new SetCardInfo("Vat Emergence", 112, Rarity.UNCOMMON, mage.cards.v.VatEmergence.class));
|
||||
cards.add(new SetCardInfo("Veil of Assimilation", 37, Rarity.UNCOMMON, mage.cards.v.VeilOfAssimilation.class));
|
||||
cards.add(new SetCardInfo("Venerated Rotpriest", 192, Rarity.RARE, mage.cards.v.VeneratedRotpriest.class));
|
||||
cards.add(new SetCardInfo("Venomous Brutalizer", 193, Rarity.UNCOMMON, mage.cards.v.VenomousBrutalizer.class));
|
||||
cards.add(new SetCardInfo("Venser, Corpse Puppet", 219, Rarity.RARE, mage.cards.v.VenserCorpsePuppet.class));
|
||||
|
|
Loading…
Reference in a new issue