mirror of
https://github.com/correl/mage.git
synced 2024-12-27 11:07:39 +00:00
Update CephalidBroker.java
This commit is contained in:
parent
329d24806c
commit
3128a08a9b
1 changed files with 38 additions and 22 deletions
|
@ -25,38 +25,54 @@
|
||||||
* authors and should not be interpreted as representing official policies, either expressed
|
* authors and should not be interpreted as representing official policies, either expressed
|
||||||
* or implied, of BetaSteward_at_googlemail.com.
|
* or implied, of BetaSteward_at_googlemail.com.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package mage.sets.odyssey;
|
package mage.sets.odyssey;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.Ability;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.Rarity;
|
import mage.constants.Rarity;
|
||||||
import mage.MageInt;
|
|
||||||
import mage.abilities.common.SimpleActivatedAbility;
|
import mage.abilities.common.SimpleActivatedAbility;
|
||||||
import mage.abilities.costs.common.TapSourceCost;
|
import mage.abilities.costs.common.TapSourceCost;
|
||||||
|
import mage.abilities.effects.common.DiscardTargetEffect;
|
||||||
|
import mage.abilities.effects.common.DrawCardTargetEffect;
|
||||||
import mage.abilities.effects.common.DrawDiscardTargetEffect;
|
import mage.abilities.effects.common.DrawDiscardTargetEffect;
|
||||||
import mage.cards.CardImpl;
|
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
|
import mage.target.TargetPlayer;
|
||||||
|
|
||||||
import java.util.UUID;
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author cbt33, North (Merfolk Looter)
|
||||||
|
*
|
||||||
|
*/
|
||||||
public class CephalidBroker extends CardImpl<CephalidBroker> {
|
public class CephalidBroker extends CardImpl<CephalidBroker> {
|
||||||
|
|
||||||
public CephalidBroker(UUID ownerID)
|
public CephalidBroker(UUID ownerId) {
|
||||||
super(ownerID, 71, "Cephalid Broker", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{3}{U}")
|
super(ownerId, 71, "Cephalid Broker", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{3}{U}");
|
||||||
this.expansionSetCode = "ODY";
|
this.expansionSetCode = "ODY";
|
||||||
this.subtype.add("Cephalid");
|
this.subtype.add("Cephalid");
|
||||||
this.color.setBlue(true);
|
|
||||||
this.power = MageInt(2);
|
|
||||||
this.toughness = MageInt(2);
|
|
||||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawDiscardTargetEffect(2,2), new TapSourceCost()));
|
|
||||||
|
|
||||||
public CephalidBroker(final CephalidBroker card);{
|
this.color.setBlue(true);
|
||||||
|
this.power = new MageInt(2);
|
||||||
|
this.toughness = new MageInt(2);
|
||||||
|
|
||||||
|
// {tap}: Target player draws two cards, then discards two cards.
|
||||||
|
|
||||||
|
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardTargetEffect(2), new TapSourceCost());
|
||||||
|
ability.addEffect(new DiscardTargetEffect(2));
|
||||||
|
ability.addTarget(new TargetPlayer());
|
||||||
|
this.addAbility(ability);
|
||||||
|
}
|
||||||
|
|
||||||
|
public CephalidBroker(final CephalidBroker card) {
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CephalidBroker copy() {
|
public CephalidBroker copy() {
|
||||||
return new CephalidBroker(this);
|
return new CephalidBroker(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue