Oleg Agafonov
2ec3036abe
* Fixed AI game freeze if it can't pay X mana ( #5023 );
2019-06-27 21:17:53 +04:00
Oleg Agafonov
bb1c9c072c
Improved interactions between pay X and other effects;
2019-06-21 11:41:56 +04:00
Oleg Agafonov
04591a24f7
Improved interactions between pay X and other effects;
2019-06-21 11:40:36 +04:00
Oleg Agafonov
437861ec20
Improved and fixed X mana cost and pays, mana pool:
...
* Pay X abilities - fixed that it spends all available mana pool instead only needed;
* Pay X abilities - added support of interactions with other X effects like Rosheen Meanderer's mana usage for "pay X to prevent";
* Rosheen Meanderer - fixed that it can't use mana for "you may pay X" like Flameblast Dragon's effect (#5206 );
* Devs: added support to use VariableManaCost to pay X in code (without generic's workaround, use ManaUtil.createManaCost to generate cost to pay);
2019-06-20 21:18:01 +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
085211035f
* Ugin, the Ineffable - improved +1 ability (one window for all exiled cards, card's id in lookup window);
2019-05-18 22:24:37 +04:00
Oleg Agafonov
b6f075c505
* UI: added drag & drop text to deck editor (like drag & drop deck file);
2019-03-13 04:21:31 +04:00
Ingmar Goudt
45f665eb1d
Sonar cleanups 03032019
2019-03-04 10:43:20 +01:00
Oleg Agafonov
00ad61b6bd
Added new Mythic Edition (MED) set (16 cards, scryfall download)
2019-02-09 16:45:27 +04:00
Oleg Agafonov
1b32793388
Added restrict effect hints to permanents;
2019-02-08 03:08:28 +04:00
Evan Kranzler
c34f611279
updated Krark's Thumb, still doesn't work in multiples
2019-01-15 16:55:45 -05:00
Oleg Agafonov
8a9619bf80
Fixed build time
2019-01-08 11:00:26 +04:00
LevelX2
1146a38fca
* Fixed a problem with exception by getting the build time for version.
2019-01-07 21:47:57 +01:00
Ingmar Goudt
e1630b3c6f
remove deprecated String subtype methods
2019-01-03 06:35:36 +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
20a3b0b777
Added cards database cleanup on new builds/releases run (client/server sides);
2018-12-21 23:11:43 +04:00
Oleg Agafonov
1d450730c0
Merge origin/master
2018-12-07 01:21:32 +04:00
Oleg Agafonov
02b7e2cf10
Refactor: extract card names compare logic (is empty name, is same name)
...
Fixed last broken tests
2018-12-07 00:26:50 +04:00
Ingmar Goudt
25e7b53268
small performance update for ClassScanner
2018-11-24 23:50:05 +01:00
Oleg Agafonov
0b089895a7
Fixed scryfall images download for PUMA set;
2018-11-12 04:14:53 +04:00
Quercitron
79120e7484
Make color distribution in booster more uniform
2018-07-25 02:46:31 +03:00
igoudt
877a355a7d
rewrite some code to streams
2018-07-15 20:50:26 +02:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
Evan Kranzler
a4a4cf7bd5
Implemented Last One Standing
2018-05-23 14:09:37 -04:00
LevelX2
dcd3e7c039
* Some more fixed/reworked card movement handling.
2018-05-08 23:46:34 +02:00
LevelX2
df987049c0
* Fixed some card movement ( fixes #4910 ).
2018-05-08 18:01:15 +02:00
LevelX2
bb15176a84
* Fixed token ability (id handling) and token cardType (reset was not correctly done) handling (this fixed problems with copying Planeswalker with Helm of the Host).
2018-05-07 00:44:32 +02:00
Oleg Agafonov
578427a601
Refactoring: replace custom creature tokens with basic class
2018-05-05 17:25:33 +04:00
Marc Zwart
1053db617b
fixed missing linebreaks
2018-04-03 14:31:59 +02:00
Marc Zwart
3e32287f00
fixed Token/TokenImpl imports and references
2018-04-03 14:05:41 +02:00
Marc Zwart
b2e2f48ad9
closed unclosed resources in copyCompressed method in Copier
2018-03-20 14:20:31 +01:00
Marc Zwart
dc25eedfc3
fixed unclosed resources in copy method in mage framework Copier
2018-03-20 14:18:42 +01:00
LevelX2
2f016c8ea6
Fixed some more exception and/or logging problems.
2018-01-27 13:19:20 +01:00
Zzooouhh
ab3128975a
Overflow check methods in CardUtil
2017-12-23 23:01:35 +01:00
Oleg Agafonov
66a70dd116
- Fixed #4220 - card viewer raise error with alternative card numbers;
...
- Fixed potential error on getCardsByRarity;
- Added inner checks for wrong booster max card numbers settings;
2017-12-07 08:01:54 +04:00
igoudt
b12b0e29b8
change subtype.contains() to hasSubtype()
2017-09-25 21:21:13 +02:00
LevelX2
afd6bc080d
Removed exception for missing subType to prevent empty card list in older deck editors.
2017-09-16 15:14:52 +02:00
Evan Kranzler
252c941b4f
Refactored more subtypes usages to enum
2017-09-08 09:57:51 -04:00
Evan Kranzler
0656f97d7c
Merge branch 'master' of https://github.com/magefree/mage into magefree-master
...
# Conflicts:
# Utils/mtg-cards-data.txt
2017-09-07 11:36:07 -04:00
igoudt
2ca7927580
AddCardSubtypeAllEffect uses SubType enum
2017-08-08 17:11:21 +02:00
Justin Herlehy
1daad30559
Subtype Update for "Z" Cards.
...
Updated the subtypes for all implemented cards in the "Z" package.
Corrected typo in the SubType enum for type BOAR.
Added a varargs function to allow all creature types to be added in a single function call rather than 1-4.
2017-07-17 17:17:07 -07:00
ingmargoudt
09f0c9ad97
huge rework on subtypes ( #3668 )
...
* huge rework on subtypes
* update for coat of arms
* fix test
2017-07-16 16:57:39 -05:00
igoudt
905829561e
talk to interfaces rather than implementations
2017-07-16 11:08:09 +02:00
igoudt
0cb7d8aab6
loop to streams
2017-06-06 09:31:41 +02:00
ingmargoudt
12eb4c2fb7
Merge branch 'master' into move_magepermanent_method
2017-04-28 19:29:20 +02:00
igoudt
6b66f8c05b
add cartouche as enchantment subtype
2017-04-28 10:23:13 +02:00
igoudt
2c34870bf0
remove util function on converted manacost, make getColorIdentity default interface method
2017-04-27 10:57:48 +02:00
igoudt
7a4a0b9faa
move removeVariableManaCost from CardUtil to ManaCosts interface
2017-04-27 10:57:48 +02:00
LevelX2
0b827b239c
* Fixed the handling of comparing characteristics concerning split cards (related to the recent rule changes).
2017-04-19 12:36:46 +02:00
LevelX2
664405caab
[AKH] Added Vizier of Many Faces.
2017-04-16 13:28:36 +02:00