Commit graph

1228 commits

Author SHA1 Message Date
LevelX2
16adeadd8e * Oathbreaker format - Fixed endless loop on match init (#6695). 2020-06-22 17:44:59 +02:00
Oleg Agafonov
3f2a5fc362 Prepare new release 2020-06-20 11:36:13 +04:00
Oleg Agafonov
10cf884923 AI and test framework improved:
* Now AI can see and use special mana payments like convoke, delve, improvise pays;
* Now devs can test special mana payments (disable auto-payment and use choices for mana pool and special pays);
* Fixed broken TargetDiscard in tests;
* Fixed broken same named targets in tests;
2020-06-19 13:16:26 +04:00
Oleg Agafonov
c2e7b02e13 Reworked and improved special mana payment abilities (convoke, delve, assist, improvise):
* now it can be used to calc and find available mana and playable abilities;
* now tests and AI can use that abilities;
* now it follows mtg's rules and restrictions for mana activation order (rule 601.2f, see #768);
2020-06-19 13:09:45 +04:00
Oleg Agafonov
fc5d766ebd * AI: improved exile from graveyard cost (now AI can use it with more efficiency) 2020-06-19 12:43:26 +04:00
LevelX2
f480d0bebb * Some minor code and text clean up. 2020-06-12 15:14:28 +02:00
Oleg Agafonov
cce467a5ec Additional fix and simplified for playable abilities (see comments b94344341b) 2020-06-04 03:21:18 +04:00
Oleg Agafonov
b94344341b Improved playable abilities and split cards:
* Now human player uses same code for playable abilities search as test framework (old version used different code, so it could not work in one of the modes);
* Split cards - improves playable highlights;
* Split cards - fixed that it doesn't work with dynamic added abilities like flashback (#6327, #6470, #6549);
2020-06-03 12:44:58 +04:00
Evan Kranzler
aed44cd0cc updated standard ban list 2020-06-02 11:11:28 -04:00
Oleg Agafonov
eea808d2d6 Ability refactor: source improves, deprecated code removed; 2020-05-28 22:38:31 +04:00
Oleg Agafonov
8af43dc13a Ability refactor: new code to search abilities in cards and permanents; 2020-05-28 22:34:27 +04:00
Dh0mp5eur
7f3dea8fe4 Updated DuelCommander ban list 2020-05-27 16:11:53 +02:00
John Hitchings
a18951c27a Add Vintage Cube 2020. See https://magic.wizards.com/en/articles/archive/vintage-cube-cardlist 2020-05-26 14:23:22 -07:00
Oleg Agafonov
63dbf5f40b * Split cards improves:
* Fixed that fused spells can't be played from non hand zone;
 * Fixed double choose spell dialog (#5506, #6549);
2020-05-19 01:30:46 +04:00
Oleg Agafonov
6b5108770c * UI: fixed wrong ability text capitalization in mode choose dialog; 2020-05-19 00:27:42 +04:00
Evan Kranzler
944ef84036 updated ban lists 2020-05-18 10:39:00 -04:00
Oleg Agafonov
771d54aa39 * Triggered abilities with modes - fixed that player can skip mode selection (example: skip lose game with Demonic Pact, see #6524); 2020-05-07 15:21:15 +04:00
Evan Kranzler
7055823117 updated Oathbreaker ban list 2020-04-24 20:29:37 -04:00
Evan Kranzler
506b734235 updated Commander ban list 2020-04-20 08:56:47 -04:00
Oleg Agafonov
0dd4e821b9 Fixed missing MTGA Cube 2020 April in configs (related to #6396); 2020-04-19 00:00:07 +04:00
htrajan
51dcaa1725 update simulators 2020-04-16 20:14:43 -07:00
Evan Kranzler
8494e98693
Implemented Yorion, Sky Nomad (#6407)
* Implemented Yorion, Sky Nomad

* Implemented Yorion, Sky Nomad (but for real this time)

* updated game creation to use the correct deck size for limited
2020-04-16 08:10:18 -04:00
Oleg Agafonov
a5fb946fb3 * AI: fixed double triggers of blocker declared event for Monte Carlo AI (with activated block requirement effect, see #6367); 2020-04-14 20:11:41 +04:00
CCTV-1
8566344399
support mtga cube (#6396)
* support mtga cube

* fix miss ')'

* fix:wrong class name
2020-04-13 18:53:26 -04:00
Evan Kranzler
7e0b755953 Implemented Lutri, the Spellchaser 2020-04-12 10:44:57 -04:00
emerald000
c3684a732b [IKO] Implement Companion and 2 companions
Keruga, the Macrosage and Umori, the Collector
2020-04-12 08:29:25 -04:00
Leandro Doctors
e0c80646b3 Delete .class files 2020-03-22 20:49:52 -03:00
Evan Kranzler
63df5d89a4 updated Brawl ban list 2020-03-16 15:16:19 -04:00
Evan Kranzler
ec8867ab1a updated Legacy ban list 2020-03-16 15:15:03 -04:00
Evan Kranzler
f7e0b5d93b updated Modern ban list 2020-03-16 15:14:03 -04:00
Oleg Agafonov
a20bca1b21 Test framework: fixed ai play commands, added more tests 2020-03-12 02:05:06 +04:00
Oleg Agafonov
86f6d39f5a * AI: fixed rollback errors on play cards with target stack (Diplomatic Escort, Not of This World, etc); 2020-03-09 13:49:07 +04:00
Oleg Agafonov
009e55c4f0 * AI: fixed that computer can't use spells and abilities on opponent's pre-combat main step; 2020-03-09 12:49:21 +04:00
Oleg Agafonov
cb8d4dc340 * Non creature tokens - fixed rollback errors in AI games (example: Food token, see #6331);
Fixed other potentially NPE errors with rarity;
2020-03-06 03:27:46 +04:00
Oleg Agafonov
ca9542d3de * Game: fixed that declare blocker step skips all the time on disabled "STOP skip on any/zero blockers" preferences (#6308); 2020-02-29 23:27:11 +04:00
Dhomps Florian
8996c61184
Updated&fixed DuelCommander ban list
Fix missing ban/unban and update february 2020
http://www.duelcommander.com/banlist/
http://www.duelcommander.com/2020/02/february-2020-rules-banned-restricted-update/
2020-02-26 18:04:00 +01:00
Oleg Agafonov
1ff3b40438 * Game: Canadian Highlander points list updated; 2020-02-25 21:47:40 +04:00
Oleg Agafonov
b5acf64772 * Monohybrid mana cost improves:
* fixed wrong manually pay by mana pool (it pays generic cost instead colored part of monohybrid);
 * fixed not working cost reduction effects (now monohybrid cost will be reduced correctly with some limitation, see #6130);
2020-02-11 22:33:32 +04:00
Ingmar Goudt
ae7919cd07 program towards Interface rather than implementations 2020-02-10 10:40:06 +01:00
acosta
3c90787993 Update Centurion banlist 2020-02-03 15:53:08 +01:00
Oleg Agafonov
6cbf94bad6 AI: improved usage of attachments:
* AI can play equipment/aura cards more frequent (computer can see and analyse all attached effects now);
* AI can attach permanents with bad effects correctly (bad for opponents, good for itself);
2020-01-29 07:38:08 +04:00
Oleg Agafonov
89394ffe0a Improved ability outcome processing; 2020-01-29 07:33:33 +04:00
Oleg Agafonov
ab10ee10c9 Server: logs cleanup 2020-01-29 07:18:23 +04:00
Oleg Agafonov
6cbc970414 AI: disable outdated suggested file usage and disk access; 2020-01-23 01:44:35 +04:00
michaelrfarcasin
f27faacefc Remove self-referential dependency 2020-01-21 07:47:00 -06:00
michaelrfarcasin
cef3b9488f Merge from origin/master 2020-01-20 23:01:31 -06:00
michaelrfarcasin
c3cb54f371 Add Freeform Unlimited Commander game type
Currently there's no multiplayer format that allows players to cast
spells from the command zone and also allows any deck size.

This is a problem for players who want to test EDH Cube decks. These
decks:
- can have any size - often between 40 and 100 - with no standard
- can have cards outside the commander's color identity
- may break the singleton rule

Create a game and deck type to accommodate these types of decks.

Notable differences from Freeform Commander in addition to the above:
- Decks can have any number of cards in the maindeck or sideboard
- Sideboard cards can be any type
- There are no illegal expansions
- Games can have a minimum 2 players
2020-01-20 22:47:27 -06:00
Oleg Agafonov
a072d8275f * Target card in hands - fixed that player can stuck/freeze the game if it must select cards from opponent's hand (related #6209); 2020-01-21 04:44:50 +04:00
Oleg Agafonov
f67c08ad8b UI: choose dialog improves (see 8add25fa12) 2020-01-18 09:43:25 +04:00
Oleg Agafonov
7ca6677b93 * UI: choose ability to cast improves (see 8add25fa12) 2020-01-18 09:39:12 +04:00