mirror of
https://github.com/correl/mage.git
synced 2025-04-08 01:01:04 -09:00
[STX] Implemented Beaming Defiance
This commit is contained in:
parent
c6c64fc0dc
commit
9b12408c5d
2 changed files with 41 additions and 0 deletions
Mage.Sets/src/mage
40
Mage.Sets/src/mage/cards/b/BeamingDefiance.java
Normal file
40
Mage.Sets/src/mage/cards/b/BeamingDefiance.java
Normal file
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.HexproofAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BeamingDefiance extends CardImpl {
|
||||
|
||||
public BeamingDefiance(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{W}");
|
||||
|
||||
// Target creature you control gets +2/+2 and gains hexproof until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(
|
||||
2, 2, Duration.EndOfTurn
|
||||
).setText("target creature you control gets +2/+2"));
|
||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(
|
||||
HexproofAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("and gains hexproof until end of turn"));
|
||||
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
|
||||
}
|
||||
|
||||
private BeamingDefiance(final BeamingDefiance card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BeamingDefiance copy() {
|
||||
return new BeamingDefiance(this);
|
||||
}
|
||||
}
|
|
@ -34,6 +34,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
|
||||
cards.add(new SetCardInfo("Ageless Guardian", 8, Rarity.COMMON, mage.cards.a.AgelessGuardian.class));
|
||||
cards.add(new SetCardInfo("Archmage Emeritus", 37, Rarity.RARE, mage.cards.a.ArchmageEmeritus.class));
|
||||
cards.add(new SetCardInfo("Beaming Defiance", 9, Rarity.COMMON, mage.cards.b.BeamingDefiance.class));
|
||||
cards.add(new SetCardInfo("Dragonsguard Elite", 127, Rarity.RARE, mage.cards.d.DragonsguardElite.class));
|
||||
cards.add(new SetCardInfo("Eager First-Year", 16, Rarity.COMMON, mage.cards.e.EagerFirstYear.class));
|
||||
cards.add(new SetCardInfo("Enthusiastic Study", 99, Rarity.COMMON, mage.cards.e.EnthusiasticStudy.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue