mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Implemented Boon of the Wish-Giver
This commit is contained in:
parent
1ab2c93acb
commit
5b8712b44d
2 changed files with 36 additions and 0 deletions
35
Mage.Sets/src/mage/cards/b/BoonOfTheWishGiver.java
Normal file
35
Mage.Sets/src/mage/cards/b/BoonOfTheWishGiver.java
Normal file
|
@ -0,0 +1,35 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.keyword.CyclingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BoonOfTheWishGiver extends CardImpl {
|
||||
|
||||
public BoonOfTheWishGiver(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{U}{U}");
|
||||
|
||||
// Draw four cards.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(4));
|
||||
|
||||
// Cycling {1}
|
||||
this.addAbility(new CyclingAbility(new ManaCostsImpl("{1}")));
|
||||
}
|
||||
|
||||
private BoonOfTheWishGiver(final BoonOfTheWishGiver card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BoonOfTheWishGiver copy() {
|
||||
return new BoonOfTheWishGiver(this);
|
||||
}
|
||||
}
|
|
@ -26,6 +26,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet {
|
|||
this.ratioBoosterMythic = 8;
|
||||
this.maxCardNumberInBooster = 274;
|
||||
|
||||
cards.add(new SetCardInfo("Boon of the Wish-Giver", 43, Rarity.UNCOMMON, mage.cards.b.BoonOfTheWishGiver.class));
|
||||
cards.add(new SetCardInfo("Bristling Boar", 146, Rarity.COMMON, mage.cards.b.BristlingBoar.class));
|
||||
cards.add(new SetCardInfo("Cloudpiercer", 112, Rarity.COMMON, mage.cards.c.Cloudpiercer.class));
|
||||
cards.add(new SetCardInfo("Colossification", 148, Rarity.RARE, mage.cards.c.Colossification.class));
|
||||
|
|
Loading…
Reference in a new issue