mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Quckling - Fixed that it was not optional to return another creature.
This commit is contained in:
parent
6b4267b98d
commit
e63eef16aa
1 changed files with 2 additions and 3 deletions
|
@ -105,10 +105,9 @@ class QuicklingEffect extends OneShotEffect {
|
|||
boolean targetChosen = false;
|
||||
TargetPermanent target = new TargetPermanent(1, 1, filter, false);
|
||||
|
||||
if (target.canChoose(controller.getId(), game)) {
|
||||
controller.choose(Outcome.ReturnToHand, target, source.getSourceId(), game);
|
||||
if (target.canChoose(controller.getId(), game) && controller.chooseUse(outcome, "Return another creature you control to its owner's hand?", game)) {
|
||||
controller.chooseTarget(Outcome.ReturnToHand, target, source, game);
|
||||
Permanent permanent = game.getPermanent(target.getFirstTarget());
|
||||
|
||||
if ( permanent != null ) {
|
||||
targetChosen = true;
|
||||
controller.moveCardToHandWithInfo(permanent, source.getSourceId(), game, Zone.BATTLEFIELD);
|
||||
|
|
Loading…
Reference in a new issue