forked from External/mage
[MKM] Implement Fanatical Strength
This commit is contained in:
parent
6d9ca7042e
commit
1628ecbdd7
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/f/FanaticalStrength.java
Normal file
40
Mage.Sets/src/mage/cards/f/FanaticalStrength.java
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
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 FanaticalStrength extends CardImpl {
|
||||
|
||||
public FanaticalStrength(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
|
||||
|
||||
// Target creature gets +3/+3 and gains trample until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(
|
||||
3, 3, Duration.EndOfTurn
|
||||
).setText("Target creature gets +3/+3"));
|
||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(
|
||||
TrampleAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("and gains trample until end of turn"));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
}
|
||||
|
||||
private FanaticalStrength(final FanaticalStrength card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FanaticalStrength copy() {
|
||||
return new FanaticalStrength(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -21,6 +21,7 @@ public final class MurdersAtKarlovManor extends ExpansionSet {
|
|||
this.hasBasicLands = true;
|
||||
this.hasBoosters = false; // temporary
|
||||
|
||||
cards.add(new SetCardInfo("Fanatical Strength", 159, Rarity.COMMON, mage.cards.f.FanaticalStrength.class));
|
||||
cards.add(new SetCardInfo("Forest", 276, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Island", 273, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Lightning Helix", 218, Rarity.UNCOMMON, mage.cards.l.LightningHelix.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue