mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Implemented Canal Dredger
This commit is contained in:
parent
c4545e9ad2
commit
6e2dde92aa
1 changed files with 52 additions and 0 deletions
52
Mage.Sets/src/mage/cards/c/CanalDredger.java
Normal file
52
Mage.Sets/src/mage/cards/c/CanalDredger.java
Normal file
|
@ -0,0 +1,52 @@
|
|||
|
||||
package mage.cards.c;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.effects.common.InfoEffect;
|
||||
import mage.abilities.effects.common.PutOnLibraryTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author L_J
|
||||
*/
|
||||
public final class CanalDredger extends CardImpl {
|
||||
|
||||
public CanalDredger(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{4}");
|
||||
this.subtype.add(SubType.CONSTRUCT);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(5);
|
||||
|
||||
// TODO: Draft specific abilities not implemented
|
||||
// Draft Canal Dredger face up.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.ALL, new InfoEffect("Draft Canal Dredger face up.")));
|
||||
|
||||
// Each player passes the last card from each booster pack to a player who drafted a card named Canal Dredger.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.ALL, new InfoEffect("Each player passes the last card from each booster pack to a player who drafted a card named Canal Dredger.")));
|
||||
|
||||
// {T}: Put target card from your graveyard on the bottom of your library.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutOnLibraryTargetEffect(false), new TapSourceCost());
|
||||
ability.addTarget(new TargetCardInYourGraveyard());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
public CanalDredger(final CanalDredger card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CanalDredger copy() {
|
||||
return new CanalDredger(this);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue