mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Add 'EDH power level' rating to Commander tables
This commit is contained in:
parent
7d60d884c3
commit
7fd2eeedcf
6 changed files with 326 additions and 2 deletions
|
|
@ -67,4 +67,8 @@ public abstract class DeckValidator implements Serializable {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int getEdhPowerLevel(Deck deck) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ public class MatchOptions implements Serializable {
|
|||
protected SkillLevel skillLevel;
|
||||
protected boolean rollbackTurnsAllowed;
|
||||
protected int quitRatio;
|
||||
protected int edhPowerLevel;
|
||||
protected boolean rated;
|
||||
protected int numSeatsForMatch;
|
||||
|
||||
|
|
@ -208,6 +209,14 @@ public class MatchOptions implements Serializable {
|
|||
public void setQuitRatio(int quitRatio) {
|
||||
this.quitRatio = quitRatio;
|
||||
}
|
||||
|
||||
public int getEdhPowerLevel() {
|
||||
return edhPowerLevel;
|
||||
}
|
||||
|
||||
public void setEdhPowerLevel(int edhPowerLevel) {
|
||||
this.edhPowerLevel = edhPowerLevel;
|
||||
}
|
||||
|
||||
public boolean isRated() {
|
||||
return rated;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue