mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed the mill function not using moveToGraveyard.
This commit is contained in:
@@ -515,6 +515,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>
|
||||||
|
|||||||
@@ -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)));
|
||||||
|
|||||||
Reference in New Issue
Block a user