mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Fixed bugs of Runner's Bane and Notion Thief.
This commit is contained in:
parent
9eb3e8f308
commit
8d135fafbb
2 changed files with 4 additions and 1 deletions
|
@ -152,7 +152,9 @@ class NotionThiefDrawWatcher extends WatcherImpl<NotionThiefDrawWatcher> {
|
|||
if (event.getType() == GameEvent.EventType.UNTAP_STEP_PRE) {
|
||||
reset();
|
||||
}
|
||||
if (event.getType() == GameEvent.EventType.DREW_CARD && game.getPhase().getStep().getType().equals(PhaseStep.DRAW)) {
|
||||
if (event.getType() == GameEvent.EventType.DREW_CARD
|
||||
&& game.getPhase() != null
|
||||
&& game.getPhase().getStep().getType().equals(PhaseStep.DRAW)) {
|
||||
UUID playerId = event.getPlayerId();
|
||||
if (playerId != null) {
|
||||
Integer amount = amountOfCardsDrawnThisTurn.get(playerId);
|
||||
|
|
|
@ -63,6 +63,7 @@ public class RunnersBane extends CardImpl<RunnersBane> {
|
|||
public RunnersBane(UUID ownerId) {
|
||||
super(ownerId, 17, "Runner's Bane", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{U}");
|
||||
this.expansionSetCode = "DGM";
|
||||
this.subtype.add("Aura");
|
||||
this.color.setBlue(true);
|
||||
|
||||
// Enchant creature with power 3 or less
|
||||
|
|
Loading…
Reference in a new issue