mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
[CLB] Implemented Zhentarim Bandit
This commit is contained in:
parent
8f4ee6947a
commit
6eb5aea50e
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/z/ZhentarimBandit.java
Normal file
43
Mage.Sets/src/mage/cards/z/ZhentarimBandit.java
Normal file
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.z;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.costs.common.PayLifeCost;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.DoIfCostPaid;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.TreasureToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ZhentarimBandit extends CardImpl {
|
||||
|
||||
public ZhentarimBandit(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}");
|
||||
|
||||
this.subtype.add(SubType.HALFLING);
|
||||
this.subtype.add(SubType.ROGUE);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Whenever Zhentarim Bandit attacks, you may pay 1 life. If you do, create a Treasure token.
|
||||
this.addAbility(new AttacksTriggeredAbility(new DoIfCostPaid(
|
||||
new CreateTokenEffect(new TreasureToken()), new PayLifeCost(1)
|
||||
)));
|
||||
}
|
||||
|
||||
private ZhentarimBandit(final ZhentarimBandit card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ZhentarimBandit copy() {
|
||||
return new ZhentarimBandit(this);
|
||||
}
|
||||
}
|
|
@ -279,5 +279,6 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Young Red Dragon", 210, Rarity.COMMON, mage.cards.y.YoungRedDragon.class));
|
||||
cards.add(new SetCardInfo("Your Temple Is Under Attack", 52, Rarity.COMMON, mage.cards.y.YourTempleIsUnderAttack.class));
|
||||
cards.add(new SetCardInfo("Zevlor, Elturel Exile", 296, Rarity.RARE, mage.cards.z.ZevlorElturelExile.class));
|
||||
cards.add(new SetCardInfo("Zhentarim Bandit", 158, Rarity.COMMON, mage.cards.z.ZhentarimBandit.class));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue