mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
[MKM] Implement On the Job
This commit is contained in:
parent
164eb253f2
commit
f5ad23544c
2 changed files with 34 additions and 0 deletions
33
Mage.Sets/src/mage/cards/o/OnTheJob.java
Normal file
33
Mage.Sets/src/mage/cards/o/OnTheJob.java
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
package mage.cards.o;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.abilities.effects.keyword.InvestigateEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class OnTheJob extends CardImpl {
|
||||
|
||||
public OnTheJob(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{W}{W}");
|
||||
|
||||
// Creatures you control get +2/+1 until end of turn. Investigate.
|
||||
this.getSpellAbility().addEffect(new BoostControlledEffect(2, 1, Duration.EndOfTurn));
|
||||
this.getSpellAbility().addEffect(new InvestigateEffect());
|
||||
}
|
||||
|
||||
private OnTheJob(final OnTheJob card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OnTheJob copy() {
|
||||
return new OnTheJob(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -107,6 +107,7 @@ public final class MurdersAtKarlovManor extends ExpansionSet {
|
|||
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("On the Job", 30, Rarity.COMMON, mage.cards.o.OnTheJob.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