Removed some garbage

This commit is contained in:
Zzooouhh 2017-10-22 16:55:25 +02:00 committed by GitHub
parent 1c49350f54
commit 0c862c01f6

View file

@ -95,14 +95,9 @@ class PetraSphinxEffect extends OneShotEffect {
if (controller != null && sourceObject != null && player != null) { if (controller != null && sourceObject != null && player != null) {
//~ Players:
//~ for (UUID playerId : game.getState().getPlayersInRange(controller.getId(), game)) {
//~ Player player = game.getPlayer(playerId);
//~ if (player != null) {
if (player.getLibrary().hasCards()) { if (player.getLibrary().hasCards()) {
Choice cardChoice = new ChoiceImpl(); Choice cardChoice = new ChoiceImpl();
cardChoice.setChoices(CardRepository.instance.getNames()); cardChoice.setChoices(CardRepository.instance.getNames());
//~ cardChoice.clearChoice();
cardChoice.setMessage("Name a card"); cardChoice.setMessage("Name a card");
while (!player.choose(Outcome.DrawCard, cardChoice, game)) { while (!player.choose(Outcome.DrawCard, cardChoice, game)) {
if (!player.canRespond()) { if (!player.canRespond()) {
@ -119,10 +114,6 @@ class PetraSphinxEffect extends OneShotEffect {
player.moveCards(cards, Zone.HAND, source, game); player.moveCards(cards, Zone.HAND, source, game);
} else { } else {
player.moveCards(cards, Zone.GRAVEYARD, source, game); player.moveCards(cards, Zone.GRAVEYARD, source, game);
//~ player.damage(2, source.getSourceId(), game, false, true);
//~ player.putCardsOnBottomOfLibrary(cards, game, source, false);
//~ }
//~ }
} }
} }
} }