mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
[AFR] Implemented Death-Priest of Myrkul
This commit is contained in:
parent
83d91ded27
commit
5b1a38b426
10 changed files with 114 additions and 47 deletions
|
|
@ -17,7 +17,7 @@ import mage.filter.StaticFilters;
|
|||
import mage.game.Game;
|
||||
import mage.game.command.Dungeon;
|
||||
import mage.game.command.DungeonRoom;
|
||||
import mage.game.permanent.token.SkeletonToken2;
|
||||
import mage.game.permanent.token.SkeletonToken;
|
||||
import mage.game.permanent.token.TreasureToken;
|
||||
import mage.players.Player;
|
||||
import mage.target.common.TargetCardInHand;
|
||||
|
|
@ -55,7 +55,7 @@ public class DungeonOfTheMadMage extends Dungeon {
|
|||
|
||||
// (5b) Muiral's Graveyard — Create two 1/1 black Skeleton creature tokens. (→ 6)
|
||||
DungeonRoom muiralsGraveyard = new DungeonRoom(
|
||||
"Muiral's Graveyard", new CreateTokenEffect(new SkeletonToken2(), 2)
|
||||
"Muiral's Graveyard", new CreateTokenEffect(new SkeletonToken(), 2)
|
||||
);
|
||||
|
||||
// (6) Deep Mines — Scry 3. (→ 7)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,31 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ColoredManaCost;
|
||||
import mage.abilities.effects.common.RegenerateSourceEffect;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.ColoredManaSymbol;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
|
||||
public final class SkeletonRegenerateToken extends TokenImpl {
|
||||
|
||||
public SkeletonRegenerateToken() {
|
||||
super("Skeleton", "1/1 black Skeleton creature token with \"{B}: Regenerate this creature\"");
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add(SubType.SKELETON);
|
||||
color.setBlack(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ColoredManaCost(ColoredManaSymbol.B)));
|
||||
}
|
||||
|
||||
public SkeletonRegenerateToken(final SkeletonRegenerateToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public SkeletonRegenerateToken copy() {
|
||||
return new SkeletonRegenerateToken(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,24 +1,21 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ColoredManaCost;
|
||||
import mage.abilities.effects.common.RegenerateSourceEffect;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.ColoredManaSymbol;
|
||||
import mage.constants.Zone;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SkeletonToken extends TokenImpl {
|
||||
|
||||
public SkeletonToken() {
|
||||
super("Skeleton", "1/1 black Skeleton creature token with \"{B}: Regenerate this creature\"");
|
||||
super("Skeleton", "1/1 black Skeleton creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add(SubType.SKELETON);
|
||||
color.setBlack(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ColoredManaCost(ColoredManaSymbol.B)));
|
||||
}
|
||||
|
||||
public SkeletonToken(final SkeletonToken token) {
|
||||
|
|
|
|||
|
|
@ -1,28 +0,0 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SkeletonToken2 extends TokenImpl {
|
||||
|
||||
public SkeletonToken2() {
|
||||
super("Skeleton", "1/1 black Skeleton creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add(SubType.SKELETON);
|
||||
color.setBlack(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
|
||||
public SkeletonToken2(final SkeletonToken2 token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public SkeletonToken2 copy() {
|
||||
return new SkeletonToken2(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue