mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[CLB] Implemented Nothic
This commit is contained in:
parent
279e7c55a4
commit
319b381cf5
2 changed files with 63 additions and 0 deletions
62
Mage.Sets/src/mage/cards/n/Nothic.java
Normal file
62
Mage.Sets/src/mage/cards/n/Nothic.java
Normal file
|
@ -0,0 +1,62 @@
|
|||
package mage.cards.n;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.DrawCardTargetEffect;
|
||||
import mage.abilities.effects.common.LoseLifeSourceControllerEffect;
|
||||
import mage.abilities.effects.common.RollDieWithResultTableEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Nothic extends CardImpl {
|
||||
|
||||
public Nothic(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}");
|
||||
|
||||
this.subtype.add(SubType.HORROR);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Weird Insight — When Nothic dies, roll a d20.
|
||||
RollDieWithResultTableEffect effect = new RollDieWithResultTableEffect(20);
|
||||
|
||||
// 1-9 | You draw a card and you lose 1 life.
|
||||
effect.addTableEntry(
|
||||
1, 9,
|
||||
new DrawCardTargetEffect(1).setText("you draw a card"),
|
||||
new LoseLifeSourceControllerEffect(1).concatBy("and")
|
||||
);
|
||||
|
||||
// 10-19 | You draw two cards and you lose 2 life.
|
||||
effect.addTableEntry(
|
||||
10, 19,
|
||||
new DrawCardTargetEffect(2).setText("you draw two cards"),
|
||||
new LoseLifeSourceControllerEffect(2).concatBy("and")
|
||||
);
|
||||
|
||||
// 20 | You draw seven cards and you lose 7 life.
|
||||
effect.addTableEntry(
|
||||
20, 20,
|
||||
new DrawCardTargetEffect(7).setText("you draw seven cards"),
|
||||
new LoseLifeSourceControllerEffect(7).concatBy("and")
|
||||
);
|
||||
|
||||
this.addAbility(new DiesSourceTriggeredAbility(effect).withFlavorWord("Weird Insight"));
|
||||
}
|
||||
|
||||
private Nothic(final Nothic card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Nothic copy() {
|
||||
return new Nothic(this);
|
||||
}
|
||||
}
|
|
@ -145,6 +145,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Nemesis Phoenix", 189, Rarity.UNCOMMON, mage.cards.n.NemesisPhoenix.class));
|
||||
cards.add(new SetCardInfo("Nine-Fingers Keene", 289, Rarity.RARE, mage.cards.n.NineFingersKeene.class));
|
||||
cards.add(new SetCardInfo("Noble's Purse", 331, Rarity.UNCOMMON, mage.cards.n.NoblesPurse.class));
|
||||
cards.add(new SetCardInfo("Nothic", 138, Rarity.UNCOMMON, mage.cards.n.Nothic.class));
|
||||
cards.add(new SetCardInfo("Oceanus Dragon", 87, Rarity.COMMON, mage.cards.o.OceanusDragon.class));
|
||||
cards.add(new SetCardInfo("Oji, the Exquisite Blade", 290, Rarity.UNCOMMON, mage.cards.o.OjiTheExquisiteBlade.class));
|
||||
cards.add(new SetCardInfo("Passageway Seer", 141, Rarity.UNCOMMON, mage.cards.p.PassagewaySeer.class));
|
||||
|
|
Loading…
Reference in a new issue