Commit graph

27243 commits

Author SHA1 Message Date
Oleg Agafonov
e9f9b05141 Fixed NPE errors for some cards (#5471) 2019-01-02 20:06:01 +04:00
Oleg Agafonov
6e2b6aa7a3
Merge pull request #5483 from brodee/master
added the scg winter con cube
2019-01-02 19:48:56 +04:00
brodee
5bd30c8c55 added the scg winter con cube
this is the cube they drafted for $10k
2019-01-01 14:07:16 -08:00
brodee
6f4c404727
Merge pull request #6 from magefree/master
pulling upstream
2019-01-01 13:34:04 -08:00
Ingmar Goudt
4b857f24c0 remove calls to mode.getEffects().add and mode.getTargets().add , and replace them with addEffect and addTarget . This way we hide the implementation of the modes. Cards should not be interested in how an effect is to be added, rather they should just be able to use a service for that. Refer to Law of Demeter or Principle of Least Knowledge 2019-01-01 14:19:06 +01:00
Jeff
dad4ce3312 - Added Lim-Dul's Cohort and Mind Whip. 2018-12-31 14:05:46 -06:00
Ingmar Goudt
43d305a4b1 no need to use a stringbuilder for single line String creation. Java will compile this to use a StringBuilder automatically. StringBuilder performs best when initialized outside a loop 2018-12-31 20:40:21 +01:00
Ingmar Goudt
da3c861344 add nullchecks for game.getObject 2018-12-31 16:03:36 +01:00
Ingmar Goudt
09dd9d5a26 include more player null checks 2018-12-31 00:56:03 +01:00
Oleg Agafonov
2ebad63595 Added seeds support to random util:
* all xmage code uses shared util to generate random values;
 * tests can uses seeds to repeat "random" results like deck builds or AI plays;
2018-12-30 03:52:30 +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
Ingmar Goudt
799fe34b02 change HashMap to EnumMap 2018-12-29 10:30:40 +01:00
Jeff
cc2871a356 - changed card number 2018-12-28 17:05:58 -06:00
Jeff
7808453461 - Added enhancement #5480 2018-12-28 16:56:24 -06:00
Jeff
54e70016cd - Added Gaze of Pain. 2018-12-28 09:02:42 -06:00
jeffwadsworth
ba4bc5cca2 - changed card number 2018-12-28 00:09:46 -06:00
L_J
d0fbe6d35c Implemented Alliances cards (#5470)
* Implemented Alliances cards (#84)

* Fixed Storm Elemental

* Fixed Sworn Defender
2018-12-27 22:53:10 -06:00
Jeff
ff11727596 - Added Krovikan Vampire. Fixed Duplicity. 2018-12-27 18:01:37 -06:00
Evan Kranzler
8485d70552 small additional change to Rakshasa Vizier 2018-12-27 12:23:56 -05:00
Evan Kranzler
d27765863d fixed Rakshasa Vizier issue (fixes #5479) 2018-12-27 09:35:49 -05:00
jeffwadsworth
d20872dcb9 - Fixed #5474 2018-12-27 02:51:24 -06:00
Oleg Agafonov
42fdc6d663
Merge pull request #5477 from themogwi/vintage-cube-dec-2018
Implement December 2018 Vintage Cube
2018-12-26 20:59:30 +04:00
Miguel Sainz Jr
aede48df04 Implement December 2018 Vintage Cube 2018-12-26 11:49:49 -05:00
Evan Kranzler
ce10d20517 Reworked Rakshasa Vizier triggered ability to only trigger once (fixes #5475) 2018-12-25 16:11:20 -05:00
Evan Kranzler
e45dda28a9 updated RNA spoiler and reprints 2018-12-25 13:26:22 -05:00
L_J
a48ed51373
Reverted BrainstormEffect 2018-12-24 14:53:13 +01:00
L_J
ffd8891f54
Some Urza edits 2018-12-24 14:52:55 +01:00
L_J
f855c6b2c7
Minor legibility & misc edits 2018-12-24 02:28:55 +01:00
L_J
3ff42d737d
Implemented Urza, Academy Headmaster 2018-12-24 01:46:22 +01:00
L_J
1e76641afa
Implemented Urza, Academy Headmaster 2018-12-24 01:45:16 +01:00
L_J
7c983aa21b
Implemented Urza, Academy Headmaster 2018-12-24 01:41:49 +01:00
L_J
b4f2f8ed72
Implemented Urza, Academy Headmaster 2018-12-24 01:41:02 +01:00
Oleg Agafonov
d36cca02aa Fixed NPE errors for some cards (#5471) 2018-12-23 20:24:20 +04:00
Oleg Agafonov
e75e2324c7 Fixed NPE errors for some cards 2018-12-23 17:56:46 +04:00
L_J
a2a8df8059
Merge pull request #83 from magefree/master
Merge https://github.com/magefree/mage
2018-12-23 13:34:57 +01:00
Oleg Agafonov
2e3fabb161 Fixed NPE error in lobby 2018-12-22 20:41:42 +04:00
Evan Kranzler
baef4114d2 fixed silver bordered cards being legal in various formats 2018-12-22 11:26:15 -05:00
Oleg Agafonov
253c580639 Fixed broken tables selection in lobby 2018-12-22 06:21:17 +04:00
Evan Kranzler
66aab73cfa fixed silver bordered cards being legal in commander 2018-12-21 20:12:44 -05:00
Evan Kranzler
be43613da1 Implemented Emergency Powers 2018-12-21 20:07:21 -05:00
Evan Kranzler
d9ca4f2ff6 Implemented Sphinx's Insight 2018-12-21 19:40:59 -05:00
Oleg Agafonov
0d949ca7e6 Typos 2018-12-22 01:05:43 +04:00
Oleg Agafonov
0c18f96ce7 Added set codes info in download window; 2018-12-22 00:01:37 +04:00
Oleg Agafonov
20a3b0b777 Added cards database cleanup on new builds/releases run (client/server sides); 2018-12-21 23:11:43 +04:00
Evan Kranzler
20d5bfc3c9 Implemented Incubation // Incongruity 2018-12-21 13:21:19 -05:00
Evan Kranzler
6d21ccb6fc updated RNA spoiler 2018-12-21 13:08:21 -05:00
Jeff
2fca196f79 - Fixed #5468 2018-12-21 11:46:30 -06:00
Oleg Agafonov
fbca0f4fef Added RNA images support for scryfall, fixed MED set for scryfall, fixed bloated logs for machines without sound. 2018-12-21 20:09:01 +04:00
Oleg Agafonov
5d1289a66e
Merge pull request #5465 from magefree/ui-new-download-window
UI: added new download images window
2018-12-21 18:03:55 +04:00
Oleg Agafonov
c3ea8ddd7a UI: added images cache reset after downloads finish (no more xmage restart for new images); 2018-12-21 17:53:24 +04:00