Oleg Agafonov
7ff6e73a19
Merge pull request #8178 from awjackson/csp_booster_fix
...
Fix Coldsnap booster generation
2021-09-05 01:34:46 +04:00
Oleg Agafonov
473a81e13c
* Mana pay to cast - fixed random values in games with AI (example: Marath, Will of the Wild, see #8204 );
2021-09-04 20:34:32 +04:00
Oleg Agafonov
3a8e04f2bc
* Mana pay to cast - fixed wrong mana calc for commanders (example: Marath, Will of the Wild, see #8204 );
2021-09-04 19:24:35 +04:00
Oleg Agafonov
b56aef9341
* Emergent Sequence - fixed that it doesn't put counters if no land play before ( #8208 );
2021-09-04 18:45:32 +04:00
Oleg Agafonov
421cac0ce3
* AI: fixed that computer can broke some non mana pays (Echo, Escalate, Recover, Tap source unless pay, Slow Motion, #8182 );
2021-09-03 02:11:21 +04:00
Oleg Agafonov
4d0761fa27
AI: added support of TargetCard targeting in hand, graveyard, exile zones. Added additional checks for tests.
2021-09-03 00:26:39 +04:00
Evan Kranzler
d0b35c7572
fixed a test failure but for real this time
2021-09-01 07:18:17 -04:00
Evan Kranzler
d241ae99bb
fixed a test failure
2021-08-31 21:27:57 -04:00
Alex W. Jackson
37df2436a8
Coldsnap boosters don't have a land slot; snow basic lands are regular commons
2021-08-30 20:33:30 -04:00
Raphael-Schulz
f03a410b9e
[AFR] Implemented Xanathar, Guild Kingpin ( #8045 )
...
* [AFR] Implemented Xanathar, Guild Kingpin
Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2021-08-28 23:55:41 +04:00
Oleg Agafonov
91d577b0af
Test framework: fixed that ai play step command doesn't work correctly on declare attackers and blockers steps;
2021-08-27 21:43:44 +04:00
Evan Kranzler
f8d030bef4
Adding dice rolling trigger/replacement (ready for review) ( #7989 )
...
* [AFR] Implemented DiceRolledTriggeredAbility
* [AFR] Implemented Brazen Dwarf
* [AFR] Implemented Feywild Trickster
* [AFC] Implemented Reckless Endeavor
* [AFR] Implemented Pixie Guide
* [AFR] Implemented Critical Hit
* [AFR] Implemented Netherese Puzzle Ward
* [AFC] Implemented Neverwinter Hydra
* [AFR] Implemented Farideh, Devil's Chosen
* [AFR] Implemented Barbarian Class
* [AFC] Implemented Vrondiss, Rage of Ancients
* [AFC] Implemented Arcane Endeavor
* Test framework: added planar die rolls support
* Test framework: added random results set up support in AI simulated games;
* AI: improved roll die results chooses in computer games;
* Roll die: improved combo support for planar die and roll die effects;
Co-authored-by: Daniel Bomar <dbdaniel42@gmail.com>
Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2021-08-26 14:06:10 +04:00
Evan Kranzler
3dff1783ac
[TSP] fixed Gauntlet of Power adding mana to the wrong mana pool ( fixes #8154 )
2021-08-24 08:24:08 -04:00
Evan Kranzler
8fe0467893
reworked mana text generation to fit canonical symbol order
2021-08-23 18:32:21 -04:00
Ingmar Goudt
e10da89463
test for #7912
2021-08-22 14:35:17 +02:00
Ingmar Goudt
271f7b812f
fix #8097 ,
...
the sacrifice target cost was optional, but SacrificeCost.canPay first checks if there are valid targets. In this scenario there were none, but the spell should still be playable
2021-08-22 12:01:10 +02:00
Oleg Agafonov
7dcdc12c0f
* Target permanent or suspended card - added AI support, fixed rollback errors in AI games (example: Shivan Sand-Mage, see #7896 );
2021-08-21 17:19:45 +04:00
Oleg Agafonov
e9c68d2a5c
Test framework improves (related to #7896 ):
...
* added real time command to check card's counters (example: suspended cards with Time counters, see checkCardCounters);
* added target type support: TargetPermanentOrSuspendedCard;
* improves error logs for miss modes and unsupported target types;
2021-08-21 15:02:42 +04:00
Oleg Agafonov
9fa487e60a
* Suspend ability - fixed that suspend can be activated from opponent's hand;
2021-08-20 15:40:42 +04:00
Oleg Agafonov
fb4065ba66
Little fixes
2021-08-20 09:38:16 +04:00
Oleg Agafonov
b9db36eb22
Tests: improved performance
2021-08-13 09:17:33 +04:00
Oleg Agafonov
a6a02b369f
Tests: added test for Intet, the Dreamer and split cards;
2021-08-12 14:16:29 +04:00
Oleg Agafonov
9f882824a0
* Gain ability effect: fixed rollback error with AI games and too many cards (related to d202278ccd
);
2021-08-12 00:08:08 +04:00
Evan Kranzler
b9c55a984d
[MH2] added collation info
2021-08-07 20:40:46 -04:00
Evan Kranzler
bcd000ac99
[J21] Implemented Boneyard Aberration
2021-08-06 21:05:20 -04:00
Evan Kranzler
b45514ecfb
[J21] Implemented Wingsteed Trainer
2021-08-06 17:35:43 -04:00
Evan Kranzler
9ba9243db5
added test for seek mechanic
2021-08-06 17:35:43 -04:00
Ingmar Goudt
3a6cdd2615
test for #8008
2021-08-06 23:26:24 +02:00
Evan Kranzler
f5687acfad
[J21] Implemented Faceless Agent
2021-08-06 08:52:31 -04:00
Oleg Agafonov
53aababd44
* Additional costs - added support of X costs on free cast (example: Kicker X, see Thieving Skydiver and Etali, Primal Storm combo);
...
* As an additional cost discard X cards - fixed wrong text (example: Channeled Force, Firestorm);
2021-08-05 16:18:04 +04:00
Oleg Agafonov
d62cf17422
* Twinning Glass - removed unnecessary confirm dialog, added additional tests ( #4721 );
2021-08-05 15:37:07 +04:00
Oleg Agafonov
7a3521b02b
Tests: added serialization test for all cards (run manually);
2021-08-04 22:40:24 +04:00
Oleg Agafonov
a5b41ea920
* Marshland Bloodcaster - fixed game freeze on usage;
...
* Kentaro, the Smiling Cat - fixed game freeze on usage;
2021-08-02 17:40:35 +04:00
jeffwadsworth
237e8344b3
- added test for Kardur, Doomscourge and Kithkin Mourncaller. it was quite useful find another issue that was fixed. removed sim() check from Abandoned Sarcophagus.
2021-07-31 21:27:58 -05:00
Oleg Agafonov
810e1babd5
Tests: added booster stats collection script (see #8081 );
2021-07-31 19:13:00 +04:00
Evan Kranzler
1baf523522
add boolean int method for setChoice
2021-07-31 08:11:57 -04:00
Oleg Agafonov
530cd627cc
* Copy spell - improved support for some cards and abilities ( #8074 );
2021-07-31 15:48:57 +04:00
Oleg Agafonov
6e0184a38d
Real fix for 4125d1eb46
, updated outdated comments.
2021-07-31 09:47:29 +04:00
Evan Kranzler
0136b986e4
added tests for mana from copied spells, currently fails for scepter plus drain (related to #8074 )
2021-07-30 22:04:15 -04:00
Evan Kranzler
4125d1eb46
fixed tapped for mana events not working for sacrificed tokens
2021-07-30 21:54:00 -04:00
Oleg Agafonov
dc09f279ed
Fixed NPE error in card icons
2021-07-29 12:27:23 +04:00
Evan Kranzler
70b040473b
updated ManaSpentToCastCount, added tests
2021-07-27 20:53:43 -04:00
Oleg Agafonov
c4dc83dec9
[AFR] fixed Bruenor Battlehammer - correct tests, getPlayable support, additional info in choose pay dialog;
2021-07-27 18:30:24 +04:00
Evan Kranzler
806eba9691
[AFR] fixed Bruenor Battlehammer ( fixes #8055 )
2021-07-27 09:59:57 -04:00
Evan Kranzler
960146d554
added boolean set choice
2021-07-27 08:58:27 -04:00
Ingmar Goudt
65211b62fe
Fix Extraplanar Lens, solve issue #8050
2021-07-27 00:08:48 +02:00
Oleg Agafonov
24847c1fa7
Tests: added name test for +2 mace;
2021-07-24 15:50:18 +04:00
Evan Kranzler
214b688fdb
Update effects and abilities which involve tapping permanents for mana ( #7679 )
...
Abilities which use trigger from or replace tapping for mana now save the permanent in case it leaves the battlefield.
fixes #7671 , fixes #7770
* Merge fix and additional comments, Winter's Night fixed
Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2021-07-22 05:09:07 +04:00
Oleg Agafonov
e330ed6c7b
Test framework: improves logs in choices errors;
2021-07-21 20:15:47 +04:00
Oleg Agafonov
7ccb390e4d
* GUI: added card icon for announced X value (activate ability);
2021-07-19 14:25:51 +04:00