mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
[NPH] Exclusion Ritual
This commit is contained in:
parent
3c7247bf58
commit
b64bf7229d
2 changed files with 150 additions and 1 deletions
|
|
@ -435,7 +435,7 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
|
|||
//20091005 - 601.2a
|
||||
Card card = game.getCard(ability.getSourceId());
|
||||
if (card != null) {
|
||||
if (!game.replaceEvent(GameEvent.getEvent(GameEvent.EventType.CAST_SPELL, ability.getId(), playerId))) {
|
||||
if (!game.replaceEvent(GameEvent.getEvent(GameEvent.EventType.CAST_SPELL, ability.getId(), ability.getSourceId(), playerId))) {
|
||||
game.bookmarkState();
|
||||
card.cast(game, game.getZone(card.getId()), ability, playerId);
|
||||
removeFromHand(card, game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue