forked from External/mage
[MKM] Implement Offender at Large
This commit is contained in:
parent
118254bdb7
commit
321e7db6be
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/o/OffenderAtLarge.java
Normal file
47
Mage.Sets/src/mage/cards/o/OffenderAtLarge.java
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.o;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldOrTurnedFaceUpTriggeredAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.keyword.DisguiseAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class OffenderAtLarge extends CardImpl {
|
||||
|
||||
public OffenderAtLarge(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{R}");
|
||||
|
||||
this.subtype.add(SubType.GIANT);
|
||||
this.subtype.add(SubType.ROGUE);
|
||||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Disguise {4}{R}
|
||||
this.addAbility(new DisguiseAbility(this, new ManaCostsImpl<>("{4}{R}")));
|
||||
|
||||
// When Offender at Large enters the battlefield or is turned face up, up to one target creature gets +2/+0 until end of turn.
|
||||
Ability ability = new EntersBattlefieldOrTurnedFaceUpTriggeredAbility(new BoostTargetEffect(2, 0));
|
||||
ability.addTarget(new TargetCreaturePermanent(0, 1));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private OffenderAtLarge(final OffenderAtLarge card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OffenderAtLarge copy() {
|
||||
return new OffenderAtLarge(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -89,6 +89,7 @@ public final class MurdersAtKarlovManor extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("No Witnesses", 27, Rarity.RARE, mage.cards.n.NoWitnesses.class));
|
||||
cards.add(new SetCardInfo("Not on My Watch", 28, Rarity.UNCOMMON, mage.cards.n.NotOnMyWatch.class));
|
||||
cards.add(new SetCardInfo("Novice Inspector", 29, Rarity.COMMON, mage.cards.n.NoviceInspector.class));
|
||||
cards.add(new SetCardInfo("Offender at Large", 138, Rarity.COMMON, mage.cards.o.OffenderAtLarge.class));
|
||||
cards.add(new SetCardInfo("Out Cold", 66, Rarity.COMMON, mage.cards.o.OutCold.class));
|
||||
cards.add(new SetCardInfo("Persuasive Interrogators", 98, Rarity.UNCOMMON, mage.cards.p.PersuasiveInterrogators.class));
|
||||
cards.add(new SetCardInfo("Plains", 272, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue