- Fixed the mill function not using moveToGraveyard.

This commit is contained in:
Sloth
2011-10-26 09:33:16 +00:00
parent c7ec34a658
commit 2822e2bc48
2 changed files with 5 additions and 1 deletions

View File

@@ -516,6 +516,10 @@ public class GameAction {
return AllZone.getGameAction().moveTo(removed, c); return AllZone.getGameAction().moveTo(removed, c);
} }
public final Card moveTo(final Zone name, final Card c) {
return moveTo(name, c, 0);
}
/** /**
* <p>moveTo.</p> * <p>moveTo.</p>
* *

View File

@@ -1148,7 +1148,7 @@ public abstract class Player extends GameEntity {
int max = Math.min(n, lib.size()); int max = Math.min(n, lib.size());
PlayerZone destination = getZone(zone); Zone destination = getZone(zone).getZoneType();
for (int i = 0; i < max; i++) { for (int i = 0; i < max; i++) {
milled.add(AllZone.getGameAction().moveTo(destination, lib.get(i))); milled.add(AllZone.getGameAction().moveTo(destination, lib.get(i)));