Commit graph

25964 commits

Author SHA1 Message Date
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
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
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
Oleg Agafonov
97c9659f1e UI: fixed window download centered after startup complete 2018-12-21 17:35:41 +04:00
Oleg Agafonov
af5e48668e UI: added cancel button for images downloading startup; 2018-12-21 17:31:55 +04:00
Oleg Agafonov
107d509aef
Merge pull request #5448 from brodee/master
added uma AI card ratings
2018-12-21 05:39:20 +04:00
Oleg Agafonov
2fdef83284
Merge pull request #5455 from SpikesCafe-google/AddSpinyStarfish3
Add Spiny Starfish from Alliances.
2018-12-21 05:33:04 +04:00
Oleg Agafonov
7b2598eba8
Merge pull request #5466 from hitch17/mtgo-compatible-draftlogs-5450
Make draft logs compatible with MTGO format #5450
2018-12-21 05:24:06 +04:00
Oleg Agafonov
b62dc39ea1
Merge pull request #5469 from hitch17/fix-verifycarddatatest
buildfix for VerifyCardDataTest
2018-12-21 05:11:30 +04:00
John Hitchings
3d15325448 buildfix for VerifyCardDataTest. mtgjson file was moved, added a few fields, and requires adding a User-Agent to the request. 2018-12-20 17:02:48 -08:00
Evan Kranzler
b73494437f updated card generation templates 2018-12-20 19:22:11 -05:00
Evan Kranzler
20247f2fef Implemented Tithe Taker 2018-12-20 19:21:52 -05:00
Evan Kranzler
9d99a04fd6 Implemented Gruul Spellbreaker 2018-12-20 18:56:43 -05:00
Evan Kranzler
2b6f85df23 Implemented Frenzied Arynx 2018-12-20 18:44:57 -05:00
Evan Kranzler
e56e7a6def updated RNA spoiler 2018-12-20 18:25:28 -05:00