Commit graph

3101 commits

Author SHA1 Message Date
Derek Monturo
dccea47889 UT for Kiora Behemoth untap ability 2019-05-05 05:39:27 -04:00
Oleg Agafonov
735d2a16a2 * Feather, the Redeemed - fixed that it returns to hand re-casted/blinked cards; 2019-05-02 23:15:43 +04:00
Oleg Agafonov
648026ac0b Test framework: fixed not working choices for replacement effects; 2019-05-02 23:14:56 +04:00
Oleg Agafonov
a3fee30ed6 * Martyrs of Korlis - fixed that redirect damage effect doesn't work; 2019-05-01 21:02:12 +04:00
Oleg Agafonov
0aeab75552 Added ConditionalCostModificationEffect to support cost modification effects with conditions (#5738) 2019-05-01 19:53:54 +04:00
Oleg Agafonov
e6823e4423 Test framework: added realtime check for damage (checkDamage, #4936) 2019-05-01 19:52:05 +04:00
Oleg Agafonov
367a1fd189 Added ConditionalPreventionEffect to support prevention effects with conditions (#5738) 2019-05-01 12:49:19 +04:00
Oleg Agafonov
3beac51ebf Tests: added more tests with continuous effects and game leaving by players 2019-04-28 21:33:05 +04:00
Oleg Agafonov
9ef2e0bda7 * No more continuous effects stay on battlefield after player leave the game;
Test framework: added real time check for player in game or not;
2019-04-28 19:32:25 +04:00
Oleg Agafonov
73ad2fa969 Typo :-) 2019-04-28 12:06:52 +04:00
Oleg Agafonov
534037e095 * Until end of your turn - fixed that effects discarded too early in multiplayer games (#5759, #5676);
Tests: added dozen tests for end of turn effects and related cards.
2019-04-28 11:27:08 +04:00
Oleg Agafonov
dc04092fce Test framework: many improvements and fixes:
* added support to use custom cards with any abilities/effects (addCustomCardWithAbility);
 * added support of multiplayer games with all range (CardTestMultiPlayerBaseWithRangeAll);
 * added realtime checks for permanent counters (checkPermanentCounters);
 * added wrong attack commands check in strict mode;
 * fixed that added by addCard command cards don't init continues effects;
 * fixed that block commands don't removed from actions queue;
2019-04-28 11:10:28 +04:00
Oleg Agafonov
0bb735b482 Tests: added todo test for AI's playerMustBeAttackedIfAble (#4496) 2019-04-28 09:25:00 +04:00
Oleg Agafonov
b9be369bd3 * Paupers' Cage - fixed that counts controllers cards in hand instead opponents; 2019-04-24 22:14:59 +04:00
Oleg Agafonov
e51b054249 * Oath of Kaya - fixed that it doesn't triggers on attacks; 2019-04-24 21:41:24 +04:00
Oleg Agafonov
ef3689a225 Test "fix" 2019-04-23 23:51:02 +04:00
Oleg Agafonov
bbf1c1343a Prepare release 1.4.35 2019-04-23 23:32:54 +04:00
Oleg Agafonov
c6d32bd33d [WAR] added tokens images 2019-04-23 23:32:09 +04:00
Oleg Agafonov
e49be97879 * Look at card abilities -- improved dialog (now it's shown that card have extra abilities to call on "no" button); 2019-04-23 17:09:26 +04:00
Oleg Agafonov
a2daa72678 Merge fix 2019-04-23 12:33:10 +04:00
Oleg Agafonov
0c0ead33a7 Merge fix 2019-04-23 12:22:33 +04:00
Oleg Agafonov
33af8939af * Copy effects - fixed that it copy current P/T values (e.g. after effects applied) instead printed/selected values; 2019-04-23 12:03:16 +04:00
Oleg Agafonov
db2a3b7ac4 [WAR] added Spark Double 2019-04-22 19:43:53 +04:00
Oleg Agafonov
4c899a25bd Test framework: added real time card type check (#4936); 2019-04-22 19:42:25 +04:00
Evan Kranzler
254972be77 Implemented Ashiok, Dream Render 2019-04-15 14:10:06 -04:00
Oleg Agafonov
f81142459d * UI: fixed wrong server reconnect on multiple apps runs (#5495); 2019-04-12 12:15:48 +04:00
Oleg Agafonov
de4befb9c2 * Sideboarding: fixed that it possible to auto-submit 40 cards deck instead 60 in constructed formats (#5579);
Sideboarding: fixed that cheated deck with sideboard can be used instead lose the game;
2019-04-01 07:34:46 +04:00
Oleg Agafonov
65bb9b2161 Prepare new release 1.4.34 2019-03-29 18:31:00 +04:00
Oleg Agafonov
3330680e81
Merge pull request #5644 from hitch17/additional-mulligan-support-5600
Additional mulligan support #5600
2019-03-22 22:48:18 +01:00
Oleg Agafonov
270ec615af Sync old changes 2019-03-22 21:51:26 +04:00
John Hitchings
1ca876c2ed Fixed LondonMulligan to give mulligan choice after discarding to bottom, which fixes the interaction with Serum Powder. 2019-03-20 23:23:28 -07:00
John Hitchings
d77ad0ce1f Add mulligan tests. 2019-03-19 23:31:22 -07:00
John Hitchings
4a232b148c Add mulligan options to NewTableDialog, passing mulligan information to games. 2019-03-19 06:08:12 -07:00
Oleg Agafonov
23271d9b9b * Thousand-Year Storm - fixed that it don't counts spells on the same stack as storm (#5620); 2019-03-14 05:45:13 +04:00
Oleg Agafonov
e7984c6dd4 Test framework: added waitStackResolved command to wait stack resolved before execute next command on the same step (devs can cast and check any number of commands without switch to next step). 2019-03-14 05:42:29 +04:00
Oleg Agafonov
43ba6685eb Test framework: added setStrictChooseMode setting for tests to disable AI selects in choose/target dialogs; 2019-03-14 05:36:57 +04:00
Oleg Agafonov
886f3d39f8 Test framework: added attached info in show command; 2019-03-10 02:09:19 +04:00
Oleg Agafonov
fa75ac2727 Typo fix 2019-03-07 12:14:27 +04:00
Oleg Agafonov
e68b79336a Typo fix 2019-03-06 14:06:47 +04:00
Ingmar Goudt
9a1edf7689 fix compile loadphasemanager 2019-03-04 12:07:17 +01:00
Ingmar Goudt
553d263526 add missing diamond operators 2019-03-04 11:57:53 +01:00
Ingmar Goudt
4a14940414 use Static filter rather than new filter, add test for this filter 2019-03-01 00:08:15 +01:00
Oleg Agafonov
4504ad5e6f * Fixed infinite AI choose if there are not enough different targets, e.g. Biomantic Mastery (#5023); 2019-02-22 03:29:01 +04:00
Ingmar Goudt
056226d83c Sonar fixes 19022019 2019-02-19 21:51:45 +01:00
Oleg Agafonov
8cf681dff2 Updated libraries to latest versions and code compatibility fixes; 2019-02-17 16:12:57 +04:00
Jeff
6bded2404e - Fixed #5586. 2019-02-11 15:00:36 -06:00
Ingmar Goudt
c8a4e7a46b update JSoup, added test for Polluted Bonds, remove explicit parent groupId from poms 2019-02-11 15:03:18 +01:00
Ingmar Goudt
ff6dd3626f Client: use Rarity enum rather than a String 2019-02-11 14:14:36 +01:00
Oleg Agafonov
e285b2770d * Curse cards - fixed that it triggers on planeswalker attack only (#5566); 2019-02-09 15:40:23 +04:00
Evan Kranzler
9d96efb936 fixed Gisela preventing damage from unpreventable damage sources (fixes #5554) 2019-01-27 19:43:14 -05:00
Oleg Agafonov
2ad90e44b0 Typo 2019-01-27 23:23:58 +04:00
Oleg Agafonov
c4877902c6 Tests: fixed tests with wrong stop command; 2019-01-27 23:18:18 +04:00
Oleg Agafonov
42e8ca2843 Tests: added checks on wrong/missing stop commands; 2019-01-27 23:16:52 +04:00
Oleg Agafonov
a38e149a55 Tests: improved tests for Banefire with Gisela 2019-01-27 22:21:00 +04:00
Evan Kranzler
0b674f18b8 temporary test skip while I fix things 2019-01-27 11:41:58 -05:00
Evan Kranzler
23f74c77ce updated Gisela, Blade of Goldnight test to check Banefire interaction 2019-01-27 11:00:13 -05:00
Evan Kranzler
1c483c6f2a small fix 2019-01-25 10:41:11 -05:00
Evan Kranzler
34e3bb42db fixed Rhythm of the Wild not giving Riot to creatures that weren't cast 2019-01-25 10:32:29 -05:00
Oleg Agafonov
d25bca748d Fixed Arrays.asList code 2019-01-23 19:15:03 +04:00
Ingmar Goudt
7c2f55eda0 couple of sonar fixes 2019-01-17 12:03:22 +01:00
Oleg Agafonov
975cff93e3 Merge remote-tracking branch 'origin/master' 2019-01-16 21:04:00 +04:00
Oleg Agafonov
14f66029f8 Missing v33 commit 2019-01-16 20:59:45 +04:00
Evan Kranzler
63fb5964d4
Merge pull request #5527 from magefree/coinFlips
Fixing coin flip implementation (WIP - Do Not Merge)
2019-01-16 11:44:01 -05:00
Ingmar Goudt
a5f46b8816 Urborg Syphon Mage makes opponents lose life, rather than damaging them 2019-01-16 13:33:44 +01:00
Evan Kranzler
535fe221e3 rewrote how coins are flipped 2019-01-15 15:56:40 -05:00
Evan Kranzler
f5fffcf417 initial refactor 2019-01-15 11:51:49 -05:00
Oleg Agafonov
f566f3af71 Fixed riot tests 2019-01-14 05:53:34 +04:00
Ingmar Goudt
4e4d46437c update riot test 2019-01-14 00:18:21 +01:00
Evan Kranzler
8629977f14 refactored many other predicates to singleton enums 2019-01-12 16:30:49 -05:00
Evan Kranzler
58de14fbba temporarily ignore broken tests (it works when tested manually) 2019-01-12 15:32:19 -05:00
LevelX2
c2472c0f9b * Rhythm of the Wild - Fixed that the riot trigger did not work (fixes #5514). 2019-01-12 16:35:28 +01:00
Oleg Agafonov
8f0351896c
Merge pull request #5502 from ZeldaZach/address_mage_stuff
Address Json Tests
2019-01-11 07:24:56 +04:00
Oleg Agafonov
11f93cf762
Merge pull request #5501 from hitch17/add-cockatrice-deck-format-5493
UI: add cockatrice deck format support for import (*.cod)
2019-01-11 07:17:48 +04:00
Zach Halpern
1712b05c33 Merge branch 'master' into address_mage_stuff 2019-01-10 21:35:12 -05:00
Zach Halpern
8a5f2288f9 Address crash points of JSON tests 2019-01-10 21:27:38 -05:00
Jeff
7f1267563b - Fixed #5500. If you note any interactions that I missed testing, do tell. 2019-01-10 17:10:25 -06:00
John Hitchings
58e629dca6 Refactored DeckImporter and obsoleted DeckImporterUtil. Added/refactored a PlainTestDeckImporter as a base class for text formatted importers to extend. 2019-01-10 08:27:05 -08:00
Oleg Agafonov
942ecc5328 Fixed errors on empty targets in some effects;
Added export code example for mtgjson4 project;
2019-01-09 10:54:59 +04:00
LevelX2
e938f91e3e * Myth Unbound - Fixed the two working abilities(fixe #5347). 2019-01-07 16:39:49 +01:00
Oleg Agafonov
0293b91c25 Tests: added random results image generators (random, shuffle, dice, planar dice); 2019-01-05 13:12:59 +04:00
Oleg Agafonov
0670c401e0 * Fixed Brood Of Cockroaches text 2019-01-05 01:42:43 +04:00
Oleg Agafonov
207e95e001 Fixed card texts: instant or sorcery spell; 2019-01-05 00:46:53 +04:00
Evan Kranzler
0ad967a5b3 small update to previous commit 2019-01-04 12:31:10 -05: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
0a2f312da7 Added build time to version info, cleanup manifest files; 2018-12-15 18:29:10 +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
Oleg Agafonov
96187ad3c0 Tests: fixed TidehollowScullerTest; 2018-12-03 06:16:34 +04:00
Oleg Agafonov
b172f3c44a Test framework: added basic aliases support (see full info at #5451):
* generates aliases by addCard command (for one or multiple cards);
 * added support of `castSpell` command;
 * added show command to print aliases list with connected objects and zones;
 * added check command to control alias's object exists;
2018-12-03 06:15:54 +04:00
Oleg Agafonov
86ac1fcb1a Tests: fixed OmnathLocusOfRageTest; 2018-12-02 03:09:27 +04:00
Oleg Agafonov
c1804f810c Tests: fixed BrainMaggotTest; 2018-12-01 09:08:35 +04:00
Oleg Agafonov
c1e4fce448 Tests: fixed SpellskiteTest and enabled missing tests; 2018-12-01 08:21:54 +04:00
Oleg Agafonov
d65dab9a95 Test framework: added choices support for multiple targets with multiple damage spells (targetName^X=3); 2018-12-01 08:20:46 +04:00
Oleg Agafonov
dca5b645aa Test framework:
* added choices support for discard spells;
 * fixes TargetCard choices (one choice record per target);
2018-12-01 04:19:05 +04:00
Oleg Agafonov
4484527d04 Test framework: add new real time check command to assert hand cards count; 2018-11-30 20:26:07 +04:00
Oleg Agafonov
bb18814c84 * Fixed wrong re-targeting on copy complex cards (fixed adjustTargets for copies)
* Oath Of Lieges - Fixed that copy of opponent's card don't work;
* Oath Of Lieges - Fixed that it can shuffle lib without search;
2018-11-29 19:39:13 +04:00
Oleg Agafonov
59bda7f1d5 Refactor: added copyFrom info for all objects (original card used for copy, copy of copy and etc); 2018-11-29 19:29:39 +04:00
Oleg Agafonov
28ac95cb10 Test framework: added new real time commands to prints info and checks:
* show player's library, hand, battlefield, graveyard (use showXXX);
 * show exile zone, available abilities to activate (use showXXX);
 * checks targets, choices and commands in queue (use assert).
2018-11-29 19:11:20 +04:00
Oleg Agafonov
b907d8a75c Tests: fixed MorphTest; 2018-11-28 04:04:49 +04:00
LevelX2
e6ce58d6bf XMage 1.4.32V0 2018-11-26 19:30:22 +01:00
LevelX2
c4cd4b8b6a
Merge branch 'master' into JaceArchitectOfThoughtFix 2018-11-26 17:29:31 +01:00
LevelX2
126610b6a8 Added handling of TargetCardInGraveyardOrBattlefield fpr TestPlayer. 2018-11-26 16:16:59 +01:00
Oleg Agafonov
1e40e6984d Tests: fixed SweepTest; 2018-11-24 04:52:05 +04:00
Ingmar Goudt
ed69c04490 fix for #5417 2018-11-23 20:05:30 +01:00
Oleg Agafonov
fbdfeba9d8 Tests: fixed CastSplitCardsFromOtherZonesTest; 2018-11-23 17:03:03 +04:00
Oleg Agafonov
5cf1e5a7a0 Tests: added support to cast fused cards in tests (any selected side or fused); 2018-11-23 17:02:39 +04:00
Oleg Agafonov
1f1ba7ea8e Tests: fixed SpelltwineTest (it's ignored and must be rewrited -- see todo); 2018-11-22 21:55:02 +04:00
Oleg Agafonov
9d7c59fed9 Tests: fixed SharuumTheHegemonTest; 2018-11-22 20:05:29 +04:00
Oleg Agafonov
fb8c7c5128 Tests: fixed ReversalOfFortuneTest; 2018-11-22 19:38:01 +04:00
Oleg Agafonov
b834094921 Tests: fixed IsochronScepterTest; 2018-11-22 19:36:45 +04:00
Oleg Agafonov
511b4b28c3 Tests: fixed CryptoplasmTest; 2018-11-22 06:52:28 +04:00
Oleg Agafonov
243ad8cddd Tests: added support of zero targets in TestPlayer (empty string in addTarget);
Tests: fixed CopySpellTest;
2018-11-22 06:21:35 +04:00
Oleg Agafonov
5d6cc6dc72 Tests: fixed MasterThiefTest 2018-11-22 05:29:56 +04:00
Oleg Agafonov
ea65ed7367 Tests: fixed TragicSlipTest 2018-11-22 05:05:45 +04:00
Oleg Agafonov
81942aa300 Tests: fixed OblivionSowerTest 2018-11-22 04:57:51 +04:00
Oleg Agafonov
d9e79c20f9 Tests: fixed SpliceOnArcaneTest 2018-11-21 17:33:10 +04:00
Oleg Agafonov
62c156edb1 Tests: fixed FlashbackTest 2018-11-21 17:07:14 +04:00
Oleg Agafonov
c2158a2d9c Tests: fixed PrizedAmalgamTest 2018-11-21 17:01:56 +04:00
Oleg Agafonov
079baa9495 Tests: fixed MyriadTest 2018-11-21 17:00:38 +04:00
Oleg Agafonov
92afbb3bc6 Tests: fixed EquipRestrictedTest 2018-11-21 16:58:59 +04:00
Oleg Agafonov
f86cfe9e3d Tests: fixed EchoTest 2018-11-21 16:57:14 +04:00
Oleg Agafonov
be225f7def Tests: fixed CipherTest 2018-11-21 16:54:05 +04:00
Oleg Agafonov
a9451711bb Tests: added support of TargetCardInExile, TargetCardInGraveyard and variations; 2018-11-21 16:43:46 +04:00
Oleg Agafonov
21d7207551 Tests: added support of TargetDefender; 2018-11-21 16:39:59 +04:00
Oleg Agafonov
09c3e2d700 Tests: added checks for wrong addTarget definitions:
* non supported target types;
 * non supported target definition;
 * detail info about problem ablities;
2018-11-21 16:32:44 +04:00
Oleg Agafonov
7c2738cf9f Merge fix 2018-11-21 02:59:24 +04:00
Oleg Agafonov
2bf0c1d98e Tests: improved tests performance 2018-11-21 02:57:50 +04:00
Oleg Agafonov
cfb51def3d Tests: added realtime checks for life and exile (#4936) 2018-11-13 03:38:54 +04:00
Oleg Agafonov
2ebe05c85e [GNT] implemented Goblin Goliath, GNT set now fully implemented 2018-11-13 03:20:20 +04:00
brodee
bdf3394b84 changed the card used in summoner's egg test
this test uses ai to determine which card to imprint, with my other
changes to AI, the rarity of the cards changed the relative rating of
these two cards. I changed the merfolk to be a common merfolk so that
part of the card rating shouldn't affect it
2018-10-27 11:55:05 -07:00
brodee
1f31323f47 fixed bug in test that skipped manual targetting
addtarget was being ignored and AI was being used to determine a target.
the spell has a target so I think this is not a bug with add target but
rather the test itself
2018-10-27 11:53:05 -07:00
LevelX2
26a93d4427 Reworked ability source object handling. 2018-10-21 21:37:23 +02:00
Oleg Agafonov
9a4fb4adb1 Tests: fixed error on missing db files; 2018-10-12 22:19:45 +04:00
LevelX2
fde0ba284a * Glarecaster - Fixed that its redirect ability allows for multiple redirects not only if damage is dealt at the same time (fixes #5368). 2018-10-10 23:17:10 +02:00
Oleg Agafonov
43655845e7 Tests: fixed deck cards amount tests 2018-10-09 20:53:23 +04:00
Tyler Moore
2ed63a7184 Notifying players of library search, and giving controller choice to search 2018-10-04 15:14:43 -07:00
Tyler Moore
4057cc2859 Implementing new function in all classes implementing Player 2018-10-04 14:16:52 -07:00
Oleg Agafonov
6bb478c342 Tests: added many verify tests for sets and cards, e.g.:
* check set's class name/file (source code style);
  * check set's hasBasicLands settings (missing lands in deck generation bug);
  * check card's UsesVariousArt settings (same image for multi-images card bug);
  * check card's missing abilities (forgot addAbility call bug);
  * improved output messages;
2018-10-03 22:32:52 +04:00
LevelX2
c41c6e1fe9 Fixed a problem with casting split cards from non hand zone. Added some generic cast from non hand zone effects and started replacing card specific effects by the generic ones (fixes #5356 and fixes #4493). 2018-10-03 13:44:01 +02:00
LevelX2
226019be89 * Desecrated Tomb - fixed that it did not produce bat tokens if a Zombie cards was cast from graveyard (fixes #5318). 2018-09-27 17:26:22 +02:00
LevelX2
05dcfeaaa1 * Experimental Frenzy - Fixed a problem that casting cards from hand was not prevented (#5338). 2018-09-26 17:29:43 +02:00
LevelX2
61b1b1ba05 * JumpStart - fixed that card was not always moved to exile after cast from graveyard. 2018-09-26 16:30:17 +02:00
Evan Kranzler
c303b5adf8 updated Mistveil Plains implementation 2018-09-25 14:17:52 -04:00
LevelX2
a365cee0f1 * Tawnos's Coffin - Fixed that it did not return the exiled targes if Tawnos's Coffin left the battlefield (fixes #5243). 2018-09-14 14:52:21 +02:00
LevelX2
68dc82342c
Merge pull request #5276 from magefree/FixBestowTest
Fix bestow test
2018-09-14 14:26:39 +02:00
Evan Kranzler
e9045fb68e fixed some incomplete implementations 2018-09-02 23:02:03 -04:00
Quercitron
9593462520 * One with the Machine - Fix that non-artifact permanents are considered in determining the amount of cards drawn (fixes #5292). 2018-09-01 16:10:51 +03:00
Quercitron
470fd4c75a * Reality Scramble - fix that the last matching card is put onto the battlefield instead of the first matching card (fixes #5290). 2018-09-01 15:06:12 +03:00
Kevin Shin
3ffd812bc6 After some revisions, BestowTest is now fully passed! Now to fix the other tests that don't anymore... 2018-08-25 04:43:38 -05:00
Oleg Agafonov
c34c13f7b7 * Fixed battlebond boosters (sometime it's can gen wrong booster without partners/cards) 2018-08-25 07:49:32 +04:00
Oleg Agafonov
15d1f12126 Ignoring annoying broken tests (random land cast and not supported fused target). 2018-08-25 06:48:40 +04:00
LevelX2
deb675a74a Xmage 1.4.30V0 2018-08-15 11:35:40 +02:00
LevelX2
2429425fd2 Merge origin/master
Conflicts:
	Mage.Sets/src/mage/cards/s/SalvageTrader.java
	Mage.Sets/src/mage/cards/t/ThermalDetonator.java
2018-08-15 10:51:21 +02:00
LevelX2
1322bd3c23
Merge pull request #5209 from tamaroth/master
Fix Tuvasa the Sunlit triggered ability.
2018-08-15 08:52:34 +02:00
LevelX2
8e040841a9
Merge pull request #5182 from Dilnu/Spell
Add methods to get information about potential spells.
2018-08-15 08:11:49 +02:00
LevelX2
fa13786fab
Merge pull request #5053 from Sedictious/Battlebond_Boos
Fix Battlebond Partner distribution
2018-08-15 08:09:03 +02:00
Oleg Agafonov
593df43758 Refactoring: replace custom creature tokens with basic class (1 card);
Added blink test;
2018-08-15 06:47:33 +04:00
dilnu
c4a68f23ec Update a comment. 2018-08-14 21:26:44 -04:00
quercitron
db2db4c27a
Merge pull request #5212 from magefree/5189-recast-spells-keep-their-previous-targets
Fix that cards that are cast using alternative cost effects keep their previous targets
2018-08-11 02:48:07 +03:00
Quercitron
22de85aee1 Cards that are cast using alternative cost effects keep their previous targets (#5189) - Add unit test. 2018-08-10 02:53:38 +03:00
tamaroth
566caedd61 Add a test for a triggered ability of Tuvasa the Sunlit
The test makes sure that a triggered ability of Tuvasa is triggered only once and 
draws only one card when more than one enchantment spells are cast by the 
controller of Tuvasa during a single turn.
2018-08-08 12:04:52 +02:00
Chatziargyriou Eleftheria
197020b162
Merge branch 'master' into Battlebond_Boos 2018-07-31 17:02:11 +03:00
dilnu
988b64866c Fix a bug with Animar's cost reduction effect. 2018-07-29 11:22:41 -04:00
Samuel Sandeen
e5c1dfc4b7
Refactor ControlledCreaturesDealCombatDamagePlayerTriggeredAbility. (#5163)
It now triggers once for each player damaged.

Fixes https://github.com/magefree/mage/issues/5162
2018-07-29 08:16:07 -04:00
Samuel Sandeen
14520097a5
Fix issues with the ChosenSubtypePredicate and clone effects. (#5164)
Update ChosenSubtypePredicate to be an ObjectPlayer predicate. This fixes how cards that use it act when cloned.

Fixes https://github.com/magefree/mage/issues/5136
2018-07-29 07:44:19 -04:00
Samuel Sandeen
a164dad83f
Fix issues with Clone and Metallic Mimic (#5160)
Fix bugs with Metallic Mimic and Adaptive Automaton and clone effects.

Metallic Mimic and Adaptive Automaton were both using the technically correct EnterEventType specifier for their as enters the battlefield abilities. Despite it being technically correct this meant that their ability didn't trigger if they were cloned.

Additionally EnterAttributeAddChosenSubtypeEffect changed the subtype of the base object which meant that clones entered in with the chosen subtype of the original.
2018-07-29 07:40:48 -04:00
Samuel Sandeen
3875f42bac
Refactor addCounters to fix bugs in edge cases. (#5154)
Add code to check the controller of abilities on the stack instead of the controller of their source card or object.

This fixes https://github.com/magefree/mage/issues/5152
2018-07-29 07:31:59 -04:00
Evan Kranzler
c2c7aff4f7 fixed the formatting on some ability words 2018-07-28 15:01:20 -04:00
Quercitron
79120e7484 Make color distribution in booster more uniform 2018-07-25 02:46:31 +03:00
LevelX2
014a46ae72 * Unexpectedly Absent - Fixed that the target permanent was put to the wrong position in library. 2018-07-16 17:43:01 +02:00
igoudt
877a355a7d rewrite some code to streams 2018-07-15 20:50:26 +02:00
LevelX2
7fa21ae9c2 Added some missing player methods. 2018-07-14 17:43:26 +02:00
LevelX2
a3c4c2365d
Merge pull request #5119 from NoahGleason/M19-oracle-changes
M19 oracle changes
2018-07-14 10:39:50 +02:00
igoudt
d6450eed94 change enum comparison 2018-07-08 13:11:39 +02:00
Quercitron
36c004122a Fix dual lands generation in the Core Set 2019 boosters 2018-07-08 01:19:49 +03:00
Noah Gleason
8ee7965580
Fix tests 2018-07-07 11:52:38 -04:00
igoudt
9f06046f22 add isOwned and isControlled methods. remove some null-checks, remove some unnecessary casts 2018-07-04 14:24:11 +02:00
Evan Kranzler
4a233a701a skip one more test 2018-06-25 21:49:30 -04:00
Evan Kranzler
ae9b5a75e8 skip failing tests until they're fixed 2018-06-25 21:40:04 -04:00
LevelX2
fdddbbbbe6 * Some rework/fixes/optimizations of calculation of available mana. 2018-06-24 01:23:49 +02:00
Chatziargyriou Eleftheria
a1a7b1c59b
Add test for Battlebond
Test Battlebond's partner mechanic
2018-06-22 18:57:44 +03:00
LevelX2
cd8e038679 * Changes for netMana null handling #5023. 2018-06-21 16:27:05 +02:00
Evan Kranzler
d9dfef24ce updated "can't be countered" text 2018-06-20 11:21:06 -04:00
LevelX2
74b126c940 * Tinder Wall - Fixed it's damage dealing ability always fizzles (fixes #5005). 2018-06-19 17:35:53 +02:00
Oleg Agafonov
de9046f426 Fixed broken tests 2018-06-11 04:21:28 +04:00
Oleg Agafonov
21276a1d7a Test framework: added realtime checks for mana pool amount 2018-06-11 04:20:21 +04:00
LevelX2
99864ccf5b * Fixed a problem that tapped for mana event was sent twice (fixes problem of 2 created spirits for Forbidden Orchard). 2018-06-10 10:28:00 +02:00
LevelX2
717308ba12 * Fixed that commanders of players were not removed if a player left a game. Fixed a problem that continuous effects of objects of players that left the game were not removed immediately. 2018-06-09 14:10:48 +02:00
LevelX2
4ceffd17ef * Sasaya's Essence - Fixed not correctly working mana production. 2018-06-09 12:04:22 +02:00
LevelX2
006af33625 Two minor fixes. 2018-06-09 12:01:33 +02:00
Evan Kranzler
3659a2dc0b Implemented Journey for the Elixir 2018-06-08 13:22:23 -04:00
LevelX2
c745e654f9 * Fixed test that sometimes failed on onfortunate mana tapping done by computer player. 2018-06-07 17:59:09 +02:00
Evan Kranzler
c4a0d9f916 replaced apostrophes 2018-06-06 22:39:16 -04:00
LevelX2
78c288358b Added some tests. 2018-06-06 17:34:51 +02:00
LevelX2
87e60f407b Added some tests. 2018-06-06 17:30:03 +02:00
LevelX2
ae8fa6aa10 Added test to check for creatures not entering tapped but they should #5012. 2018-06-06 17:00:33 +02:00
LevelX2
d18338edd5 Added test to check for creatures not entering tapped but they should #5012. 2018-06-06 16:59:32 +02:00
LevelX2
df341bd0d6 * Fixed some mana handling problems of conditionalMana (GemstoneCavern) and possible exception of ChromeMox.Fixed some tests. 2018-06-05 23:59:39 +02:00
Evan Kranzler
8bdb6665d9 Temporarily ignoring a test that hasn't been fixed yet 2018-06-05 15:15:14 -04:00
LevelX2
2e72503b8c * Fix of condtitional mana effect (not completed yet). 2018-06-05 18:12:31 +02:00
Michael Simons
0bf78830de Changes to try and better handle X mana costs with minimum X values with AI decisions #4906 2018-06-03 22:44:06 -04:00
LevelX2
397a6ccfc4 * Grafted Exoskeleton - Fixed that if it left the battlefield it doesn't sacrifice its creature (fixes #4997). 2018-06-03 23:51:09 +02:00
LevelX2
b17858d910 Some fixes to "Remove license headers" (#4998). 2018-06-03 10:18:30 +02:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files 2018-06-02 17:59:49 +02:00
LevelX2
b6f7efe5e9 * Fixed a problem with Dash not giving Haste to the creature beginning with the second use of Dash (fixes #4985). 2018-05-30 16:51:59 +02:00
LevelX2
27ced167fb * Added logic to add permitting object to play/cast events. 2018-05-27 23:47:57 +02:00
LevelX2
a19c257e50 XMage 1.4.30V0 2018-05-27 01:28:42 +02:00
LevelX2
b28bf51c02 * Reworked some more card movement handling (#4866). 2018-05-26 22:39:20 +02:00
Evan Kranzler
07886811f0 Merge branch 'master' of https://github.com/magefree/mage 2018-05-25 19:37:56 -04:00
Evan Kranzler
ac6c68180a Replaced more mana pool errata 2018-05-25 19:37:54 -04:00
LevelX2
fcc6174e5e Some null exceptions checking and fixed some other minor problems. 2018-05-26 01:22:28 +02:00
LevelX2
3972695428 * Some changes to improve mana use of AI. 2018-05-21 11:50:49 +02:00
L_J
994771049c
PlayerStub declareBlocker fix 2018-05-19 08:43:42 +00:00
L_J
bd2a2eebf4
TestPlayer declareBlocker fix 2018-05-19 08:42:07 +00:00
LevelX2
08b9f61749 Removed wrong import in TestPlayer.java. 2018-05-15 14:31:37 +02:00
Oleg Agafonov
ec4bee43d2 * Daxos's Torment - fixed that it can't get Vampire type from Mephidross Vampire; 2018-05-14 02:42:57 +04:00
Oleg Agafonov
4851ba9e84 Test framework: added commands for real time checks/assertions:
* new checks: color, subtype, ability, PT, permanent and hand count;
 * more info in #4936;
2018-05-14 02:31:19 +04:00
LevelX2
21e5591e29 * Some rework of handling of mana effects. 2018-05-13 22:52:14 +02:00
LevelX2
7d7b13d5dd * Updated decks from test project after change of collectors numbers. 2018-05-11 00:51:47 +02:00
LevelX2
74f05d438f * Fixed that cast conditions of legendary sorceries were checked correctly if you cast a card owned by another player e.g. from exile (fixes #4921). 2018-05-10 08:55:10 +02: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
8afd51fa04 Merge origin/master 2018-05-07 00:45:05 +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
72314a9512 * Fixed 8 cards with "becomes creature attached" effect that it adds colors instead replace it;
* Affected cards: Awaken the Ancient, Corrupted Zendikon, Crusher Zendikon, Deep Freeze, Guardian Zendikon, Living Terrain, Vastwood Zendikon, Wind Zendikon;
2018-05-06 19:07:45 +04:00
Oleg Agafonov
858f210a83 Test framework: added assert color; 2018-05-06 18:57:06 +04:00
Evan Kranzler
7edcec0dc1 fixed ability word text formatting 2018-05-05 14:05:04 -04:00
LevelX2
cddd81123b Some changes related to #4893. 2018-05-03 01:33:21 +02:00
Oleg Agafonov
c24ba742f6 Fixed equal or == errors -- 23 cards and more (see #4407) 2018-04-28 21:24:48 +04:00
LevelX2
7b2ff38225 * Grasp of Fate - Fixed rule text. Fixed that exiled permanents did not return to battlefeild if the Grasp left the battlefield because its owner lost or left the game. 2018-04-24 17:50:35 +02:00
LevelX2
6ebd715e17 * Some minor clean ups. 2018-04-24 11:38:25 +02:00
LevelX2
6bd8f52b66 * Fixed a problem of becomes ColorTargetEffect that causes objects to not always reset to original color. 2018-04-24 11:35:33 +02:00
Oleg Agafonov
dc5908e7f1 Return some ignored tests after massive texts replacements, added new tests for "any target" spells (see prev commit); 2018-04-22 17:54:43 +04:00
Oleg Agafonov
23becf1775 Texts update: to target creature or player => to any target 2018-04-22 08:15:40 +04:00
Oleg Agafonov
6850364fd3 Return some ignored tests after massive texts replacements; 2018-04-22 05:24:08 +04:00
Oleg Agafonov
4e12b06bc7 Fixed not working opponent or planeswalker filter (count all permanents instead planeswalkers); 2018-04-22 04:58:24 +04:00
Evan Kranzler
7deb521a65 more mana pool errata 2018-04-21 18:36:22 -04:00
theelk801
af3a4b389e
Merge pull request #4831 from magefree/planeswalkerErrata
Planeswalker errata implemented
2018-04-20 20:43:09 -04:00
Evan Kranzler
198be1549d Revert "Revert "Merge branch 'planeswalkerErrata' into master""
This reverts commit f10b62f3da.
2018-04-20 20:42:04 -04:00
Evan Kranzler
5c73158708 one more skip 2018-04-20 20:28:50 -04:00
Evan Kranzler
b738141070 skipping some more tests, the issue is with the testing framework and not the game engine 2018-04-20 20:20:23 -04:00
Evan Kranzler
16c081dbf5 fix all the tests 2018-04-20 20:10:26 -04:00
Evan Kranzler
ec3007d141 a few more changes to help with tests 2018-04-20 18:51:15 -04:00
Evan Kranzler
e51b63aea8 a few changes to help with tests 2018-04-20 18:02:33 -04:00
Evan Kranzler
6b8d4b0e91 updated some more oracle text 2018-04-20 16:49:13 -04:00
Evan Kranzler
f10b62f3da Revert "Merge branch 'planeswalkerErrata' into master"
This reverts commit 95d2721421, reversing
changes made to fc4986a589.
2018-04-20 16:41:29 -04:00
theelk801
95d2721421
Merge branch 'planeswalkerErrata' into master 2018-04-20 16:21:44 -04:00
Evan Kranzler
d290c7f26b updated TargetPlayerOrPlaneswalker to be a subclass of TargetPlayerOrPermanent (as well as the respective filters) 2018-04-20 13:34:35 -04:00
Evan Kranzler
92bf8b77de fixed a few tests 2018-04-20 12:58:04 -04:00
LevelX2
fe2220e19e Xmage 1.4.29V0 2018-04-19 21:07:14 +02:00
Evan Kranzler
5fe607e852 updated targeting for cards that damage 2018-04-19 11:45:20 -04:00
Evan Kranzler
3c2a8ee17d refactored Player.setLife() to include source, some more changes 2018-04-18 21:14:05 -04:00
Evan Kranzler
3798f34c38 refactored Player.gainLife() to include source 2018-04-18 20:30:59 -04:00
Evan Kranzler
ebc6362279 fixed some tests 2018-04-16 19:21:30 -04:00
Oleg Agafonov
a837a4f0f0 Fixed broken tests after mana texts changes 2018-04-16 01:35:37 +04:00
Evan Kranzler
50b5377a8e fixed mana pool errata 2018-04-15 14:30:01 -04:00
Evan Kranzler
41c9b08107 some more fixes 2018-04-15 14:13:44 -04:00
Evan Kranzler
ef33472ee5 fixed some tests and text 2018-04-15 13:50:48 -04:00
Evan Kranzler
df06e9cbf6 temporarily disabled the color-change test(a fix may take a while) and fixed some errors in the Dominaria file 2018-04-14 19:17:57 -04:00
LevelX2
8523d85fb7 * Added a test if color change is reset correctly if target moved zones later (not fixed yet). 2018-04-13 15:25:30 +02:00
LevelX2
03f5b8c2da * Vindictive Lich - Fixed that it did only execute the first effect (fixes #4742). 2018-04-10 23:17:19 +02:00
LevelX2
9b0d130603 * Added tests for #4740. 2018-04-10 11:19:41 +02:00
spjspj
04f6fb5ae0 Beginning of implementation of Planechase.
10 or so initial planes that (mostly) have been tested, no phenomenons as yet and no modifying yet of chaos rolls.  Also no support for a user to be able to set if it is planechase (able to do so via the cheat button).
2018-04-09 20:16:50 +10:00
igoudt
49ee8f9856 add 3 DOM cards, added a token, updated card text 2018-04-08 02:16:52 +02:00
Oleg Agafonov
f6b8d0fea6
Merge pull request #4707 from delftswa2018/feature/SOLID-fix-in-Token-classes
SOLID violation fix in token classes
2018-04-04 18:31:52 +04:00
Marc Zwart
3e32287f00 fixed Token/TokenImpl imports and references 2018-04-03 14:05:41 +02:00
Marc Zwart
d4d8a04694 Extracted Token interface and renamed Token implementation to TokenImpl + renamed tests 2018-04-03 14:04:08 +02:00
LevelX2
1e2e53073c * Deep Analysis - Fixed that its flashback costs did not work with mana casting cost modification effects (fixes #4677). 2018-04-02 15:30:57 +02:00
igoudt
00f91391e9 Homarid Drake, reprints, and rewriting his or her to their 2018-03-22 16:52:26 +01:00
LevelX2
4afdcc860a * Alhammarret, High Arbiter - Fixed not working ability that prevents spell casting (fixes #4561). 2018-03-18 23:38:24 +01:00
LevelX2
d29707bdea * Morph - Fixed that turning creatures face up didn't restore their subtypes (fixes #4566). 2018-03-18 19:37:25 +01:00
LevelX2
b073ce1c42 * Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. (#4634). 2018-03-18 18:18:54 +01:00
igoudt
bd4b5f6300 add Jhoira Weatherlight Captain + tests 2018-03-18 11:55:50 +01:00
igoudt
ddf568679f added 3 Dominari cards, benalish marshal, charge, knight of grace, added a new condition and a new ability 2018-03-18 00:22:03 +01:00
LevelX2
442130beb6 Some minor changes. 2018-03-17 23:40:36 +01:00
igoudt
1405bc87ae unit test shapestealer #2 2018-03-16 18:49:25 +01:00
igoudt
d982e215d6 added shape stealer unittest 2018-03-16 18:47:20 +01:00
LevelX2
b035d85f98 * Fixed a problem that triggered abilities that face down permanents got from other sourced did not trigger (fixes #4571). 2018-03-16 15:06:15 +01:00
LevelX2
8b8b3752e8 * It That Betrays - Fixed that target handling of second triggered ability did not work correct (fixes #4568). 2018-03-16 13:13:25 +01:00
igoudt
5ba017a19b Merge branch 'master' of https://github.com/magefree/mage 2018-03-15 09:34:26 +01:00
igoudt
c3e080141b test for #4618 2018-03-15 09:34:13 +01:00
Jeff
55164eda28 - Fixed Defiant Vanguard. It works with Cloudshift type effects now also. @4572 2018-03-14 17:57:04 -05:00
LevelX2
fed2d1a259 XMage 1.4.28V0 2018-03-10 20:42:29 +01:00
LevelX2
dac8f2dfe8 Fixed a bug of AI not handling pass action correctly so the AI got passive. Added AI possibility to act after blockers are declared (eg boost for blocking or blocked creatures). 2018-03-10 19:59:59 +01:00
LevelX2
17afa3b3c1 * Added a test. 2018-03-09 15:51:31 +01:00
LevelX2
8c8b4ce019 * Added a check if life of players is going down during infinite loop check. Is so no Draw check message is shown (fixes #4557). 2018-02-28 17:24:42 +01:00
LevelX2
5f98cb685e * Hushwing Gryff - Fixed that log message was sent out too often (fixes #4548). 2018-02-26 16:17:16 +01:00
LevelX2
ba483dd87a * Added a test for the new Blood Moon rule (set to @Ignored) because new rule is not implemented. 2018-02-25 21:59:06 +01:00
LevelX2
2fceafda93 * Fixed a bug that mana in the mana pool could not be used to pay mana costs that could only be payed with "you may spend mana as thought" effects (fixes #2581). 2018-02-25 21:53:47 +01:00
LevelX2
3d372e7100 * Fixed bug of Defiant Vanguard not destroying aby creatures from blocking. Added test. 2018-02-24 12:23:50 +01:00
Oleg Agafonov
5b0e71021d Fixed compile error on getFixedTarget and failed test on new lower names 2018-02-23 16:16:47 +04:00
LevelX2
c5cbdcf68f * Fixed some target pointer handling (fixes #4540). 2018-02-20 17:57:23 +01:00
LevelX2
89b6aeacd6 * Added a test related to #4539. 2018-02-20 16:16:26 +01:00
LevelX2
71ed488c1e * Some deck format tests changed/added. 2018-02-18 18:31:10 +01:00
LevelX2
d80d588963 * Reworked flashback ability (fixes #4482 #3324 #215 #3435 #3883 #3337 #2183 #2447). 2018-02-18 02:52:16 +01:00
LevelX2
fe2eec6553 * Fixed a problem with Animate Dead and bringing creatures with triggered abilities into play that had no targets. It was related to manipulating spellAbility and not copying spellAbility correctly during states copies. (related to #4428). 2018-02-17 11:54:57 +01:00
LevelX2
d10d6361ac * Some minor chnages. 2018-02-14 22:57:57 +01:00
LevelX2
6e4b4a7b69 * Added test for issue #4428 (Animate Dead). 2018-02-13 10:33:08 +01:00
LevelX2
4e4d466549 * Added a test. 2018-02-12 16:56:25 +01:00
LevelX2
6aed62cf02 * Bestow - Fixed a problem that if the target of a bestow enchantment aura got illegal, the bestow permanent did not chnage back to be a creature. 2018-02-12 16:28:44 +01:00
LevelX2
a85fa82de0 * Bestow - Fixed a problem that if the target of a bestow enchantment aura got illegal, the bestow permanent did not chnage back to be a creature. 2018-02-12 15:49:16 +01:00
LevelX2
f0f407457e * Subtypes of tokens were not set back correctly after a subtype changing effect did end (e.g. Arcane Adaptation). 2018-02-12 14:45:05 +01:00
LevelX2
a5f24dfa07 Added tests for scavenge keyword. 2018-02-07 15:36:08 +01:00
LevelX2
557ac244d3 * Fixed that Sift Through Sands failed randomly (fixes #4463). 2018-02-07 11:00:51 +01:00
LevelX2
88d4e2b965 * Bushido - Fixed that it triggerd wrongly for each blocker instead of only once if blocked. 2018-02-04 21:13:07 +01:00
LevelX2
0044c9df78 Added converge test with artifact mana sources. 2018-02-04 20:33:37 +01:00
LevelX2
b752eacfaa * Optimized handling and call of player.choose choice to prevent problems if a player disconnects or left a game (#4263). 2018-02-04 17:51:12 +01:00
LevelX2
4dd196f373 * Fixed some problems with getting cards at random from collection that could cause loops. 2018-02-04 12:27:08 +01:00
LevelX2
55b66315af * Some formatting. 2018-02-03 10:49:08 +01:00
Oleg Agafonov
b114eaa828 Tests: added ai vs ai load testing 2018-01-28 15:12:00 +04:00
Oleg Agafonov
9268281c4b Tests: fixed random gen deck 2018-01-27 15:49:24 +04:00
Oleg Agafonov
78ff3c3714 Tests: added game start mode to load testing 2018-01-27 14:52:34 +04:00
Oleg Agafonov
85d8d665aa Tests: rewrite load tests for server stability and performance testing (see #4448) 2018-01-27 14:02:24 +04:00
Oleg Agafonov
ba4fee11f6 Fixed weird errors with server lost of player priority on lagged games (see #4448) 2018-01-27 13:59:38 +04:00
Oleg Agafonov
2870c3ab2a Cleanup 2018-01-27 12:54:16 +04:00
Achilles
6c59c2e4fd - Added extra test for Starfield of Nyx. 2018-01-16 17:48:26 -06:00
Achilles
6da1112a89 - Code by Noxx to address the Blood Moon/Urborgtoy layering issue. Layer test updated. 2018-01-15 18:47:42 -06:00
LevelX2
40afa04b24 xmage 1.4.27V0 2018-01-13 22:54:53 +01:00
Achilles
7ade17595d - Aftermath keyword works again. Added test for Aftermath keyword. 2018-01-12 23:58:38 -06:00
Oleg Agafonov
af113d4ed1 Fixed cards that broken whole server (see #4402) 2018-01-12 21:23:49 +04:00
Oleg Agafonov
7c2511355e Tests: added checks for errors on card loading (see #4402) 2018-01-12 21:10:10 +04:00
Oleg Agafonov
4c3425d29c * Masters Edition IV - Fixed urza's special lands in boosters 2018-01-12 14:20:20 +04:00
Radoslaw Sypen
29a889b236 Merge branch 'master' of github.com:rsypen/mage into fix_tests_not_passing 2018-01-12 10:42:50 +01:00
Radoslaw Sypen
88527987cc Fixed ItThatBetrays and Barrin, Master Wizard broken effects, added new test for Emrakul's annihilator trigger 2018-01-12 10:33:11 +01:00
Oleg Agafonov
79bdd2ca8f Tests: fixed server load test for simple connection and game starting 2018-01-10 20:53:25 +04:00
Oleg Agafonov
8e3b610a0c Tests: fixed performance problem (x20 speed up, no need to call full garbage collector manually) 2018-01-09 19:27:25 +04:00
Mathieu Pouedras
096f2c0e51 Implements Brood of Cockroaches 2018-01-08 10:35:27 +01:00
Oleg Agafonov
3d53d28f5e Fixed AI infinite loop on wrong answers input (tests affected) 2018-01-04 18:14:22 +04:00
Oleg Agafonov
a37cd4036c Test updated 2018-01-04 04:58:52 +04:00
Oleg Agafonov
d75974efd0 Master Thief: fixed wrong gain control on battle instead on enter battlefield 2018-01-04 04:32:42 +04:00
Oleg Agafonov
eae85e71bc UI: added new cheat engine for manual testing (see #4334) 2018-01-04 01:35:33 +04:00
Oleg Agafonov
3dda5712db AI: fixed not working choice with key-value dialogs, random refactor 2018-01-04 00:23:20 +04:00
LevelX2
3d50213f46 Added test for #4333 - problem non-reproducible yet. 2018-01-03 15:36:43 +01:00
LevelX2
bc490ef91a Added Spellweaver Volute. 2018-01-02 23:48:07 +01:00
LevelX2
e81f6c5e90 * Unearth - Fixed that a pahsed out creature were wrongly exiled by unearth. 2017-12-30 19:15:33 +01:00
LevelX2
6d17199129 * Toxin Sliver - Fixed that the damaged creature was not destroyed. 2017-12-28 15:57:31 +01:00
LevelX2
d85637336e * Cabal Ritual, Gemstone Caverns, River of Tears - Fixed a problem that the tap for mana event was sent twice for theses lands (fixes #4288). 2017-12-28 12:57:16 +01:00
LevelX2
1f801d24df Updated Naga Vitalist Test. 2017-12-28 12:13:20 +01:00
Oleg Agafonov
7954031f41
Merge pull request #4283 from JayDi85/ui-choose-new
Added new choose dialog
2017-12-28 02:59:09 +04:00
JRHerlehy
63cea560f3 Rsolves #4287
Test included to verify functionality.
2017-12-27 14:54:46 -08:00
Oleg Agafonov
2d48e14960 Tests: added error proof tests on "Vorinclex, Voice of Hunger fire up two times on mana tap instead one" 2017-12-28 02:29:31 +04:00
Oleg Agafonov
cdec4fe280 Tests: added error proof tests on "can't see new echanted land ability if it was added on same step" (Naga Vitalist) 2017-12-28 02:24:37 +04:00
Oleg Agafonov
7f1db2ef16 Tests: fixed dependence on random sort of ManaOptions result; 2017-12-28 02:18:54 +04:00
Oleg Agafonov
68c6551188 Fixed cards with any color lands produce ability:
* Fixed ManaOptions result (no more duplicated records with same options);
  * Fixed mana types searching (now mana search return {Any} type too);
  * Fixed cards: Fellwar Stone, Harvester Druid, Reflecting Pool (#4125), Sylvok Explorer, Exotic Orchard (#3374), Naga Vitalist;
2017-12-28 02:15:49 +04:00
Oleg Agafonov
8fe1c46ade Tests: fixed wrong assertManaPool assert messages 2017-12-28 01:57:37 +04:00
LevelX2
ac7e6e0f86 * Blatant Thievery - Fixed a problem of AI target handling. 2017-12-24 13:05:28 +01:00
LevelX2
1d2132648b * Augur of Bolas - Fixed a problem with AI that can't choose the card from libraray. 2017-12-24 11:23:33 +01:00
LevelX2
6c93ce9c27 * Mox Diamond - Fixed that the handling of token copys (e.g. by Mirrorworks) did not work correctly. 2017-12-24 11:08:49 +01:00
LevelX2
cfadfe9942 * Fixed a problem that subtypes were still present (e.g. for spell cost reduction) for cards cast face down (fixes #4277). 2017-12-24 01:07:35 +01:00
LevelX2
43c732c751 [RIX] Added Vona's Hunger. 2017-12-21 17:08:24 +01:00
Oleg Agafonov
503e082eaa Fixed test after card number changed 2017-12-20 20:42:32 +04:00
spjspj
f5d16a930f
Merge branch 'master' into master 2017-12-10 21:54:02 +10:00
spjspj
8e3daf54a9 Start adding in Dice Roll effects 2017-12-10 22:49:55 +11:00
Oleg Agafonov
f09a541282 - fixed test 2017-12-09 21:26:22 +04:00
LevelX2
ab8bcd92c2 * Some minor changes. 2017-12-03 17:39:00 +01:00
LevelX2
9e4beb6b51 * Nettling Impl - Fixed that the conditional delayed destroy ability did not work corretly (fixes #4142). 2017-11-03 14:59:26 +01:00
LevelX2
919ec2fade Merge origin/master 2017-10-21 16:14:14 +02:00
LevelX2
58d3fc2328 Fixed player leaving/conceding handling. 2017-10-21 16:13:45 +02:00
Oleg Agafonov
6605c212e4 Update AjaniTest.java
typo comment
2017-10-17 02:30:12 +04:00
Evan Kranzler
54b8f10c3c text fixes and test fixes to fix how tests test text, then more text next 2017-10-07 16:08:06 -04:00
LevelX2
0714ae39dc * Hope of Ghirapur - Fixed a problem with check if current object has daone the damage. 2017-09-23 19:16:21 +02:00
Evan Kranzler
356737075a Revert "Skulk is now singleton"
This reverts commit 6ca03a339a.
2017-09-17 19:57:54 -04:00
LevelX2
53324c0f4d Reverted making Menace a MageSingleton. 2017-09-16 10:38:10 +02:00
Evan Kranzler
6ca03a339a Skulk is now singleton 2017-09-13 20:38:29 -04:00
Evan Kranzler
b83e12f51c Menace is now a singleton like other keywords 2017-09-13 15:38:02 -04:00
Evan Kranzler
8552efe907 fixed Arcane Adaptation test 2017-09-09 12:39:22 -04:00
theelk801
31acee7624 Merge branch 'master' into subTypeSwitch 2017-09-09 11:16:47 -04:00
theelk801
61a36f10d2 Merge pull request #3962 from theelk801/master
various changes
2017-09-09 10:49:15 -04:00
Evan Kranzler
b5667dc4a7 Added Arcane Adaptation test, updated Conspiracy test 2017-09-09 10:47:58 -04:00
LevelX2
2e2dc88c11 Fixed a problem that cost reduction of some cards did not work for Zoetic Cavern (e.g. Animar, Soul of Elements). 2017-09-09 10:07:20 +02:00
Evan Kranzler
3cc178196e Refactored more subtypes usages to enum 2017-09-08 11:05:58 -04:00
Evan Kranzler
92b999a9b4 Refactored more subtypes usages to enum 2017-09-08 10:26:03 -04:00
LevelX2
66c4aec499 * Conspiracy - Fixed that it doesn't revert creature types of non-permanent cards when it leaves the battlefield (fixes #3911). 2017-09-08 12:14:18 +02:00
LevelX2
77f6f7b2b6 * Tawnos's Coffin - Fixed that it did not work correctly if abilities were copied by Mairsil, The Pretenderand and general rework. 2017-09-01 12:36:40 +02:00
LevelX2
cba7a510ea * Fixed a bug if casting split cards from other players e.g with Mindclaw Shaman (fixes #3867). 2017-08-30 00:30:46 +02:00
LevelX2
e909f5c801 C17 Added Portal Mage. 2017-08-28 16:50:00 +02:00
LevelX2
71ca775e87 Phasing rule change - Added test (tokens already could phase out and in) (fixes #3844). 2017-08-23 00:06:08 +02:00
LevelX2
54b757cb46 * Ignoring the both failing tests because no short time fixing of the problem is sceduled/possible. 2017-08-22 16:22:46 +02:00
LevelX2
5b7fb59b52 * Sepulchral Primordial - Fixed that its ETB ability doesn't trigger if at least one opponent in range had no creature in the graveyard (fixes #3257). 2017-08-22 16:10:40 +02:00
LevelX2
1fb24116ae xmage 1.4.26V0 2017-08-15 01:27:06 +02:00
LevelX2
6244046330 * Some minor changes. 2017-08-14 16:48:48 +02:00
igoudt
63c3689d47 update cabal therapy complying CR 708.4a 2017-08-08 17:37:12 +02:00
igoudt
38a80207cc add unit tests for Spreading Seas bug 2017-08-08 17:20:20 +02:00
igoudt
f793504ba0 remove hasSubType(String s) 2017-08-06 17:22:11 +02:00
LevelX2
1e3f9bffc6 * Fixed that morphed permanents (face down) had wrongly the cumulative mana costs of their face-up side instead of 0(fixes #3726). 2017-08-01 12:20:05 +02:00
LevelX2
98671c1210 * Jevleva - Fixed a by the last commited fix introduced bug in second triggered ability. 2017-07-31 21:08:32 +02:00
LevelX2
69e239d2ed Xmage 1.4.25V0 (update because of Log problem) 2017-07-30 08:54:37 +02:00
ciaccona007
bd4d00f031 Merge remote-tracking branch 'remotes/upstream/master' 2017-07-29 20:08:04 -04:00
ciaccona007
d72bc323b0 Implement Cinder Cloud with test 2017-07-29 19:45:55 -04:00
ciaccona007
d484991818 Fix problem in Permanent.destroy() 2017-07-29 19:07:25 -04:00
LevelX2
fe2ee5dfec Xmage 1.4.25V0 2017-07-29 20:35:16 +02:00
LevelX2
6530b404c8 * Some Aftermath fixes. 2017-07-29 20:13:48 +02:00
LevelX2
94994dd3ec * Kalitas, Bloodchief of Ghet - Fixed that the vampire token was also created if the destroyed creature was not moved to the graveyard. 2017-07-29 12:01:10 +02:00
ciaccona007
59ef1c0def Create test for Kalitas, Bloodchief of Ghet (ZEN) 2017-07-28 23:36:12 -04:00
LevelX2
b9dff66fcb * Kormus Bell - Fixed a bug with order land type changing effects are applied (fixes #3470). 2017-07-28 16:56:31 +02:00
LevelX2
ea3d00a430 * Fixed that testing framework does not support snow mana payment (fixes #3751). 2017-07-28 12:47:00 +02:00
LevelX2
ffd0c24c9c Some minor changes. 2017-07-28 12:21:52 +02:00
Justin Herlehy
db1807ab01 Implement Rimescale Dragon
Card works in manual testing.  Testing framework currently does not support snow mana payments, so tests fail.  Currently have tests ignored due to limitation of framework issue, not a failing card issue.
2017-07-28 00:15:32 -07:00
LevelX2
138e8487a3 * Bronze Bombshell - Fixed that its triggered ability did not work if put into play with Endless Whispers. 2017-07-27 16:14:14 +02:00
LevelX2
d0e610e83b * Afflict - Fixed that life loss of triggered afflict ability was not applied if creature with afflict was removed from battlefield before life loss effect resolved (fixes #3694). 2017-07-27 11:33:45 +02:00
LevelX2
52cc8b46b1 * Added test to #3747. 2017-07-27 11:07:46 +02:00
LevelX2
0d24b8df14 * Added test for #3693. 2017-07-26 17:20:29 +02:00
LevelX2
acf28d8aff * Breath of Fury - Fixed that the enchnatment was no longer properly moved (fixes #3722). 2017-07-24 00:41:03 +02:00
LevelX2
b948a8255a * Some cleanup for: Fixed a bug that created a endless loop if mana producer were involved, that create mana of any type lands of players could produce. 2017-07-23 22:49:56 +02:00
LevelX2
a9e2303f7e * Fixed a bug that created a endless loop if mana producer were involved, that create mana of any type lands of players could produce (fixes ##3374). 2017-07-23 19:34:24 +02:00
LevelX2
cd6c7623ed * Added missing imports, imports reorg. 2017-07-23 16:29:29 +02:00
LevelX2
4806738cfb * Some more use of StaticFilter objects. 2017-07-23 14:59:13 +02:00
igoudt
422ce699d1 metallic mimic fix 2017-07-20 09:26:29 +02: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
Derek Monturo
d257aafbd3 minor removal comment 2017-07-16 15:32:35 -04:00
Derek Monturo
a5419d53a3 fixed UT 2017-07-16 15:31:41 -04:00
Derek Monturo
fd1522a428 UT for #3514 unconfirmed telepath ancestral 2017-07-16 14:28:54 -04:00
LevelX2
20c8c1a9c9 * Fixed that Persist did not working with Hapatra, Vizier of Poisons and Obelisk Spider (fixes #3679). 2017-07-16 15:58:50 +02:00
LevelX2
8c2388644c * Added a test. 2017-07-16 14:58:39 +02:00
igoudt
905829561e talk to interfaces rather than implementations 2017-07-16 11:08:09 +02:00
tamaroth
e0a61b9918 Create token for a commander that instead of being exiled by (#3675)
Curse of the Swine was put into the command zone. #3669
2017-07-14 15:44:07 -05:00
LevelX2
b50d557c75 * Ral Zarek - Reverted workaround fix and fixed the cause of the problem the untap did not work. 2017-07-10 17:17:01 +02:00
LevelX2
5a3243890d Fixed that the information what mana was payed to pay the mana cost of a spell or ability were not correct if "spend mana as though" abilities were involved in the payment (fixes #3604). 2017-07-10 16:53:02 +02:00
LevelX2
e8f4b8947e * Stinkdrinker Bandit - Fixed that it applies boost more than once in multiplayer games (fixes #3542). 2017-07-09 20:43:06 +02:00
LevelX2
a28dc88479 * Port Town - Fixed that it did no longer work with basic Plains (fixes #3633). 2017-07-09 19:22:24 +02:00
LevelX2
8b82e240c8 Fixed some problems that searching for split cards did not always work (e.g. Surgical Extraction). 2017-07-09 19:05:03 +02:00
LevelX2
f54c2562a8 * Unesh, Criosphinx Sovereign - Fixed that it did not trigger if a token of it came into play without the subtype Sphinx. 2017-07-09 11:16:03 +02:00
LevelX2
7d911ae803 XMage 1.4.24V0 2017-07-08 16:33:09 +02:00
igoudt
6eba170e3c UT for #3542 2017-07-08 10:58:47 +02:00
Matthew Zulch
51595dbedf Act of Heroism fixes (#3608)
* Adding test case for Act of Heroism

* Fixing Act of Heroism mana cost

* Adding can block additional creature effect that applies to spell/ability target rather than source

* Updating Act of Heroism to use new effect

* Removing redundant assertion, adding some comments
2017-07-07 19:53:06 -05:00
igoudt
a422c0a4d8 added Mycosynth Lattice test for #3604 2017-07-06 02:10:04 +02:00
igoudt
7028f8ee3d implement Chaos Maw 2017-07-02 15:36:18 +02:00
igoudt
b573d72883 added UT, fix small bug on Hour of Revelation 2017-07-02 13:08:03 +02:00
igoudt
a72fe69018 fixes #3537 2017-06-29 12:21:40 +02:00
igoudt
89b7d4e0e6 UT for #3550 2017-06-28 21:51:25 +02:00
igoudt
235443c04d UT for issue 3542 2017-06-27 21:26:08 +02:00
igoudt
5bcaafd738 implemented Afflict + simple HOU cards 2017-06-24 01:13:42 +02:00
igoudt
d63b241d54 implemented Eternalize Ability + Steadfast Sentinel 2017-06-19 01:03:12 +02:00
Derek Monturo
dcbea9e726 UTs for Machinations bug confirms issue #3499 2017-06-17 14:33:27 -04:00
LevelX2
dd1eff68fe * Bruna, Light of Alabester - Fixed that the auras could not be moved to Bruno if it had shroud. (fixes #3484). 2017-06-11 15:53:16 +02:00
LevelX2
5cfb496899 * Storm Cauldron - Fixed that it wrongly also returned cards to hand that already left the battlefield (fixes #3487). 2017-06-11 10:44:41 +02:00
LevelX2
a22e89d26a * Added test for spells targeting players continue resolving even when those players leave the game (closes #1600). Problem no longer reproducable. 2017-06-11 10:30:56 +02:00
LevelX2
0fd72c3010 * Added check if the deck was modified during sideboarding. 2017-06-05 20:23:09 +02:00
LevelX2
3c6ede7407 * Improved game is infinite loop check to ask players only if some kind of iteration is recognized. 2017-06-05 12:27:59 +02:00
Derek Monturo
2b25b53541 added nest of scarabs test for wither. unable to replicate #3402 2017-06-04 21:44:19 -04:00
igoudt
35ae9e316e test manatype on enum, not on string 2017-06-02 17:27:36 +02:00
igoudt
86bc25811d completed UT for 3443 2017-05-31 22:33:02 +02:00
igoudt
b0a6c76228 fixes 3443 2017-05-31 00:29:06 +02:00
LevelX2
9c773ba3cb * Vesuvan Shapeshifter - Fixed that copying creatures with morph and a turn face up trigger did not work correctly (fixes #2864). 2017-05-28 11:01:04 +02:00
igoudt
dca676617d fix crypt rats + added new test method 2017-05-27 09:17:08 +02:00
LevelX2
b4553641eb * Added UT for #2864 Vesuvan Shapeshifter turn face up bug. 2017-05-26 14:56:41 +02:00
Derek Monturo
79ed08b543 UT added for Jeleva casting SavageBeating. closes #3378 2017-05-25 01:20:32 -04:00
Derek Monturo
4cb3535f6f UT unable to reproduce reported bug with Decimator Beetle #3423 2017-05-25 00:52:38 -04:00
Derek Monturo
6e6d412535 UT for Lambholt replicating bug in #3427 2017-05-25 00:40:27 -04:00
igoudt
04afceebeb fix issue 3415 2017-05-24 12:48:46 +02:00
Derek M
0e38847c09 Merge pull request #3418 from drmDev/master
Soul conduit UT unable to confirm issue #3414
2017-05-23 12:51:49 -04:00
Derek Monturo
4b2be64366 Soul conduit UT unable to confirm issue #3414 2017-05-23 12:51:22 -04:00
LevelX2
1eb1a2abed * Transform - Fixed that a transform effect did only resolve, if the related permanent to transform was the same as the ability was put to stack (fixes #2912). 2017-05-23 17:26:16 +02:00
Derek Monturo
2292b18af8 another UT for CMC flip cards for #1904 2017-05-22 18:14:20 -04:00
igoudt
14148b1ac3 unittests for akh 2017-05-21 17:05:12 +02:00
LevelX2
9e78410fff Merge branch 'master' into subtypes 2017-05-21 10:50:47 +02:00
LevelX2
40f192eafc * Squelch - Fixed that it was causing a ClassCastException (fixes #3396). 2017-05-20 23:22:31 +02:00
igoudt
8ab4f5b454 finised all creaturetypes 2017-05-20 22:41:25 +02:00
Derek Monturo
9e78f216d1 only fixes 2 of 3 issues with Scarabs. infect damage not triggering it still for #3402 2017-05-20 09:47:30 -04:00
Derek Monturo
e7963de7c8 more scarabs tests 2017-05-20 09:24:45 -04:00
LevelX2
8b353d1b62 Added UT for #3400. 2017-05-20 09:49:39 +02:00
LevelX2
3cd63003c0 * Curse of Spite - Fixed that the effects of the curse were not correctly applied after the target player dies. (fixes #3401). 2017-05-20 09:30:23 +02:00
LevelX2
00ad7b5423 Merge origin/master 2017-05-19 17:51:32 +02:00
LevelX2
67a66d90da * Hapatra, Vizier of Poisons - Fixed that it was not triggering off of Infect (fixes #3288). 2017-05-19 17:51:04 +02:00
Simown
c53d3b392a Fixed Spirit Mirror and added tests. Fixes #3391 2017-05-18 23:19:18 +01:00
LevelX2
d686af8890 * Fixed a problem of endless iteration with Reflecting Pool. 2017-05-18 16:57:32 +02:00
LevelX2
1d438060fc * Fixed bug of any mana abilities not working correctly for mana abilities that could produce mana of any type other mana sources could produce. 2017-05-17 23:20:27 +02:00
LevelX2
6bf7a89d45 * Pithing Needle - Fixed a bug that it did not respect the players range (added UT for #3156 - not reproducable). 2017-05-17 17:52:31 +02:00
LevelX2
020c66c6a1 * Added UT for #3244. Not able to reproduce the problem. 2017-05-17 12:53:00 +02:00
LevelX2
d284cc08b1 * Reworked some not correct working dies replacement handling. 2017-05-16 22:36:56 +02:00
Derek M
af0eb13c13 Merge pull request #3386 from drmDev/master
fixed test to deal with infinite loop check
2017-05-16 13:30:10 -04:00
Derek Monturo
d805e05a68 fixed test to deal with infinite loop check 2017-05-16 13:28:51 -04:00
magenoxx
5650eb647e #3373: removed hand removing in MindbreakTrap test 2017-05-16 20:21:25 +03:00
LevelX2
0185bcb37e * Mogg Infestation - Fixed a problem with counting also commanders noz gong to graveyard. 2017-05-16 17:40:43 +02:00
LevelX2
5ce813ad87 * Added a simple check for infinite loops so that if players confirm the game ends in a draw (#3329). 2017-05-16 14:45:30 +02:00
Derek Monturo
179626016c naga vitalist UT unable to reproduce issue. closes #3315 2017-05-15 16:03:49 -04:00
magenoxx
f40ad9cadf #3373: added reproducing test for Mindreak Trap multi target issue 2017-05-15 19:37:49 +03:00
Simown
096701cd1e Added and updated tests for attacker/blocker test assertions 2017-05-14 23:18:55 +01:00
Simown
f97fc6f708 Updated TestPlayer + Tests to deal with duplicate initial turns 2017-05-14 23:18:44 +01:00
Simown
5431895ad8 Attacker/blocker checks in the test API 2017-05-14 23:18:03 +01:00
Derek Monturo
a4776b3f4d adjusted New Perspectives tests 2017-05-13 23:00:05 -04:00
Derek M
e5a69134c8 Merge pull request #3371 from drmDev/master
minor adjustments to new perspectives test
2017-05-13 13:13:32 -04:00
Derek Monturo
2d91ee49cf minor adjustments to new perspectives test 2017-05-13 13:12:59 -04:00
Derek Monturo
0fbc86be47 adjusting tests for #3359. also consolidated kalitas test to here 2017-05-13 12:38:07 -04:00
magenoxx
f912ee6213 Fixed incorrect NewPrespectives test. 3 Mountains caused New Perspectives discard instead of cast. 2017-05-13 17:10:16 +03:00
ingmargoudt
05349be8c3 Merge pull request #3366 from ingmargoudt/unittests
Unittests
2017-05-13 00:32:41 +02:00
igoudt
5c3a1c0c72 extra tests for kiraGreatGlassSpinner 2017-05-12 23:14:47 +02:00
Derek Monturo
91d24b0e31 UTs for #3323 and #3252 confirming bugs 2017-05-12 16:52:30 -04:00
igoudt
056c0613a2 UT for Final Punishment to cover the DamagedReceivedThisTurnWatcher 2017-05-12 22:47:35 +02:00
igoudt
7d905d39ca BontuTheGlorified unittests 2017-05-12 22:47:35 +02:00
Derek Monturo
f992c212eb modified incendiary flow test for #3359 2017-05-12 15:33:08 -04:00
Derek Monturo
29da3a3114 UTs for issue #3359 duplicating issue 2017-05-12 10:37:25 -04:00
Derek Monturo
5ee5b9f417 minor typo 2017-05-11 19:09:47 -04:00
Derek Monturo
77749d7fb1 another UT for #3345 unable to duplicate issue with celebrant exerting twice in same turn 2017-05-11 19:07:15 -04:00
Derek Monturo
ddf879ee4a added UT for Witchbane bug #3326 confirming issue 2017-05-11 14:37:48 -04:00
Derek Monturo
3089e0386c fixed UT for martyr bond 2017-05-11 13:21:13 -04:00
Derek Monturo
a5fa52b605 UTs for shelldock. duplicating bug reported in #3310 2017-05-11 11:53:55 -04:00
Derek Monturo
b196f06b1c minor edit 2017-05-10 15:44:39 -04:00
Derek Monturo
88108e03c3 UT duplicating bug in #3332 martyr bond 2017-05-10 15:43:47 -04:00
Derek Monturo
5fb08958f2 UT for #3328 unable to duplicate issue with priv position 2017-05-10 15:08:36 -04:00
LevelX2
c731a10360 Added a unit test. 2017-05-09 17:01:20 +02:00
Simown
c393fbcc1f Added unit test for changeling issue #3316
- Is not a bug with Kaseto rather the changeling being a snake creature
2017-05-06 21:14:40 +01:00
Derek M
0e76c2a225 Merge pull request #3317 from drmDev/ut/hapatra
added UTs for Hapatra bug #3288
2017-05-06 13:49:58 -04:00
Derek Monturo
be1f4acac5 added UTs for Hapatra bug #3288 2017-05-06 13:49:15 -04:00
LevelX2
afb7de2fbb * Gitrog Monster - Fixed that triggered ability was not handled correctly after a control change (fixes #3251). 2017-05-06 11:49:49 +02:00
LevelX2
795218b030 * Roi Elemental - Fixed triggered ability that did not work correctly for copied Roi Elementals (fixes #3214). 2017-05-06 10:19:04 +02:00
Simown
9ae0c31ee1 Updated failing Gitrog Monster test description 2017-05-05 23:54:12 +01:00
Simown
da3a3ec875 Attacker/blocker indexing fix - updated TestPlayer and unit tests 2017-05-05 23:53:58 +01:00
Derek M
03237aa2fe Merge pull request #3295 from ingmargoudt/triumph_hordes_unittest
Triumph hordes unittest
2017-05-03 07:53:47 -04:00
Derek M
8278b1bb2f Merge pull request #3294 from ingmargoudt/splitcard_cmc
fix cascade for splitcards
2017-05-03 07:51:08 -04:00
igoudt
566966bf6b fix and test for triumph of the hordes 2017-05-03 11:02:23 +02:00
igoudt
9da97f9368 fix cascade for splitcards 2017-05-03 09:51:22 +02:00
Derek Monturo
7b245668f7 UT for nest of scarabs issue, replicating bug #3174 2017-05-01 22:34:11 -04:00
igoudt
576ccdb34a fix broke shadowOfTheGrave + watcher 2017-05-01 17:31:51 +02:00
ingmargoudt
12eb4c2fb7 Merge branch 'master' into move_magepermanent_method 2017-04-28 19:29:20 +02:00
LevelX2
26e81ab26d * Added UT for #3251. 2017-04-28 15:41:38 +02:00
igoudt
2c34870bf0 remove util function on converted manacost, make getColorIdentity default interface method 2017-04-27 10:57:48 +02:00
drmDev
abcc34432e added comments noting tests currently failing and their associated issues 2017-04-26 20:20:26 -04:00
LevelX2
837940b78d * Added UT for #3055 - Not able to reproduce. 2017-04-26 15:03:45 +02:00
drmDev
0c16207332 fixed UT for #3195. misinterpretted ruling. closing #3195 2017-04-26 00:05:12 -04:00
drmDev
04746c5f4f Unit test confirming issue #3195 allowing Celebrant to attack while exerted 2017-04-25 22:07:51 -04:00
LevelX2
80beebccf5 * Fixed a problem of EndTurnEffect not beeing able to remove stackAbilities and endless looping as a result (fixes #3221). 2017-04-25 21:30:45 +02:00
LevelX2
60cc3a7622 * Some minor fixed and log changes. 2017-04-25 17:37:38 +02:00
Jeff
11af70f714 - Updated UT for Layers. 2017-04-24 17:03:23 -05:00
Derek Monturo
32cd4cc57d test for #3195 combat celebrant. ut framework does not support testing this scenario 2017-04-24 16:27:45 -04:00
Jeff
2c617ae652 - Updated UT for Auratouched Mage 2017-04-24 10:37:17 -05:00
Clint Herron
56ce1abb44 Unit tests for Blood Moon + Urborg interaction (#3216)
* Adding unit tests for Blood Moon + Urborg, Tomb of Yawgmoth interaction as per issue #3072 and #2957.  These tests fail expected, confirming those bug reports.

* Re-adding line that was accidentally deleted from other unit test.

* Cleaning up unit tests a bit more and removing leftover code I had missed the first time.
2017-04-22 21:36:01 -05:00
LevelX2
900e7b29ba XMage 1.4.23V2 2017-04-23 01:57:26 +02:00
Simown
35549bac52 Fixed unit test that swapped the attacker and blocker
- Also now is a 2/2 blocking a 1/1 so no more confusion
2017-04-22 14:52:16 +01:00
LevelX2
3f8b193da6 * Added UT: Cojutai's Command, returning Baral + counter creature won't trigger baral's ability (#3202). Bug is not reproducable yet. 2017-04-22 10:25:00 +02:00
Achilles
c943774e6f - A simple UT for Bug #3072. Will expand later. 2017-04-21 20:40:40 -05:00
LevelX2
4c4d78c2e1 * Added UT: Channeler Initiate did not get it's -1/-1 counters when reanimated with Supernatural Stamina. Bug is not reproducable yet. 2017-04-22 01:05:46 +02:00
Jeff
da6b5cae53 - Added test for Selvala, Heart of the Wilds 2017-04-21 16:54:46 -05:00
Jeff
978cb04209 - Added @Ignore to a specific test. Works fine in the game. 2017-04-21 14:02:31 -05:00
LevelX2
5d2c210d36 * Added Celestial Convergence and some changes to game draw handling. 2017-04-21 15:27:22 +02:00
LevelX2
e284922017 * Added Celestial Convergence and some changes to game draw handling. 2017-04-21 15:18:04 +02:00
Simown
8e028a1c32 Updated and added blocking requirements unit tests 2017-04-20 20:33:16 +01:00
Simown
354ca1c062 Fix to TestPlayer blocking multiple creatures 2017-04-20 20:33:16 +01:00
Derek Monturo
3246bd4551 UT suite for cruel reality, unable to confirm issue #3191 2017-04-20 15:30:00 -04:00
drmDev
20468d168b UTs for exert. confirms fixes #3183 2017-04-20 04:33:34 -04:00
drmDev
23834a061c adjusted phases - was using dif one for testing 2017-04-20 00:43:46 -04:00
drmDev
0e95e39748 UTs duplicating glyphkeeper issue #3180 2017-04-20 00:38:32 -04:00
Derek M
a098718405 Merge pull request #3186 from drmDev/ut-cleanup
UT cleanup to note which ones are currently failing
2017-04-19 23:37:17 -04:00
drmDev
43af2e503c UT cleanup to note which ones are currently failing and associtaed issues in github fo rthem 2017-04-19 23:36:19 -04:00
Simown
1a46435664 Fixed blocking in the Unit Test Framework 2017-04-19 21:53:20 +01: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
Derek M
4fc47b163a Merge pull request #3172 from drmDev/ut/lillydm
UT confirming bug #3165
2017-04-18 23:40:57 -04:00
drmDev
97d60a940c add type checking 2017-04-18 23:40:19 -04:00
drmDev
cb70af6f50 UT confirming bug for #3165 2017-04-18 23:38:08 -04:00
drmDev
513f5dfb7d UT confirming bug #3167 2017-04-18 23:36:00 -04:00
fireshoes
b3fb142998 Added Split Card CMC tests for recent rule change. 2017-04-18 21:14:14 -05:00
Jeff
91342cc350 - Fixed the DiscardTest. 2017-04-18 16:48:48 -05:00
magenoxx
f5fe2bd133 Issue#3148: added reproducing test 2017-04-18 23:28:42 +03:00
magenoxx
0ea2ce12bf #3144: EmbalmTest that reproduces bug. 2017-04-18 21:13:32 +03:00
magenoxx
784a4b8089 #3153: fixed flashback test by specifying correct target order 2017-04-18 17:33:58 +03:00
LevelX2
fb6bd25d85 * Soulstinger - Fixed a bug that a -1/-1 counter was put on target even if Soulstinger had no counters on it. 2017-04-17 20:11:01 +02:00
Derek Monturo
c1bc3b0bc2 ut for #3132 confirming issue with dread return 2017-04-17 11:51:52 -04:00
Derek Monturo
15fba941ef fixes #3124 and unit test for #3125 duplicating issue 2017-04-17 11:11:48 -04:00
LevelX2
ef4cf90a0f Release 1.4.23V0 2017-04-17 10:53:59 +02:00
Mark Langen
6912e45310 Merge branch 'master' of https://github.com/magefree/mage 2017-04-08 20:03:57 -06:00
Mark Langen
f96a1532bf Add Approach of the Second Sun [AKH] + test 2017-04-08 20:03:23 -06:00
drmDev
b7c903fc55 #3075 ut does not confirm bug with behind scenes 2017-04-08 13:16:35 -04:00
Mark Langen
40870f22c2 Added a bunch of spoiled cards for 4/5
* Added Colossapede
* Added Cut // Ribbons
* Added Insult // Injury (+test)
* Added Mouth // Feed
* Added Pouncing Cheetah
* Added Scarab Feast
* Added Rags // Riches (+test)
2017-04-05 22:41:56 -06:00
Mark Langen
a2e8cedd02 Merge branch 'master' into akh-card-frame 2017-04-04 18:36:37 -06:00
Mark Langen
7a6b8a1540 Final Aftermath implementation stuff
* Fixed PlayerImpl::getPlayable() to support aftermath (Needs PLAY_FROM_NOT_OWN_HAND_ZONE at the granularity of each card half rather than the whole card)
* Added tests for Dusk // Dawn to make sure there are no regressions on Aftermath.
2017-04-04 18:28:30 -06:00
ingmargoudt
ff6d1541c3 clientcallbacks to enums 2017-04-04 21:52:15 +02:00
Derek Monturo
eec4c07726 #3048 unit test for vexing devil redirect planeswalker interaction. unable to duplicate issue 2017-04-04 10:50:14 -04:00
LevelX2
45818f3a51 * Celestial Dawn - Fixed that it was not possible to pay colorless costs with non white mana. 2017-04-04 15:32:39 +02:00
Mark Langen
a96a7f89f5 Work in progress changes for Amonket Aftermath ability.
* Card Rendering has support for Aftermath Split card frames
* Card Rendering has support for Split cards
* Aftermath ability work in progress
2017-04-03 04:15:25 -06:00
ingmargoudt
211d433ea9 playertype, enum singleton 2017-04-02 22:09:20 +02:00
Derek M
b19170f34f Merge pull request #3045 from SickBoyWi/master
Implemented Soul Burn card for the two sets it's a part of: Ice Age a…
2017-04-02 12:17:32 -04:00
LevelX2
097a8ce0dd Some rework to end turn logic and removing of stack objects (related to #2977). 2017-04-02 15:18:50 +02:00
LevelX2
15c1c7f8c0 * Fixed a problem with flashback ability and variable non mana costs (related to #2436). 2017-04-02 10:11:25 +02:00
ingmargoudt
594ffa2754 rewrote some streams and optionals 2017-04-01 22:45:40 +02:00
LevelX2
d0bf77cedf * Fixed a problem with replacement effects that add counters were applied more than once to the same EnteresTheBattlefield event (fixes #2872). 2017-04-01 17:43:17 +02:00
Johnny.Hastings@gmail.com
2be3f20320 Implemented Soul Burn card for the two sets it's a part of: Ice Age and Invasion. 2017-03-31 18:33:17 -05:00
LevelX2
94f77675ec * Reverted NykthosDevotion test commented out lines. 2017-04-01 00:53:47 +02:00
ingmargoudt
884ae83791 Merge pull request #3042 from ingmargoudt/card_functions
move static function to CardImpl, and other api fixes
2017-03-31 18:52:37 +02:00
Derek Monturo
1b9585ead7 #2872 added UT confirming bug for hangerback walker interaction 2017-03-31 11:00:08 -04:00
drmDev
f79ed5469d #3002 updated UT for firecat 2017-03-30 21:56:59 -04:00
ingmargoudt
6f8f10fcc3 move static function to CardImpl, and other api fixes 2017-03-30 20:09:47 +02:00
drmDev
cbf5f38d84 #3039 confirmed nykthos bug by UT 2017-03-29 19:57:17 -04:00
fireshoes
55b433ae36 [AKH] Added 3/27 spoilers to mtg-cards-data.txt. Implemented several of the new cards. 2017-03-28 22:25:29 -05:00
Derek M
b68bfdf4c2 Merge pull request #3032 from ingmargoudt/type_api
Type api
2017-03-28 22:48:02 -04:00
Derek Monturo
31d238df5d #2984 UT confirming bug 2017-03-28 12:57:45 -04:00
Derek Monturo
3810f3ad2d #3002 UT confirming bug with firecat blitz 2017-03-28 11:08:57 -04:00
drmDev
c25361202a minor fixes - remove inconsistent test, make isperia ability non-optional 2017-03-27 23:36:06 -04:00
drmDev
29b03fb3ed Closes #3030 UT for child of alara unable to duplicate 2017-03-27 22:41:08 -04:00
ingmargoudt
0879298e92 refactor cards to use supertype enum 2017-03-27 21:56:33 +02:00
Achilles
ed37c5db8d - Removed a test case from ReturnToHandEffectsTest that was inconsistent with the game engine. I tested the scenario and it worked fine. 2017-03-26 16:56:02 -05:00
Derek M
1a9c5fa469 Merge pull request #3014 from drmDev/bug/sphereCosts
fixes #3012 manaCosts not null check and way to retrieve it
2017-03-24 08:06:30 -04:00
drmDev
be62b11d2f #3005 halimar tidecaller unit test. unable to duplicate issue. 2017-03-23 23:52:02 -04:00
drmDev
94c8d7f387 #3017 unit tests for declaration in stone. cannot duplicate issue 2017-03-23 23:38:03 -04:00
drmDev
097d60f5fc fixes #3012 manaCosts not null check and way to retrieve it 2017-03-23 10:25:21 -04:00
Derek M
cf831eea28 Merge pull request #3007 from kubikrubikvkube/master
Enums should be compared with == but not equals()
2017-03-22 16:17:07 -04:00
Derek M
9c3aab3284 Merge pull request #3009 from Alexsandr0x/Citadel-of-Pain
Citadel of Pain
2017-03-22 16:16:21 -04:00
Alexsandro
0d0bba7f57 Fiz turns to pass in unit test 2017-03-22 13:14:15 -03:00
Alexsandro
bfb2b07ba6 Create unit tests 2017-03-22 13:09:49 -03:00
vraskulin
d3214c65e4 Merge remote-tracking branch 'fork/master' 2017-03-22 14:51:31 +03:00
vraskulin
d93061c0bc Equals should be compared with == but not equals() 2017-03-22 14:50:50 +03:00
vraskulin
f37c823aa8 String + string concatenation can be replaced by string + char concetenation 2017-03-20 14:00:18 +03:00
drmDev
fb37dcd5f1 #2995 unable to duplicate by unit tests 2017-03-19 22:09:29 -04:00
LevelX2
bc81f7974a Merge pull request #2992 from ingmargoudt/optionals
rewrites to optionals
2017-03-19 23:27:09 +01:00
drmDev
311e41abd2 refactored exiletokensAtEndStep 2017-03-19 17:54:07 -04:00
ingmargoudt
ff6c6405aa rewrites to optionals 2017-03-19 19:48:32 +01:00
drmDev
c109fc8a0e Implemented card Lightning Coils and test for it 2017-03-19 12:23:58 -04:00
drmDev
0d1c846cd5 #2989 cannot duplicate medomai issue with UT 2017-03-19 10:44:59 -04:00
drmDev
286eca3116 closes #2625 unable to duplicate with UT 2017-03-18 14:44:38 -04:00
drmDev
0e5ba16ac1 #2983 confirmed bug with skyfire kirin 2017-03-18 09:32:28 -04:00
drmDev
212385e876 #2841 UT unable to duplicate 2017-03-17 21:30:29 -04:00
drmDev
329ac6d980 #2970 UT unable to duplicate issue 2017-03-17 21:09:06 -04:00
drmDev
4aaea107a0 #2409 cannot duplicate with UT 2017-03-17 17:59:32 -04:00
Derek Monturo
35b8e55f0f initial test setup 2017-03-17 17:59:32 -04:00
LevelX2
68d398c6fb Merge pull request #2968 from ingmargoudt/singleton-as-enum
rewrote singleton to enum where applicable
2017-03-16 17:02:31 +01:00
LevelX2
63e9ca9266 Merge pull request #2969 from Alexsandr0x/Machinate
Implement Machinate + unitTests
2017-03-16 17:00:18 +01:00
Alexsandro
17bccde39d Implement Machinate + unitTests 2017-03-14 17:22:16 -03:00
ingmargoudt
234cfe9519 rewrote singleton to enum where applicable 2017-03-14 16:32:47 +01:00
LevelX2
9d8a8a33f1 Xmage 1.4.22V0 2017-03-11 13:38:55 +01:00
LevelX2
c042d50ec7 Fixed a bug that fizzling spell copies let also wrongly fizzle the original spell on the stack the copy was made from. 2017-03-11 12:00:05 +01:00
LevelX2
7843187bc7 Merge pull request #2958 from JRHerlehy/master
Implement Bloodbond March
2017-03-11 09:41:41 +01:00
Justin Herlehy
3e60eb7780 Implement Bloodbond March 2017-03-11 00:01:51 -08:00
Nathaniel Brandes
900d68f77d Fix CMC for flashbacked cards.
This should fix Conflagate/Chalice of the Void interaction.
2017-03-09 23:32:42 -08:00
Nathaniel Brandes
d7d700f66a Some clarification around loyalty. Added unit test. 2017-03-09 02:30:52 -08:00
Nathaniel Brandes
dd0c89db1d Fix Dack Fayden Emblem.
The emblem's effect was referencing the permanent directly.
This meant that if the permanent left and came back, the control effect
would start working again.
2017-03-09 02:24:34 -08:00
Justin Herlehy
9dd1e60f2d Implement Clutch of Undeath
Implement Clutch of Undeath and add test to ensure functionality.
2017-03-09 01:48:34 -08:00
Justin Herlehy
1a2724c9b2 Revert: Fix planeswalker loyalty counters.
This change was incorrect.

Gatherer Ruling:
10/1/2005: Planeswalkers will enter the battlefield with double the normal amount of loyalty counters. However, if you activate an ability whose cost has you put loyalty counters on a planeswalker, the number you put on isn’t doubled. This is because those counters are put on as a cost, not as an effect.
2017-03-09 01:14:10 -08:00
Nathaniel Brandes
52fa369024 Fix planeswalker loyalty counters.
They should be added like normal counters, firing events that can be
intercepted by cards like doubling season.
2017-03-08 23:57:11 -08:00
Nathaniel Brandes
ce1f4a3bf8 Phyrexian mana now correctly a payment choice.
Per rule 601.2b, it is not determined at the pay costs step,
but at the "choice" step, long before costs are determined.

This fixes trinisphere interactions and should be consistent with the
rules.
2017-03-08 20:03:28 -08:00
Jeff
209e2d13c1 - Fix for Spellskite in situations where it was also a target. Fixed the test for Spellskite. 2017-03-08 12:05:36 -06:00
Achilles
f5d13944a6 - Test for Auratouched Mage. The tests worked fine in the game, but the test suite can't handle it yet. 2017-03-07 20:52:13 -06:00
Derek M
2ff68c2fb3 Merge pull request #2944 from Alexsandr0x/sakashima-bug
SpellStutter Sprite - Sakashima Impostor Bug
2017-03-07 16:10:06 -05:00
Alexsandro
b83bc9d68a Assert if Sakashima copied SpellStutter by S/T 2017-03-06 21:11:09 -03:00
Derek Monturo
3b6ffe9382 #2157 Linvala tests on activated abilities 2017-03-06 17:02:23 -05:00
Derek Monturo
e28dd5aef7 minor added another assert 2017-03-06 16:34:52 -05:00
Derek Monturo
f93524a0f7 #2135 added test for clever impersonator copying an aura 2017-03-06 16:32:40 -05:00
Alexsandro
d98e43ded2 Create test class to validate error 2017-03-06 16:15:17 -03:00
Alexsandro
6fb344a306 Create test class to validate error 2017-03-06 16:15:02 -03:00
Derek Monturo
c53c0d2e9e #2832 test for Athreos not triggering on Cartel sac ability 2017-03-06 14:12:38 -05:00
drmDev
2aa1ee2471 minor mod 2017-03-05 12:17:17 -05:00
drmDev
594e22a245 tests for GrandArbiter cost reduction and increase based on reported bug. unconfirmed 2017-03-05 12:16:12 -05:00
drmDev
c8e41bc002 Phyrexian Purge impl and tests 2017-03-05 10:37:05 -05:00
drmDev
4bfa956368 more tests for Nacatl must be blocked 2017-03-05 07:54:55 -05:00
ingmargoudt
b5e8c88153 remove all contains(cardtype.XX) references, instead use the default interface method 2017-03-05 09:14:33 +01:00
Nathaniel Brandes
1d3ebb749d Fix omniscience effect for colorless mana.
Also unified the tests for omniscience into a single file, and
put the effect into a single class so that Tamiyo and Omniscience
can share implementations.
2017-03-04 23:04:11 -08:00
drmDev
6d20c7a996 added test for Nacatl War-Pride 2017-03-04 18:54:29 -05:00
ingmargoudt
5a57731968 added new helper methods to test for CardType, to get rid of the contains(CardType.XXX) everywhere, put the logic of that in one place and use the interface call 2017-03-04 00:16:36 +01:00
ingmargoudt
372584f7ad changed cardtype from list to enumset 2017-03-03 17:04:32 +01:00
vraskulin
11dc1e10f1 Few lambda's and removed explicit type from creating lists and hashmaps 2017-02-28 13:46:57 +03:00
vraskulin
0a3c95dde5 Inner classes should be static. It reduces memory usage and gives perfomance boost + DeckImporter rollback 2017-02-28 12:40:12 +03:00
doncarton
5eaaa67d1e Nulls to optional. Also there was bug with AetherChaser "you may pay" was not set to optional 2017-02-26 15:15:54 +03:00
Goesta
e9d103b70e Fixed BouncingACrewedVehicle test 2017-02-22 23:25:15 +01:00
ingmargoudt
a98df9a28e fix javadoc 2017-02-19 09:13:19 +01:00
ingmargoudt
9ea690797f the card should still be exiled.
added a method to test exile count per player
added a test for chandrapyromaster
2017-02-19 09:09:43 +01:00
LevelX2
899046cf16 * Gratuitous Violence - FIxed that if the damage of a creature with lifelink was doubeled only the non doubled amount was added to life. 2017-02-18 01:26:02 +01:00
ingmargoudt
7d655ce745 Merge pull request #2866 from goesta/BouncingCrewedVehicleTest
Bouncing crewed vehicle test
2017-02-15 23:55:11 +01:00
vraskulin
a15220d51e Bugfixes with != instead of equals and default toString calls 2017-02-15 19:52:20 +03:00
Goesta
338baa546e Added bouncing a crewed vehicle will uncrew it test 2017-02-14 21:24:53 +01:00
Goesta
5ece29e5d7 Added assertNotType test assertion 2017-02-14 21:19:47 +01:00
LevelX2
7f866f1b21 Merge pull request #2859 from goesta/FlusterstormTest
Added Flusterstorm test
2017-02-13 00:06:45 +01:00
LevelX2
2e8d68aa4b Merge pull request #2858 from goesta/SpellskiteTest
Added Spellskite split damage test
2017-02-13 00:06:17 +01:00
Goesta
0bccc7ab49 Added Flusterstorm test 2017-02-12 05:32:25 +01:00
Goesta
b39996e1eb Added Spellskite spit damage test 2017-02-12 04:30:01 +01:00
Goesta
ce78f64fab Added test for Champion of Lambholt 2017-02-11 23:45:20 +01:00
Goesta
a21128932b Added Test for Kalastria Healer 2017-02-11 20:18:46 +01:00
Jeff
fc3ecdf8d0 - Added Auratouched Mage and test suite. 2017-02-10 10:15:56 -06:00
Jeff
1e82f0750a Fixed FlashbackTest and made modifications to CascadeAbility allowing it to pass its test suite. 2017-02-09 10:20:21 -06:00
vraskulin
0557b5e89c list.size > 0 changed to !list.isEmpty
We care about if it's empty or not, not about it's size
2017-02-06 14:32:51 +03:00
vraskulin
f60ebfbb1f All 1-character strings converted to primitives
"b" + "r" now changed to 'b' + 'w'.  It's more straight-forward, and may cause perfomance improvements - character primitives allocation is faster and less expensive than string creation.
2017-02-06 14:32:51 +03:00
vraskulin
31589778ca Try/finally refactored to try with resources 2017-02-06 14:32:11 +03:00
LevelX2
ff6d79829e * Fixed a bug that damage was wrongly still assigned to players during combat that already left the game. 2017-02-04 23:56:03 +01:00
LevelX2
0dacf2a6fa * Fixed that the cascade converted mana costs comparison did not work correctly with split spells. 2017-02-04 14:26:17 +01:00
LevelX2
067b72dcce * Added test. 2017-02-03 21:36:33 +01:00
LevelX2
96d2372a2b Added revolt test. 2017-01-31 17:06:17 +01:00
LevelX2
3968cdcce9 Added Glimpse of Nature test. 2017-01-31 16:33:37 +01:00
LevelX2
038f21e882 Added Glimpse of Nature test. 2017-01-31 16:32:59 +01:00
LevelX2
ada17b1690 * Reyhan, Last of the Abzan - Fixed that dies triggered ability was not reset correctly if it triggered multiple times. 2017-01-30 21:49:57 +01:00
LevelX2
034ef22468 * Fixed PreventDamageByTargetEffect to handle delayed spell damge (fixes #2822). 2017-01-30 21:19:17 +01:00
LevelX2
0a1356d40e * Fixes to test and fix for issue #2816 2017-01-29 11:16:04 +01:00
LevelX2
2cf15830d7 * Some fixes to Hivestone and BecomesSubtyoeAllEffect. 2017-01-29 11:15:09 +01:00
LevelX2
d3dd52a900 Merge pull request #2818 from goblin/fix_2816
test and fix for issue #2816
2017-01-28 11:31:09 +01:00
goblin
907a12b6d2 oops, remove debug logs and fix whitespace
that wasn't meant to be committed
2017-01-27 05:02:42 +01:00
goblin
96aa224652 prevent Kessig from transforming each turn
it was messing up the test
2017-01-27 05:00:15 +01:00
goblin
89e079fb9d add license note
not sure about BetaSteward, but might as well
2017-01-27 04:27:02 +01:00
goblin
99cb632150 block Kessig in that test, not Werewolf 2017-01-27 00:56:01 +01:00
goblin
0f9ede42bd also test Kessig Forgemaster
the other face of that card has a similar ability that needs fixing
2017-01-27 00:20:47 +01:00
goblin
ae8e121e90 fix up whitespace
XMage people seem to be using spaces...
2017-01-27 00:09:46 +01:00
goblin
0833e4b81f test for issue #2816 2017-01-27 00:04:09 +01:00
LevelX2
448ec24bcc Merge origin/master 2017-01-25 16:05:40 +01:00
LevelX2
7fdb044775 * Added one more test for Gonti, Lord of Luxury, 2017-01-25 16:05:12 +01:00
LevelX2
357d566e63 Merge pull request #2774 from Alexsandr0x/master
Add 2 cards
2017-01-24 23:18:01 +01:00
LevelX2
682940eca6 Added test. 2017-01-22 23:00:25 +01:00
LevelX2
fdd28cde4b * Possibility Storm - Fixed a problem with split card moving. 2017-01-22 22:04:50 +01:00
LevelX2
ce8d752f22 * Fairgrounds Trumpeter - Fixed that counters added to permanents entering the battlefield were not taken into account. 2017-01-20 19:01:11 +01:00
LevelX2
509139bb4a * Steel Golem - Fixed not correct working "dont cast" effect. 2017-01-20 15:46:17 +01:00
Quercitron
292c9f6eba * Hope of Ghirapur - Fix that ability could be activated if Hope of Ghirapur was removed from the battlefield and returned back (fixes #2808). 2017-01-20 04:20:43 +03:00
LevelX2
6625bf86be Xmage 1.4.21V0 2017-01-15 17:44:02 +01:00
LevelX2
75cbfdf3b9 * Some changes to EnterTheBattlefield events, some other fixes (fixes #2765). 2017-01-15 15:22:33 +01:00
LevelX2
78cff4d24f * Fixed Flailing Drake and test. 2017-01-14 15:47:33 +01:00
LevelX2
1c1e4daaf3 * Vorinclex, Voice of Hunger - FIxed a bug that id did not work correctly with some conditional land mana sources (e.g. Gemstone Caverns). 2017-01-14 12:26:22 +01:00
Alexsandro
1d91e04ac1 Add Hivestone tests 2017-01-11 14:08:34 -02:00
igoudt
ac8962cb29 replaced enum comparison from equals to == 2017-01-11 09:53:16 +01:00
LevelX2
1c4bf298eb Merge pull request #2762 from sotovdev/bigRefactoring
Big refactoring
2017-01-11 07:42:52 +01:00
LevelX2
d55dd515f3 Some minor fixes and some tests. 2017-01-10 23:52:38 +01:00
Alexsandro
4bf2137e9d Add hivestone test structure 2017-01-10 12:56:39 -02:00
Alexsandro
92cfe2403e Create cipher test for Muraganda Petroglyphs 2017-01-10 11:40:04 -02:00
vraskulin
076840df53 Big refactoring
I used Intellij IDEA to automatically refactor code to achive 3 goals.
1) get rid of anonymouse classes, and replace the with lamba to get more readeable and clean code (like in TableWaitingDialog).
2) make effectively final  variables actually final to avoid inadvertent changes on it in further releases and keep objects as immutable, as possible.
3)  Get rid of unused imports (most of the changes) in whole project classes.
2017-01-09 19:16:53 +03:00
LevelX2
20c2f3dde8 * Hanweir Militia Captain - Fixed that the P/T setting ability of Westvale Cult Leader was applied to recast Hanweir Militia Captain. 2017-01-08 18:36:32 +01:00
Alexsandro
3033dfecc4 Add tests based on gatherer 2017-01-08 15:18:02 -02:00
LevelX2
ee203cf981 Xmage Release 1.4.20V0 2017-01-08 01:36:05 +01:00
LevelX2
7ec9394a83 Merge origin/master
Conflicts:
	Mage.Sets/src/mage/sets/AetherRevolt.java
2017-01-06 21:57:18 +01:00
ludwig.hirth
aa375c687c * Uba Mask - Fixed some problems. 2017-01-03 17:18:34 +01:00
emerald000
60bad2407b Fighting Git, part 2. 2017-01-03 01:23:56 -05:00
ludwig.hirth
6c72794859 * Added test. 2016-12-29 17:05:32 +01:00
LevelX2
3a33fa4748 * Added Test for #2721. 2016-12-28 12:01:03 +01:00
LevelX2
ecc18072cf Cyclopean Tomb - Update. 2016-12-28 02:02:57 +01:00
LevelX2
f56c64af2d * Fixed a problem that Emblems created by permanents where its owner left the game caused errors in clients. Some handling cganges of emblems. 2016-12-27 16:01:09 +01:00
LevelX2
c05941cf0d * Added cascade test. 2016-12-24 10:16:03 +01:00
ludwig.hirth
ec4e50ece4 Added test. 2016-12-23 15:04:09 +01:00
ludwig.hirth
e5a5911c6e * Sacred Ground - Fixed that the Sacred Ground effect did also move the land if it was removed from graveyard since the ability triggered. 2016-12-23 12:29:33 +01:00
LevelX2
1de210ab74 * Fixed a bug of DealsDamageToOneOrMoreCreaturesTriggeredAbility, added some tests. 2016-12-18 17:50:33 +01:00
LevelX2
d85b9943f1 * Added logic to remove control effects that refer to permanents of a player that leaves the game. 2016-12-18 16:57:34 +01:00
LevelX2
da9e9a1180 * Fixed some possible null pointer exceptions and some minor editing. 2016-12-18 15:02:19 +01:00
LevelX2
61dd62b148 * Undiscovered Paradise - Fixed that it was not returned to hand on untap step (fixes #2693). 2016-12-17 09:27:24 +01:00
LevelX2
8d6d8d25e5 * Reflecting Pool - Fixed that mana from dynamic mana abilities were not taken into account (e.g. Gaea's Cradle or Serra's Sanctum). 2016-12-16 18:38:40 +01:00
LevelX2
79c80fe24b Added a test and some minor changes. 2016-12-11 23:10:20 +01:00
LevelX2
4b4aef8ed5 * Orzhov Advokist - Fixed that the attack preventing effect did not work correctly. 2016-12-11 16:25:08 +01:00
LevelX2
3d9b51bec3 * Animate Artifact - Fixed some problems. 2016-12-11 15:58:57 +01:00
LevelX2
fb2d3f911e * Power Surge - Fixed some problems. 2016-12-11 15:14:09 +01:00
LevelX2
561f120ce0 * Consecrete Land - Some changes. 2016-12-11 12:38:25 +01:00
LevelX2
b62ca1ed1f Xmage 1.4.19 2016-11-27 19:59:42 +01:00
LevelX2
8bf299e342 * Fixed and extended extra turn test. 2016-11-26 13:46:10 +01:00
Ryan Skeldon
949eb1acb0 Implemented Cairn Wanderer 2016-11-26 02:00:30 -05:00
Dilnu
3198558dd6 Fix March of the Machines
Add a DependencyType for ArtifactAddingRemoving and use it to make March of the Machines come after artifact type adding effects.
2016-11-22 08:40:54 -05:00
LevelX2
7daa476542 * Fixed that the color of cards cast face dwon and later turned face up was not set. 2016-11-20 22:34:12 +01:00
LevelX2
e6afdf0874 * Obscuring Aether - Fixed a problem that face down creatures had P/T = 0/0. 2016-11-20 10:15:11 +01:00
LevelX2
d3e6ae6bcd * Fixed test. 2016-11-20 10:12:21 +01:00
LevelX2
7d60d884c3 * Refelecting Pool - Fixed that mana that Exotic Orchard could produce was not taken into account. 2016-11-20 01:15:45 +01:00
LevelX2
4018d39dab Added test. 2016-11-20 00:45:18 +01:00
LevelX2
b7b7a97945 * Fixed that died creature were wrongly returned to battlefield also if it was moved to exile by replacement effect before. 2016-11-19 18:44:11 +01:00
LevelX2
bc61f66af1 * Merieke Ri Berit - Fixed a bug that controlled creatures after lost of control of Merieke were not destroyed. 2016-11-19 13:33:49 +01:00
LevelX2
0ccaca4a3b Fixed a problem that tokens that came into play with modified attributes (P/T e.g. from Master of Etherium) were seen for triggered abilities (e.g. Sword of the Meek ) with unmodified attributes. 2016-11-19 12:08:38 +01:00
LevelX2
cd61bf48d1 Added a test. 2016-11-13 22:29:26 +01:00
LevelX2
92a04be280 * Warp World - Fixed a bug caused by removing cards from library. 2016-11-12 17:32:57 +01:00
LevelX2
44f7b1b13c * Selvala, Explorer Returned - Fixed that the life gaining effect did not work. 2016-11-12 09:37:41 +01:00
LevelX2
c84d7ef49b Rite of the Raging Storm - Fixed bug that tokens were not doubled if the token was created by an effect controlled from other players (fixes #2584). 2016-11-12 09:00:09 +01:00
LevelX2
7cd105b951 Rite of the Raging Storm - Fixed some minor bugs (fixes #2584). 2016-11-12 08:45:43 +01:00
LevelX2
0db7a0427d * Bloodchief Ascension - Added test for triggered ability. All works as expected. (closes #2566). 2016-11-06 22:36:37 +01:00
LevelX2
c9e1b415e2 Xmage 1.4.18V0 2016-11-06 18:11:19 +01:00
Neil Gentleman
813c8cdd8a CreateTokenEffect already adds the article
don't want to end up with "a a 3/3 colorless Golem"

and also fixed fix tapped token rules text, which has changed
2016-11-05 11:27:36 -07:00
LevelX2
a4e1c7aefd Merge origin/master 2016-11-03 22:38:14 +01:00
LevelX2
d2561c1752 * Fixed a problem with triggered mana abilities. Fixed a problem that AI did not always select the needed mana color. Fixed a problem with Reflecting Pool not taking triggered mana abilities into account. 2016-11-03 22:37:54 +01:00
Neil Gentleman
ffa94811f6 fix compilation
broken in c38f96ae55
2016-11-01 21:28:42 -07:00
LevelX2
de28ea797e Merge pull request #2533 from magefree/issue-2492-emrakul-extra-turn
* Emrakul, the Promised End - Fix that extra turn is not giving when …
2016-10-31 07:36:11 +01:00
Quercitron
0dcc2a85b8 * Emrakul, the Promised End - Fix that extra turn is not giving when Emrakul is cast during an opponent's turn (fixes #2492). 2016-10-31 03:01:02 +03:00
Quercitron
75432f5b61 Revert rollback changes, fix rollback when extra turn was taken during an opponent's turn. 2016-10-31 02:51:40 +03:00
Quercitron
43581cafa3 Add assertActivePlayer test method. 2016-10-31 02:17:24 +03:00
LevelX2
1e07e52774 * Jace's Mindseeker - Fixed that no instant or sorcery could be cast from graveyard. 2016-10-30 00:27:52 +02:00
LevelX2
70126988c5 Changed rule text from "put token onto the battlefield" to "create token". 2016-10-29 23:42:19 +02:00
LevelX2
8b62eece68 XMage 1.4.17V0 2016-10-23 10:03:01 +02:00
LevelX2
c7744d8631 * Fixed a bug with tokens using the optional EntersBattlefieldEffect (e.g. Clone with Mimic Vat). 2016-10-23 00:36:36 +02:00
LevelX2
bf43ea9936 Added test and fixed some possible null pointer exception. 2016-10-22 12:45:50 +02:00
LevelX2
97b872d926 * Fixed that a spell that becomes a permanent didn't had the colors of the spell (e.g. ERsatz Gnomes). 2016-10-22 10:38:10 +02:00
LevelX2
ee96531de5 * Fixed that a spell that becomes a permanent didn't had the colors of the spell (e.g. ERsatz Gnomes). 2016-10-21 00:15:41 +02:00
fireshoes
89dd981075 Merge 2016-10-17 23:45:47 -05:00
LevelX2
157827addc XMage 1.4.16v0 2016-10-08 11:14:13 +02:00
LevelX2
984d94e64d Added test. 2016-10-07 14:49:27 +02:00
JOAC69
e8230946af Remove use of card classes for duplicate cards. Remove set related information from being tied to card classes. 2016-10-04 19:58:48 -05:00
LevelX2
1a8f38759b Fixed a problem with filetring of CantBeTargetedAllEffect. 2016-10-03 19:43:26 +02:00
LevelX2
24fc597fe5 Fixed mode handling for modes that can be selected multiple times. 2016-10-03 19:41:46 +02:00
LevelX2
5469facdd6 Added a test. 2016-10-02 16:15:04 +02:00
LevelX2
3516dc75e4 Updated POM to use Java 8. Updated some tool versions in the POMs. 2016-09-29 16:21:32 +02:00
LevelX2
1066472491 * Fixed a bug that modal spells did not work correctly (fixes #2397). 2016-09-28 23:31:52 +02:00
LevelX2
86648c7190 * Reworked some parts of transform handling. Fixes #2396. 2016-09-28 17:02:37 +02:00
LevelX2
9cf9d69c55 Fixed minor problem of Volrath's Laboratory. Added combat flag to LIFE_LOST event. 2016-09-28 08:00:32 +02:00
spjspj
74503a1493 spjspj - Add option of 'Number of Seats'. This is for Tournaments so that you can draft say a 4 way draft and then have a 4 way game at the end of it. 2016-09-25 00:48:41 +10:00
LevelX2
423c2bbf6c Fixed a problem of Flashback and Buyback producing a loop. 2016-09-24 03:13:59 +02:00
LevelX2
d5d00451a8 Fixed a problem with static abilities for battlefield zone where the source was entering the battlefield but the ability did not work. 2016-09-24 01:13:13 +02:00
LevelX2
c9bb0be016 Reworked selected modes handling. That fixed the Subtle Strike targeting problem. 2016-09-24 01:12:01 +02:00
LevelX2
5d50179c84 Added Test. 2016-09-23 15:12:21 +02:00
LevelX2
6b431be2ba * Shaman of the Great Hunt - Fixed that it triggerd also for other players. 2016-09-21 20:16:27 +02:00
emerald000
ab352100f1 Fixed Panharmonicon triggering for non-permanents. 2016-09-20 09:34:36 -04:00
emerald000
120d7612f6 Fixed Panharmonicon triggering for opponents abilities. Added tests. 2016-09-19 09:22:21 -04:00
Dilnu
2cab391d74 Fix a typo that broke the Snapcaster Blaze Test 2016-09-18 20:17:18 -04:00
Dilnu
87a6d3a1ee Fix the combat code to support Slayer's Cleaver
Update the checks for unfulfilled conditions to confirm the blocking
creatures actually are fulfilled.
Update the check for whether a blocker is already being used correctly
to confirm that there isn’t a stricter condition that is unfulfilled.

This change also updates the Slayer’s Cleaver test to make it more
robust.
2016-09-18 16:28:01 -04:00
Fenhl
ab7e86cb27 Change AE to Ae 2016-09-17 16:59:24 +00:00
LevelX2
0a5a073637 * Flashback - Fixed handling of combined flashback costs (e.g. Deep Analysis). 2016-09-15 17:34:25 +02:00
LevelX2
9f199dfa39 * ZonesHandler - fixed possible null pointer exception (#2271). Cause still unclear. 2016-09-14 23:25:36 +02:00
LevelX2
14b2760e99 * Fixed a bug that prevented moving tokens to other zones in some cases. 2016-09-14 20:51:03 +02:00
LevelX2
3612332607 [KLD] Added Speedway Fanatic. Added tests for crew keyword. 2016-09-14 15:16:40 +02:00
Samuel Sandeen
3ac80b45f3 Merge branch 'magefree/master' 2016-09-10 17:47:40 -04:00
Samuel Sandeen
4fc3418de4 Implement Skullbriar, the Walking Grave
Skullbriar is implemented by a combination of a replacement effect that
serves as a marker and an override of the update zone change counter
function that copies counters from one zone to the next.
2016-09-10 17:47:29 -04:00
LevelX2
bb8326d46b XMage 1.4.15v0 2016-09-10 12:31:18 +02:00
LevelX2
80d1d94e71 * Added test for Runflare Trap. 2016-09-09 15:07:58 +02:00
Samuel Sandeen
ac6a289275 Merge branch 'magefree/master' 2016-09-08 19:12:19 -04:00
emerald000
0af7871804 TestPlayer should not scry down cards at the start of the game. 2016-09-08 09:09:32 -04:00
Samuel Sandeen
8f0258bc07 Fix two typos 2016-09-08 07:26:28 -04:00
Samuel Sandeen
80da09471d Merge remote-tracking branch 'magefree/master' 2016-09-07 23:31:38 -04:00
Samuel Sandeen
c33a731a4a Refactor the core zone change code to use a common code path. 2016-09-07 23:31:26 -04:00
emerald000
bc0f53973d Added an easier way to put custom text on buttons in a chooseUse prompt. 2016-09-06 02:07:59 -04:00
Samuel Sandeen
34846170c4 Remove an unused argument to Player.putInGraveyard 2016-09-05 11:47:52 -04:00
LevelX2
3d19637e85 Added test for Oracle of Dust activated ability. 2016-09-04 17:41:33 +02:00
LevelX2
507ddd8711 * Necromancer's Magemark - Fixed replacement effect that was coded as triggered ability. 2016-09-04 17:14:27 +02:00
Samuel Sandeen
434be545f7 Merge remote-tracking branch 'magefree/master'
# Conflicts:
#
Mage/src/main/java/mage/abilities/condition/common/SourceHasSubtypeCondi
tion.java
#	Mage/src/main/java/mage/game/permanent/PermanentToken.java
2016-09-03 20:06:33 -04:00
Samuel Sandeen
ef5ed5256a Clean up the deprecated moveCards methods in Player 2016-09-03 20:04:12 -04:00
Samuel Sandeen
148f633672 Make the Counters API for card and permanent consistent. 2016-09-03 10:33:54 -04:00
LevelX2
ab2399cbe7 * Fixed that equipments with restrictions (e.g. Gate Smasher) were not unequipped if the equipped permanent did no longer fulfill the restrictions(fixes #2212). 2016-09-03 15:26:17 +02:00
LevelX2
cb91c5b9aa Merge pull request #2216 from stravant/master
Full characteristic-based card rendering for cards
2016-09-03 09:13:49 +02:00
Samuel Sandeen
85dc15c5dc Merge remote-tracking branch 'magefree/master' 2016-09-02 19:44:51 -04:00
Mark Langen
463576dbd0 Merged up to current 2016-09-01 15:44:14 -06:00
Mark Langen
d5415d2d04 Working Card Rendering 2016-08-31 04:43:28 -06:00
cg5
8cbffb3e69 Fix Gratuitous Violence bug 2016-08-29 20:10:01 +02:00
cg5
2439b99031 Add tests for Gratuitous Violence - confirmed bug 2016-08-29 19:51:26 +02:00
drmDev
9126f06b17 Prowl tests marked as Ignored due to lack of support from test api, not necessarily failing test due to bug 2016-08-28 18:05:04 -04:00
Samuel Sandeen
282443c231 Add Subtype to the CardAttribute Framework
This is a massive change. I’ve refrained from unrelated refactoring
when possible but there are still a lot of changes here.
2016-08-28 17:30:10 -04:00
Derek M
61f6166f9d Merge pull request #2198 from cg5-/culling-scales
Add Culling Scales
2016-08-27 12:51:00 -04:00
michaelstephendavies
4dcb113761 Add Culling Scales 2016-08-27 18:45:33 +02:00
Eric McVicker
ebeb20681e No spells cast last turn transform fix to not transform turn 1 #2188 2016-08-23 20:25:28 -05:00
Walter Weber
2f22a45238 Added Flashback tests for X Spells
Snapcaster granting Flashback to Repeal (X influences targetting)
Snapcaster granting Flashback to Blaze (X doesn't influence targetting)
2016-08-22 23:24:50 +02:00
drmDev
bdd1aa5370 Survive the Night test for issue #2184 - could not duplicate 2016-08-22 06:45:27 -04:00
drmDev
ea3da9fb12 test fixes for Soul Separator 2016-08-18 05:37:12 -04:00
drmDev
188fd95b27 Soul Separator tests confirming bug for #2174 2016-08-18 05:34:23 -04:00
drmDev
93b5334ce1 tests for Prowl reported bug not taking into account cost reductions for #2169 2016-08-16 13:34:56 -04:00
drmDev
8051b8dedf Tree of Perdition bug fix - was incorrectly gaining toughness AND power equal to opponent life total 2016-08-13 23:17:25 -04:00
LevelX2
539b03bd1d Xmage 1.4.14v0 2016-08-13 10:14:38 +02:00
LevelX2
4bfac31370 * Archangel Avacyn - Fixed check for source object of triggered ability. 2016-08-13 09:38:28 +02:00
LevelX2
46566361e7 * Fixed a bug that if a copy token creature of a transformed creature was created (e.g. Mirror Mockery), the front side instead of the transformed side was copied. 2016-08-12 15:42:50 +02:00
LevelX2
0c617d1d35 * Ink-Eyes, Servant of Oni - Fixed a bug of how the card was moved to the battlefield by the triggered effect. 2016-08-12 13:25:12 +02:00
LevelX2
aa58c76ba9 * Meld - Fixed a bug that produced an exception if while the meld ability was on the stack, one of the permanents to meld left the battlefield meanwhile. 2016-08-12 12:12:10 +02:00
LevelX2
6f89a67f68 * Some more changes to return boolean for addCounters. 2016-08-11 19:14:18 +02:00
LevelX2
a399bd2f63 Added a test. 2016-08-10 17:33:10 +02:00
drmDev
5c7d7da904 another attack requirement test from reported bug on Berserkers of Blood Ridge not attacking. unconfirmed - was AI controlled though 2016-08-09 21:21:14 -04:00
LevelX2
c31bf97440 * Fixed some problems if a creature has multiple madness abilities. 2016-08-09 13:14:29 +02:00
LevelX2
c563d6f701 * Fixed zone handling of meld cards that left the battlefield (fixes that coninuous effects of meld cards didn't stop to be applied after the meld card left the battlefield) fixes #2140. 2016-08-09 10:20:59 +02:00
LevelX2
00b6327859 * Added test for Meld (Bug that effects of the melded permanent do not end if the melded card left battlefield). 2016-08-08 17:56:44 +02:00
LevelX2
7f8f4bc034 * Goblin Gaveleer - Added missing Trample ability. 2016-08-08 17:10:28 +02:00
LevelX2
47fb2c1ac5 Merge origin/master 2016-08-08 16:29:58 +02:00
LevelX2
005a805973 * Unbreathing Horde - Fixed that the creature came onto battlefield with one counter less than intended. 2016-08-08 16:29:16 +02:00
LevelX2
07bbd53d82 * Stitcher's Graft - Fixed that the sacrifice effect did not work. 2016-08-07 10:12:38 +02:00
LevelX2
73a30f5659 * Fixed wrong asserts of undying test (#2148) 2016-08-06 19:20:56 +02:00
LevelX2
5b5c13c137 * Kusari-Gama - Fixed trigger occurs but no damage is dealt (fixes #2154). 2016-08-06 12:43:16 +02:00
LevelX2
286dc55396 * Fixed Sightless Brawler cannot attack with other creatures attacking (fixes #2133). 2016-08-06 12:30:52 +02:00
LevelX2
14c02bc756 Merge origin/master 2016-08-06 11:33:55 +02:00
LevelX2
9df373e8f3 * Fixed Leech Bonder -1/-1 Tokens don't kill off enemy creatures (fixes #1975). 2016-08-06 11:33:24 +02:00
drmDev
3f6792bffe escalate test with spell queller interaction confirms bug #2143 2016-08-06 00:24:44 -04:00
drmDev
f340c3da85 test confirming undying bug for #2148 2016-08-05 21:52:04 -04:00
drmDev
895e65a42c Kusari-Gama test confirms bug for #2154 2016-08-05 21:29:37 -04:00
drmDev
57995f893e Clergy of Holy Nimbus tests 2016-08-05 18:17:10 -04:00
LevelX2
d0db2d51ed * Fixed Identity Thief copying creature with +1/+1 counter gets P/T boost from it, but not counter (fixes #2131). 2016-08-05 21:15:07 +02:00
LevelX2
d1c25b0662 * Fixed flashback check of Altar of the Lost conditional mana. 2016-08-05 20:03:04 +02:00
LevelX2
9b683ef481 * Fixed that cost modification with target check (Icefall Regent) did not work for flashbacked spells (fixes #1405). 2016-08-05 17:33:52 +02:00
LevelX2
8d88b7a569 Added rollback action to test project. 2016-08-04 17:45:32 +02:00
LevelX2
1346949368 Fixed typo in escalate test. So the test runs without error now. 2016-08-04 12:41:45 +02:00
drmDev
12097817ba Escalate test confirming bug #2143 2016-08-04 05:16:07 -04:00
drmDev
7205144c95 Hearthcage Giant test confirms bug #2141 2016-08-03 18:09:50 -04:00
LevelX2
270ffcb88a * Liliana, Defiant Necromancer - Fixed target bug of -X ability. 2016-08-02 16:52:25 +02:00
drmDev
22beacb580 Merge remote-tracking branch 'upstream/master' 2016-08-02 07:54:48 -04:00
LevelX2
f5b2770c3e * Silent Skimmer - Fixed that the lose life effect did not work if a planeswalker was attacked (fixes #2139). 2016-08-02 13:17:09 +02:00
drmDev
fcb6a0ee4a Slayers Cleaver bug confirmed for issue #2136 2016-08-01 06:46:15 -04:00
drmDev
e470d93769 Sightless Brawler tests confirms bug #2133 2016-07-31 12:19:10 -04:00
drmDev
f1f92c055e confirmed bug for Postmortem Lunge (#2132). Fixed Soul Warden test (mana usage) 2016-07-31 11:31:35 -04:00
drmDev
df19372c45 test confirming possible bug with Identity Thief for #2131 2016-07-30 15:57:52 -04:00
drmDev
5bca2d84e8 More tests for #2130 2016-07-30 15:17:01 -04:00
drmDev
5c498d2ff5 confirmed Liliana Defiant Necromancer bug for issue #2130 2016-07-30 15:02:16 -04:00
fwannmacher
240a1af183 - Added test for issue #2105 2016-07-29 18:43:12 -03:00
drmDev
60035fc0f5 Spell Queller bug confirmed for issue #2126 2016-07-29 15:52:53 -04:00
drmDev
44b36bf30e More tests for Reality Smasher for issue #2123 - none of the tests are setup right still so @Ignore is on 2016-07-28 11:52:25 -04:00
drmDev
6eb9553e74 WIP Reality Smasher tests. @Ignore is on since tests are unexpectedly failing for basic cases and not sure why. 2016-07-28 08:34:40 -04:00
drmDev
f39fab01eb so now ya tell me it wasn't a bug! adjusted test. fixed #2053 2016-07-27 13:57:19 -04:00
drmDev
23eb555f59 added test for #2053 that confirms bug with sacrificing tokens with Leyline of VOid out and cards with Morbid ability 2016-07-27 11:35:56 -04:00
drmDev
0b48749e0b fix soul warden test. 2016-07-26 22:58:56 -04:00
fwannmacher
231a18a79c - Fixed Issue #2121 2016-07-26 19:34:06 -03:00
Derek M
5c4059fac6 Merge pull request #2118 from fwannmacher/master
Corrected some more bugs
2016-07-25 18:14:00 -04:00
fwannmacher
1fc81b8bc7 - Fixed Issue #2094 2016-07-25 17:25:53 -03:00
Derek M
86e7ace06e Merge pull request #2112 from fwannmacher/master
Converted cardNumber from int to String. Now card number with "a" or "b" can be used.
2016-07-25 16:24:01 -04:00
fwannmacher
9f08ce8b56 - Fixed Issue #2071 2016-07-25 15:59:49 -03:00
fwannmacher
9390ec20b0 - Fixed Issue #2098 2016-07-25 12:52:01 -03:00
drmDev
4082f9c38d Fixed Brood Sliver test for #1660 2016-07-25 05:45:30 -04:00
drmDev
f883fd345f Brood Sliver test - bug unconfirmed #1660 2016-07-25 05:28:13 -04:00
Samuel Sandeen
d97d9ea130 Merge remote-tracking branch 'magefree/master' 2016-07-24 18:02:53 -04:00
Samuel Sandeen
d812ce8fb4 Fix Spelling 2016-07-24 18:02:37 -04:00
Samuel Sandeen
5e26638ab5 Fix a bug in Tribal Unity
BoostAllOfChosenSubtypeEffect was too specific and didn’t apply to this
situation. It has been replaced with it’s superclass BoostAllEffect
2016-07-24 18:02:22 -04:00
drmDev
abacbfcdd2 Pulmonic Sliver bug confirmed for issue #2108 2016-07-24 15:59:30 -04:00
drmDev
232ad196eb Mind Shatter tests to confirm bug #2110 2016-07-24 14:46:50 -04:00
fwannmacher
10778cdd6b - Converted CardImpl.cardNumber from int to String
- Fixed Issue #1953
- Fixed Issue #1914
- Fixed Issue #739
2016-07-24 15:18:54 -03:00
drmDev
fc06e31cda Merge remote-tracking branch 'upstream/master' 2016-07-24 11:48:36 -04:00
drmDev
7439134356 added tests for discard replacement effects in general 2016-07-24 11:48:12 -04:00
LevelX2
bd70f923b7 * Permeating Mass - Fixed that the copy effect did only work, if Permeating Mass did not die from combat damge. 2016-07-24 17:13:53 +02:00
drmDev
7c2eaf9510 Permeating Mass test for bug (issue #2096) 2016-07-23 17:11:51 -04:00
drmDev
03b7c738ea hybrid mana test added for Purphorous devotion count 2016-07-23 16:45:07 -04:00
drmDev
f627d19137 Naya Soulbeast bug confirmed for issue #2102 2016-07-22 22:37:29 -04:00
drmDev
faffac077d Tree of Perdition test confirming bug for issue #2101 2016-07-22 22:22:12 -04:00
drmDev
b648e08429 Additional Inkmoth pump tests 2016-07-22 16:19:42 -04:00
drmDev
1c535e6677 Inkmoth test with become immense for issue #2073 2016-07-22 16:14:31 -04:00
drmDev
b012e66eea Platinum Angel bounced test added for issue #2074. Test passes so unconfirmed. Added a new assertLibraryCount method to just assert the library count. 2016-07-22 15:56:36 -04:00
drmDev
2733cc88a6 Imprisoned in the Moon test for issue #2098 2016-07-22 15:06:13 -04:00
drmDev
0c7c6d57c3 Added test for Nephalia Academy bug. should only apply to opponents discard spell/abilities 2016-07-22 11:29:56 -04:00
Derek M
b8091cc3a8 Merge pull request #2085 from cg5-/master
Add Infernal Caretaker
2016-07-21 06:09:06 -04:00
drmDev
e71796816d Fixed Sigarda Host of Herons test with Tempt with Immortality 2016-07-20 08:52:26 -04:00
drmDev
a0ab8e7a44 Leyline of the Void test fixed. 2016-07-20 08:42:06 -04:00
drmDev
68aa9d7c13 added ignore flag to test until framework supports blocking multiple creatures 2016-07-20 08:39:10 -04:00