mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
...
This commit is contained in:
parent
af10db2379
commit
8dd685e671
1 changed files with 14 additions and 8 deletions
|
|
@ -28,13 +28,13 @@
|
||||||
|
|
||||||
package mage.game;
|
package mage.game;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import mage.Constants.MultiplayerAttackOption;
|
import mage.Constants.MultiplayerAttackOption;
|
||||||
|
import mage.Constants.PhaseStep;
|
||||||
import mage.Constants.RangeOfInfluence;
|
import mage.Constants.RangeOfInfluence;
|
||||||
|
import mage.game.turn.TurnMod;
|
||||||
|
|
||||||
public class TwoPlayerDuel extends GameImpl {
|
public class TwoPlayerDuel extends GameImpl {
|
||||||
|
|
||||||
|
|
@ -57,13 +57,19 @@ public class TwoPlayerDuel extends GameImpl {
|
||||||
return 20;
|
return 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @Override
|
||||||
|
// public boolean playDrawStep(UUID activePlayerId) {
|
||||||
|
// //20091005 - 103.7a
|
||||||
|
// if (getTurnNum() != 1 || !activePlayerId.equals(startingPlayerId)) {
|
||||||
|
// return super.playDrawStep(activePlayerId);
|
||||||
|
// }
|
||||||
|
// return false;
|
||||||
|
// }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean playDrawStep(UUID activePlayerId) {
|
public void init() {
|
||||||
//20091005 - 103.7a
|
super.init();
|
||||||
if (getTurnNum() != 1 || !activePlayerId.equals(startingPlayerId)) {
|
state.getTurnMods().add(new TurnMod(startingPlayerId, PhaseStep.DRAW));
|
||||||
return super.playDrawStep(activePlayerId);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue