forked from External/mage
Fix Ancient Excavation
This commit is contained in:
parent
683008ef21
commit
3ec3b773e3
2 changed files with 3 additions and 3 deletions
|
|
@ -63,8 +63,8 @@ class AncientExcavationEffect extends OneShotEffect {
|
|||
if (player != null) {
|
||||
DynamicValue numCards = CardsInControllerHandCount.instance;
|
||||
int amount = numCards.calculate(game, source, this);
|
||||
player.drawCards(amount, source, game);
|
||||
player.discard(amount, false, false, source, game);
|
||||
int cardsDrawn = player.drawCards(amount, source, game);
|
||||
player.discard(cardsDrawn, false, false, source, game);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ public class MageDrawAction extends MageAction {
|
|||
*
|
||||
* @param source
|
||||
* @param game Game context.
|
||||
* @return
|
||||
* @return Number of cards drawn
|
||||
*/
|
||||
@Override
|
||||
public int doAction(Ability source, Game game) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue