Mike Simons
8d08f005af
Fix various hints and warnings on many set & block classes (via IntelliJ IDEA linting):
...
- replacing hard coded strings of set codes with reference to 'mage.sets.<set>.getInstance().getCode()' allows for set class names to no longer show as unreferenced & adds for more consistence between other block units
- various protected variables were able to be changed to private to clean up additional warnings
- some JavaDoc comments were generating warnings due to missing documentation
- removed some unused imports and unused variables
- there were multiple conditional logic checks for 'rarity != Rarity.LAND' within an if block where the outer condition was 'if rarity == Rarity.COMMON' rendering the inner condition always true and thus redundant
- a few ExpansionSet.buildDate parameters wer using octal values (eg. '03' instead of '3') which triggered some warnings
- added a booster generation test for WarOfTheSparks to make sure every booster contains a planeswalker
- added a booster generation test for ModernHorizons to make sure every booster contains a snow land
- booster generation test for Battlbond set referenced the Coldsnap set class instead of Battlebond
2019-07-18 23:28:48 -04:00
Ingmar Goudt
eb0cfc94f8
change some size() comparisons, to isEmpty()
2019-07-14 20:53:23 +02:00
Evan Kranzler
b5e65ba34a
updated Commander ban list
2019-07-08 16:35:07 -04:00
Evan Kranzler
50fe6db4f9
updated Modern ban list
2019-07-08 16:33:38 -04:00
Oleg Agafonov
716b929877
Prepare new release
2019-06-30 18:33:29 +04:00
Evan Kranzler
ca9ecc6035
updated Pauper banlist
2019-06-27 20:10:47 -04:00
Evan Kranzler
620be8fd33
updated Australian Highlander points list
2019-06-10 08:04:04 -04:00
Evan Kranzler
539e1061a7
updated Canadian Highlander point list ( closes #5845 )
2019-06-10 08:00:17 -04:00
Oleg Agafonov
24c6d7d4f4
* Fixed missing banned check in Oathreaker's decks;
2019-06-08 09:29:37 +04:00
Evan Kranzler
e741e93f8a
updated Tiny Leaders ban list
2019-06-07 14:09:05 -04:00
Evan Kranzler
105a919425
updated Tiny Leaders to allow planeswalkers as commanders
2019-06-07 14:03:04 -04:00
Oleg Agafonov
55bc61000a
Prepare new release
2019-06-06 23:03:38 +04:00
Oleg Agafonov
a9329c130d
Oathbreaker: added support of 2 partners with 2 spells, improved signature spell hint and checks;
2019-05-29 03:03:17 +04:00
Oleg Agafonov
2f04a0d979
Fixed bloated error messages on commander deck check;
2019-05-27 16:18:20 +04:00
Oleg Agafonov
07cf5201ba
* Added new game mode: Oathbreaker ( #5678 );
2019-05-27 16:17:15 +04:00
Oleg Agafonov
bbf1c1343a
Prepare release 1.4.35
2019-04-23 23:32:54 +04:00
Evan Kranzler
1518802a38
fixed Freeform Commander not allowing multiples of cards like Persistent Petitioners ( fixes #5721 )
2019-04-15 09:04:42 -04:00
Oleg Agafonov
fed433657c
Fixed deck size check
2019-04-05 12:46:54 +04:00
Oleg Agafonov
de4befb9c2
* Sideboarding: fixed that it possible to auto-submit 40 cards deck instead 60 in constructed formats ( #5579 );
...
Sideboarding: fixed that cheated deck with sideboard can be used instead lose the game;
2019-04-01 07:34:46 +04:00
Oleg Agafonov
65bb9b2161
Prepare new release 1.4.34
2019-03-29 18:31:00 +04:00
jsiegelman1
35371bb68a
Updated Points List
...
Mana Crypt 2 -> 3
Personal Tutor 1 -> 0
2019-03-04 20:24:49 -08:00
Ingmar Goudt
553d263526
add missing diamond operators
2019-03-04 11:57:53 +01:00
Oleg Agafonov
e30eecead3
Refactor set's legality, Modern Horizons now available for modern formats;
2019-03-04 04:49:49 +04:00
Oleg Agafonov
8df43cfbb6
Refactor set's legality
2019-03-04 02:31:51 +04:00
Oleg Agafonov
7eb1ccfebd
Fixed premodern format with missing Exodus set ( #5301 )
2019-02-06 18:03:10 +04:00
Oleg Agafonov
004c2ba0c3
Upgraded all projects to same java 8 version
2019-02-01 17:54:59 +04:00
spjspj
6a5c8e0be7
Australian 7 pt Highlander Points update
2019-02-01 01:39:35 +11:00
Evan Kranzler
badfd1c59e
updated Modern banned list
2019-01-21 10:42:36 -05:00
Ingmar Goudt
7c2f55eda0
couple of sonar fixes
2019-01-17 12:03:22 +01:00
Oleg Agafonov
14f66029f8
Missing v33 commit
2019-01-16 20:59:45 +04:00
Oleg Agafonov
52df594396
Fixed that freeform commander don't ignore banned cards from basic commander;
2018-12-29 20:40:05 +04:00
Evan Kranzler
baef4114d2
fixed silver bordered cards being legal in various formats
2018-12-22 11:26:15 -05:00
Evan Kranzler
66aab73cfa
fixed silver bordered cards being legal in commander
2018-12-21 20:12:44 -05:00
LevelX2
e6ce58d6bf
XMage 1.4.32V0
2018-11-26 19:30:22 +01:00
Oleg Agafonov
8185bdf62b
* Updated Canadian Highlander format to November 19th, 2018 version ( #5436 );
2018-11-21 02:54:08 +04:00
Evan Kranzler
4d01c72c3e
updated Aus Highlander and Canadian Highlander point lists
2018-10-30 11:04:38 -04:00
Evan Kranzler
6ad6151be7
removed rotated cards from standard banlist
2018-10-03 14:50:16 -04:00
Evan Kranzler
b7c5b3bd36
updated Australian Highlander points
2018-09-22 15:02:59 -04:00
Evan Kranzler
79635ff9a0
updated Canadian Highlander points
2018-09-22 15:01:30 -04:00
jmharmon
ec23ea0dd2
Implement Premodern
2018-09-12 08:17:34 -07:00
Oleg Agafonov
1bc022a94a
Revert freeform commander to singleton format (1 card copy max)
2018-08-25 10:43:18 +04:00
Oleg Agafonov
b4fdce53c4
* Fixed freeform commander that's it not allowed snow lands and cards duplication ( #5262 )
2018-08-25 08:42:45 +04:00
LevelX2
deb675a74a
Xmage 1.4.30V0
2018-08-15 11:35:40 +02:00
Evan Kranzler
e70b1fadbe
updated MTGO 1v1 commander rules to ban partners
2018-07-27 11:38:08 -04:00
Evan Kranzler
62584601a1
updated MTGO 1v1 Commander banlist
2018-07-27 11:27:08 -04:00
Evan Kranzler
0324c1ad9f
Updated how Standard and Brawl share legality
2018-07-09 10:31:30 -04:00
Evan Kranzler
85402b5522
updated Legacy banlist ( https://magic.wizards.com/en/articles/archive/news/july-2-2018-banned-restricted-update-2018-07-02 )
2018-07-02 10:37:29 -04:00
Evan Kranzler
88eeaa3f1e
temporarily removed future requirement from standard to allow M19
2018-06-24 19:29:12 -04:00
Evan Kranzler
bb92d04ff4
Updated Australian Highlander points list
2018-06-17 16:42:09 -04:00
Evan Kranzler
fb419bebca
Updated canadian highlander point list
2018-06-17 16:25:28 -04:00
Evan Kranzler
633dcd927d
reworked standard legality to handle the return of core sets and removal of blocks
2018-06-14 10:55:29 -04:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
Evan Kranzler
20287a2739
updated Duel Commander banlist
2018-05-29 19:46:52 -04:00
Evan Kranzler
c7ba717453
Fixed colorless commanders not being able to use a single type of basic land ( fixes #4973 )
2018-05-27 13:06:26 -04:00
LevelX2
a19c257e50
XMage 1.4.30V0
2018-05-27 01:28:42 +02:00
Evan Kranzler
636b35ae39
small change to Partner with ability
2018-05-21 15:53:06 -04:00
Evan Kranzler
bd96d30b3d
Implemented Partners With ability
2018-05-21 15:12:31 -04:00
jmharmon
19c9d7634c
Add files via upload
...
Added Old School 93/94 variants for different rules.
2018-05-18 03:20:22 -07:00
theelk801
9739c0c6f9
Merge pull request #4924 from hooptie45/master
...
Added No Banned List Modern format
2018-05-15 14:21:20 -04:00
Evan Kranzler
d6ff7f851d
updated Brawl banlist, color identity rules, and 1v1 starting life total ( closes #4931 )
2018-05-10 20:40:52 -04:00
Shaun Hannah
755569d996
Fix class name mis-match
2018-05-10 05:13:02 -04:00
Shaun Hannah
4d335fc396
Added No Banned List Modern format
...
This is just as the name implied, modern with no banned cards.
Why? Because I want to gear up for the SCG-CON's no banned list modern
tourney: http://scgcon.starcitygames.com/open.php#prizes
Sure I could play in a freeform game, but modern can't compete with
vintage cards; so not really a good test case.
2018-05-09 20:10:11 -04:00
Brik Royster
54e4c2c484
Update Standard.java
...
update comments to reflect actual ban date
2018-04-28 17:08:43 -07:00
Brik Royster
a514f12196
Fix Brawl.java banlist comments
...
These cards were banned in 2018
2018-04-28 16:11:39 -07:00
LevelX2
db077d68ca
* Fixed Rat Colony deck valid check for all formats.
2018-04-25 16:34:55 +02:00
spjspj
66825b37df
Merge pull request #4865 from spjspj/master
...
Implement Brawl Free For All and Brawl Duel
2018-04-25 19:44:41 +10:00
spjspj
730d23164a
Implement Brawl Free For All and Brawl Duel
2018-04-25 19:17:34 +10:00
spjspj
1f2f61e945
Merge pull request #4856 from spjspj/master
...
Aus Highlander update
2018-04-24 21:26:21 +10:00
spjspj
3a8a6019ca
Aus Highlander update
2018-04-24 21:24:54 +10:00
Evan Kranzler
d2f41405b7
updated MTGO 1v1 Commander banlist
2018-04-23 11:45:22 -04:00
LevelX2
fe2220e19e
Xmage 1.4.29V0
2018-04-19 21:07:14 +02:00
LevelX2
b073ce1c42
* Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. ( #4634 ).
2018-03-18 18:18:54 +01:00
LevelX2
fed2d1a259
XMage 1.4.28V0
2018-03-10 20:42:29 +01:00
JRHerlehy
fcfb431290
Feb 12, 2018 B&R Update
...
Modern - Jace, the Mind Sculptor UNBANNED, Bloodbrade Elf UNBANNED
All other formats - No Changes
2018-02-12 13:29:24 -05:00
LevelX2
09582eafc3
Added banned standard cards of 2018-01-15.
2018-01-27 10:14:37 +01:00
LevelX2
40afa04b24
xmage 1.4.27V0
2018-01-13 22:54:53 +01:00
LevelX2
acc4c70f24
Added block formats.
2017-12-29 11:30:00 +01:00
spjspj
fe02e3fba3
Fix points for Aus 7pt Highlander
2017-12-12 01:02:51 +11:00
Evan Kranzler
93ad59ab4a
updated the Duel Commander banlist
2017-11-28 13:59:12 -05:00
spjspj
00eb481004
spjspj - Add a version of Freeform Commander (any creature or legendary permanent can be commander, no ban list)
2017-11-25 22:14:20 +11:00
spjspj
19c9689f89
Apostrophes
2017-11-11 12:39:42 +11:00
Evan Kranzler
83231c8992
updated Canadian Highlander points list
2017-11-08 15:34:47 -05:00
Evan Kranzler
901a640592
updated MTGO 1v1 Commander banlist
2017-10-09 12:30:36 -04:00
Evan Kranzler
93f01af87e
fixed SOI block being incorrectly included in standard, removed unnecessary bans
2017-10-02 13:51:52 -04:00
Benjamin Maitland
f22d64df82
Fixed Zendikar release date.
2017-09-27 23:13:06 -04:00
Evan Kranzler
c8457aec49
updated Duel Commander banlist
2017-09-26 08:50:55 -04:00
LevelX2
b2496e3d7f
Fixed Vintage restricted list.
2017-09-05 16:19:53 +02:00
Evan Kranzler
26e4e2672e
Updated Vintage restricted list
2017-09-04 12:11:47 -04:00
Evan Kranzler
942e1cce9a
Updated Canadian Highlander points list
2017-08-26 18:03:26 -04:00
LevelX2
1fb24116ae
xmage 1.4.26V0
2017-08-15 01:27:06 +02:00
spjspj
6435b9950a
Add in Penny Dreadful EDH format (plus filter options for deck editor).
2017-08-04 17:13:25 +10:00
LevelX2
fe2ee5dfec
Xmage 1.4.25V0
2017-07-29 20:35:16 +02:00
fireshoes
382476206c
Restored inadvertently deleted line in DuelCommander.java
2017-07-19 16:33:57 -05:00
fireshoes
71f1acc90c
Updated Duel Commander banlist.
2017-07-17 16:33:51 -05:00
LevelX2
1fe841e6d9
Merge branch 'master' into master
2017-07-10 13:18:58 +02:00
fireshoes
48413a956a
Added MTGO 1v1 Commander and Amonkhet Block Constructed formats. Fixed a typo in the Duel Commander banlist.
2017-07-09 16:51:57 -05:00
Benjamin Maitland
8e16cf0bd6
Added the Old School 93/94 Format. Uses original rules.
2017-07-08 23:40:27 -04:00
Benjamin Maitland
1869777634
Fixed bug Historical Type 2 Issues #3417 .
...
Shards of Alara had an incorrect release date.
Nemisis had the wrong set code in the hardcoded standards.
2017-07-08 14:54:44 -04:00
LevelX2
7d911ae803
XMage 1.4.24V0
2017-07-08 16:33:09 +02:00
fireshoes
476fb37afb
Added Aetherworks Marvel to the Standard banned list.
2017-06-13 21:10:31 -05:00
spjspj
71d06dd894
Update odd apostrophes (could have multiple Lion's Eye Diamonds in a vintage deck). Also aus highlander has the vintage banned list.
2017-05-25 11:23:35 +10:00
spjspj
5bba4dc7fb
Update Canadian 7pt Highlander rules
2017-05-25 11:13:09 +10:00
spjspj
dfbb87bd5d
Update Australian 7pt Highlander rules (to 24th April 2017) http://www.auseternal.com/7-point-highlander/
2017-05-25 08:51:02 +10:00
spjspj
e752ee3156
EDH Power level fix
2017-05-20 15:45:40 +10:00
spjspj
3cb7424dfd
EDH Power updates
2017-05-16 23:14:33 +10:00
spjspj
739cbd12a3
Minor add to infinite combo
2017-05-14 21:51:29 +10:00
spjspj
347d08298f
Allow sort by EDH Power level in Deck Editor
2017-05-11 17:52:43 +10:00
spjspj
5b225fa142
EDH Power level update
2017-05-11 16:25:15 +10:00
LevelX2
4d60685c05
* Fixed handling of standard set rotation( fixes #3260 ).
2017-04-29 23:18:36 +02:00
LevelX2
ab352a3c6b
* Fixed handling of standard set rotation( fixes #3260 ).
2017-04-29 23:17:52 +02:00
igoudt
2c34870bf0
remove util function on converted manacost, make getColorIdentity default interface method
2017-04-27 10:57:48 +02:00
drmDev
fae65241e2
updated banned standard list to include felidar guardian
2017-04-26 20:56:10 -04:00
drmDev
f794b54dda
updated banlist resolves #3232
2017-04-24 23:42:31 -04:00
fireshoes
ea6e2ecbe7
Updated the Duel Commander banlist.
2017-04-17 19:10:50 -05:00
LevelX2
ef4cf90a0f
Release 1.4.23V0
2017-04-17 10:53:59 +02:00
ingmargoudt
6f8f10fcc3
move static function to CardImpl, and other api fixes
2017-03-30 20:09:47 +02:00
fireshoes
55b433ae36
[AKH] Added 3/27 spoilers to mtg-cards-data.txt. Implemented several of the new cards.
2017-03-28 22:25:29 -05:00
LevelX2
9d8a8a33f1
Xmage 1.4.22V0
2017-03-11 13:38:55 +01:00
spjspj
faee8fb298
Refactor color restriction in edh. Change to look at commander color identity.
2017-03-01 08:56:52 +11:00
vraskulin
04973ea5aa
Checking String for emptiness with .lenght() is preferable since 1.6
2017-02-28 11:46:51 +03:00
spjspj
5365f9cac5
Allow limiting a colour in edh
2017-02-27 23:33:58 +11:00
spjspj
a897f2d91e
Merge pull request #2851 from spjspj/master
...
Update some edh power levels
2017-02-11 00:53:46 +11:00
spjspj
dfbdc058cf
Update some edh power levels
2017-02-11 00:52:58 +11:00
vraskulin
f60ebfbb1f
All 1-character strings converted to primitives
...
"b" + "r" now changed to 'b' + 'w'. It's more straight-forward, and may cause perfomance improvements - character primitives allocation is faster and less expensive than string creation.
2017-02-06 14:32:51 +03:00
spjspj
c98bf163be
Add Canadian Highlander Deck/Game implementation. Also implements the double-mulligan-on-6,5,4,3,2,1 rule.
2017-02-05 23:23:51 +11:00
spjspj
de6fae8c00
Add Canadian Highlander format
2017-01-30 23:57:59 +11:00
spjspj
532eb3fdea
Add Canadian Highlander format
2017-01-30 23:48:16 +11:00
LevelX2
6625bf86be
Xmage 1.4.21V0
2017-01-15 17:44:02 +01:00
sotovdev
fe7aaedf1c
Merge branch 'master' into bigRefactoring
2017-01-10 15:37:43 +03:00
fireshoes
de3c6168d8
Updated Banned & Restricted lists.
2017-01-09 15:08:08 -06:00
vraskulin
076840df53
Big refactoring
...
I used Intellij IDEA to automatically refactor code to achive 3 goals.
1) get rid of anonymouse classes, and replace the with lamba to get more readeable and clean code (like in TableWaitingDialog).
2) make effectively final variables actually final to avoid inadvertent changes on it in further releases and keep objects as immutable, as possible.
3) Get rid of unused imports (most of the changes) in whole project classes.
2017-01-09 19:16:53 +03:00
LevelX2
ee203cf981
Xmage Release 1.4.20V0
2017-01-08 01:36:05 +01:00
spjspj
8680ab212f
spjspj - Final.. update to edh Power Level.
2016-12-08 17:08:10 +11:00
spjspj
9caaf0d5be
spjspj - Final update to edh Power Level.
2016-12-08 11:57:45 +11:00
spjspj
a5c677f72a
spjspj - More updates to edh Power Level.
2016-12-08 10:54:45 +11:00
spjspj
7d67351921
spjspj - More updates to edh Power Level.
2016-12-08 10:29:37 +11:00
spjspj
02bfd09a0c
spjspj - More updates to edh Power Level.
2016-12-05 22:58:35 +11:00
spjspj
6f0aafb449
spjspj - More updates to edh Power Level.
2016-12-03 19:29:57 +11:00
LevelX2
b62ca1ed1f
Xmage 1.4.19
2016-11-27 19:59:42 +01:00
spjspj
c0be640c4a
spjspj - Implement Australian 7pt Highlander
2016-11-25 20:56:24 +11:00
spjspj
1fd3ab68b6
Add 'EDH power level' rating to Commander tables
2016-11-22 19:30:02 +11:00
spjspj
713854bb43
Add 'EDH power level' rating to Commander tables
2016-11-21 19:40:08 +11:00
spjspj
9b80b1abb1
Add 'EDH power level' rating to Commander tables
2016-11-21 19:34:20 +11:00
spjspj
7fd2eeedcf
Add 'EDH power level' rating to Commander tables
2016-11-20 23:13:16 +11:00
fireshoes
852eabaca2
Duel Commander - unbanned Balance, Necropotence, Yawgmoth's Bargain, Serra Ascendant, and Grindstone
2016-11-08 16:14:20 -06:00
LevelX2
c9e1b415e2
Xmage 1.4.18V0
2016-11-06 18:11:19 +01:00
fireshoes
a5cb9ff037
Added Peregrine Drake to the Pauper banlist.
2016-11-03 10:19:22 -05:00
emerald000
c38f96ae55
[C16] Implemented Partner ability.
2016-11-01 22:59:39 -04:00
LevelX2
5090eaee0d
Fixed that Commander and Tiny leader decks were not checked for valid sets.
2016-11-01 22:57:34 +01:00
LevelX2
8b62eece68
XMage 1.4.17V0
2016-10-23 10:03:01 +02:00