mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Removed some garbage
This commit is contained in:
parent
1c49350f54
commit
0c862c01f6
1 changed files with 0 additions and 9 deletions
|
@ -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);
|
|
||||||
//~ }
|
|
||||||
//~ }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue