[CMR] Implemented Ghost of Ramirez DePietro

This commit is contained in:
Evan Kranzler 2020-10-29 18:13:45 -04:00
parent f20b130391
commit 64a49712b2
4 changed files with 122 additions and 0 deletions

View file

@ -91,6 +91,7 @@ public class GameEvent implements Serializable {
CLASH, CLASHED,
DAMAGE_PLAYER,
MILL_CARDS,
MILLED_CARD,
/* DAMAGED_PLAYER
targetId the id of the damaged player
sourceId sourceId of the ability which caused the damage

View file

@ -4414,6 +4414,9 @@ public abstract class PlayerImpl implements Player, Serializable {
}
Cards cards = new CardsImpl(this.getLibrary().getTopCards(game, event.getAmount()));
this.moveCards(cards, Zone.GRAVEYARD, source, game);
for (Card card : cards.getCards(game)) {
game.fireEvent(GameEvent.getEvent(EventType.MILLED_CARD, card.getId(), source.getSourceId(), getId()));
}
return cards;
}