mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[AFR] Implemented Hoard Robber
This commit is contained in:
parent
59dd1a966d
commit
f6b9c64c55
2 changed files with 42 additions and 0 deletions
41
Mage.Sets/src/mage/cards/h/HoardRobber.java
Normal file
41
Mage.Sets/src/mage/cards/h/HoardRobber.java
Normal file
|
@ -0,0 +1,41 @@
|
|||
package mage.cards.h;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
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 HoardRobber extends CardImpl {
|
||||
|
||||
public HoardRobber(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}");
|
||||
|
||||
this.subtype.add(SubType.TIEFLING);
|
||||
this.subtype.add(SubType.ROGUE);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Whenever Hoard Robber deals combat damage to a player, create a Treasure token.
|
||||
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(
|
||||
new CreateTokenEffect(new TreasureToken()), false
|
||||
));
|
||||
}
|
||||
|
||||
private HoardRobber(final HoardRobber card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HoardRobber copy() {
|
||||
return new HoardRobber(this);
|
||||
}
|
||||
}
|
|
@ -104,6 +104,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Hill Giant Herdgorger", 187, Rarity.COMMON, mage.cards.h.HillGiantHerdgorger.class));
|
||||
cards.add(new SetCardInfo("Hired Hexblade", 109, Rarity.COMMON, mage.cards.h.HiredHexblade.class));
|
||||
cards.add(new SetCardInfo("Hive of the Eye Tyrant", 258, Rarity.RARE, mage.cards.h.HiveOfTheEyeTyrant.class));
|
||||
cards.add(new SetCardInfo("Hoard Robber", 1103, Rarity.COMMON, mage.cards.h.HoardRobber.class));
|
||||
cards.add(new SetCardInfo("Hoarding Ogre", 146, Rarity.COMMON, mage.cards.h.HoardingOgre.class));
|
||||
cards.add(new SetCardInfo("Hobgoblin Captain", 148, Rarity.COMMON, mage.cards.h.HobgoblinCaptain.class));
|
||||
cards.add(new SetCardInfo("Hulking Bugbear", 149, Rarity.UNCOMMON, mage.cards.h.HulkingBugbear.class));
|
||||
|
|
Loading…
Reference in a new issue