Implemented Whispering Spy

This commit is contained in:
Evan Kranzler 2018-09-11 20:51:40 -04:00
parent 54ec6f879d
commit 8d0bd3c02f
4 changed files with 120 additions and 3 deletions

View file

@ -209,7 +209,7 @@ public class GameEvent implements Serializable {
SHUFFLE_LIBRARY, LIBRARY_SHUFFLED,
ENCHANT_PLAYER, ENCHANTED_PLAYER,
CAN_TAKE_MULLIGAN,
FLIP_COIN, COIN_FLIPPED, SCRY, FATESEAL,
FLIP_COIN, COIN_FLIPPED, SCRY, SURVEIL, FATESEAL,
ROLL_DICE, DICE_ROLLED,
ROLL_PLANAR_DIE, PLANAR_DIE_ROLLED,
PLANESWALK, PLANESWALKED,

View file

@ -3930,8 +3930,7 @@ public abstract class PlayerImpl implements Player, Serializable {
cards.removeAll(target.getTargets());
putCardsOnTopOfLibrary(cards, game, source, true);
}
// Waiting to see if this event is needed - TheElk801
// game.fireEvent(new GameEvent(GameEvent.EventType.SURVEIL, getId(), source == null ? null : source.getSourceId(), getId(), value, true));
game.fireEvent(new GameEvent(GameEvent.EventType.SURVEIL, getId(), source == null ? null : source.getSourceId(), getId(), value, true));
return true;
}