Commit graph

3169 commits

Author SHA1 Message Date
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
LevelX2
7084748226 * Fixed a bug that token permanents were not bounced to hand (related to Reduce to Dreams, Whelming Wave, Part the Veil, Retract, Inundate, AEtherize, Dromar the Banisher, Thousand Winds, Crush of Tentacles, Upheaval, Waterspout Elemental, Kederekt Leviathan, Denizen of the Deep, Llawan Cephalid Empress). 2016-02-24 10:55:30 +01:00
LevelX2
7aa0ff1f13 Fixed a bug if EntersBattlefieldAllTriggeredAbility. (Fixed the Eldrazi Mimic bug). 2016-02-21 23:22:17 +01:00
LevelX2
a87bb6f5e6 Added a test (#1544). 2016-02-21 10:52:23 +01:00
LevelX2
cf3488d5e5 * Guilded Drake - Fixed that the sacrifice did not happen if the target creature for exchange is no longer a valid target during resolution (fixes #1546). 2016-02-21 10:20:26 +01:00
LevelX2
53f48a6602 * Containment Priest - Fixed that it also did exile permanents that entered the battlefield transformed and the transformed permanent was no creature (e.g. flipwalker). 2016-02-18 16:52:57 +01:00
LevelX2
ff52fcd588 * Essence of the Wild - Fixed that the copy effect did not work correctly. 2016-02-17 15:52:09 +01:00
LevelX2
f54c675c4b * Fixed a bug of colorless mana (e.g. caused Heartbeat of Spring not working with Urza's lands). 2016-02-16 17:15:47 +01:00
LevelX2
74799d286b * Improved mana source check. Fixed #1513. 2016-02-14 18:31:02 +01:00
LevelX2
6726f48669 * Fixed a bug of spell copy that caused that added spliced spells were not copied. 2016-02-14 13:42:46 +01:00
LevelX2
eb3531c8bf Added another myriad test. 2016-02-13 12:49:37 +01:00
LevelX2
1c3c8cafe6 * Eldrazi Mimic - Fixed that the P/T was not set if the triggering permanent left the battlefield meanwhile. 2016-02-13 12:09:08 +01:00
LevelX2
e5812a850b * Lightning Storm - Fixed that opponents of the caster can't activate the ability on the stack. 2016-02-08 23:40:32 +01:00
LevelX2
9221e4eb64 * Overload - Fixed that cmc of spells cast with overload were calculated wrongly with the overload costs. 2016-02-08 20:16:53 +01:00
Quercitron
741c20afd8 Added Needle Drop. 2016-02-07 16:51:33 +03:00
LevelX2
687ab7ec6b Added some tooltips to user table headers. History is shown in tournament player table now. Changed ratio column to numberic format. 2016-02-06 21:22:51 +01:00
LevelX2
6a0554966e Added deck format test. 2016-02-04 23:53:07 +01:00
LevelX2
a796fe5adb * Flashback - Fixed that spells without mana costs (e.g. Ancestral Vision) wrongly could be cast by flashback (fixes #1510). 2016-02-03 00:22:29 +01:00
LevelX2
43460c1256 * Fixed a bug of CastOnlyDuringPhaseStepSourceEffect that allowed players to cast spells in not allowed phases/steps (e.g. Chaotic Strike and Aleatory). 2016-02-02 15:01:03 +01:00
LevelX2
7b326685c1 * Lymph Sliver - Fixed that the absorb ability was applied for every creature on the battlefield. 2016-02-02 13:28:21 +01:00
icetc
cc7b7ec2a2 Added card Okk. Incluedes a new restriction effect called "canBlockCheckAfter", an update to the combat sequence where this restriction is taken into considiration and a new test which assert the behaviour of the effect. 2016-02-01 13:36:56 +01:00
LevelX2
78ac6688ea Some tests and minor changes. 2016-01-31 09:51:23 +01:00
LevelX2
3f898aa67b * Quicken - Fixed possible null pointer exception. 2016-01-30 11:38:08 +01:00
LevelX2
bb9dd1600e Added some tests and minor changes. 2016-01-30 01:14:17 +01:00
LevelX2
8c9c4421cd * Lignify - Fixed that existing subtypes of the enchanted creature were not removed. 2016-01-29 22:18:34 +01:00
LevelX2
768d7f1ceb Added a test. Some minor changes. 2016-01-29 15:24:48 +01:00
LevelX2
d1bbb9bfe7 Fixed a bug of OnOpponentsTurnCondition (used by Illusionist's Gambit, Wake the Dead, Siren's Call,
Reset) fixes #1501.
2016-01-28 21:44:02 +01:00
LevelX2
cb7becdeca Fixed that the Genju enchantments did not return to hand from graveyard. 2016-01-28 17:30:58 +01:00
LevelX2
c4868cfa99 * Fixed a bug that put back auras always under owners control instead of abilities controller (e.g. triggered ability of It That Betrays). 2016-01-27 00:23:28 +01:00
LevelX2
d2031d81f3 Added test. 2016-01-26 10:39:51 +01:00
Quercitron
c3624d5bce Fix that Brutal Expulsion don't send damaged planeswalker to exile (fixes #1489). 2016-01-26 02:55:21 +03:00
LevelX2
85bfa29c9f Added missing method for PlayerStub. 2016-01-23 17:05:54 +01:00
LevelX2
a507cc88a1 Added missing delegation method for TestPlayer. 2016-01-23 17:00:46 +01:00
LevelX2
1dbd3ea41c Added 3 cards. 2016-01-23 01:27:39 +01:00
LevelX2
ecedc360e9 Fixed some cards that did not correctly retrieve target object if it was not destroyed (fixes #1486) . 2016-01-22 12:56:58 +01:00
LevelX2
9ebc2d5991 * Tatterkite - Fixed that it was not prevented to add counters if the counters were added while Tatterkite entered the battlöefield (e.g. Undying). 2016-01-21 17:44:30 +01:00
LevelX2
a0f6a1bee9 Added missing method to TournamentSub test. 2016-01-20 22:22:34 +01:00
LevelX2
c2b91bfd61 Added surge test. 2016-01-15 23:33:36 +01:00
LevelX2
56485d7ee6 * Fixed a bug of block requirement check. 2016-01-15 22:59:29 +01:00
LevelX2
6396adaf9d * Fixed a bug that conditional colorless mana was not removed from mana pool if mana pool was emptied. 2016-01-13 17:54:48 +01:00
LevelX2
52d8fce569 * Clutch of Currents - Fixed wrong target handling. 2016-01-12 15:38:44 +01:00
LevelX2
d8128d3741 * Adding some tests and minor changes to commander code. 2016-01-10 23:49:53 +01:00
LevelX2
688fe42f90 Set failing tests to ignore. 2016-01-10 22:13:07 +01:00
LevelX2
89350f1a91 [OGW] Added Oath of Gideon, Wall of Resurgence and Cultivator Drone. 2016-01-10 12:02:46 +01:00
LevelX2
c8f82b49ff Added possibility to check kind of cost to pay for conditional mana use. 2016-01-10 12:01:58 +01:00
LevelX2
782190bac3 Some changes to mana handling to handle {C} mana. 2016-01-08 23:25:42 +01:00
LevelX2
0e4de763d8 * Splinter Twin - Fixed that no token was created if the enchnated permanent left battlefield meanwhile (fixes #1429). 2016-01-08 15:07:41 +01:00
LevelX2
e9f58d20a5 * Fossil Find - Fixed card movement handling. 2016-01-06 22:11:09 +01:00
LevelX2
4f2c21a146 * Fixed a bug that target event was wrongly created if effects like chnage target of Spellskite didn't change the target. 2016-01-02 16:31:42 +01:00
LevelX2
7676c5e894 [OGW] Added General Tazri and Stone Haven Outfitter. 2016-01-01 14:10:40 +01:00
LevelX2
554e81a462 * Hideaway - Fixed that the face down card played by hideaway was not correctly set face up again. 2015-12-31 12:05:08 +01:00
LevelX2
9f22eb0688 * Fixed that cards without cost (e.g. Ancestral Vision) could be cast from graveyard (e.g. by using Yawgmoth Will). Fixed that cards could be suspended from graveyard (e.g. with Yawgmoth Will). 2015-12-31 11:01:52 +01:00
LevelX2
af5ff0f407 [OGW] Fixed Surge to work with triggered abilities of permanents. 2015-12-30 11:24:55 +01:00
Quercitron
c73cee90a5 * Laquatus's Champion - Fix that player didn't get life when Laquatus's Champion left the battlefield 2015-12-30 02:03:44 +03:00
Quercitron
88ca1ec1b0 Fix player targets processing in tests 2015-12-30 01:54:51 +03:00
LevelX2
dcfb593059 * Added a test. 2015-12-25 16:14:58 +01:00
LevelX2
e7e290e787 * Archfiend of Depravity - Outcome tweaked for AI behaviour. 2015-12-25 11:45:55 +01:00
LevelX2
eb0ae55257 * Fixed a problem with "put into the graveyard from anywhere triggers" that checked wrongly the state of the source object on the battlefield if went to graveyard itself. 2015-12-24 17:58:04 +01:00
LevelX2
aecb2c8829 [OGW] Added surge and Crush of Tentacles. 2015-12-24 10:02:11 +01:00
LevelX2
c83f906525 * Fixed some cards doing preventable non combat damage but handled the damage wrongly as non preventable combat damage. 2015-12-23 16:38:56 +01:00
LevelX2
131d3af759 * Started adding the new colorless mana {C}. Not finished yet but the exception is removed. 2015-12-16 12:40:10 +01:00
LevelX2
aa07fcecd5 * Fixed a bug that P/T set of target animated lands (e.g. by Awaken) were set in the wrong sublayer so that the P/T of self animated lands (e.g. Shambling Vent) were always overwritten desite their ability time stamp. 2015-12-16 12:36:09 +01:00
LevelX2
855ac6e4e1 * Hallowed Moonlight - Fixed a bug in the way cards were moved to exile. 2015-12-14 23:26:16 +01:00
LevelX2
803b948a66 Added a test. 2015-12-14 12:16:17 +01:00
LevelX2
ac7cd27f34 * Added test and some minor changes. 2015-12-13 19:18:26 +01:00
LevelX2
ae34fd795a * Savage Summoning - Fixed that the +1/+1 counter was not added. 2015-12-13 18:10:55 +01:00
LevelX2
8b5272cb64 * Fixed a problem that the controller of triggered abilities was set to a false value if the source object of the triggered ability was removed from battlefield at the same time as other objects (fixes #1417). 2015-12-12 17:36:12 +01:00
fireshoes
692fe8046e Merge origin/master 2015-12-11 16:13:39 -06:00
fireshoes
636f2d960e Updated text of cards that add colorless mana to use {C}. Added ExileSourceUnlessPaysEffect. Added some random cards. 2015-12-11 16:12:46 -06:00
LevelX2
0488da6b22 * Amoeboid Changeling, Wings of Veles-Vel - Fixed that the character types were changed on the wrong layer. 2015-12-08 15:24:24 +01:00
LevelX2
4d01eb143a Redesigned handling of attack allowed check related to the complete attack. 2015-12-08 12:20:37 +01:00
LevelX2
15a884c00c * Added a test. 2015-12-07 17:19:37 +01:00
LevelX2
259d6744ae * Fixed that casting spells without mana costs did not work correctly for spells with mono hybrid mana costs (e.g. Beseech the Queen by Omniscience) fixes #1404. 2015-12-06 09:37:45 +01:00
LevelX2
74d2ff0316 * Perplexing Chimera - Fixed that the control effect was not discarded as Perplexing Chimera changed zone. 2015-12-04 19:00:10 +01:00
LevelX2
0af5ed4e7b * Chandra's Phoenix - Fixed check for source object doing damage to opponents. 2015-12-03 16:36:30 +01:00
poixen
46eb6c0525 Restructured Mage module 2015-11-29 21:56:49 +01:00
Neil Gentleman
bfb428b13a always use log4j
removed all references to mage.util.Logging, java.util.logging

transient static doesn't mean anything, since static fields are never
included in serialization
2015-11-28 21:11:25 -08:00
Quercitron
28a087812a Add comments to Turntimber Basilisk test 2015-11-29 00:31:38 +03:00
Quercitron
b9add2e041 * Turntimber Basilisk - Fix a bug when a creature that must be blocked is not attacking 2015-11-29 00:19:21 +03:00
LevelX2
d94a2712ba * Fixed a bug that a dies ability did still trigger as the stack was not cleared meanwhile. 2015-11-28 12:52:13 +01:00
LevelX2
f23756c20b * Fixed that DiesThisOrAnotherCreatureTriggeredAbility did not work if the source died itself (e.g. Omnath, Locus of Rage). 2015-11-27 12:27:46 +01:00
LevelX2
eb6a5e7dcb * Some rework of play card effects. 2015-11-26 17:06:50 +01:00
LevelX2
780702be1b * Fixed some problems with replaced play land special action. 2015-11-26 10:48:40 +01:00
LevelX2
e51c4d5f67 * Fixed a bug where wrongly a card object was moved for a copied spell. 2015-11-26 00:48:28 +01:00
poixen
3ffb11d2e9 Updated mana class to pass failing tests 2015-11-25 19:57:11 +01:00
LevelX2
b637d2c65c * Fixed layer problem of BecomesCreatureSourceEffect (causes Chimeric Mass to die after entering the Battlefield). 2015-11-25 14:51:41 +01:00
LevelX2
62992d46db Fixed the sometimes failing Evolve test. 2015-11-25 14:50:27 +01:00
Neil Gentleman
f83cb32ed3 don't use <i/> to end italic text
it's not correct html, and causes all following text to render italic.

only visible on a few cards, because reminder text typically comes at
the end of line.
2015-11-25 00:32:00 -08:00
LevelX2
db669f02d5 * Zada, Hedron Grinder - Fixed that the spell copy target setting did not work correctly for targets that optional allowed more than one target creature (e.g. spells with Strive). 2015-11-24 17:07:52 +01:00
LevelX2
d65b236d0a Added some tests. 2015-11-24 16:37:43 +01:00
LevelX2
8c0b615faf Merge pull request #1380 from poixen/evolveTestFix
Fixed broken evolve test
2015-11-24 09:08:22 +01:00
Neil Gentleman
085b00499c fix Grinning Totem
the exiled card wouldn't be put in its owner's graveyard if Grinning Totem
changed zones before the delayed trigger

any cards using CardUtil.getCardExileZoneId for delayed effects are likely
broken in the same way
2015-11-22 18:40:46 -08:00
Neil Gentleman
230d1d37bd fix Grinning Totem, Thada Adel, Commune with Lava
opponent was able to cast the exiled cards

also changed Knacksaw Clique to use the same templating as Ornate Kanzashi
2015-11-22 18:40:38 -08:00
Neil Gentleman
f06de472a4 fix Hostility
was preventing damage to opponents regardless of source
2015-11-22 18:00:28 -08:00
Neil Gentleman
038d02e8d7 add test for non-standard booster generation 2015-11-21 18:35:10 -08:00
LevelX2
96bc3172f5 * Fixed a problem of returning cards from exile (e.g. Fiend Hunter) if the triggering permanent made multiple zone changes before the left battlefield triggered ability resolved to return the exiled permanents. 2015-11-21 23:41:41 +01:00
poixen
b0da2f2260 Merge pull request #1378 from poixen/mana_cleanup
Removed minus subtraction limits
2015-11-21 12:06:02 +01:00
poixen
a5242ff087 resolved conflicts 2015-11-21 12:02:55 +01:00
poixen
bb8137c81a Fixed broken evolve test
As mentioned in the test comments:

“* I take two Ivy Lane Denizen on to the stack and then Renegade
Krasis's Evolve
     * Ability, so resolving Renegade Krasis's Evolve Ability is first
. (Maybe
     * Ivy Lane Denizen's target is any.) When Renegade Krasis's Evolve
Ability
     * resolves, +1/+1 counter is placed on it, but doesn't triggers
Renegade
     * Krasis's second ability.”

This means that Renegade dent put a counter on Adaptive, as the ivy +1
triggers are still on the stack
2015-11-21 00:12:23 +01:00
poixen
f2972c5b8e Updated Phyrexian Mana
+ “A Phyrexian mana symbol represents a cost that can be paid either
with *one mana of its color* or by paying 2 life”. These symbols are
mono colored, as such I have made them so.
+ Added test cases for phyrexian mana symbols
2015-11-20 22:43:26 +01:00
poixen
6138af0ffb Added Snow Mana Test
+ Added test case for snow mana
2015-11-20 22:29:49 +01:00
poixen
09ea717ed3 Added Hybrid Mana Tests
+ Added hybrid mana test cases
2015-11-20 22:24:55 +01:00
poixen
f34e69308e Updated mono colored hybrid mana type
+ “107.4e. Hybrid mana symbols are also colored mana symbols.” I have
added the Type COLORED to each mono hybrid symbol
+ added tests for hybrid mana symbols
2015-11-20 22:07:24 +01:00
poixen
f6cc03ec44 Added W mana test case
Added U mana test case
Added B mana test case
Added R mana test case
Added G mana test case
2015-11-20 20:59:52 +01:00
poixen
56be135532 Removed minus subtraction limits
+ Removed minus subtraction limits to allow other areas of code to work
2015-11-20 17:22:48 +01:00
LevelX2
8a133a43d0 Added test for Mana.enough method. 2015-11-20 15:06:00 +01:00
Quercitron
7e58dc70d5 Update Swiss tournament pairing - For the last round, for each unpaired player pair against the highest ranked player they haven't played against 2015-11-20 02:54:50 +03:00
LevelX2
b30a6c4b15 * Cryptoplasm - Fixed that the copied creature did not have the triggered ability (fixes #1367). 2015-11-19 23:28:12 +01:00
LevelX2
c4ab5806e0 Revert "Mana Class Overhaul" 2015-11-19 22:59:57 +01:00
LevelX2
68ff09c219 Revert "Mana updates" 2015-11-19 22:59:15 +01:00
LevelX2
f4871fe489 Merge pull request #1375 from poixen/mana_cleanup
Mana updates
2015-11-19 22:37:14 +01:00
poixen
05b841577a added subtraction logic to enough()
+ added subornation logic to enough(). We do not want to mix the public
subtract() call with this method. As doing so would mean that either a)
subtraction can go below 0 (this should not happen) or b) we break this
function with exceptions. This is a work around for these scenarios.
2015-11-19 17:42:59 +01:00
poixen
2c617a6aaf Mana updates
+ calling subtraction will now throw an exception if you try and use
more mana than is available. This is better than setting it to 0.
Setting to 0 impose that you should still be allowed to perform the
action.
+ updated subtraction test to check for exception
+ subtractionCost() will not allow using mana that is not available,
same as subtract()
2015-11-19 17:09:40 +01:00
LevelX2
ec7c888044 Some fixes to put token onto battlefield handling of cards. Some minor reworks. 2015-11-19 15:52:45 +01:00
LevelX2
7bb5d1bb43 Merge pull request #1374 from poixen/mana_cleanup
Mana Class Overhaul
2015-11-19 14:37:39 +01:00
Quercitron
486d547f5e Fix Swiss pairing for the case when some players have left the tournament 2015-11-19 13:18:43 +03:00
poixen
1f5638539f Class Overhaul
+ added javadoc
+ added final to method variables that should not be mutated
+ Mana can no longer be initialised with minus values
+ added null assertions
+ renamed ‘addXXX’ to ‘increaseXXX’. Add implies that you are able to
add variable amounts.
+ subtraction can no longer allow minus values.
+ removed unused state
+ refactored classes use renamed/removed mana calls
+ added comment to contains(), needs to be looked into?
+ Added validation to setting of mana. Can no longer be set to minus
values. Will log if an attempt is made
+Added comment to static mana, this is unsafe.
2015-11-19 09:53:52 +01:00
Quercitron
05a789cd8b Use approach with minimal weight matching to determine Swiss tournament pairings 2015-11-19 02:58:02 +03:00
LevelX2
7044e58231 [C15] Added Scourge of Nel Toth. 2015-11-18 17:39:32 +01:00
LevelX2
70bce1c082 * Void Winnower - Fixed that the check for even casting costs did not work correctly. 2015-11-14 11:24:26 +01:00
LevelX2
d3000da3a3 * Void Winnower - Fixed that the check for even casting costs did not work correctly. 2015-11-14 11:14:50 +01:00
LevelX2
50b5602459 * Conflagrate - Fixed that the damage amount could be calulated if cast by flashback. 2015-11-14 10:01:13 +01:00
LevelX2
1335d58e77 * Collapsing Borders - Fixed that it did not give life to players. 2015-11-14 02:33:24 +01:00
LevelX2
4711e0cf99 Changed ability handling of modal spells to be able to select the same mode multiple times with different targets. 2015-11-14 01:56:56 +01:00
LevelX2
431d0005f2 Updated modes to handle selection of modes multiple times (not working yet if targets included). 2015-11-08 20:07:02 +01:00
LevelX2
6f2d3a18c0 [C15] Added Myriad keyword. 2015-11-08 11:51:36 +01:00
LevelX2
f3e8a93316 * Renegade Krasis - Fixed that check if Renegade Krasis was evolved did not always work correctly. 2015-11-07 21:21:03 +01:00
LevelX2
b1c3d690f5 * Fixed some ability and subtype removing effects (fixes #1352). 2015-11-07 12:29:31 +01:00
LevelX2
27ae613ce8 * Fixed handling of zoneChangeCounter of PermanentCard (fixes #1353). 2015-11-06 12:28:58 +01:00
LevelX2
3de7ff6808 * Some rework of card moving after spell countering. 2015-11-05 00:37:30 +01:00
LevelX2
1139495fd7 * SetPowerToughnessSourceEffect - Set the correct sublayer to use (fixes #1354). 2015-11-04 22:31:35 +01:00
LevelX2
af18f95bba Minor changes. 2015-11-04 17:16:45 +01:00
LevelX2
54d28550b4 Added a test. 2015-11-04 12:28:48 +01:00
LevelX2
2e49a74aab * Fixed test with Flashback and converge. 2015-10-31 10:32:45 +01:00
LevelX2
3beb5568c4 * Karn Liberated - Fixed that commanders were not returned to command zone after game reset. 2015-10-31 00:55:12 +01:00
LevelX2
e0c1492f88 * Fixed a problem that the AI was locked if a attack fee has to be paid but the AI was not able to pay the costs. 2015-10-30 22:34:42 +01:00
LevelX2
2153d5ccf5 * Fixed that for spells cast with flashback values calculated from the paid mana (e.g. Converge) did not work correctly. 2015-10-30 00:30:53 +01:00
LevelX2
d79776e589 * Added some tests. 2015-10-28 17:05:58 +01:00
Neil Gentleman
0c988de9fb fix Impelled Giant 2015-10-27 20:24:57 -07:00
LevelX2
5c31b03c00 * Fixed a problem that ability controller of replacement effects for cards entering the battlefield were not changed early enough (e.g. causing problem if putting Canopy Vista of opponent with Oblivion Sower onto th ebattlefield). 2015-10-27 17:55:38 +01:00
Toby Lawrence
d42e5fed78 Razorverge Thicket should enter untapped only if you control two or less lands. 2015-10-25 17:58:20 -04:00
LevelX2
f14cbb7f36 * Fixed a bug with removing spells from stack (e.g. Split Second had some problems) fixes #1333. 2015-10-23 18:25:36 +02:00
LevelX2
92bcd0d522 * Changed some more card movement handling. 2015-10-22 23:02:07 +02:00
LevelX2
2aaea46dc6 * Fixed that the exile and return effect of the flip planeswalker did not always work correctly. 2015-10-22 15:38:50 +02:00
LevelX2
af67e27bcd * Alesha, Who Smiles at Death - Fixed that the move card to battlefield worked not correctly. 2015-10-22 15:37:58 +02:00
LevelX2
4629366ae7 * Fixed that spells without mana costs but suspend could be cast with no mana (e.g. Ancestral Vision). 2015-10-21 20:16:52 +02:00
LevelX2
d906fc8c00 * Fixed that damage redirection to planeswalker did cause an exception. 2015-10-21 15:35:58 +02:00
LevelX2
d20bbcfe0b * Fixed that permanents brought onto battlefield by search abilities were always tapped. 2015-10-21 15:14:20 +02:00
LevelX2
701a722904 * Fixed some redirect effect sthat were implemented as prevention effects (fixes #1216). 2015-10-20 22:58:24 +02:00
LevelX2
d58288da6d Some changes to RedirectionEffect class. Fixed that Harm's Way and Shaman en-Kor prevented the damage instead of only redirecting the damage. 2015-10-20 17:16:13 +02:00
LevelX2
606bf4d6e0 * Fixed that it was not possible to play spells without costs with alternative costs (e.g. Ancestral Visions with Omniscience). Fixed that playing spells with alternate costs did also remove additional costs (e.g. card with entwine cast with Omniscience). 2015-10-20 00:44:32 +02:00
LevelX2
7c35a69360 * Fixed a bug that if copied spells should be shuffled into the library the original spell was removed from the stack. 2015-10-19 22:36:28 +02:00
Neil Gentleman
3817118bc0 Fix 'Of', 'By' and 'The' in card names 2015-10-19 00:44:26 -07:00
LevelX2
415700ccb2 * Some more changes for rework of ENTERS_THE_BATTLEFIELD event and card movement. 2015-10-18 23:33:23 +02:00
LevelX2
4216fbab8c * Some more changes for tework ENTERS_THE_BATTLEFIELD event for replacement effects. 2015-10-18 11:11:48 +02:00
LevelX2
d145885d2d * Sylvan Library - Fixed that a player that controlled a Sylvan Library from another player was not forced to play life for cards he kept from Sylvan Library's triggered ability (fixes #1307). 2015-10-18 10:21:12 +02:00
LevelX2
4243a1d3a3 Merge origin/master
Conflicts:
	Mage.Sets/src/mage/sets/gatecrash/MasterBiomancer.java
2015-10-17 16:33:05 +02:00
LevelX2
59ef2a2889 * Reworked ENTERS_THE_BATTLEFIELD event for replacement effects. Some rework to card movement. 2015-10-17 16:30:28 +02:00
LevelX2
597d530a37 Some minor changes. 2015-10-16 15:03:40 +02:00
LevelX2
d264dd83e1 * Replaced some custom card effects. Updated enters battlefield replacement effects for new handling. 2015-10-15 23:47:06 +02:00
LevelX2
046da0f5d1 * Some changed to card moving (not finished) 2015-10-15 08:32:58 +02:00
LevelX2
52d0adcac1 Fixed some problems with UUID comparing and some problems with card moving. 2015-10-14 17:54:55 +02:00
LevelX2
e166018027 * Fixed that continuous effects were not yet applied to lands entering the battlefield (preventing Prismatic Omen and Valakut the Molten Pinnacle combo to work). 2015-10-13 22:35:50 +02:00
LevelX2
00f48b005d Added test. 2015-10-12 23:50:29 +02:00
LevelX2
288a1ec02c * Oath of Lieges - Fixed target handling (fixes #1312). 2015-10-12 23:10:16 +02:00
LevelX2
303362fa12 * Paradox Haze - Fixed that check if a step is the first upkeep step of a turn did not work always correctly (fixes #1313). 2015-10-12 17:35:04 +02:00
LevelX2
aa525bf0d2 Merge origin/master 2015-10-12 09:12:22 +02:00
LevelX2
8dd9fbea40 Conspire - The player is now asked to use conspire only if he is able to pay the tap costs. 2015-10-11 23:56:29 +02:00
LevelX2
981a27ccbf * Fate transfer - Fixed that +1/+1 or -1/-1 counters on target permanent were not applied. 2015-10-11 18:13:14 +02:00
LevelX2
8b8097878c * Reworked/Cleaned card movement handling. 2015-10-11 03:52:38 +02:00
LevelX2
819d341fbb * Nissa, Sage Animist - Added test for +1 ability. 2015-10-09 14:55:39 +02:00
LevelX2
987280c4e7 * Blizzard Specter - Fixed that the seond mode (discard) did not work. 2015-10-09 14:22:21 +02:00
LevelX2
d8cf0d7a4b Fixed that land enchantments that caused the enchanted land to become a basic land type removed wrongly other card types than Land and non basic land subtypes (e.g. Spreding Seas enchanting animated Blinkmoth Nexus). 2015-10-09 00:13:41 +02:00
LevelX2
cb250a065a Fixed that triggered abilities from sacrificed permanents did also trigger if the permanent was face down before the sacrifice. 2015-10-07 17:47:25 +02:00
LevelX2
f24a1b3898 * Fixed check of dies attched triggered abilities not always triggering if attachment and attached object went to graveyard at the same time. 2015-10-03 19:23:58 +02:00
LevelX2
85f0cc6bb3 Fixed variable remove counter costs to work also correctly if X=0 (e.g. Retribution of the Ancients and Willbreaker). 2015-10-03 18:22:14 +02:00
LevelX2
f6ec543b1b TestPlayer fixed that target events created by RestPlayer are reset back if ability activation failed. 2015-10-03 18:20:59 +02:00
LevelX2
7b68604471 Some changes/fixes to conspire ability. 2015-10-03 13:33:22 +02:00
emerald000
435eb49b58 Added missing Licids + tests (including 2 failing tests). 2015-10-02 23:38:11 -04:00
LevelX2
63c6aa226a * Spellskite - Fixed a bug that wrong log message was written if target was chnaged from a player to spellskite. 2015-10-01 22:01:49 +02:00
LevelX2
4b41628032 * Added test. 2015-09-30 16:58:03 +02:00
LevelX2
8044940a97 * Fixed a bug that if all targets (if targets were set) of a spell with an up to target definition (e.g. Adverse Conditions) became illegal the spell did not fizzle as it should. 2015-09-30 00:53:33 +02:00
LevelX2
0d755b3c89 Some minor changes. 2015-09-29 17:37:51 +02:00
LevelX2
6cc2ac0e70 * Zada, Hedron Grinder - Fixed a bug with checking and copying modal spells. 2015-09-28 19:27:51 +02:00
LevelX2
0680560225 * Compost - Fixed that it triggered for all cards going to opponents graveyard (instead of only black cards). 2015-09-28 15:14:50 +02:00
LevelX2
7650f53dee * Rosheen Meanderer - Fixed that the created conditional mana could only be used for spells. 2015-09-27 10:29:30 +02:00
LevelX2
9e1111748d * Enslave - Fixed that the set source of the damge was wrong. 2015-09-27 09:23:40 +02:00
LevelX2
f22fb380b7 * Reaper of Sheoldred - Fixed that damage was sometimes dealt to Reaper of Sheoldred controller. 2015-09-27 01:21:47 +02:00
LevelX2
46fa935172 * Emrakul, the Aeons Torn, Ulamog, the Infinite Gyre, Kozilek, Butcher of Truth - Fixed that the shuffle graveyard to library was wrongly done for the controller of instead the owner. 2015-09-27 00:22:51 +02:00
LevelX2
822528d05c * Splice onto Arcane - Fixed that an arcane spell with no targets did not fizzle if a targeted spell was spliced with it that has no more legal targets on resolution (so all targets of the spell were illegal). 2015-09-21 17:57:27 +02:00
LevelX2
b2ff7ac380 * Monocolor hybrid mana - Fixed that the payment did not always try to pay the colored cost if possible. 2015-09-20 19:13:18 +02:00
LevelX2
391d247e7c * Brutal Expulsion - Fixed that also spell targets were handled correctly. 2015-09-20 10:31:14 +02:00
LevelX2
5a8ca36916 * Ondu Rising - Fixed that the attacking creatures did not get lifelink. 2015-09-20 09:25:25 +02:00
LevelX2
391b766b6e Some minor changes. 2015-09-16 15:45:38 +02:00
LevelX2
8f64a2ab54 * Fixed that a player doing a library search with a stated quality (701.15b) couldn't fail to find a card if cards with the stated quality did exist in the searched library. 2015-09-14 23:36:32 +02:00
LevelX2
6b50a02e3c Added a test. 2015-09-14 17:47:06 +02:00
LevelX2
63e25cf132 * Shallow Grave - Fixed that the delayed triggered ability did also effect the target if it changed zone meanwhile (fixes #1262). 2015-09-13 08:47:45 +02:00
LevelX2
b29fe86aa0 Added a test. 2015-09-12 20:37:24 +02:00
LevelX2
88c18bcd8c * Infernal Scarring - Fixed that the "Dies" trigger did not work if the enchanted creature was sacrificed (e.g. using Nantuko Husk). 2015-09-12 20:14:44 +02:00
LevelX2
0ca991c4ba * Starfield of Nyx - Fixed that the continuous effect's dependancy to continuousEffects that add subtype aura was not checked. Reworked the dependency check to be a bit more generic (#1259). 2015-09-12 19:35:02 +02:00
LevelX2
1175a18661 * Fixed put token into play thta's of copy of target effects to handle targets correctly that already copy something (e.g. Kiki-Jiki, Mirror Breaker copying a Body Double creature). 2015-09-12 14:52:14 +02:00
LevelX2
963f371c12 * Anafenza the Foremost - Fixed that animated permanents (e.g. Lavaclaw Reaches) were not moved to exile if they died while beeing a creatures. 2015-09-11 21:50:23 +02:00
LevelX2
464955bd3a Fixed that for enchantments put into play (e.g. by Zur the Enchanter) that the selection of the enchanted permanent is not handled targeted. 2015-09-10 23:59:53 +02:00
LevelX2
340398fb74 * Fixed that state triggered abilities were not checked at the correct times. 2015-09-09 00:51:41 +02:00
LevelX2
e37c9a6472 * Fixed some problems with creation of tokens of target permanents (fixes #1244). 2015-09-08 18:13:32 +02:00
LevelX2
9aa14cdba8 * Added some tests. 2015-09-07 16:14:57 +02:00
LevelX2
94c0e05891 * Suspend - Fixed that creatures coming into play with suspend didn't gain haste anymore. 2015-09-07 15:03:19 +02:00
LevelX2
fb819f1f51 Added test (failing because bug not fixed yet). Some minor changes. 2015-09-06 23:29:58 +02:00
LevelX2
e5c667cca9 * Roiling Terrain - Fixed exception bug as it was cast. 2015-09-05 11:37:57 +02:00
LevelX2
0aacff4e6a * Fixed a bug that ended continuous effects were not already removed before an aura enters the battlefield (e.g. Brago + Pentarch Ward combo) fixes #1238. 2015-09-05 10:27:04 +02:00
LevelX2
707c1acf6b * Added an option to auto order triggers with the same text. Added options to pass priority automatically after spell cast and ability activation. Fixed a problem of the tests with the new Scry mulligan. 2015-09-04 00:25:23 +02:00
LevelX2
5a812f022d Added the new mulligan rule with Scry. Litte Scry rework. 2015-09-03 17:27:43 +02:00
LevelX2
71860b0168 Adde AbilityWord "Rally" to rule text of AllyEntersBattlefieldTriggeredAbility. Added a test. 2015-09-03 11:29:59 +02:00
LevelX2
7627935d93 * Chain of Vapor - Fixed that the copied spell did nor work correctly. 2015-09-03 01:28:26 +02:00
LevelX2
1ee22be81a [BFZ] Added Radiant Flames. 2015-09-02 23:28:25 +02:00
LevelX2
74109afcbb [BFZ] Added Awaken ability. 2015-09-02 16:20:58 +02:00
LevelX2
2c4d23bbb4 * Protection - Fixed that protection from spells is also checked for determining if a spell can be cast due to have a valid target available. 2015-09-02 08:32:57 +02:00
LevelX2
bb1839f79b Added a test. 2015-09-01 23:54:56 +02:00
LevelX2
fa14128486 * SOURCE_CAST_SPELL_ABILITY check for sourceId added. 2015-09-01 22:52:00 +02:00
LevelX2
1213fd22c8 * Followed Footsteps - Fixed that the token copy was not working correctly if the target was already copying something (e.g. a Cryptoplasm). 2015-09-01 17:34:21 +02:00
LevelX2
be485dc810 Added a test. 2015-08-31 17:06:22 +02:00
LevelX2
8d683a7e5c * Split cards - Fixed a bug when split cards get copied (e.g. by Isochron Scepter) refering still to the copied card. 2015-08-30 23:49:38 +02:00
LevelX2
eb3aef7ee5 * Fixed that the new early way to add counters to permanents entering the battlefield (e.g. used for Undying) checked effects while the permanents was not already set to Zone battlefield. That caused e.g. the ability of Tatterkite not to work at that time. 2015-08-30 10:04:36 +02:00
LevelX2
1d8c3949be * Fixed test after fix of emblem ability. 2015-08-30 10:01:26 +02:00
LevelX2
fb965ebdd6 * Opalescence - Fixed that the dependent effect (613.7) Opalescence was applied before the effect of Enchanted Evening if Opalescence was cast earlier. 2015-08-29 18:52:46 +02:00
LevelX2
dfe1e2ef5a Some minor changes. 2015-08-28 16:52:33 +02:00
LevelX2
758f56792e * Added button popup menu to be able to automatically answer ability related "Yes" / "No" requests (related to #328). 2015-08-28 11:44:14 +02:00
LevelX2
78071ce0a3 * Fixed a bug that order of triggered abilities of tokens were not shown to human player and the UI was locked (fixes #910). 2015-08-25 23:34:15 +02:00
LevelX2
b62dadf95d * Fixed that conditional mana (e.g. River of Tears) did not trigger mana adding effects like Vorinclex, Voice of Hunger. 2015-08-25 22:38:45 +02:00
LevelX2
c5718e3f19 * Phasing - Fixed that idirect phasing (attachments of permanents with phasing) were not phased out with the permanent they attached to. 2015-08-25 15:09:44 +02:00
LevelX2
ad9e08991e * Buyback - Fixed that the buyback spell with activated buyback returned also to hand if the spell fizzled or was countered. 2015-08-25 14:25:42 +02:00
LevelX2
9a22cd2068 Added a test. 2015-08-22 23:23:02 +02:00
LevelX2
532d4e0af0 * Added automatic handling for order of triggered abilities going to stack (fixes #701 / related to #328). 2015-08-22 19:29:57 +02:00
LevelX2
2cf5907189 Fixed that the X value of permanents like Hangbar Walker isn't used again if the permanent enters the battlefield later without beeing cast (e.g. returning from leaving Oblivion Ring). 2015-08-19 11:21:22 +02:00
LevelX2
454bd5ca57 Fixed that effects that prevented permanents from using activated abilities also prevented use of special abilities (e.g. Linvala, Keeper of Silence preventing Morph creatures to turn face up). 2015-08-19 10:44:01 +02:00
LevelX2
bd6eb91ee2 Fixed that move cards event included cards that were not successful moved (fixes #1211). 2015-08-19 10:19:12 +02:00
LevelX2
1dbe6243f4 Fixed transmute test after change of transmute rule text generation. 2015-08-19 10:17:45 +02:00
LevelX2
9ab58b1f5c * Ghostfire - Fixed to be colorless (fixes #1208). 2015-08-19 09:39:56 +02:00
LevelX2
bd6fa770aa * Fixed a lot of cards where order of card discarding/hand,graveyard,permanents into library shuffling and card draw order was not correctly implemented. This could cause bugs for draw replacement effects (e.g. Notion Thief). 2015-08-19 03:31:44 +02:00
LevelX2
9df993bd3a * Intet, the Dreamer - Improved handling to look at face down cards exiled with Intet. Works now also if Intet has left the battlefield. 2015-08-19 00:59:05 +02:00
LevelX2
618033c947 Added some test. 2015-08-19 00:57:09 +02:00
LevelX2
aa1eb354ef * Removed some data from player restoring to fix unintended draws after a player concedes game (#1205) 2015-08-18 17:20:04 +02:00
LevelX2
b40c8535e9 * Reworked Perisist and Undying to not use replacement effects to add the needed counters. 2015-08-18 12:30:52 +02:00
LevelX2
7f45e5bc7e * Spellskite - Fixed that targets of modal spells could only be changed from the last selected mode of the modal spell. 2015-08-17 14:04:56 +02:00
LevelX2
8d1da5c35f * Fixed a lot of sacrifice handling that was targeted and some sacrifice where the player that could sacrifice was not checked correctly (e.g. Kiki-Jiki, Mirror Breaker Token). 2015-08-17 12:36:42 +02:00
LevelX2
f50e67e385 * Fixed card movement handling for face down cards. 2015-08-16 19:16:41 +02:00
LevelX2
c6e08a8872 * Fixed that effects created from attachments to the attached object by activated or triggered abilities did not exists independent from the attachment (fixes #1206). 2015-08-16 13:02:02 +02:00
LevelX2
325776c9ad Some changes to can't be the target of spells or abilities framework effects. 2015-08-13 12:01:01 +02:00
LevelX2
55fe68d718 * Some more rework of card mobement handling. 2015-08-05 17:46:56 +02:00
LevelX2
a644e66b7f * Some rework of card movement. 2015-08-04 17:54:17 +02:00
LevelX2
efb5e06e57 * Rollback - Fixed that UI is locked after a accepted rollback request (fixes #1158). 2015-08-02 12:39:02 +02:00
LevelX2
eccc367920 Some minor changes. 2015-08-02 10:59:03 +02:00
LevelX2
2df109cf0b * Norin the Wary - Fixed that it also returned from commandzone if put there from commander replament effect. Some other move and return from exile fixes. 2015-08-02 10:34:57 +02:00
LevelX2
2b617fa6f7 * Fixed a bug of ConditionalTriggeredAbility if the ability triggered multiple times at the same time. 2015-08-01 18:27:17 +02:00
LevelX2
5fae4878c0 Added a test, some minor changes. 2015-07-31 15:46:14 +02:00
LevelX2
a3bc452795 Added Gustcloak Savior, Spurnmage Advocate and Gleancrawler; 2015-07-30 16:13:27 +02:00
LevelX2
f677a779ae * Stranglehold - Fixed the not working abilities. 2015-07-28 22:24:08 +02:00
klayhamn
cac6a03e7f * fix potential bug where the copy constructor of the continuous effect of ThrummingStone did not copy its object parameters
* unignore the thrumming stone test
2015-07-28 17:38:50 +03:00
klayhamn
634f7fc064 Merge branch 'master' of https://github.com/klayhamn/mage 2015-07-28 15:20:38 +03:00
klayhamn
4044817641 * add ThrummingStone test
* Add rule text for Thrumming Stone
* change ThrummingStones effect to be a static continuous effect that gives a triggered ability to spells, rather than being a triggered ability triggered by the stone itself
2015-07-28 09:50:24 +03:00
LevelX2
dbff7bedb9 * Some changes to skip turn handling (turn count and messages). 2015-07-27 17:21:52 +02:00
LevelX2
5fb17ce920 Merge pull request #1151 from klayhamn/master
Adding the Ripple keyword, and two cards that use it
2015-07-27 14:31:57 +02:00
klayhamn
37dbdeb07f correct some incorrect documentation comments in ripple test 2015-07-27 02:11:08 +03:00
klayhamn
4d798e81b8 add thrumming stone and surging dementia 2015-07-26 19:30:15 +03:00
LevelX2
5694f8aa8c * Added a test. 2015-07-26 09:19:57 +02:00
LevelX2
9dd6e616cd * Fixed that commander mana replacement effect did wrong mana replacements if additional mana was produced from abilities of opponents (fixes #1146). 2015-07-26 00:38:56 +02:00
LevelX2
a380bfa196 * Gideon, Battle-Forged - Fixed that giving indestructibility effect did not end as intended. 2015-07-25 09:09:20 +02:00
LevelX2
2ca8595789 * Reworked Order of the Stars protection handling. 2015-07-24 13:47:22 +02:00
LevelX2
6e4b63dfd9 * Heartstone - Fixed that it can also reduce mana costs of abilities that include only 1 colorless mana and some colored mana. 2015-07-23 23:38:05 +02:00
LevelX2
7d3ff0551d Added a test. 2015-07-23 15:58:10 +02:00
LevelX2
b169e7e6c7 * Mage-Ring Network - Fixed calculation of available mana. 2015-07-23 12:42:02 +02:00
LevelX2
eca37467a3 * Added a auto select color for color choices of mana abilities that ask the human player to select a colo (implements #690). 2015-07-21 17:23:10 +02:00
LevelX2
fcd74a65a9 Added test. 2015-07-20 17:35:35 +02:00
LevelX2
46d2bb9313 * Added Recover ability (closes #1119). 2015-07-20 17:08:04 +02:00
LevelX2
597d1ab832 Added a test. 2015-07-20 12:28:30 +02:00
LevelX2
0df7983937 Added some test. 2015-07-19 19:27:49 +02:00
LevelX2
4324a6a683 Fixes to token image handling. 2015-07-19 10:09:50 +02:00
LevelX2
6ef50c42bf Some minor changes. 2015-07-19 10:08:58 +02:00
Simown
9de285a876 Removed rogue print statement from test 2015-07-18 14:54:56 +01:00
Simown
05b14dad66 Fixed Strive aditional costs, added Battlefield Thaumaturge tests to
verify.
2015-07-17 22:35:36 +01:00
LevelX2
e209114a26 * KickerAbility - Fixed that KickerCondition did not work coorectly for kicker cards with multiple kicker options. 2015-07-16 23:15:11 +02:00
LevelX2
540f1f2eac * Touch of Moonglove - Fixed that the dealayed trigger only worked for one creature instead of for all damaged creatures. 2015-07-16 22:21:18 +02:00
LevelX2
0db7c5cff4 * Fixed a bug of the rollback turns feature locking sometimes the UI. 2015-07-16 16:54:32 +02:00
LevelX2
96036ce97b Added a test (#1076). 2015-07-16 13:51:14 +02:00
LevelX2
0c0fe9984e Some fixes/improvements to AI target handling and tests. 2015-07-16 13:10:11 +02:00
LevelX2
68d5f7bb9f * StormAbility - Fixed that the storm amount was not calculated correctly if a game state was restored (fixes #1051). 2015-07-16 11:05:32 +02:00
Gal Lerman
584e7fb394 edited TODOs and comment header in clean_dbs.sh 2015-07-15 22:06:02 +03:00
glerman
cb89230327 added todos 2015-07-15 22:06:01 +03:00
glerman
6aa23b0b2e added DustOfMoments counter addition test 2015-07-15 22:06:01 +03:00
glerman
afe9c27aa5 finally made DustOfMoments to work, CounterPredicate didn't see counters for Chronozoa (permanent). why the hell is PermanentImpl.getCounters() and CardImpl.getCounters(game) don't return the same value for the same card 2015-07-15 22:06:00 +03:00
glerman
45e269de77 added empty test for DustOfMoments 2015-07-15 22:06:00 +03:00
glerman
9e4a7aad8a added empty test for DustOfMoments 2015-07-15 22:06:00 +03:00
glerman
0a293063cf added test for NornsAnnex still in progress, dur to friends bug 2015-07-15 22:06:00 +03:00
glerman
5ebfacecb5 added test case of Chronozoa being destroyed with time counters on it (end case) 2015-07-15 22:05:59 +03:00
glerman
9b44c9a087 fixed the LastTimeCounterRemovedCondition, moved the Chronozoa test to fit the package convention, added a test case 2015-07-15 22:05:59 +03:00
glerman
1567c4efe9 Adding Chronozoa card impl 2015-07-15 22:05:59 +03:00
LevelX2
cd354bacc3 Added a test. 2015-07-15 17:24:18 +02:00
LevelX2
3bac7b550c Added a test for storm with flashback. 2015-07-15 16:54:31 +02:00
LevelX2
7f8822ae19 Added a test for Crypt Ghast 2015-07-14 16:25:06 +02:00
LevelX2
b1f5b15f2d * The Abyss - Fixed non conform target handling. 2015-07-13 16:01:49 +02:00
LevelX2
f955316225 * Liliana, Defiant Necromancer - Fixed that the emblem did not trigger (fixes #1110). 2015-07-13 13:08:12 +02:00
LevelX2
b2fcb8ea8c Added some tests. 2015-07-12 23:16:02 +02:00
LevelX2
fa0a40b0d6 * Some fixes/chnages to AI player. Needs probably some more testing. 2015-07-12 19:51:04 +02:00
LevelX2
c53c09a59b * Fixes to handling of triggered abilities of tokens. 2015-07-12 19:50:20 +02:00
LevelX2
55966f3056 * Fixes to spend any mana to pay handling- 2015-07-12 19:49:53 +02:00
LevelX2
4094fe5ecf * Fixed a problem that triggered abilities of created tokens were not removed properly if the token left has left the battlefield. 2015-07-12 11:08:33 +02:00
LevelX2
2cc62aada0 Some minor tooltip text fixes. 2015-07-12 09:56:49 +02:00
LevelX2
0e3d4b335a Some fixes/improvements to generation of available mana. 2015-07-12 09:11:13 +02:00
LevelX2
2deb89bfa7 * Hixus, Prison Warden - Fixed that the triggered ability did not exile the creature. 2015-07-10 14:45:24 +02:00
LevelX2
77b3706c9f * Fixed that permanents that became creatures are not removed from combat if the creature making effect is removed during combat (fixes 366). 2015-07-08 23:40:15 +02:00
LevelX2
072987b96d Updated RemoveFromCombatTest. 2015-07-08 17:15:56 +02:00
LevelX2
8e0354d50a * Kicker - Fixed that kicked status was not correctly checked, if a spell with kicker was cast again. 2015-07-08 16:20:43 +02:00
LevelX2
8c725ef86b * Hallowed Moonlight - Fixed exception if a token should be moved to exile. 2015-07-08 00:05:52 +02:00
LevelX2
51c6a89753 * Enshrouding Mist - Fixed that the target creature was not untapped if renowned. 2015-07-07 17:09:52 +02:00
LevelX2
ee738786b9 * Liliana, Heretical Healer - Fixed that she was exiled and transformed even if no longer on the battlefield as the effect resolved. 2015-07-07 16:23:12 +02:00
LevelX2
de47259a49 * Fixed that end turn effects (e.g. Day's Undoing) did not remove triggered abilities waiting to go onto the stack. 2015-07-07 15:55:37 +02:00
LevelX2
381603666d Added test. 2015-07-07 07:55:31 +02:00
LevelX2
7bb93fbb25 * Willbreaker - Fixed that it didn't trigger when targeted by abilities. 2015-07-06 17:23:47 +02:00
LevelX2
d38910b81b * Liliana, Heretical Healer - Fixed that the Zombie token was not created if Liliana was exiled by her effect. 2015-07-06 16:49:24 +02:00
LevelX2
1ee75e3e94 * Angel of Serenity - Fixed that the exiled cards did not return when the Angel left the battlefield (fixes #1083). 2015-07-06 15:22:16 +02:00
LevelX2
c942592c3b * Dash - Fixed that the creature was returned to hand from dash also if it left battlefield before. 2015-07-06 13:36:23 +02:00
LevelX2
0b26aaff6e Fixed Ensoul Artifact not giving P/T to the target artifact. 2015-07-06 00:57:53 +02:00
LevelX2
a4f76a1fb8 Fixed another bug of renown. 2015-07-05 11:51:51 +02:00
LevelX2
b2ed48da87 Fixed a bug about must be blocked requirement forcing the blocker to block multiple attackers locking the game. 2015-07-05 11:48:19 +02:00
LevelX2
9c53e7f984 [ORI] Renown - Fixed that renown was not applied again after creature left and returned to battlefield. 2015-07-05 08:58:19 +02:00
LevelX2
9ef707c0fa Fixed / changed some tests. 2015-07-03 14:59:19 +02:00
LevelX2
25ca463520 [ORI] Added Tainted Remedy and Liliana Planeswalker. Fix for build bug of Sigled Starfish. 2015-07-03 12:26:14 +02:00
LevelX2
a33ed68c74 * Possibility Storm - Fixed a bug that it was not correctly checked if the player was able to cast modal spells. 2015-07-03 08:29:17 +02:00
LevelX2
4aebcd2399 * Savage Summoning - Fixed that it did not work to cast a commander from command zone. 2015-07-02 23:38:37 +02:00
LevelX2
7b4f2dd33a * Added a bestow test. 2015-07-02 21:53:28 +02:00
LevelX2
0a0cb40783 * Fixed that creatures that have to pay costs to block were wrongly forced to block causing UI locks. 2015-07-01 23:00:22 +02:00
LevelX2
9059f7a1e4 * Fixed a bug of check if two objects sharing a colors were also to colorless objects did return a positive result (e.g. caused Dream Halls to cast Artifacts by discarding lands). 2015-07-01 13:40:52 +02:00
LevelX2
bf21de745a * Fixed a bug of check if two objects sharing a colors were also to colorless objects did return a positive result (e.g. caused Dream Halls to cast Artifacts by discarding lands). 2015-07-01 13:37:32 +02:00
LevelX2
15fe85c5da Fixed that creatures forced to attack that have to pay a cost to attack lock the UI (not completed for all existing cards yet). 2015-07-01 02:00:07 +02:00
LevelX2
a174bef27b * Fixed a bug with Infernal Scarring that the ability did not trigger that let you draw a card as the enchanted creature died. 2015-06-30 12:29:17 +02:00
LevelX2
123d1e4ec6 [ORI] Added 6 black cards. 2015-06-30 01:24:51 +02:00
LevelX2
f45c5cedeb Fixed handling and initialization of Fixedtarget object. Fixing a problem of ReturnToBattlefieldUnderYourControlTargetEffect that caused objects to return taht already left the zone they should be moved from. 2015-06-29 18:34:53 +02:00
LevelX2
148fd0e6ae * Golem's Heart - Fixed that the triggered ability did not work. 2015-06-28 22:42:18 +02:00
LevelX2
df3e6db569 Please test! Some changes to the display of user choices, showing also a longer text in tooltip window. 2015-06-28 21:55:48 +02:00
LevelX2
87f3978589 Some changes to userData handling. Added country flag to some dialogs. Saved and restored some more table columns width and order information. 2015-06-28 00:10:38 +02:00
LevelX2
25f09e1891 Added Test. 2015-06-27 11:58:53 +02:00
LevelX2
b668209f7d Fixed for Flameshadow Conjuring and Felhide Spiritbinder that the created tokens did not get haste or the added card type enchantment. 2015-06-26 19:20:27 +02:00
LevelX2
d65581809f * Notion Thief - Fixed that the replacment effect was not always applied as intended. 2015-06-26 15:16:33 +02:00
LevelX2
5b7d57aec9 Added some tests. 2015-06-26 12:10:17 +02:00
LevelX2
ee304e773e * Daxos of Meletis - Fixed that the mana as thought ability did not work. Fixed that a instant could also be cast from other players. 2015-06-25 16:57:44 +02:00
LevelX2
7bc8649585 * Animate Dead - Fixed that the target card in graveyard was not handled correct, if the Animate Dead reentered the Battlefield(e.g. with Worldgorger Dragon combo). 2015-06-25 14:31:23 +02:00
LevelX2
94ad36058c [ORI] Added 5 cards with Renown relation and a renown test. 2015-06-24 00:11:03 +02:00
LevelX2
2f996847b3 * Mossbridge Troll - Fixed that the Troll was also regenerated of detroy effect if it was not possible to regenerate. 2015-06-23 13:10:49 +02:00
LevelX2
ebeec78c7f Added some tests. 2015-06-22 15:32:14 +02:00
LevelX2
78188d6f24 Removed dispay of card ID for looked at cards to prevent unfair use of card identity. 2015-06-22 15:31:15 +02:00
LevelX2
88928772fb * Zur's Weirding - Fixed that the player hand cards were not revealed. 2015-06-21 23:50:03 +02:00
LevelX2
8f39a0ba1d * Added test, some mior changes. 2015-06-20 11:57:52 +02:00
LevelX2
47f2ba3b3d Added test for Scythe of the Wretched. 2015-06-20 02:03:27 +02:00
LevelX2
e509a35795 Fixed a bug that existing continuous effects were not applied before state based effects were checked. 2015-06-20 01:07:35 +02:00
LevelX2
db5526a1c6 * Kicker - Fixed that kicker did not work correctly if the kicker card did change zone again before kicker dependant ability resolved. 2015-06-19 23:56:45 +02:00
LevelX2
4565bce43d Added a test. 2015-06-19 08:32:00 +02:00
LevelX2
7a4d4265a4 Added a test. 2015-06-19 00:52:03 +02:00
LevelX2
359f47a99d Fixed Gideon Battle-Forge. 2015-06-19 00:04:24 +02:00
LevelX2
42cf7f1f4e Fixed possible npe, added some tests. 2015-06-18 22:42:13 +02:00
LevelX2
ae1f726f56 * Bioshift - Fixed that always all counters were moved, the remove counter event was not fired and that the two targetes were handled as one target definition. 2015-06-18 13:39:49 +02:00
LevelX2
7ee6e13913 * Harbor Serpent - Fixed that the attack restriction did not work correctly. 2015-06-18 11:29:42 +02:00
LevelX2
68a0782e30 Added a test. 2015-06-17 17:41:20 +02:00
LevelX2
9882948a06 * Splice on Arcane - Fixed that if a player used an alternate cost to cast the arcane spell (e.g. Nourishing Shoal) splice mana costs were also removed. 2015-06-17 16:15:44 +02:00
LevelX2
a3dc7b6691 [ORI] Added Nissa Sage Animist (coded by Emerald). 2015-06-16 17:01:56 +02:00
LevelX2
27929cccba Added handling to make it possible that a transformable card can enter the battlefield transformed. 2015-06-16 17:01:15 +02:00
LevelX2
d8df53dde7 Added some tests. 2015-06-16 14:41:28 +02:00
LevelX2
cd0f273122 Fixed a bug that if a human player had to discard more cards than he had on hand, the game UI was blocked. 2015-06-15 17:35:48 +02:00
LevelX2
09dd373909 Merge origin/master 2015-06-15 12:21:48 +02:00
LevelX2
bd4a0e7177 * Added test for commander damage wind condition. 2015-06-15 07:44:34 +02:00
LevelX2
75645946e0 * Searing Blaze - Fixed that damage was not raised to 3 if the controller played a land before. 2015-06-14 23:56:23 +02:00
LevelX2
516b6ea8e7 * Teferi, Mage of Zhalfir - Fixed that the flash ability was not applied to commander in command zone. 2015-06-14 23:24:15 +02:00
LevelX2
135c76ed71 Added possibility to set a specific deck for a test. 2015-06-14 23:23:26 +02:00
LevelX2
d738a5ccce * Soul Foundry - Fixed that the activation cost for the ability to put a copy of the imprinted card to the battlefield was calculated wrongly (fixes #1019). 2015-06-13 21:11:16 +02:00
LevelX2
6d2f95c591 * Fixed that countering the half of a split spell did not work correctly. 2015-06-13 19:57:08 +02:00
LevelX2
e48be86f7b * Zoetic Cavern - Fixed that if cast with Morph the spell was not handled as spell with card type "Creature" (e.g. causing problem with Possibility Storm). 2015-06-13 19:21:03 +02:00
LevelX2
b3fdc167a8 * The Mimeoplasm - Fixed that if a Mimeoplasm was copied (e.g. by Clone) that not the target copied by Mimeoplasm was copied but instead the Mimeoplasm itself. 2015-06-13 09:35:37 +02:00
LevelX2
3dc081e1a6 * Copy effect - Fixed that continuous copy effects were not removed as the related permanent left the battlefield. 2015-06-13 00:25:31 +02:00
LevelX2
32a123e799 Added a test. 2015-06-12 15:04:46 +02:00
LevelX2
7f5e3a262e * Added test and some minor changes. 2015-06-12 08:13:41 +02:00
LevelX2
f7bce827fe * Refraction Trap - Fixed a bunch of problems with that card. 2015-06-11 17:14:43 +02:00
LevelX2
d713ae424f * Enduring Renewal - Fixed that the creature did not come back to hand. 2015-06-11 15:52:47 +02:00
LevelX2
753340efc6 * Teferi, Mage of Zhalfir - Fixed that Flash was not given to cards in the libraray (so e.g. Mystical Teachings did not work for creatures that did not have Flash by itself). 2015-06-11 12:57:00 +02:00
LevelX2
93dcf2d59f * Finished card attribute change handling for color of cards (card subtype not supported yet) related to #408 2015-06-10 14:00:37 +02:00
LevelX2
c27ef5ee97 * Started to fix color setting for cards (e.g. Painter's Serverant) #408 (not completely finished yet). 2015-06-10 01:24:38 +02:00
LevelX2
21e2066bba * Akron Legionnaire - Fixed not correct working restrict ability. 2015-06-08 22:51:48 +02:00
LevelX2
1cf93e6c43 Fixed AI test class. 2015-06-08 19:46:22 +02:00
LevelX2
3b61a10237 Fixed some bugs and added a AI Test player class. 2015-06-08 18:31:54 +02:00
LevelX2
8acf28eed1 * Added optional rollback current turn and up to 3 previous turns to the battlefield menu. All other players have to agree to the rollback to let it happen. 2015-06-07 00:53:08 +02:00
LevelX2
81187ba1c7 Fixed a problem with removing player attachments. 2015-06-05 13:35:33 +02:00
LevelX2
01c81c1cb1 * Homing Sliver - Fixed the gain Slivercycling ability. 2015-06-05 11:44:51 +02:00
LevelX2
36eebfa317 * Fixed that player enchnatments were not correctly removed as they left the battlefield causing problems if they were cast again later in the game (fixes #1006). 2015-06-05 00:50:31 +02:00
LevelX2
ca9ee416e8 Added test for Mana Flare. 2015-06-04 14:48:06 +02:00
LevelX2
59ae174d2b Added a test. 2015-06-04 13:58:20 +02:00
LevelX2
53396a44f2 Added some test and some minor fixes to effect ability handling. 2015-06-04 13:50:39 +02:00
LevelX2
b58d2e88ea * Novijen Sages - Fixed that it was not possible to pay the activated ability with the counters of Novijen Sages. 2015-06-03 23:49:54 +02:00
LevelX2
9cfadbda5b * Burning Earth - Fixed that the damage effect did not trigger. 2015-06-03 22:47:24 +02:00
LevelX2
eea43662e1 Added test. 2015-06-03 20:16:58 +02:00
LevelX2
56f41243ca * Keranos, God of Storms - Fixed that it's triggered ability triggered not only on the first card drawn on the turn. 2015-06-03 19:35:05 +02:00
LevelX2
a5bdff6826 Added a test. 2015-06-03 00:10:02 +02:00
LevelX2
c1fa3422fd * Mycosynth Golem - Fixed not working second ability. 2015-06-02 23:37:15 +02:00
LevelX2
bb28394f71 * Helm of Obedience - Fixed that card movement to graveyard was not handled correct. It was not checked, if card was really moved to graveyard (fixes #1004). 2015-06-02 22:50:57 +02:00
LevelX2
78961ad511 Added Vesuva test. 2015-06-02 17:08:49 +02:00
LevelX2
f9f674b8f7 * Fixed that removed players (e.g. by lethal damage) changed the players in range wrongly immediatly instead of at the start of the next turn. 2015-06-02 15:01:52 +02:00
LevelX2
3115bbdcb6 Multiplayer test - added option to attack specific player. 2015-06-02 14:58:54 +02:00
LevelX2
bc21b8d475 * Deathmist Raptor - Fixed that the return ability did wrongly also work if the Raptor had left the graveyard. 2015-05-31 19:17:15 +02:00
LevelX2
1b690e5c8c * Fixed target change handling (e.g. with opponent filter - fixes #574). Added some tests. 2015-05-31 18:44:02 +02:00
LevelX2
02aaf150db Added some tests. 2015-05-30 15:16:12 +02:00
LevelX2
a541d24a20 * Treacherous Pit-Dweller - Fixed that the enteres the battlefield ability was not implemented correctly. 2015-05-30 15:14:44 +02:00
LevelX2
bb478fa9d5 * Heroic - Fixed that heroic only triggered for one mode if a modal spell with heroic targets in differnt modes was used (e.g. Dromoka's Command). 2015-05-30 12:44:33 +02:00
LevelX2
907b029bdb Added target handling for modal spells with multiple targets in different modes. Fixed target handling bugs in test project. 2015-05-30 12:43:17 +02:00
LevelX2
f8f21bd8ce * Landfall - Fixed that it also works for Instant and Soceries copied from opponents. Corrected tooltip text formating. 2015-05-30 10:14:15 +02:00
LevelX2
04d555d339 * Opal Palace - Fixed that a commander casr with opal palace did not get a +1/+1 counter. 2015-05-30 01:44:47 +02:00
LevelX2
bf598d1af2 * Laboratory Maniac - Removed wrong checks that prevented the player to win if his life was below 1 and he drew from an empty libraray. 2015-05-30 00:25:48 +02:00
LevelX2
5a428f10ab * Fixed a bug that continuous effects created by copied cards (e.g. by Isochronic Scepter using Silence) were not applied correctly. 2015-05-29 18:43:21 +02:00
LevelX2
4f4ade61d5 Fixed commander cast test. 2015-05-29 17:29:14 +02:00
LevelX2
8783a633a1 Added commander duel test base class. 2015-05-29 15:07:16 +02:00
LevelX2
66acff81b9 Removed unused and redundant code from test player base classes. 2015-05-29 12:46:34 +02:00
LevelX2
5a5722b248 * Skarrgan Firebird - Fixed that the condtion check of the activated ability was inverted. 2015-05-29 00:18:51 +02:00
LevelX2
ba8e918527 * Worldheart Phoenix - Fixed that it could be cast from graveyard with it's regular casting costs. 2015-05-28 16:52:17 +02:00
LevelX2
6a0988ef66 * Banefire - Fixed Banefire's switched condition check. 2015-05-28 16:13:54 +02:00
LevelX2
48ba1c585a * Alms Beast - Fixed that the liflink ability did not work correctly. 2015-05-28 16:01:39 +02:00
LevelX2
c896ae2442 * Deep-Sea Kraken - Fixed that the triggered ability to remove time counters did not work. 2015-05-28 15:12:00 +02:00
LevelX2
8d31a38d1d Fixed world enchantment rule. 2015-05-28 11:59:19 +02:00
LevelX2
16ea49141f Fixed that static abilities of phased out objects are not applied. 2015-05-28 00:14:08 +02:00
LevelX2
ccae89e181 Implemented World Rule state based action. 2015-05-27 00:53:29 +02:00
LevelX2
0f3fc99943 * Fixed test. 2015-05-27 00:38:54 +02:00
LevelX2
f0ef479402 * Soulfire Grand Master - Fixed that delayed effects (e.g. Deflecting Palm) have also lifelink if Soulfire Grand Master is still on the battlefield. 2015-05-26 22:16:32 +02:00
LevelX2
1383941bf7 Fixed test. 2015-05-25 22:58:11 +02:00
LevelX2
7ca6c87fe5 * Unearth - Fixed the not working replacement effect of unearth that exiles the creature if neccessary. 2015-05-25 19:05:00 +02:00
LevelX2
c71b3ea7e8 * Proliferate - Fixed that in some cases permanents that had counters before could be choosen tp proliferate. 2015-05-25 18:39:36 +02:00
LevelX2
4298e66e02 * Changeling - Fixed that some non creature subtypes of cards (e.g. Arcane) were positive filtered for Changeling (fixes #991). 2015-05-25 16:51:09 +02:00
LevelX2
d3b41c076d * Added DealsDamageAttachedTriggeredAbility and used in some cards. 2015-05-25 15:49:51 +02:00
LevelX2
194c2eb371 * Reflecting Pool - Fixed that it did not work correctly with lands that produce conditional mana (e.g. Sliver Hive or Caverns of Soul) fixes #993. 2015-05-25 00:57:42 +02:00
LevelX2
c3447ccff0 * Eldrazi Temple - Fixed that the first ability was automatically used for spells (fixes #908) . 2015-05-24 18:56:34 +02:00
LevelX2
abeac7ff65 Added another test for Laboratory Maniac. 2015-05-23 19:38:30 +02:00
LevelX2
28d816b21f * Endrek Sahr, Master Breeder - Fixed Thrull creating ability that did not work when the triggering spell was countered. 2015-05-23 18:59:41 +02:00
LevelX2
e82ee26136 Added test for Sepulchral Primordial. 2015-05-23 18:38:34 +02:00
LevelX2
7003dc7e3f * Fixed that the AI used activated abilities even if they were forbidden by a restriction effect like Arrest. 2015-05-23 17:43:27 +02:00
LevelX2
fe28ca3e40 Merge origin/master 2015-05-23 16:35:03 +02:00
LevelX2
a5820a50e6 Added tests for Auraswap. 2015-05-23 16:34:32 +02:00
LevelX2
ce64a22c15 Some more rework of player.moveCard (mainly to graveyard). 2015-05-23 15:35:40 +02:00
LevelX2
f9bad74ca7 Added test. 2015-05-23 10:06:47 +02:00
LevelX2
38865e2495 Added some tests. 2015-05-22 15:16:29 +02:00
LevelX2
e68bd0e876 * Dolmen Gate - Fixed that it was not checked if the creates were attacking creatures for damage prevention. 2015-05-22 11:26:42 +02:00
LevelX2
b64d5c39cc * Fixed accidental removed subtype of Murder Investigation. 2015-05-22 00:33:15 +02:00
LevelX2
d7255f971c * Some more minor changes. Added test. 2015-05-21 23:25:46 +02:00
LevelX2
093b22081a * Some minor changes. 2015-05-21 22:39:30 +02:00
LevelX2
6097e297fe * Prevention effects - Fixed that prevention effects also prevented damage that was not preventable (fixes #983). 2015-05-21 00:25:37 +02:00
LevelX2
025c5bf5d8 * Satyr Firedancer - Fixed that its ability did also trigger for damage from other sources than iinstant or sorcery spells (fixes #963). 2015-05-19 16:20:21 +02:00
LevelX2
b0a404e84b * Retrace - Fixed that retrace did not work correctly with cost modifications. 2015-05-18 20:48:01 +02:00
LevelX2
df9efa97b6 * Dragonlord Kolaghan - Fixed that morphed cast spells where compared with its origin name with cards in the graveyard. 2015-05-17 22:08:56 +02:00
Nathaniel Brandes
fb1c60f818 Fix manifest megamorph testcase.
The megamorph was not working correctly because the creature used,
Sandstorm Charger, has exactly the same Megamorph cost and Manifest
cost. Since the manifest ability came first in the ability list order,
it was used. The replacement creature has two different mana costs and
fulfills the testcase purpose correctly.
2015-05-15 01:45:01 -07:00
LevelX2
988ed217f3 * Angelic Destiny - Fixed that the enchantment did not return from graveyard to hand. 2015-05-13 23:05:02 +02:00
LevelX2
7bc8ff9955 * Otherworldly Journey - Fixed that the returning creature did not get the +1/+1 counter. 2015-05-13 17:45:44 +02:00
LevelX2
54be23cb41 Added a test for conditional mana. 2015-05-13 15:05:51 +02:00
LevelX2
7453d6a39e * Fixed the sometimes failing Spellskite Test. 2015-05-13 15:05:34 +02:00
LevelX2
e2cb40de70 Some minor log changes and added tests. 2015-05-12 17:29:00 +02:00
LevelX2
70f152feb1 * Fixed that some mana effects did not send all neded events (prevented that Contamination chnaged conditonal mana from Cavern of Souls to black mana). 2015-05-11 15:26:39 -03:00
LevelX2
7338022dd1 * Fixed that cyle triggered abilities did not work. 2015-05-11 15:26:09 -03:00
Luna Skyrise
ab773ab509 [10E, USG] Added No Rest for the Wicked
and test
2015-05-10 23:54:05 -03:00
Luna Skyrise
c48d381b24 [TMP] Add Flailing Drake
Includes test.
2015-05-10 23:03:25 -03:00
LevelX2
9c97953b6b Added some font color to object and player names output to game logging and feedback area. 2015-05-09 21:18:00 +02:00
LevelX2
5c041753a6 * Progenitor Mimic - Fixed that the copy effect did not work correctly (fixes #958). 2015-05-08 14:45:14 +02:00
LevelX2
853be4ce65 Added some tests and an legacy example deck. 2015-05-08 09:12:37 +02:00
LevelX2
0ef2919a08 Some minor changes. Added a Kicker test. 2015-05-07 21:54:28 +02:00
LevelX2
4bea123bf3 Some minor changes. Added a test. 2015-05-07 21:04:04 +02:00
LevelX2
4d62d62768 * Fixed a bug that triggered abilities went under certain circumstances to stack at the wrong time (fixes the not working Sharuum The Hegemnon + Clone + Blood Artist combo). 2015-05-07 18:12:58 +02:00
Nathaniel Brandes
f9f6b078ab Properly fix ReturnToBattlefieldUnderYourControl.
All tests now passing. I broke out It That Betrays into it's own class,
as it doesn't actually care about zone when returning the permanent to
the battlefield, unlike most other abilities of that type, which target.
2015-05-04 21:31:01 -07:00
LevelX2
1a64f9e53e * Added some tests for ReturnToBattlefieldUnderYourControlTargetEffect (related to #947). 2015-05-05 01:31:57 +02:00
LevelX2
c342c92160 * Destroy the Evidence - Fixed that no cards were moved to graveyard. 2015-05-05 00:53:03 +02:00
LevelX2
8eae24051a * Fixed not unique target setting. 2015-05-05 00:50:47 +02:00
LevelX2
6403fff12b * Fixed target hadnling of PreventDamageBySourceEffect (fixes #952). 2015-05-04 18:38:26 +02:00
LevelX2
1f44e1a592 * Some minor adjustements to test handling. 2015-05-04 18:37:41 +02:00
LevelX2
0069241027 * Some minor changes. 2015-05-02 12:19:44 +02:00
LevelX2
8686f4f777 * Fixed a bug that the AI did for target selection not check correctly players with hexproof ability. 2015-05-02 09:47:38 +02:00
LevelX2
503dad24b3 * Added test for Spellskite. 2015-05-01 18:12:27 +02:00
LevelX2
85d7f099bd * River Kelpie - Fixed that the first ability did not always trigger as intended. 2015-05-01 17:37:57 +02:00
LevelX2
d7c23bbfc0 * Fixed a bug that countered spells of creatures with the ability going back to library if going to graveyard (e.g. Legacy Waepon) stayed in hand or caused a java bug instead of going to library. 2015-05-01 14:04:52 +02:00
LevelX2
eb6e7f9b46 * Fixed a bug of draw card replace effect (e.g. multiple Thought Reflection enchantments on the battlefield let you draw less cards than intended). 2015-05-01 12:15:13 +02:00
LevelX2
0ae339ff26 * Hive Mind - Working again if copied spell is not countered. Added some tests for Hive Mind (#717). 2015-05-01 11:09:57 +02:00
Nathaniel Brandes
ef7a001ce5 Add Volrath's Shapeshifter control test. 2015-04-30 19:34:12 -07:00
Nathaniel Brandes
b25c4aac77 Added Volrath's Shapeshifter.
The Graveyard was modified to become its own class, as the top card of
your graveyard matters for this card, and graveyard order matters for
some other old card. Note that due how Volrath's Shapeshifter's ability
works, it is applied in layer 3, after control effects. This is so it
can look at it's current controllers graveyard, instead of it's owner,
as it would if the copy effect was at layer 1.
2015-04-30 19:10:50 -07:00
LevelX2
9b3eff603c * Laboratory Maniac - Fixed check for win condition (you can now win together with Platinum Angel). 2015-05-01 01:50:25 +02:00
LevelX2
4206ea97ec Added another Infect test. 2015-05-01 00:39:13 +02:00
LevelX2
30bbd704e4 Added infect test. 2015-04-30 17:15:51 +02:00
LevelX2
f9c48cc4d5 * Some updates to cards that check the controller of the source of an event. Now prevention and replacement effect controller of non permanents are determine. But it can be wrong under some control changing circumstances. Only solution would be to have always the causing ability instead of only the sourceId (fixes #804). 2015-04-30 16:15:39 +02:00
LevelX2
0cb6c7ee26 * Fixed a bug that number of targets for spells with multiple modal selection (e. g. Cryptic Command) was not calulated correctly. 2015-04-29 23:46:39 +02:00
LevelX2
830765996f * Storm - Fixed handling of countered Storm spells. * Reworked Rebound more rule conform. * Fixed that zone change counter was not raised if a card is moved to stack. 2015-04-29 17:37:54 +02:00
Nathaniel Brandes
4b6993f398 Added global alternate costs to canPlay test. Added Omniscienece test
case.
2015-04-29 03:04:34 -07:00
Nathaniel Brandes
7648ca4b4f Fix Lazav's copy ability "forgetting" about cards that change zones. 2015-04-28 19:43:31 -07:00
LevelX2
aa5d050571 Fixed ThragtuskTest failing sometimes because of random target. 2015-04-28 17:10:32 +02:00
LevelX2
63ae8a9f13 * Mistbind Clique - Added test for champpion triggered ability. Set zone ability has to work in. 2015-04-28 14:45:38 +02:00
LevelX2
72e63292e1 Added a multiplayer control change test. 2015-04-27 23:42:55 +02:00
LevelX2
98710f8660 Added a multiplayer control change test. 2015-04-27 23:42:32 +02:00
LevelX2
3758cefc59 Some changes to check if Object had ability and the abillity can trigger. 2015-04-27 18:05:39 +02:00
LevelX2
4e0929e3f2 * Fixed a bug of DiesThisOrAnotherCreatureTriggeredAbility that caused that some triggerd effects did not work (e.g. Xathrid Necromancer dying together with other creatures). 2015-04-25 20:50:31 +02:00
LevelX2
1e7f82bb3c * Fixed a bug that attach effects were not stopped during resolution if the object to attach doe sno longer exist. 2015-04-25 19:13:02 +02:00
Nathaniel Brandes
ef5dff709a Fix compilation in Java 7. 2015-04-24 01:33:52 -07:00
LevelX2
50b783d4a3 Fixed typo in test name. 2015-04-23 23:45:29 +02:00
LevelX2
ffd0b0c685 * Fixed that enchant card in graveyard auras select target when entering the battlefield (allows the Animate Dead Worlgorger Dragon combo). 2015-04-23 23:43:00 +02:00
LevelX2
393442a7fe * Added test for counterspell while Rest in Peace is in play. 2015-04-23 09:53:17 +02:00
LevelX2
a845340e0d * Morph - Fixed that token copies of morphed creatures (e.g. by Supplant Form) came into play like the morphed creature face up instead of a 2/2 nameless creatures. 2015-04-22 23:06:07 +02:00
LevelX2
2a6ba88971 Added test. 2015-04-22 17:24:10 +02:00
LevelX2
2ca2caf9d5 * Fixed a problem with left battlefield or dies triggered abilities of token permanents. 2015-04-21 17:18:50 +02:00
LevelX2
c2fb2de67a Fixed a bunch of NPE and other possible exceptions. 2015-04-20 23:37:28 +02:00
LevelX2
2822c18b81 * Triton Tactics - Fixed that the don't untap effect for the blocked creatures did not work. 2015-04-20 17:35:32 +02:00
LevelX2
89ce87e16e Merge origin/master 2015-04-20 10:57:39 +02:00
LevelX2
568f62c66f Some changes to restrained event handling (simultaneous events) (fixes #897). 2015-04-19 10:43:12 +02:00
LevelX2
a5967d9b2a Added another test. 2015-04-19 09:13:58 +02:00
LevelX2
47b1753519 * Soulfire Grand Master - Fixed that a countered spell did wrongly return to hand if second ability was used. 2015-04-18 11:53:51 +02:00
LevelX2
0fc4c4b9f1 Added some tests. 2015-04-17 15:19:40 +02:00
LevelX2
57d8cd6ff4 * Delay - Fixed that suspend of the xiled spell did not work. 2015-04-17 14:50:33 +02:00
user
25749ff648 Some minor changes. 2015-04-17 00:20:34 +02:00
LevelX2
b2fe13c8c8 * Fixed attack tap handling - You can no longer attack with a mana producing creature that will be get tapped for attacking and use the creature itself to produce mana to pay for effects like Ghostly Prison if the mana ability has the cost to tap the creature. 2015-04-16 15:57:17 +02:00
LevelX2
77f3035443 Some changes to effect handling to fix failing tests. 2015-04-15 15:21:47 +02:00
LevelX2
9aa02f3d6f * Sidisi, Brood Tyrant - Fixed that the second ability did wrongly trigger, if Sidisi left battlefield before first ability did resolve. 2015-04-15 08:16:58 +02:00
LevelX2
4785ebd5f8 Merge origin/master 2015-04-14 22:29:41 +02:00
LevelX2
1cb3e73b39 * Servant of the Scale - Fixed that the counters were not added to the target creature. 2015-04-14 22:28:36 +02:00
LevelX2
2691dea7ef Added another Morph test. 2015-04-14 17:16:25 +02:00
LevelX2
7529d6f207 * Grindstone - Fixed a bug causing target player to lose game by grindstone effect itself. 2015-04-14 15:25:51 +02:00
LevelX2
15389b24d8 * Putrid Imp - Fixed that the can't block restriction did not work correctly. 2015-04-14 14:17:05 +02:00
LevelX2
67114c40a0 Added one more Manifest test. 2015-04-14 11:46:18 +02:00
LevelX2
d3dba58358 * Fixed that continuous effects of copied cards with limited duration stop to work as the copied card stops to exist. 2015-04-10 00:39:06 +02:00
LevelX2
d0900ebf6f [TPR] Added Thopter Squadron. 2015-04-09 15:23:36 +02:00
LevelX2
fd8a18129b * Loyal Cathar - Fixed that dies triggered ability also triggered for the night side card. 2015-04-07 23:39:38 +02:00
LevelX2
a58afbde4f Added Forecast test. 2015-04-07 16:12:33 +02:00
LevelX2
f62d3ac227 * Exploit - Fixed that Exploit also triggered if the creature with Exploit left the battlefield before the first ability of Exploit resolved. 2015-04-07 00:27:07 +02:00
LevelX2
66cf690968 Fixed some bugs that prevent to select shroud or hexproof targets by not targeted effects (e.g. Proliferate). 2015-04-05 11:13:26 +02:00
LevelX2
a60ba1b20f Added Amplify Test. 2015-04-04 12:42:48 +02:00
betasteward
18a4a98f1a moved copied cards to GameState 2015-04-03 13:37:11 -04:00
LevelX2
dbb9be6703 * Arashin Sovereign - Fixed that the player had no option to let the card go to the graveyard. 2015-04-03 16:28:40 +02:00
fireshoes
0fbe4303ae Added set Tempest Remastered and reprints. Added Pit Trap. Updated latest Game Day, FNM, Buy-a-box, WMCQ, and Release promos. 2015-03-30 22:51:34 -05:00
LevelX2
9d85a26e12 Added some tests and some minor changes. 2015-03-30 17:20:04 +02:00
betasteward
6405c8d2f0 move zoneChangeCounter to GameState - Card is now immutable 2015-03-29 08:30:31 -04:00
LevelX2
7bb2bbe1fa * Lazav, Dimir Mastermind - Fixed that it came back from non battlefield zone to battlefield copying previous copied card. 2015-03-27 14:23:53 +01:00
LevelX2
46b8267735 * Added some tests for Soulfire Grand Master. 2015-03-26 17:16:46 +01:00
LevelX2
16469bafe6 * Soulfire Grand Master - updated handling. 2015-03-25 17:13:34 +01:00
LevelX2
b382865e8d * Ashcloud Phoenix - Fixed that the dies triggered abilitiy worked if he died face down. 2015-03-25 15:13:46 +01:00
LevelX2
f1b279d650 * Added one more Morph test. 2015-03-25 00:30:03 +01:00
LevelX2
23d431a65a * CantBeCounteredControlledEffect - Fixed a bug that the counter source was not cheched correctly (e.g. it was possible to counter spells with blue counters after Autumn's Veil). 2015-03-24 22:46:52 +01:00
Jeff
804f5c9908 - Added a test for The Wretched. 2015-03-24 11:15:32 -05:00
LevelX2
5161f849f9 Fixed Necromancy Test. 2015-03-23 19:40:19 +01:00
betasteward
72ff6f27b3 changes to the way abilities are added to cards 2015-03-23 13:04:09 -04:00
LevelX2
1b90730aeb Fixed that to manifest an aura enchantments did not work correctly. 2015-03-23 00:03:09 +01:00
LevelX2
740611119b * Mikaeus, the Unhallowed - Fixed that the given undying ability did not trigger. 2015-03-22 19:47:46 +01:00
LevelX2
07a6c8154a * Fracturing Gust - Fixed that the life gain did not work if permanent with life gain preventing effect was destroyed. 2015-03-22 09:45:19 +01:00
LevelX2
b959b07fc1 Added test for It That Betrayed. 2015-03-14 10:57:02 +01:00
betasteward
9ad8530dee moved faceDown property from Card to CardState 2015-03-12 22:09:12 -04:00
LevelX2
a7e4ceb234 * Parallax Wave - Fixed a bug that always all exiled objects returned also if they were exiled by an earlier instance of Parallax Wave (combo with Opalescence). 2015-03-11 16:25:53 +01:00
LevelX2
23de61b433 * Fixed that manifested card went to exile face down (fixes #791). 2015-03-11 15:17:54 +01:00
LevelX2
e273481499 Some minor changes. 2015-03-11 15:02:52 +01:00
LevelX2
bda106d5eb Finished change of delimter from ";" to "$" for internal handling of tests to prevent problems from rules containing &mdash; code. 2015-03-11 14:04:56 +01:00
LevelX2
8d7087d859 Fixed initialisation of targetPointer in BoostEquippedEffect (fixes #790). 2015-03-11 13:24:11 +01:00
betasteward
fe2cd395a6 moved info from CardImpl to CardState and PermanentImpl + created InfoEffect for displaying rule info on Card 2015-03-10 14:57:55 -04:00
LevelX2
6b8493d9f8 * Changed all occurances of unblockable to can't be blocked. 2015-03-08 21:54:36 +01:00
LevelX2
43b0694ee3 * Jhoira of the Ghitu and Epochrasite - Fixed the not working suspend handling. 2015-03-08 01:40:16 +01:00
LevelX2
a1208f1a73 * Cascade - Fixed a bug that caused the controlling player to lose the game if all cards of the library were exiled with cascade although the cards were returned to library. 2015-03-07 14:26:26 +01:00
LevelX2
532ff611c4 * Reworked dealtDamageByThisTurn handling of permanents to take zone change of referenced objects into account. 2015-03-07 01:15:27 +01:00
LevelX2
34021ca44d * Bestow - Fixed handling of Bestow (fixes #772). 2015-03-05 15:42:28 +01:00
LevelX2
867bb38f91 * Geist of Saint Traft - Fixed that the Token was not exiled at end of combat. 2015-03-03 00:19:46 +01:00
betasteward
5c746e8ec2 Merge branch 'master' of https://github.com/magefree/mage
Conflicts:
	Mage.Sets/src/mage/sets/avacynrestored/CavernOfSouls.java
	Mage.Sets/src/mage/sets/shadowmoor/ManaReflection.java
2015-03-01 22:02:33 -05:00
betasteward
632573fc3e moved Watchers to Ability and moved Counters to CardState 2015-03-01 21:17:23 -05:00
LevelX2
7ce1e6de19 * Some minor changes. 2015-03-01 17:22:39 +01:00
LevelX2
01ef3f9354 * Fixed a bug that replacemet effects did not work if the source object of the replacemet effect also changed zone (fixes #759). 2015-02-28 12:55:49 +01:00
LevelX2
dd916a30e4 * Added undying test. 2015-02-27 15:18:19 +01:00
LevelX2
80d3e6bd9a Fixed a bug of AI target selection that caused endless loops during build of test project. 2015-02-27 15:04:42 +01:00
LevelX2
debe2316b2 * Echo - Fixed that the sacrifice effect also forced the player to sacrifice a new instance of the permanent with echo. 2015-02-26 20:38:48 +01:00
LevelX2
957fa7d647 Some minor changes. 2015-02-25 23:47:53 +01:00
LevelX2
329165555b * Undying - Fixed that the creature with undying returnd under the control of the previous controller instead of the card owner. 2015-02-25 22:21:17 +01:00
LevelX2
091fa9a528 * Bestow - Fixed that the converted mana costs were calculated from the bestow costs instead of the base cost of the spell. 2015-02-24 23:36:59 +01:00
LevelX2
2189236284 * Spellskite - Fixed that abilities (like the one of Wild Defiance) did not trigger if target was changed to Spellskite. 2015-02-21 17:26:14 +01:00
LevelX2
79e9312893 * Fixed the annoying SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" on client start. Updated a lot of POM references. Fixed warnings of Test Project. Some changes to logging. 2015-02-20 13:58:13 +01:00
LevelX2
48e08d94ce Set the convoke tests to ignore, because they don't work after the rework of convoke and delve. 2015-02-20 11:10:12 +01:00
LevelX2
d8e1a843c6 * Tidehollow Sculler - Fixed that the exiled card did not return opponents hand. 2015-02-16 20:46:23 +01:00
LevelX2
1342af5349 * Brain Maggot - Fixed that the exiled cards were not returned to opponents hand. 2015-02-14 10:54:31 +01:00
LevelX2
ad012ebd02 Fixed more CPU load caused by calculation of available mana. 2015-02-14 00:22:17 +01:00
LevelX2
8620fe5a7d * Fixed another problem with available mana generation (e.g. with Nykthos, Shrine to Nyx). 2015-02-13 15:03:29 +01:00
LevelX2
0722276ca4 * Fixed a bug in calculation of available mana that can be a source of heavy server load. 2015-02-13 08:39:44 +01:00
LevelX2
ba1fb775b2 * Fixed that manifested or morphed creatures did wrongly trigger "enters the battlefield" abilities with their card attributes (e.g red card manifested triggered Foundry Street Denizens boost ability). 2015-02-12 15:54:41 +01:00
LevelX2
7b95da55a7 * Some more changes concerning sourceObject handling in ability. Added early event type check for triggered abilities. 2015-02-12 01:56:45 +01:00
LevelX2
b73f34a52e * Some changes to zone object movement and source object handling. Origin source object of ability is now hold in ability to be able to check e.g. zone change counter. 2015-02-11 17:51:41 +01:00
LevelX2
874b170a74 Added ManaOptions test and some changes in handling. 2015-02-11 01:10:34 +01:00
LevelX2
974951e18d * Fixed that for "Shoal" spells a wrong CMC was calculated while on the stack, if alternate casting cost was used (fixes #696). 2015-02-06 16:13:51 +01:00
LevelX2
a245c0ed6f Fixed a bug of Undying. 2015-02-02 22:08:33 +01:00
LevelX2
2544c12d48 * Some minor changes. 2015-02-01 16:47:21 +01:00
LevelX2
faa2b0a0bf * Rally the Ancestors - Fixed that creatures cards were moved to exile also if already in the graveyard. Problem was that the zoneChangeCounter was not raised as a permanent card left the battlefield. So some more fixes were neccessary for implementations that are based on this fixed zoneChangeCounter of permanents leaving the battlefield. I guess there will be some more bugs caused by this change but I guess this is the correct way to go. 2015-01-31 19:17:22 +01:00
LevelX2
dbbbbc0279 * Fixed that continuous effects of face down creatures were applied. 2015-01-31 14:46:54 +01:00
LevelX2
5b79f99a85 Added log text to use of conditional mana of Cavern of Soul. 2015-01-30 16:58:21 +01:00
LevelX2
54e0068053 * Devotion - Fixed that face down permanents counted for devotion with their regular casting costs (workaround). 2015-01-23 15:12:29 +01:00
LevelX2
bc3dc9d548 * Fixed that ETB abilities of manifested cards did wrongly trigger (e.g. the Constellation ability of Doomwake Giant manifested by Reality Shift). 2015-01-23 13:48:03 +01:00
LevelX2
ac0d923afd Added one more test for manifest. 2015-01-23 00:05:37 +01:00
LevelX2
89c8425d94 * Fixed that replacement or rule modifying effects of cards played with morph were wrongly applied on the stack (e.g. can't be countered of Akroma, Angel of Fury). 2015-01-22 23:43:25 +01:00
LevelX2
8b2445551e * Added 2 tests to Phantasmal Image Tests. 2015-01-20 17:23:17 +01:00
LevelX2
79ceae999a [FRF] Fixed ETB replacement and triggered abilities for manifested cards. 2015-01-17 15:30:00 +01:00
LevelX2
de10554ec4 [FRF] Added Brutal Hordechief and Crucible of the Spirit Dragon. FRF Complete!!! 2015-01-17 13:08:39 +01:00
LevelX2
effa560e02 [FRF] Fixed a bug of Hooded Assassin. 2015-01-07 23:42:42 +01:00
LevelX2
96aafcd475 Fixed that adjustTarget did not work correctly for Triggered abilities. Fixed that adjustTargets also works now for cards copied from graveyard (e.g.by Feldon of the Third Path). 2015-01-07 01:15:03 +01:00
LevelX2
4a35c8c567 Some changes to framework classes (e.g. to handle gained DiesTriggeredAbilities correctly). 2015-01-03 15:15:12 +01:00
LevelX2
4d6e818490 * Epochrasite - Fixed that it did not get the suspend ability after beeing exiled. 2014-12-31 11:46:13 +01:00
dokkaebi
349dc4f995 Added Poisonous keyword ability and Virulent Sliver 2014-12-30 18:08:43 -08:00
LevelX2
f00001aca2 * Fixed a bug that abilities gained from enchantments (e.g. regen from Molting Snakeskin) to enchanted permanent did not work. 2014-12-28 21:49:53 +01:00
LevelX2
dd8a11ba5c * Redesigned idle timeout handling to prevent selecting wrong player for timeout. 2014-12-27 17:31:52 +01:00
LevelX2
c958a1af25 * Persist - Fixed that the permanent returns now correctly under owner control after dying. 2014-12-27 02:19:33 +01:00
LevelX2
18e4bc7f18 * Fixed a bug of Exchange control were activated abilities got the wrong controller. 2014-12-27 02:18:29 +01:00
LevelX2
34298e78f5 * Fixed a (probably recently unintentionally added) problem with activated abilities of tokens. 2014-12-26 21:08:05 +01:00
LevelX2
40eef06944 * Grindstone - Infinite loop (with e.g. two Progenitus) is handled as a draw. 2014-12-26 17:22:32 +01:00
LevelX2
dba3c881e1 * Fixed problem with CopyEffect and fixed MisdirectionTest. 2014-12-25 11:31:48 +01:00
LevelX2
4f1368f3de * Made a lot of changes to handling of continuous and triggered abilities. This should fix the problems with Mage Singletons like Flyinging / Intimidate / Reach not working. Fixed also #533 and some other problems with copy effects of cards like Clone that did not end if e.g. Clone left the battlefield. 2014-12-25 02:07:40 +01:00
LevelX2
02ba80b719 * Switched from UUID to MageObjectReference to handle affected objects of continuous effects. Solvng problems with objects that changed (multiple times) zones while the effect lasts. 2014-12-25 02:03:21 +01:00
LevelX2
d66213b4fb * Mephidross Vampire - Fixed that it gave a wrong ability to all controlled creatures. 2014-12-23 11:12:30 +01:00
LevelX2
1141e4c2fa * Fixed two Morph Tests. 2014-12-16 15:07:13 +01:00
LevelX2
bc7a64677e * Fixed some cards/effects that checked for permanents with the same name and did not work correctly with face down creatures. 2014-12-13 16:47:24 +01:00
LevelX2
6514e30b59 * Gather Specimens - Fixed that it did not work for token creatures the opponent brought onto the battlefield. 2014-12-01 13:28:39 +01:00
LevelX2
3446953a9d Fixed two tests. 2014-11-29 15:05:43 +01:00
LevelX2
c673fbfae1 [C14] Added 6 blue cards. 2014-11-28 17:39:47 +01:00
LevelX2
036095f6ec Some more changes to net mana handling. 2014-11-17 23:44:40 +01:00
LevelX2
b2e259422d Changed counter names to start with lower case. 2014-11-14 15:11:20 +01:00
LevelX2
7dbf265fd5 * Tests - Use logname to check for objects. 2014-11-11 23:57:20 +01:00
LevelX2
d7f100b24b * Added "Duel Commander" format (fixes #436). 2014-11-08 01:33:29 +01:00
LevelX2
813841eccd * Fixed Batwing Brume, CankerousThirst, Invert the Skies, Moonhold, Unnerving Assault, Tin Street Hooligan, Dawnglow Infusion, Firespout where the condition if a special kind of mana was paid was always false. 2014-11-06 12:14:06 +01:00
LevelX2
95d30d9085 * Fixed a bug that continuous effects of cards that were put onto battlefield not under owner control could be applied using the owner as controller. Fixes #604 (I guess). 2014-11-05 00:19:17 +01:00
LevelX2
3f71fe64b0 * Fixed a bug that set wrong or did not reset to owner the controllerId of card abilities (could be a fix to #604). 2014-11-04 17:34:15 +01:00
LevelX2
2ac1340af7 * Some changes to version handling. Added display of server version (incl. minor server version) in client window titel. 2014-10-31 10:35:53 +01:00
LevelX2
df71237f46 * Added logic to auto select replacement effects. Some changes to counter size and font size handling. 2014-10-30 20:40:23 +01:00
LevelX2
d8d25dc00a * Morph - Fixed that copying a morph creature always copied the creature like it was face down. 2014-10-29 15:16:42 +01:00
LevelX2
a1b993474f * Added one more Omniscience test. 2014-10-26 10:20:16 +01:00
LevelX2
9905b0c4ab * Copy Enchantment - Fixed a bug that it could not copy non aura enchantments. 2014-10-26 09:08:17 +01:00
LevelX2
e244f5d87f * Obstinate Baloth - Fixed a bug that EntersBattlefieldTriggeredAbilities did not work if the triggering creature entered and left the battlefield during the resolution of an effect (#606). 2014-10-23 19:55:44 +02:00
LevelX2
cc6f1f0010 [BOK] Added 3 cards + Stranglehold. Fixed Painwracker Oni (to no intervening if clause). 2014-10-23 17:41:15 +02:00
LevelX2
7dd873b1e6 * Fixes to put token onto the battlefield that's a copy of creature on the battlefield effects that copy creatures that already copy other creatures. 2014-10-21 16:01:00 +02:00
LevelX2
1c8639a0b5 * Fixed text of modal test after the change of modal text generation. 2014-10-17 19:07:58 +02:00
LevelX2
81408b3649 * Fixed Miracle handling (fixes #447). 2014-10-13 23:41:08 +02:00
LevelX2
8f690f7e02 * Added option to start matches with password protection. 2014-10-11 16:29:37 +02:00
LevelX2
7ad45a2a6e * Fixed that converted mana costs for stack objects were not always calculated correctly (e.g. a Mental Misstep could counter a Cahlice of the Coid with X=1). 2014-10-10 10:27:01 +02:00
LevelX2
c96153f544 * Somem minor formatting / changes. 2014-10-10 07:58:07 +02:00
LevelX2
5d7e12d6df * Fixed a bug, that if a spell with a spell cast triggered ability (e.g. Ulamog, the Infinite Gyre) was successfully countered, the triggered ability was unintended removed from the stack with the spell. 2014-10-09 16:20:33 +02:00
LevelX2
949d2cb24c * Some minor formatting. 2014-10-04 11:13:54 +02:00
LevelX2
54f0fd8fc1 * Fixed that AI used activated abilities for Battlefield as the card was on hand (fix #588). 2014-10-03 13:12:03 +02:00
LevelX2
96d2351d09 Added some more Morph tests. 2014-10-02 16:19:43 +02:00
LevelX2
2977cd27ea * Kruphix, God of Horizons - Fixed a bug that the mana pool was not correctly emptied (fixes #555). 2014-09-30 12:27:10 +02:00
LevelX2
da277dbdd9 * Added a test for Nykthos, Shrine to Nyx. 2014-09-30 08:28:19 +02:00
LevelX2
ea872b029a * Added a test for Nykthos, Shrine to Nyx. 2014-09-29 17:43:03 +02:00
LevelX2
6a9a7d11e8 * Pine Walker - Fixed that the turned face up ability did also trigger for other creatures if Pine Walker was face down (fixes #581). 2014-09-29 15:18:41 +02:00
LevelX2
87b1b64d80 * Psychic Intrusion - Fixed that it did not work to pay mana costs with any kind of mana (fixes #582). 2014-09-29 14:25:05 +02:00
LevelX2
529b27c664 * Added a test and some comments. 2014-09-26 12:50:11 +02:00
LevelX2
4afb514735 * Mistcutter Hydra (and other) - Fixed that a previous used and set X value was used again as the card was put onto battlefield again (fixes #573). 2014-09-26 00:40:46 +02:00
LevelX2
2c63d3bff8 * Client connect - Fixed that reconnect request was also shown if no successful connection was set up before. 2014-09-25 23:13:05 +02:00
LevelX2
7cacff2ce7 * Karmic Justice - Fixed that it did not trigger for its own destroyment. 2014-09-25 10:24:04 +02:00
LevelX2
5b5344a1a0 * MorphAbility - Fixed copying a face-down creature (fixes #566). Morph cards are indicated as playable now if you have the needed mana to play it by Morph. Cast of Morph spell is now colorless (fixes #569). 2014-09-23 17:01:09 +02:00
LevelX2
f9afd91209 * Added a Misdirection test (#574). 2014-09-23 16:56:52 +02:00
LevelX2
d1e267af43 * Added test for Karmic Justice. 2014-09-23 08:18:54 +02:00
LevelX2
898f111533 * Fixed calculation of converted mana costs of spells on the stack that include multiple {X} in casting costs. 2014-09-21 10:33:27 +02:00
LevelX2
08b26ae57a * Deflecting Palm - Fixed that damage dealing did not work if the source was a spell. 2014-09-21 09:41:01 +02:00
LevelX2
b4ca801766 * Daybreak Coronet - Fixed that it was not checked correctly if the target of Daybreak Coronet was still legal. 2014-09-20 20:17:12 +02:00
LevelX2
ed11d8e5ed * Added a test. 2014-09-20 17:44:30 +02:00
LevelX2
078d6fb3c6 Reworked some cards with a name a card effect to use a common effect. 2014-09-19 13:39:15 +02:00
LevelX2
972dc729b2 * Vines of Vastwood - Fixed that it did not work correctly if cast on a creature controlled by an opponent. 2014-09-16 17:21:05 +02:00
LevelX2
e0c7083145 * Fixed that deathtouch and lifelink did not work if the source permanent left the battlefield before the damage was dealt (e.g. Marath removing its last +1/+1 counter). 2014-09-16 14:15:19 +02:00
LevelX2
30d112e0bf Added some tests. 2014-09-15 17:24:15 +02:00
LevelX2
1f41f3013a Some minor changes already included in 2014-09-13 release. 2014-09-13 21:05:54 +02:00
LevelX2
8dbd996646 Added test for Boros Reckoner triggered damage ability. 2014-09-04 16:47:53 +02:00
LevelX2
fbc2a7258f * Fixed problems with LockedInCondition() that did not work as intended if spells were reused because conditions have no deep copy. 2014-08-30 00:46:29 +02:00
LevelX2
1f196f0bc7 * Cavern of Souls - Fixed that conditional mana in the mana pool remembers correctly for which creature subtrype its usable. 2014-08-29 14:48:04 +02:00
LevelX2
e8cfb2231c Some minor changes. 2014-08-28 13:32:44 +02:00
LevelX2
650ca1616a Fixed failing Kiki-Jiki Mirror Breaker test. 2014-08-28 13:16:25 +02:00
LevelX2
823291c358 * Jace, Architect of Thought - fixed first ability that wrongly stopped working as soon as Jace left battlefield. Added tests. 2014-08-27 17:10:01 +02:00
Dustin Conrad
8c292e4e9f Add triggered ability test for sacred test. Fix sacred ground to work with triggered abilities 2014-08-24 16:11:01 -04:00
LevelX2
e9560bb2b6 Added apply effects to handle successive events without getting again priority (e.g. creature dies that boost other creature and so on). 2014-08-24 18:33:50 +02:00
LevelX2
224d735f30 Some changes to test. 2014-08-23 17:58:50 +02:00
LevelX2
bf8b0f81ca Some changes to test. 2014-08-23 17:58:36 +02:00
LevelX2
746e64b46e Added two tests for #533. 2014-08-22 15:00:06 +02:00
LevelX2
b094df2a52 Fixed some put into graveyard effects that were implemented wrongly as triggered effects to replacment effects (LegacyWeapon, Progenitus, Darksteel Colossus, Blightsteel Colossus). 2014-08-21 15:13:29 +02:00
LevelX2
cc676b2258 PutOnLibraryTargetEffect - Updated tooltip text creation. 2014-08-21 10:42:43 +02:00
magenoxx
c683554573 InfestTest 2014-08-19 23:41:02 +04:00
magenoxx
610372d92e Fixed TestOfFaithTest 2014-08-19 23:40:46 +04:00
Dustin Conrad
327a09c0c1 Check for null player in browbeat. Add shrapnel blast test for omniscience (currently failing) 2014-08-18 19:10:15 -04:00
LevelX2
b54785688d Fixed Omniscience to work as alternate casting costs (also with split/fused cards). Added test. 2014-08-18 23:53:50 +02:00
magenoxx
43e82b7a1a Added zoneChangeCounter into LKI. Reimplemented Trostani. PersistTest and LastKnownInformationTest do work now. 2014-08-18 19:45:37 +04:00
magenoxx
265b85cb9e [TestAPI] Added adding choices for effects 2014-08-18 17:29:19 +04:00
LevelX2
d651fb65fa Fixed CMC compare order. 2014-08-18 01:09:15 +02:00
LevelX2
201817b331 Fixed PersistTest. 2014-08-18 00:48:17 +02:00
LevelX2
d02f272bca * Fixed that attacker has not always to assign all damage to multiple blockers. Improved AI behaviour of assigning damage to multiple blockers. Tries to kill blocker if possible now. 2014-08-18 00:46:45 +02:00
LevelX2
06caf2179d * Ashiok, Nightmare Weaver - Added tests and minor changes. 2014-08-17 22:33:05 +02:00
LevelX2
eb89f95f07 * Proliferate - Fixed a bug that only creatures could be used for the proliferate add counter effect. 2014-08-17 21:13:26 +02:00
LevelX2
ddb9c786b4 Some changes to logging and NPE handling. 2014-08-17 20:38:57 +02:00
LevelX2
c449a9b2fd Some tests and minor formatting. 2014-08-17 02:48:19 +02:00
LevelX2
821398211b * Counterbalance, Hisako, Minamp Sensai - Fixed that converted mana comparison of spilt cards did not work correctly. 2014-08-17 01:12:41 +02:00
LevelX2
f633d35bfd * Wall of Roots - Fixed that Wall could not be used after beeing exiled and returned with Momentary Blink. 2014-08-16 19:27:43 +02:00
LevelX2
df475d8049 * BattleCry - Fixed that power boost did not last until end of turn. 2014-08-16 17:37:38 +02:00
LevelX2
5ce105e699 * Voice of Resurgence - Fixed a bug that the triggered ability did not work if a token copy of Voice of Resurgence died. 2014-08-16 16:55:27 +02:00
LevelX2
f84d624f1f * Fixed a bug that mana source restrictins got lost with mana cost madification (e.g. cast Myr Superion while Etherium Sculptor in play). 2014-08-16 13:03:13 +02:00
LevelX2
fcc28ac0f3 Added test for Sacred Ground. 2014-08-16 10:26:26 +02:00
LevelX2
57ccef6092 * Fixed can't counter ability that did not work correctly. 2014-08-16 09:33:31 +02:00
LevelX2
bdb05d4ca0 * Added tests for Valakut, the Molten Pinnacle. All worked already correct so far. No bug found. Closes #506. 2014-08-15 16:46:47 +02:00
magenoxx
b82279a2f7 Merge branch 'master' of https://github.com/magefree/mage 2014-08-15 15:45:22 +04:00
magenoxx
1a28ed4a8a Fixed testUndyingTriggersInTime test. Renamed to testPersist* 2014-08-15 15:07:43 +04:00
LevelX2
429e114f69 * Convoke - Fixed that creatures with protection from color of convoke spell could not be tapped. Fixes #513- 2014-08-15 12:42:56 +02:00
magenoxx
de6d1bf46b Asserting action count in tests. minor changes. 2014-08-15 10:52:37 +04:00
magenoxx
ef92e006d0 Forgot to commit 2014-08-15 10:27:17 +04:00
magenoxx
186f29d0cc LKI tests 2014-08-15 10:26:29 +04:00
magenoxx
0597aaf4f4 [TestAPI] Cast when spell or ability are not on the stack 2014-08-15 10:16:28 +04:00
Quercitron
cdbe09890d Add testThatCardIsHandledAsNewInstanceAfterCloudshift (issue with reference to object after multiple zone changing) 2014-08-15 02:41:49 +04:00
LevelX2
f0e8041906 * Fixed a bug that winning with alternate win condition (e.g. Biovisionary) did not set game end date. That leads to a NPE in client. 2014-08-14 14:08:41 +02:00
LevelX2
484a4fe0f6 * Leyline of Anticipation - Fixed that it only worked for creatures instead of all nonland permanents. 2014-08-14 12:48:41 +02:00
LevelX2
8c6893a8e8 Update BloodMoonTest and some updates to Tooltiptexts. 2014-08-11 00:54:46 +02:00
LevelX2
c8fa685735 Fix for issue #493. Tests do all work, need some more checking if this really works. 2014-08-10 11:28:02 +02:00
LevelX2
babbd9ff19 * Added a test for issue #493. 2014-08-10 10:56:10 +02:00
Dustin Conrad
5ed3027b9f fix null pointer when the generated deck is all artifacts. 2014-08-09 22:40:08 -04:00
LevelX2
e893999657 * Chandra Pyromaster - Fixed that the exiled card from second ability could e.g. not be cast with overload. Fixes #486. Added tests. 2014-08-08 12:00:57 +02:00
LevelX2
fc382740ce * Curse of Exhaustion - Fixed that it did not work correctly with Copy Enchantment spell. 2014-08-06 12:22:17 +02:00
LevelX2
792e23a0b0 * Steel Hellkite - Fixed that the activated ability of a Steel Hellkite copied with Phantasmal Image did not work. 2014-08-05 14:48:36 +02:00
LevelX2
fce95b2fde * Banisher Priest - Fixed a bug that if Banisher Priest was copied by a token, the target creature exiled by the token did not return as the token left the battlefield. 2014-08-04 00:41:03 +02:00
LevelX2
eeb9cc2f56 * Fixed failing clone test. 2014-08-02 22:06:17 +02:00
LevelX2
cbb6117b8e Replaced some replacement effects with restriction effects. Added new method to restriction effect. Improved canAttack methods (not finished yet). 2014-08-01 15:59:59 +02:00
magenoxx
b1908219ff Test and fix for prev commit 2014-07-30 19:36:17 +04:00
magenoxx
62b959f6b1 [UI] Resolved Issue#460: Simplify hybrid mana use 2014-07-30 18:37:48 +04:00
LevelX2
33918623aa Fixed some more mixed up parameters of target classes. 2014-07-30 10:47:51 +02:00
LevelX2
e22174b148 * Fixed that sacrifice was handled targeted (because of using other method now with sourceId and controllerId). 2014-07-27 15:51:51 +02:00
magenoxx
7af34eb8b1 Issue#460: added falling tests 2014-07-27 15:34:23 +04:00
LevelX2
7f6d5bcac6 * Fixed a bug introduced with TargetSource() fix. 2014-07-25 14:43:13 +02:00
LevelX2
bafcff82ec Added a test. 2014-07-23 17:22:32 +02:00
LevelX2
6bd1a9c7ca * Fixed calculation of converted mana costs for spells on the stack (fixes #459). Added test. Some minor formattings. 2014-07-19 15:17:46 +02:00
LevelX2
bfca0b2b04 * Discard - Fixed that discard cost are valid if Rest in Peace is in play. 2014-07-19 10:23:58 +02:00
Quercitron
e5b2b39701 Make order of parameters the same for methods player.damage and permanent.damage 2014-07-18 02:11:11 +04:00
LevelX2
213f8e7071 * Liliana's Careess - Fixed target handling of opponent. 2014-07-14 23:15:37 +02:00
LevelX2
d989131980 * Tests - Added a damage distribution test and fixed a bug of test target handling that caused the CrypticCommandTest to fail. 2014-07-14 23:02:27 +02:00
LevelX2
a9d08ef724 * Added test for control change. 2014-06-23 15:56:40 +02:00
LevelX2
d27540a502 * Court Hussar, Azorius Herald fixed mana was spent condition for permanents. Batwing Brume - Fixed both triggered effects that did not work correctly. 2014-06-20 19:26:15 +02:00
LevelX2
6865b69343 Added test to besow test (not finished yet). 2014-06-20 14:27:04 +02:00
LevelX2
bc91cc7f84 * Combat - Creatures forced to attack can no longer be removed from attack by using the undo button (e.g. Bident of Thassa). 2014-06-20 14:24:13 +02:00
Quercitron
f2114f4701 Fix build for Player AI projects 2014-06-13 20:21:07 +04:00
North
1867a150c1 [refactor] removed generic parameter from Player 2014-06-03 11:19:49 +03:00
LevelX2
7af040e70b * Batterskull - Fixed effect handling so that the Germ token no longer dies before the equipment from living weapon is attached. 2014-06-02 15:03:14 +02:00
North
44785267ec removed @Ignore from good tests 2014-05-31 18:18:26 +03:00
LevelX2
99a60c3063 * Progenitor Mimic - Fixed a bug that the every turn created token did not trigger "enters the battlefield" tiggers that checked for specific attributes. Added Test for that. 2014-05-30 20:26:30 +02:00
North
2b8afe379a fixed auto reconnect feature 2014-05-28 08:35:10 +03:00
LevelX2
2910274174 Added test for casting Force of Will using alternate casting costs. 2014-05-26 16:59:38 +02:00
LevelX2
588da451e5 * Harm's Way - Some minor fixes. Test runs now without error. Stil issues #437 left. 2014-05-26 14:37:15 +02:00
LevelX2
36854f222b Added test for Persist, including a test for existing bug where Murder Investigation uses the wrong permanent for gaining power to calculate number of tokens. 2014-05-25 17:40:21 +02:00
LevelX2
7b28b6a545 Added possibility to choose resolve order of triggered abilities for tests. 2014-05-25 17:37:20 +02:00
LevelX2
0443311f0e Fixed some handling problems of triggered abilities. 2014-05-24 21:10:56 +02:00
LevelX2
7fc072f467 * Fixed a bug that effects where applied to early and often (e.g. dying creature during combat damage step raised Nighthowlers tougness, so he survived lethal damage). 2014-05-24 19:19:08 +02:00
LevelX2
19ccd5bc23 * Asceticism - Fixed a bug that no real Hexproof ability was gained (this fixed the problem with the failing PhantasmalImageTest). 2014-05-23 16:06:35 +02:00
LevelX2
ce01d8cf25 * P/T defining static abilities - Fixed that the P/T is also set for the card if it's not a permanent (e.g. fixes that targeting a Nighmare with Margue Burst did always no damage). 2014-05-14 16:17:29 +02:00
LevelX2
8a4474fadc * Evoke - Fixed that the check if creature came into play with evoke was always true if it came again to play later when it was evoked before. 2014-05-10 17:05:52 +02:00
LevelX2
6b1e52d094 Made a change to the event handling to get Undying to work. 2014-05-07 01:30:39 +02:00
LevelX2
9364616517 * Fix to handle returning effects correct if multiple objects return at the same time (e.g. two creatures with evolve return from exile because two Banisher Priests die by damage to all effect). (not complete finished yet, because Undying test does not run without error). 2014-05-06 17:51:37 +02:00
LevelX2
411a0ae7ed Added misssing reconnect() method of SimpleMageClient. 2014-04-29 08:17:48 +02:00
LevelX2
b4dcddd0a9 * FlashbackAbility - Fixed that for flashbacked spells additional optional costs did not work (e.g. Buyback, Replicate, Kicker). 2014-04-27 16:06:07 +02:00
LevelX2
ba35f397b0 Fixed a bug in reworked prevention function. 2014-04-25 22:17:19 +02:00
LevelX2
3842aeba7d * Sudden Disappearance - Added missing tooltip text. 2014-04-25 17:56:07 +02:00
LevelX2
64e0b4d1b9 * BestowAbility - Fixed that Bestow creatures didn't revert back to creatures, if the enchanted creature left battlefield. Bug introduced with last fix to bestow ability. 2014-04-24 00:26:27 +02:00
LevelX2
e0ce6df6b3 * BestowAbility - Fixed a problem that bestow cards that was put onto the battlefiedl as Auras were affected by abilities that should only affect creatures (e.g. Imposing Sovereign). 2014-04-22 15:12:14 +02:00
LevelX2
38f922a200 * Bestow - Fixed a bug that casting a bestow creature as enchantment aura triggered enteres the battlefield events as creatures (e.g. triggering evolve). 2014-04-07 13:44:15 +02:00
North
479f12f4b7 fixed build 2014-04-05 21:06:40 +03:00
LevelX2
2d4b1a4619 * Some formatting and a additional Cloudshift test. 2014-04-05 02:52:24 +02:00
LevelX2
9ff5bcbd92 Improved reconnect and tournament handling. Reconnect time is now shown for disconneted players on player list and tournament panel. You can now reconnect (during 3 minutes) to a tournament also if meanwhile new game (after sideboarding ended) or round was started. Conceding the complete match in a tournament can no longer result in a draw, if you won games before. Quitting a tournament does now always end all active games of that quitting player. 2014-03-31 02:24:59 +02:00
LevelX2
0d290a2431 Tests - Added the possibility to attack planeswalker in tests- Added attack planeswalker test. 2014-03-29 17:48:09 +01:00
LevelX2
ea498413cf * Fixed a bug of CanBlockOnlyFlyingAbility that prevented other creatures with flying on the battlefield to block (Gloomwidow, Scrapskin Drake, Stormbound Geist, Skywinder Drake, Cloud Elemental, Cloud Sprite, Vaporkin, Welkin Tern). 2014-03-27 20:08:16 +01:00
LevelX2
0cf25a5c8e Minor changes to Phantasmal Image card and test. 2014-03-24 08:32:08 +01:00
LevelX2
79b319777f Some clean up of the lose life framework effects. 2014-03-20 13:42:46 +01:00
LevelX2
87c0576549 Fixed that modes of modal spells resolved also if all targeted modes of a spell had no more legal targets and there were targeted modes (fixes #385). Should also fix same problem for parts of a fused spell. Added test for Cryptic Command. 2014-03-19 16:44:57 +01:00
LevelX2
640a792653 Added method to cast modal spells with specific modes for test player. Added condition for test player to cast a spell only if specific spell is on the stack. 2014-03-19 16:41:43 +01:00
LevelX2
9c9171a5ee * Necrotic Plague - Fixed that the second ability was a ability of the enchanted creature instead of the enchantment. Fixed that the new target creature was choosen during resolution instead of already set on stack. 2014-03-15 19:56:10 +01:00
LevelX2
532c51afd1 * Test for Banisher Priest. 2014-03-15 17:49:13 +01:00
LevelX2
cec37305da Improved target handling of test project. Fixed some incompatible / unclean tests. 2014-03-15 14:06:05 +01:00
LevelX2
09b7e7baea * Minor formatting. 2014-03-14 14:00:29 +01:00
LevelX2
1e7cfa086b * Cavern of Soul - Fixed a bug that caused that every spell could not be countered that was cast using the first (colorless) mana ability (fixes #391). 2014-03-12 15:53:27 +01:00
LevelX2
0356272cae Suppressed info messages from sqlite db tool while running tests. 2014-03-12 15:44:47 +01:00
LevelX2
8491b5b90b * Cleanup of server memory handling - removed memory leaks for Chat, Player, Match, Game etc. 2014-02-21 01:13:27 +01:00
LevelX2
d4592b2ee2 * Simplified version info handling. 2014-02-11 19:36:05 +01:00
LevelX2
aa359cd1b6 Set the correct TimingRule for Spells != Instants, some minor changes to can be cast checks. 2014-02-11 15:53:35 +01:00
LevelX2
e8534b880d Added some comments to test. 2014-01-25 15:56:38 +01:00
LevelX2
ad71ec6aad Set Version 1.3.0. 2014-01-25 15:55:39 +01:00
Quercitron
9777aefae2 [6ED] Add 4 cards 2014-01-12 19:33:57 +04:00
LevelX2
e3d543fa76 Fixed a bug in handling ContinuousEffects introduced with 463cec8754. 2014-01-09 15:15:05 +01:00
LevelX2
74e3fa63a8 * Bestow - Fixed that creature with bestow went to graveyard if enchanted target got protection from a color of the bestow permanent. 2014-01-03 12:38:51 +01:00
LevelX2
b724d7fe13 Mage 1.2.0 Release 2013-12-31 17:29:00 +01:00
LevelX2
5df50ef836 [C13] Illisionist's Gambit (last missing C13 card). 2013-12-15 14:19:13 +01:00
LevelX2
9000b4480c Added a test that checks if by Smelt-Ward Gatekeepers targted controlled creature gets haste as intended. 2013-12-12 19:46:40 +01:00
LevelX2
80fc87a7f7 * Fixed a problem if some of multiple targets can't be targeted during resolution (e.g. target got hexproof meanwhile) it was still targeted (e.g. it happens for INto the void). 2013-12-07 15:51:10 +01:00
LevelX2
d094f291aa Pushed version to 1.2.0dev. 2013-10-26 13:01:31 +02:00
LevelX2
dfa91ceeaf Fixed some tests that failed after changes to rule text generation. 2013-10-22 14:05:40 +02:00
LevelX2
d6c1075125 * Release Mage 1.1.0 final 2013-10-12 11:22:06 +02:00
LevelX2
f04df1b193 Formatting. 2013-10-07 18:13:21 +02:00
Jeff
00f0e6a6d3 - Added Aven Trailblazer, Mark of Asylum, and Mirror-Sigil Sergeant. Tests for each. 2013-09-25 11:54:27 -05:00
Plopman
db094c2cc0 Added test for costs modification 2013-09-24 19:53:42 +02:00
Jeff
23434548bd - Added Gather Specimens, Sludge Strider, and Swerve. Fixed Abattoir Ghoul. Added some tests. 2013-09-23 17:24:57 -05:00
LevelX2
857da3a08a Fixed a bug that triggred abilities of permanents that were controlled by a player that is not the owner could sometime trigger for a wrong player (Fixes #271). 2013-09-14 17:20:45 +02:00
LevelX2
8e9dba6368 Some changes to test handling to set correct zon for cards in library. 2013-09-01 15:48:44 +02:00
LevelX2
1090258114 Changed ConditionalContinousEffect to handle latest changes correctly. 2013-09-01 14:48:00 +02:00
LevelX2
5456a908a8 * Progenitor Mimic - Fixed that the created copies could select a new target. 2013-09-01 11:13:03 +02:00
LevelX2
c14302df8a * Doubling Season - Fixed that doubled counters were created named with all uppercase letters. 2013-08-28 13:33:06 +02:00
LevelX2
90774fea0b * Test of Faith - Fixed that +1/+1 counters that a blocker got during combat already counted for damage dealt to the attacker. 2013-08-13 14:23:49 +02:00
LevelX2
c9d18f0410 Fixed a bug in LockedInCondition that caused bugs in cards that used it (e.g. Goblin Bushwhacker). 2013-08-11 16:03:58 +02:00
LevelX2
0d37d1593b * Odric Master Tactician - Fixed that the game didn't leave the block phase controlled by the controller of Odric. 2013-08-06 18:26:49 +02:00
LevelX2
4a28881f71 Added as thought effect to let creatures block tapped. 2013-08-03 20:14:11 +02:00
LevelX2
7d0cf3cd8c Set version to 1.1.0 dev. 2013-07-21 22:52:25 +02:00
LevelX2
9803c069f9 Fixed and extended PlaneswalkerRuleTest. 2013-07-15 19:54:37 +02:00
LevelX2
0f32fc72de Solution for the deck editor / sideboarding / construct - mockcards problem. 2013-07-06 00:44:13 +02:00
LevelX2
4d3d76e8e9 Changed some modal spells to the new handling of modal spells. 2013-06-22 19:36:16 +02:00
North
0bb110be45 [refactor] moved enums from Constants class 2013-06-16 12:28:10 +03:00
LevelX2
5addb63757 * Changed indestructible to an ability according M14 rule change. Also fixed that for indestructible permanents the DESTROY_PERMANENT event was triggered what led to bugs with abilities like Totem Armor. 2013-06-15 17:57:01 +02:00
LevelX2
84df0f2c43 * Added tournament options for adjustable construction time and free mulligans
* Added duel options for free mulligans
2013-06-14 23:45:30 +02:00
LevelX2
5336d4c0f9 Pushed version to 1.0.3 dev. 2013-05-12 16:00:25 +02:00
LevelX2
6b38cd5b18 Mage Version 1.0.2 2013-05-11 23:06:30 +02:00
LevelX2
1e5100e0d6 Added the logic, that one continious effect in game state can be connected to multiple abilities. This fixes issue #198 and #196. 2013-04-17 23:44:50 +02:00
LevelX2
797b58222a Fixed test to use correct text to use an ability. 2013-04-17 00:08:56 +02:00
LevelX2
0ebd265197 Fixed a bug, that a ability gained to multiple permanents (e.g. Forestwalk) was only gained to the first permanent because no uniquie id was set for the copied ability added to state. Added a test for the bug. 2013-04-13 18:18:24 +02:00
LevelX2
6a4a3923a6 Fixed tests where rule text of activated abilities where changed (Commit 36b4482367). 2013-04-06 16:50:53 +02:00
LevelX2
0edc794c6a Fix for Lazav, Dimir Mastermind. Added two additional tests for Lazav. 2013-03-31 11:54:27 +02:00
magenoxx
29b84e0d92 Closed #169: Make it possible to untap lands 2013-03-29 20:35:16 +04:00
magenoxx
d4860d181f Fixed build 2013-03-29 14:46:59 +04:00
LevelX2
cb18bf2bd4 Changed replacement effects of OrbOfDreams and Corpsejack Menace to selfScope = false. Extended Orb of Dreams test. 2013-03-22 15:01:38 +01:00
LevelX2
27b55b4e49 Added a test to evolve tests. 2013-03-22 10:01:21 +01:00
LevelX2
e3e2cb99a6 Test with Orb of Dreams that also shows the violation of rule 614.12 (issue #164) 2013-03-20 22:43:48 +01:00
LevelX2
4270809b76 Test for Evolve. 2013-03-19 12:27:48 +01:00
LevelX2
44a226dede Test for issue #164. 2013-03-19 12:13:28 +01:00
LevelX2
70a8ede4d5 Merge changes. 2013-03-15 00:04:29 +01:00
LevelX2
9450074b70 Changed AI X costs handling according human handling. Fixed AI handling of modal spells. Changed some AI setting. Changes to AI lgging. 2013-03-14 23:55:14 +01:00
magenoxx
3205cc867f Code and tests for Issue#156: Make smarter dual lands mana choose 2013-03-14 18:31:31 +04:00
North
a7a565bb8f [minor] access modifer order 2013-03-10 14:53:02 +02:00
LevelX2
aa0290fd32 Set Version to 1.0.1 2013-03-10 11:40:56 +01:00
LevelX2
1263607862 Fixed a bug that abilities of creatures weren't applied correct after the creature was controlled by opponent and the controll effect ended. Test for this bug. 2013-03-10 02:31:14 +01:00
LevelX2
6f78a55e01 Fixed the now failing test after fixing issue #119. 2013-03-10 02:25:52 +01:00
North
5f6f1c7528 [minor] removed unused imports 2013-03-02 18:02:02 +02:00
LevelX2
5d2c4e1bbd Test for Pillar of Flame. 2013-02-24 09:56:34 +01:00
LevelX2
ea6a094aa2 Fixed some bugs in test cases and changed check for existing abilities to containsRule() method if ability is no singleton. 2013-02-21 00:18:33 +01:00
LevelX2
c7b602ff74 Added test for Lazav, Dimir Mastermind not handling continuous effects correctly. 2013-02-17 19:07:58 +01:00
LevelX2
01a3660cf2 Changed a lot of cards to use ENTERS_THE_BATTLEFIELD event instead of ZONE_CHANGE event. 2013-02-17 01:14:42 +01:00
LevelX2
b2aef4225c Fixed issue #137 that counters didn't trigger ADD_COUNTER event for each single counter. 2013-02-15 18:12:45 +01:00
LevelX2
8d3796ef7a Fixed issue #136 of Wight of Precint Six. Added test for Wight of Precint Six. 2013-02-14 12:59:15 +01:00
LevelX2
b2ec63afdb Fixed spelling error in test. 2013-02-13 01:21:04 +01:00
LevelX2
ce151982b6 Added a lockedInCondition option for ConditionalContiniousEffect. Added test for issue #127. 2013-02-07 23:31:47 +01:00
LevelX2
5241841a37 Fixed test of Champion of Lambholt. 2013-01-22 13:54:10 +01:00
magenoxx
c203705535 Failing test for Issue#82: Torpor Orb doesn't work 2013-01-07 17:25:57 +04:00
LevelX2
efaeef0cde Test for issue #88. 2012-12-30 11:04:58 +01:00
North
f0b32e7ca3 Removed unused imports 2012-12-20 00:26:21 +02:00
LevelX2
2e60801df6 Fixed some problems concerning applying layeres effects in timestamp order. Tests now always successful.
1.Timestamps not distinct.
  2. Timestamps not updated when attachments are attached (mainly equipments).
2012-12-12 15:51:54 +01:00
LevelX2
bb5b9587e0 Fixed the causes that triggered abilities were applied more often than they should. Fixed the lose ability bug (test with Master of the Pearl Trident giving island walk). Tests now build without errors. Only rarely the Grounded/Drake Umbra lose ability test fails. 2012-12-05 01:16:28 +01:00
LevelX2
d443ddd586 Two-Headed Sliver and a test that brings up th bug that happend bevor fixing ContinuousEffects yesterday with commit 29222dfcbf. 2012-11-24 00:20:23 +01:00
North
f64149971a Merge branch 'CardRepository' 2012-11-05 19:37:51 +02:00
North
25cd490be3 [CardRepository] moved Sets, DeckImporter and CardRepository to Mage Framework 2012-11-04 12:52:02 +02:00
LevelX2
a3e4e72190 Test for prev. issue #56. 2012-10-26 08:30:23 +02:00
North
e5f91ef244 [CardRepository] Initialized data for tests 2012-10-25 00:33:14 +03:00
North
08815ffb88 [CardRepository] Replaced findCard methods from Sets and ExpansionSet 2012-10-22 23:48:52 +03:00
magenoxx
c671f9e9ac Test for prev. Issue#63 2012-09-07 22:53:51 +04:00
magenoxx
3b3d02b3f8 Fixed Issue#67: Evernight Shade doesn't loose +1/+1 effects 2012-09-07 20:05:03 +04:00
magenoxx
3b8eee94d6 Failing test for Issue#51 2012-09-07 18:22:16 +04:00
North
204d2410a1 Reimplemented Indestructable using a replacement effect 2012-09-05 00:01:08 +03:00
magenoxx
965b21a488 Fixed Sejiri Merfolk. Fixed DivineVerdictTest. 2012-08-31 12:12:33 +04:00
magenoxx
db30268bc0 fixed for previous commit 2012-08-29 22:58:04 +04:00
magenoxx
0471771451 [ROE] 4 cards with tests. ROE is 100% implemented. 2012-08-29 22:45:35 +04:00
magenoxx
47329e9ef9 Divine Verdict test 2012-08-29 20:34:35 +04:00
magenoxx
3d1bb8e1ab Failing test and fix for additional costs not displayed in tooltips 2012-08-23 13:41:40 +04:00
magenoxx
852e96c910 Fixed token type for Garruk Relentless 2012-08-20 11:00:39 +04:00
magenoxx
f2229f9fd7 Test and fix for Issue#44: War Falcon - Attack condition does not work properly. Fixed changing controller for game state effects 2012-08-16 08:54:53 +04:00
magenoxx
7d9b338328 Test and fix for Issue#42: Creature with undying didn't forget -1/-1 after dying and returning from graveyard 2012-08-16 00:53:42 +04:00
magenoxx
9d99029c75 compilation error fix 2012-08-16 00:32:43 +04:00
magenoxx
d6fa992eea First multiplayer test 2012-08-15 22:14:26 +04:00
magenoxx
475666be4c Enhanced test framework for multiplayer games 2012-08-15 22:14:07 +04:00
magenoxx
7b268c7fcb Test framework cleanup. Removed ai tests and scenarios. Migrated old tests. 2012-08-15 22:06:30 +04:00
magenoxx
2fe2da8eaf Failing test and fix for alternative costs not displayed on cards 2012-08-15 10:32:50 +04:00
magenoxx
66bc622d19 Failing test for Issue35 2012-08-08 14:09:13 +04:00
magenoxx
ad7391b4b5 Combat trace (to catch annoying bug with non-flying blockers) 2012-08-08 13:21:31 +04:00
magenoxx
9c4aee2e92 Failing tests for Islandwalk (Issue#35) 2012-08-04 09:49:32 +04:00
magenoxx
12d597f17e [JUD] Wonder with tests 2012-08-03 12:20:13 +04:00
magenoxx
e8f82fd728 Updated failing SorinLordOfInnistradTest (ability text seems has been changed) 2012-07-24 09:24:40 +04:00
magenoxx
6a70d1ee6d minor 2012-07-23 01:29:29 +04:00
magenoxx
9970f998ad [USG] Worship [9ED] Volcanic Hammer 2012-07-23 00:33:34 +04:00
magenoxx
4a70d28706 [M13] Elderscale Wurm with test 2012-07-23 00:17:20 +04:00
Loki
4889e13e10 [M13] Faith's Reward 2012-07-22 21:52:13 +12:00
magenoxx
baac791a02 Failing test for Exalted 2012-07-21 13:00:05 +04:00
magenoxx
2511ea06b7 [M13] Mogg Flunkies [M10] Jackal Familiar. Tests 2012-07-20 16:19:30 +04:00
magenoxx
e83dc29f4c fixed ExchangeControlTest a little 2012-07-20 13:09:47 +04:00
magenoxx
a245d2c816 Sejiri Merfolk test update 2012-07-19 19:04:59 +04:00
magenoxx
5c8ebf393b Failing test for Jace's Phantasm 2012-07-19 16:57:05 +04:00
magenoxx
965565c680 Failing tests for FlashAbility and AsThoughEffectImpl 2012-07-19 13:12:17 +04:00
magenoxx
0b9dec5ad0 5 tests for Switcheroo. Card is not implemented yet. 2012-07-19 10:06:45 +04:00
magenoxx
60bd1f9585 [M13] Serra Avenger with tests 2012-07-18 21:52:57 +04:00
magenoxx
fc04cb2d22 updated classes and jars in test framework 2012-07-18 21:13:32 +04:00
magenoxx
f9263d5d7d Additional tests for Flying and CantBlock abilities. Passed. 2012-07-18 15:10:52 +04:00
magenoxx
7d7f0e6dec Two tests for Public Execution to check interaction with LoseAbility and Clone effects 2012-07-18 10:31:06 +04:00
magenoxx
6eb199006d Two tests for AsEntersBattlefieldAbility and Copy effect interaction. Passed. 2012-07-18 08:12:27 +04:00
magenoxx
0b27499ce0 Changed the order of choice compare in test framework 2012-07-18 08:11:36 +04:00
magenoxx
c5861a3c2e Failing test for equipping opponent's creature 2012-07-17 12:21:09 +04:00
North
98feeb9968 [filters] replaced Name condition with Predicate 2012-07-11 00:19:46 +03:00
jeffwadsworth
f87ea46641 - Added a test for Tormented Soul being unblockable. Passed. 2012-07-05 20:36:29 -05:00
jeffwadsworth
2e5be475b0 - Fixed Barter in Blood. Improved test for it. 2012-07-03 16:03:11 -05:00
magenoxx
93201b53f7 updated test 2012-07-02 00:35:01 +04:00
magenoxx
02d41fd65f Failing test for continuous effects 2012-06-30 09:11:36 +04:00
jeffwadsworth
d055c5e804 - Added test for Rootwater Matriarch. All tests passed. 2012-06-29 22:28:25 -05:00
magenoxx
10eeea50bc Failing test for Barter In Blood cast against AI 2012-06-29 20:30:26 +04:00