mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
[CMR] Implemented Ghost of Ramirez DePietro
This commit is contained in:
parent
f20b130391
commit
64a49712b2
4 changed files with 122 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue