Commit graph

2361 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Samuel Sandeen
85dc15c5dc Merge remote-tracking branch 'magefree/master' 2016-09-02 19:44:51 -04: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
drmDev
b81118a64d updated Watcher In the Web multiple block test. test framework does not appear to support creature blocking multiple 2016-07-20 08:36:16 -04:00
jeff
c7ef9631a0 - Fixed a few typo's. 2016-07-19 17:16:45 -05:00
jeff
871f45123a - Test for Sigarda, Host of Herons used with Merciless Executioner 2016-07-19 16:56:17 -05:00
jeff
7efc86ed76 - Test for Leyline of the Void used with the Morbid Ability. 2016-07-19 14:45:40 -05:00
jeff
300375aaac - Test for Watcher In the Web blocking multiple attackers. 2016-07-18 22:21:05 -05:00
Neil Gentleman
5e1bc1e583 implement Beasts of Bogardan
also fixed Ivory Guardians to correctly boost other Ivory Guardians, and
changed many similar cards to use OpponentControlsPermanentCondition
instead of custom Conditions.
2016-07-17 18:19:16 -07:00
michaelstephendavies
ddbd5f6514 Add Infernal Caretaker 2016-07-16 17:28:00 +02:00
drmDev
2ecadbc30b Tamiyo fixes #2078 2016-07-15 21:15:04 -04:00
drmDev
5a4c19277a more Tamiyo tests for #2078 2016-07-15 15:17:43 -04:00
drmDev
34dc1dbd89 Merge remote-tracking branch 'upstream/master' 2016-07-14 16:59:04 -04:00
drmDev
a01206823c WIP Tamiyo test for new bug... unfinished just committing so I can finish it from home 2016-07-14 16:58:06 -04:00
LevelX2
97e44d1000 Fixed two bugged tests. 2016-07-14 20:30:16 +02:00
drmDev
4d0cfb332c Minds Dilation JUnit test for #2077 2016-07-14 09:15:14 -04:00
LevelX2
ea616291e4 * Added test. 2016-07-13 17:55:32 +02:00
LevelX2
c90ab3f399 Merge origin/master 2016-07-13 17:05:36 +02:00
LevelX2
fc1a1523c5 * Gideon, Champion of Justice - Fixed that the P/T did not change if loyality counters were added after using the 0 ability. 2016-07-13 17:04:52 +02:00
drmDev
b6ecd3931b Kalitas Traitor of Ghet JUnit test for bug. see #2071 2016-07-13 08:51:47 -04:00
LevelX2
ace81d1c74 Merge origin/master 2016-07-13 12:30:59 +02:00
LevelX2
20fa414838 * Gideon, Champion of Justice - Fixed a bug that Gideon dies if its ability to make it a creature was used. 2016-07-13 12:25:54 +02:00
drmDev
336029b98d Merge remote-tracking branch 'upstream/master' 2016-07-13 06:17:34 -04:00
drmDev
e1d26e61c6 Test for Urza's Incubator bug. see #2070 2016-07-13 06:17:06 -04:00
LevelX2
87296b56c3 * Tamiyo, Field Researcher - Fixed that only one card was drawn from +1 ability if both target creatures did combat damage. 2016-07-13 11:45:31 +02:00
drmDev
0670b24f22 Reverting gideon change (no more CDA). added junit test demonstrating issue #2069 2016-07-13 05:27:32 -04:00
LevelX2
6b635d9b8c Fixed npe of tests. 2016-07-12 20:00:16 +02:00
LevelX2
e7014f385b Added tests. 2016-07-12 18:07:18 +02:00
drmDev
5754d53b3b more Tamiyo test scenarios 2016-07-12 09:47:18 -04:00
drmDev
1e13276525 Fixed Tamiyo test. confirmed bug 2016-07-12 09:20:27 -04:00
drmDev
38fd982501 WIP JUnit test for Tamiyo Field Researcher reported bug 2016-07-12 07:01:31 -04:00
Samuel Sandeen
6cf04e9bd2 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Mage.Sets/src/mage/sets/gatecrash/Hindervines.java
#	Mage.Sets/src/mage/sets/timeshifted/Darkness.java
2016-07-10 19:01:20 -04:00
samuelsandeen
f9b0befac3 Implement several cards and tests for some of the more complex cards.
This also makes a small change to AbilityImpl's handling of variable 
costs which may not be needed.
2016-07-10 18:39:42 -04:00
drmDev
4423f1e7fc the real [EMN] commit... 2016-07-09 16:48:33 -04:00
drmDev
18e8a6dc49 Merge branch 'master' of https://github.com/drmDev/mage 2016-07-08 08:51:21 -04:00
LevelX2
4522eda79c Fixed a bug of PutTokenOntoBattlefieldCopyTargetEffect causing Myriad tests to fail. 2016-07-08 12:14:38 +02:00
drmDev
16ce177143 Reflector Mage restriction effect fix 2016-07-07 20:27:49 -04:00
LevelX2
d95c13c563 * Fixed a problem of Identity Thief (fixes ##2052). 2016-07-06 16:14:51 +02:00
LevelX2
e1f6d72ee9 * Fixed a test because of changed set codes. 2016-06-04 11:22:57 +02:00
LevelX2
086d69c200 Merge pull request #1972 from gnumast/master
Text Import should detect sideboard after a single blank line
2016-06-03 08:57:40 +02:00
LevelX2
4581cfc803 * Fixed continuous effect handling of Marsh Casualities, Savage Offensive and Explosive Growth. 2016-06-02 12:47:53 +02:00
Alex Marcotte
95e4e3ea29 Text import will automatically start sideboard after a single blank line. Added a JUnit test for TxtDeckImporter. 2016-05-30 23:03:43 -04:00
Kranken
5f7d710b5e Make sure lands via hideaway respects 305.2 2016-05-28 14:07:40 +02:00
Kranken
f06e6a7bbb Make it possible to play lands using hideaway
Previously lands were not playable due to the
ignoreTimings flag being set to false.
Added checks for the hideaway rulings regarding lands.
2016-05-25 20:43:17 +02:00
LevelX2
f44987aa37 * Fixed that Suspend was handled as activated ability for increase/decrease of mana activation costs. 2016-05-22 16:02:10 +02:00
Quercitron
972d59aa37 Add user rating using Glicko rating system (#1498) 2016-05-17 17:22:14 +03:00
Nathaniel Brandes
9e4442547d Fix additional costs with Flashback. 2016-05-17 00:20:51 -07:00
LevelX2
20138891fe * Fixed that a delayed sacrifice source effect could create a null pointer exception. 2016-05-16 11:07:18 +02:00
LevelX2
88e744c04c * Some fixes to tests and sacrifice cost. 2016-05-15 20:33:06 +02:00
Nathaniel Brandes
06ec3f16ac Deprecated cards function caller move, part 2.
Now with less accidental riders.
2016-05-13 23:30:19 -07:00
Nathaniel Brandes
4b6bbacd8c Migrated some card moving callers to non-deprecated method.
Since the function the were calling just calls into the non-deprecated
method, this is a low risk change.
2016-05-13 23:20:03 -07:00
Nathaniel Brandes
43205b6f46 Fix Angel of Jubilation.
The Angel now properly only restricts the sacrifice of creatures.
2016-05-09 00:26:02 -07:00
drmDev
998b40d9cd fixed SpitemareTest 2016-05-03 13:30:06 -04:00
drmDev
4b2c4eb036 Spitemare tests for reported bug 2016-05-03 11:57:01 -04:00
Quercitron
596e2f7f19 Fix DoIfCostPaid effect when it is not optional. 2016-05-02 16:06:56 +03:00
drmDev
c34a5de186 Tests for Silverfur Partisan bug 2016-04-29 05:25:45 -04:00
drmDev
0d11a39fc4 Merge remote-tracking branch 'upstream/master' 2016-04-27 09:56:41 -04:00
drmDev
1f1eddc65e Test for Unearth bug added 2016-04-27 09:56:01 -04:00
LevelX2
08454eb12a Added some Blood Cultist tests. 2016-04-27 15:22:38 +02:00
Kenny Wottrich
6c84692a9b Add last few unused imports, which also had character encoding issues with Eclipse 2016-04-24 20:19:50 -05:00
Kenny Wottrich
f3c83d54f5 Remove Unused Imports
Delete unused java imports that cause compiler warnings
2016-04-24 19:50:29 -05:00
LevelX2
3cc6d97fbd Added test. 2016-04-24 09:38:54 +02:00
LevelX2
0c0dd82480 * Some changes to activation count and sacrifice source triggers. 2016-04-21 17:13:57 +02:00
LevelX2
eb960a34ad * Dragon Whelp - Made the activation handling more reusable friendly and object sensitive (zone change counter). 2016-04-21 11:46:02 +02:00
drmDev
7a3c15d8b8 Game of Chaos impl. Kindly Stranger test for bug 2016-04-19 09:24:42 -04:00
emerald000
8823839a42 Added framework method for copying a StackAbility without casting it.
Modified the effects doing so with the new method.
2016-04-17 23:55:11 -04:00
LevelX2
1dbba3f7a9 * Soulbond - Reworked to two triggerd abilities (fixes #1882). 2016-04-16 02:43:52 +02:00
drmDev
2e2b733ad7 Soulbond bug test - should use stack but does not 2016-04-15 17:23:23 -04:00
Derek M
a1550363d5 Merge pull request #1880 from drmDev/master
W16 fix. Eldrazi Obligator fix and test
2016-04-15 12:24:33 -04:00
drmDev
5ab54142de W16 fix. Eldrazi Obligator fix and test 2016-04-15 12:24:04 -04:00
LevelX2
22dbb1ef38 Fixed that no event was send for removing counters from players. 2016-04-15 18:01:38 +02:00
LevelX2
2b8f73dbcc * Fixed CMC calculation for transformed cards (fixes #1826). 2016-04-15 14:59:36 +02:00
drmDev
ff351f59db NightSideCMC test for SOI change 2016-04-15 06:28:42 -04:00
drmDev
cce5404a92 Stinkdrinker bandit bug fix and test 2016-04-14 16:03:32 -04:00
Fenhl
430ae503c7 Change all line endings to LF 2016-04-14 16:18:01 +00:00
LevelX2
13d9a56b7a * Jace, Unraveler of Secrets - Fixed that the emblem still doesn't counter spells (fixes #1855). 2016-04-14 17:49:08 +02:00
drmDev
57a992649e SilentSkimmer and PyreHound bug fixes 2016-04-11 11:41:55 -04:00
drmDev
7c8ac25abc Gelid Shackles implementation. PlayerStub fix 2016-04-08 15:55:25 -04:00
LevelX2
e4dcb35afa * Fixed a problem with the check what spells are castable for a player. 2016-04-08 15:45:12 +02:00
LevelX2
f56e9b1de1 * Bloodlord of Vaasgoth - Fixed that it did not apply bloodthirst properly to other vampires (fixes #1792). 2016-04-08 13:45:12 +02:00
LevelX2
481d990b41 Added test for Bloodlord of Vaasgoth bug (#1792). 2016-04-08 00:18:12 +02:00
LevelX2
a99eef5bf4 Briarbridge Patrol - Fixed that it doesn't trigger from noncombat damage (fixes #1809). 2016-04-07 23:10:42 +02:00
LevelX2
24faec3d12 The Gitrog Monster - Fixed possible null pointer exception. 2016-04-07 22:34:20 +02:00
drmDev
955781d171 Briarbridge patrol test for bug 2016-04-07 02:25:32 -04:00
Jared Hall
29eaa8280a Fixes 1796 2016-04-06 22:41:45 -04:00
LevelX2
bcdde0a945 XMage version 1.4.10v0 2016-04-06 22:56:02 +02:00
LevelX2
ebac7426dc Startled Awake - Fixed that it did not return correctly transfered after using activated ability (fixes #1700). 2016-04-06 19:30:57 +02:00
LevelX2
9c8258c54b Harness the Storm - Fixed wrong ability copy method leading to not correct functioning (fixes #1686). 2016-04-06 19:09:55 +02:00
LevelX2
709ea95a5b Merge origin/master 2016-04-06 17:11:04 +02:00
LevelX2
1dfa801d1f Manually added changes from halljared for group move events (fixes #1728). 2016-04-06 17:10:21 +02:00
drmDev
3b6b2ea432 test for reported bug - Zada and Silverfur Partisan 2016-04-06 11:03:25 -04:00
LevelX2
12ee3f7e54 * Prized Amalgam - Fixed that it was not returned to battlefield under some conditions (fixes #1704). 2016-04-06 15:09:39 +02:00
Jared Hall
0534b941cd Fixes #1696 2016-04-06 06:42:32 -04:00
LevelX2
ae932f9dd7 Fixed some transformed triggered abilities after the recent change of transform handling. 2016-04-06 00:37:29 +02:00
LevelX2
6e5a1fa826 * Archangel Avacyn - Fixed that she damages herself when she transforms (fixes #1745). 2016-04-06 00:34:55 +02:00
LevelX2
b80166664f Fixed that discard cost of Wolf of Devil's Breach was not handled correctly (fixes #1668). 2016-04-05 16:56:56 +02:00
LevelX2
8780a6101a Fixed that transformed event was triggerd while the transforming was not applied yet (e.g. Cult of the Waxing Moon - fixes #1687). 2016-04-05 15:43:50 +02:00
drmDev
df1b931014 CultOfTheWaxingMoon test for reported bug 2016-04-04 11:00:34 -04:00
drmDev
d7c18b76a2 FlamebladeAngel bug fix and tests 2016-04-04 10:41:15 -04:00
drmDev
56c5c1328a CuroseOfEchoes bug fix and test 2016-04-04 10:00:20 -04:00
drmDev
e7b80d9548 Avacyn test for reported bug. Creeping Dread efficiency improvements 2016-04-02 08:16:47 -04:00
drmDev
5b36756127 Creeping Dread tests and error checking 2016-04-01 19:52:11 -04:00
drmDev
56b4a467de FromUnderTheFloorboards card implemetnation SOI. fixed PRized Amalgam test 2016-04-01 07:00:22 -04:00
drmDev
71a0d15faf Thing in the Ice test for reported bug 2016-03-31 13:56:00 -04:00
drmDev
5ac82e657f Additional Prized amalgam test 2016-03-30 11:55:42 -04:00
drmDev
6cfd69effb Silkwrap test added for reported bug on Hangarback not getting exiled 2016-03-30 05:21:10 -04:00
drmDev
8ea813e7cd fix for Prized Amalgam triggering on opponent recurring creatures. Tests added - bug remains for Gravecrawler interaction 2016-03-30 04:46:33 -04:00
drmDev
307f59a70c Tests for still bugged Tireless Trackker and Wolf of Devils Breach 2016-03-29 09:09:35 -04:00
drmDev
4a29ae762c Welcome to the fold bug fix and tests 2016-03-28 20:20:19 -04:00
drmDev
e2edeb9fcd Briarbridge Patrol bug fix and test added 2016-03-28 14:04:09 -04:00
drmDev
97bfad470d Tests for reported bug TheGitrogMonster not triggering on lands grave 2016-03-28 12:09:08 -04:00
drmDev
4d0fb89ac9 Tests for EngulfTheShore reported bug (Not bouncing tokens) 2016-03-28 05:38:05 -04:00
drmDev
5b0272edde Asylum Visitor (SOI) and tests implementation 2016-03-28 04:51:42 -04:00
LevelX2
f7e4ed40e5 [SOI] Fixed Altered Ego if no creature to copy was selected.. 2016-03-27 18:45:45 +02:00
LevelX2
2d55447ec2 [SOI] Added Altered Ego. 2016-03-27 13:37:26 +02:00
LevelX2
ffb8656aea [SOI] Added 8 red cards. 2016-03-26 19:46:59 +01:00
LevelX2
c6f17e6569 [SOI] Added Falkenrath Gorger. 2016-03-26 14:31:11 +01:00
spjspj
3dfe9de05f spjspj - Add the 'Skip to End Step of Previous Player' button to the GamePanel and associated changes 2016-03-27 00:07:23 +11:00
LevelX2
04c8351712 [SOI] Fixed some cards. 2016-03-26 02:17:14 +01:00
drmDev
a66e64f595 Mulldrifter tests for reported bug 2016-03-24 06:17:47 -04:00
LevelX2
285cff0b33 * Disrupting Shoal - Fixed that the target spell was not countered if the spell was cast with the regular mana costs. 2016-03-21 11:00:02 +01:00
LevelX2
916836d0c9 * Fixed a problem with creatures forced to block while not able to do because the attacker has restrictions (e.g. menace). 2016-03-20 10:27:57 +01:00
LevelX2
672ac28931 * Voice of Resurgence - Fixed a bug that the dies trigger did not work correctly if Voice of Resurgence was copied e.g. by a Phantasmal Image. 2016-03-20 09:05:39 +01:00
drmDev
72fad81bd5 Test for Breaker of Armies with Menace, reported bug. 2016-03-17 10:33:40 -04:00
drmDev
ea961d3cfc whoops... fix test 2016-03-17 08:28:28 -04:00
drmDev
eb9747d0d1 tests for reported bug Rabid Elephant. typo fixes 2016-03-17 08:21:36 -04:00
LevelX2
6c141a1f3e Fixed color identity evaluation not checking second card face. 2016-03-15 11:54:11 +01:00
LevelX2
272f68b530 Fixed handling of DontUntapInControllersNextUntapStepTargetEffect (fixes Sleep bug). 2016-03-14 18:15:57 +01:00
LevelX2
ad637a2944 * Fixed CAST_SPELL_LATE event (e.g. used by Reflector Mage) to only fire for cast events. 2016-03-14 13:41:12 +01:00
drmDev
79c4798ff9 Renamed Thought-Knot Seer tests to match conventions. 2016-03-14 02:54:10 -04:00
drmDev
72cbaaf3ab Tests for Thought-Knot Seer reported bug 2016-03-14 02:27:32 -04:00
LevelX2
436c82d25a * Manor Gargoyle - Fixed that the lose of defender ability did not stop it having indestructibility. 2016-03-12 10:31:12 +01:00
jeff
1bff8d1f70 - Removed irrelevant note from test. 2016-03-11 11:23:50 -06:00
LevelX2
ba6b6093c3 * Fixed that dies trigger were not always handled correctly if the creature with the triggered ability was sacrificed for paying a cost (fixes #1426). 2016-03-11 17:17:51 +01:00
LevelX2
a38216ccf2 Added test. 2016-03-10 17:07:45 +01:00
LevelX2
16330ff474 Some minor changes. 2016-03-10 16:53:39 +01:00
LevelX2
4b0d027847 * Fixed a bug were copied abilites (e.g. by Progenitor Mimic) did not use the correct controller after the control of the copying permanent changed (e.g. by Capitivating Vampire). 2016-03-10 00:54:54 +01:00
LevelX2
3184252d54 * Flashback - Fixed that exile effect was not removed after applied. 2016-03-10 00:09:50 +01:00
LevelX2
d7ae1c51c9 Added test. 2016-03-07 18:30:58 +01:00
LevelX2
0a31a8b479 Fixed a problem with Tokens of the CopyEffect (e.g. with Essence of the Wild and Back from the Bring in play). 2016-03-07 17:34:03 +01:00
LevelX2
b86dd17c54 * Widespread Panic - Fixed that it also triggered if the library was shuffled by an ability controlled by another player (e.g. Knowledge Exploitation). 2016-03-07 16:16:59 +01:00
LevelX2
29b37b046d Fixed some trap cards and removed old AlternateCostImpl. 2016-03-06 19:41:30 +01:00
drmDev
3e12590d9b Additional test for sources of differing colors 2016-03-06 08:57:37 -05:00
drmDev
7cc6de86ad Card implementation and tests for CircleOfAffliction 2016-03-06 08:40:32 -05:00
LevelX2
41af3e9d4a * Disrupting Shoal - Fixed that the converted mana costs of split cards were not handled correctly. 2016-03-05 10:33:27 +01:00
drmDev
82225e7b85 Optional Sacrifice tests for Glint Hawk and Drake Familiar 2016-03-04 12:48:33 -05:00
LevelX2
080a1b883c Wild Pair - fixed condition handling. 2016-03-04 12:21:47 +01:00
drmDev
f1bbc16a75 Fixed disrupting shoal test for CMC 5 2016-03-03 20:33:50 -05:00
drmDev
f05afca73d Disrupting Shoal tests for fuse cards (reported bug) 2016-03-03 20:10:27 -05:00
LevelX2
c3f32a39bd Merge. 2016-03-03 23:19:45 +01:00
LevelX2
527bb2a492 Modified Blood Moon test. 2016-03-03 10:21:11 +01:00
drmDev
db2784ff5d Tests for reported bug on Skyline Cascade. 2016-03-02 22:29:42 -05:00
drmDev
50e1828d41 tests for Blood Moon and Pithing Needle interactions 2016-03-02 19:33:51 -05:00
drmDev
a9214e6d35 unit tests for Dread Cacodemon Cast from hand and Not Cast from hand 2016-03-01 18:45:21 -05:00
LevelX2
b19b43c4c8 * Scion of Vitu-Ghazi - Fixed that conditional trigger was not handled correctly. 2016-03-01 15:39:37 +01:00
LevelX2
739b7d6535 Added a test for Serra Ascendant and Commander FFA. 2016-02-28 19:00:41 +01:00
LevelX2
0f1839af56 Reworked some trap cards using old AlternateCosts class. 2016-02-27 23:44:59 +01:00
LevelX2
2613e3113f Added some tests. 2016-02-26 00:55:31 +01:00
LevelX2
288d951ae7 * Fixed Eldrazi Mimic test failing sometimes. 2016-02-25 22:29:28 +01:00
LevelX2
9f35637e6d Fixed that a planeswalker that left the battlefield was not correctly removed from combat. 2016-02-25 21:41:38 +01:00
LevelX2
df98b4e0af * Fixed a bug with time stamp order and change of basic land type (e.g. Blood Moon and Spreading Seas). 2016-02-25 17:08:17 +01:00
LevelX2
8e671fecaa Added a test. 2016-02-25 00:25:33 +01:00