mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
spjspj - Update Rich Man draft to allow Random packs
This commit is contained in:
parent
5ee4b5193e
commit
f9e363fb30
7 changed files with 77 additions and 36 deletions
|
|
@ -111,4 +111,4 @@ public class RichManBoosterDraft extends DraftImpl {
|
|||
int time = richManTimes[cardNum - 1] * timing.getFactor();
|
||||
playerQueryEventSource.pickCard(playerId, "Pick card", player.getBooster(), time);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
* authors and should not be interpreted as representing official policies, either expressed
|
||||
* or implied, of BetaSteward_at_googlemail.com.
|
||||
*/
|
||||
|
||||
package mage.game.tournament;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -45,8 +44,10 @@ public class TournamentType implements Serializable {
|
|||
protected boolean limited; // or construced
|
||||
protected boolean elimination; // or Swiss
|
||||
protected boolean isRandom;
|
||||
protected boolean isRichMan = false; // or Rich Man Draft
|
||||
|
||||
protected TournamentType() {}
|
||||
protected TournamentType() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
|
|
@ -84,9 +85,13 @@ public class TournamentType implements Serializable {
|
|||
public boolean isCubeBooster() {
|
||||
return cubeBooster;
|
||||
}
|
||||
|
||||
public boolean isRandom(){
|
||||
|
||||
public boolean isRandom() {
|
||||
return this.isRandom;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public boolean isRichMan() {
|
||||
return this.isRichMan;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue