Commit graph

17123 commits

Author SHA1 Message Date
MTGfan
4183e31984 Celestial Sword: removed unused imports 2016-12-22 00:17:38 -05:00
Justin Herlehy
4ef339d521 [AER] Heart of Kiran
Fixed the Alternate Crew Cost to push the correct game events for crewing a vehicle and the vehicle being crewed.
2016-12-21 23:07:55 -05:00
MTGfan
7e867f4fcf Cyclopean Tomb TODO: remove counters part of effect 2016-12-21 19:46:46 -05:00
LevelX2
913e7f8719 * Hardened Scales - Fixed that the counter was only added if at least one counter was added originally. 2016-12-21 16:17:18 +01:00
LevelX2
2338ccf05f Merge pull request #2699 from sotovdev/perf19_12_2016
Concurrency perfomance boost
2016-12-21 15:48:38 +01:00
LevelX2
f0ba7d38a6 Merge pull request #2697 from sotovdev/master
Refactoring SQl query + unwanted ArrayList creation
2016-12-21 15:48:01 +01:00
Justin Herlehy
91a3d9a6a2 [AER] Heart of Kiran
As the alternate crew cost payment ability is just a simple activated ability with a different wording, it is implemented here as an anonymous inner class to override the getRule() method rather than generate large amounts of boilerplate code to get the same effect with a full class.
2016-12-21 02:33:58 -05:00
Justin Herlehy
7838c8ef37 Merge pull request #2706 from JRHerlehy/master
[AER] Tezzeret the Schemer
2016-12-20 22:14:47 -05:00
Justin Herlehy
7395c4aa12 [AER] Tezzeret the Schemer
Remove unused code from test version.
2016-12-20 21:40:23 -05:00
Justin Herlehy
ef3efc9c86 [AER] Tezzeret the Schemer 2016-12-20 21:21:42 -05:00
Justin Herlehy
f44c934334 [AER] Oath of Ajani 2016-12-20 11:34:15 -05:00
Justin Herlehy
ffd1b37eeb Merge pull request #2694 from JRHerlehy/master
[AER] Oath of Ajani
2016-12-20 11:33:24 -05:00
Styxo
465fa48026 [AER] Added Quicksmith Rebel & Spy 2016-12-20 15:01:07 +01:00
Styxo
2eb0a487a4 Added WishEffect, ExchangeLifeTargetEffect and did refactors 2016-12-20 13:31:39 +01:00
vraskulin
95242e8cf9 Concurrency perfomance boost
Checking if image exist or not now parallel. It took 35-39 seconds to perform, now it takes 13-16 seconds. Planning to make all class method concurrent and reduce client loading time even more.
2016-12-19 15:58:08 +03:00
Styxo
009676f75f Added HippoToken 2016-12-19 12:40:58 +01:00
Styxo
cff83aefb1 Created LoseHalfLifeTargetEffect, DiscardedByOpponentTrigger and made some refactors 2016-12-19 12:39:26 +01:00
vraskulin
2e83930ace Creating new ArrayList is unneccesarry
We shouldn't create new arraylist with default size and no element in it to show that no elements found in database. It's one more object in heap, which will be never used. There is special method Collections.emptyList() - it's more readeable and returns empty immutable list
2016-12-19 12:23:23 +03:00
vraskulin
e22951c68e Repository objects refactoring
SQL query is limited by 1, so there will be two cases - whether collection is empty or not. We should user convenient shortcut for checking emptiness of collection
2016-12-19 11:30:32 +03:00
LevelX2
a5b2c9f8c0 Merge pull request #2695 from PedroTav/develop
[PLS] Dark Suspicions
2016-12-18 23:41:10 +01:00
LevelX2
3c0ee90663 Pia's Revolution - Fixed that it wrongly triggered for artifacts from other players. 2016-12-18 23:14:11 +01:00
LevelX2
1de210ab74 * Fixed a bug of DealsDamageToOneOrMoreCreaturesTriggeredAbility, added some tests. 2016-12-18 17:50:33 +01:00
Filipe Cordeiro
6b36899fc9 [PLS] Dark Suspicions 2016-12-18 16:35:24 +00: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
Filipe Cordeiro
e31480cb21 [PLS] Dark Suspicions 2016-12-18 14:12:56 +00:00
LevelX2
da9e9a1180 * Fixed some possible null pointer exceptions and some minor editing. 2016-12-18 15:02:19 +01:00
LevelX2
69b27f594a * Wrexial, the Risen Deep - Fixed a problem that prevented selecting the card from graveyard. 2016-12-18 14:59:47 +01:00
Justin Herlehy
957d75bad3 [AER] Oath of Ajani 2016-12-17 18:59:28 -05:00
LevelX2
9ea22d0af1 * Manifold Insights - Fixed possible endless loop. 2016-12-17 23:18:27 +01:00
LevelX2
89718f0d0a * Eye of the Storm - Fixed copy check. 2016-12-17 12:15:35 +01:00
LevelX2
d71eaef879 XMage 1.4.19V1 2016-12-17 10:36:01 +01:00
LevelX2
506fe64d0e XMage 1.4.19V1 2016-12-17 10:35:50 +01:00
LevelX2
40d8a32695 XMage 1.4.19V1 2016-12-17 10:35:45 +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
04a857ad3d * Clear Shot - Fixed damage calculation (fixes #2689). 2016-12-17 09:08:13 +01:00
LevelX2
0ce97cc0a7 * Eye of the Storm - removed the check that the spell has to be cast from the hand zone (fixes #2684). 2016-12-17 01:14:53 +01:00
LevelX2
8ed258010a [AER] Added Dark Intimations. 2016-12-17 01:06:18 +01:00
LevelX2
8de2313961 * Sword of War and Peace - Fixed possible target bug. 2016-12-17 00:18:03 +01:00
LevelX2
25c9a28184 * Guardian Angel - Fixed activated action. 2016-12-17 00:02:16 +01:00
LevelX2
8e51e3a2bf Merge pull request #2686 from MTGfan/master
Guardian Angel and added Dynamic Value constructor to PreventDamageToTargetEffect
2016-12-16 22:57:21 +01:00
LevelX2
e31897f9b6 Merge pull request #2690 from Styxo/master
StarWars update
2016-12-16 22:42:27 +01:00
LevelX2
6955ad803f Merge pull request #2691 from sotovdev/sqlPerf
SQL query perfomance improvements
2016-12-16 22:34:38 +01:00
LevelX2
f18cd051b8 Merge pull request #2692 from PedroTav/develop
Fixes bug in Jaddi Lifestrider
2016-12-16 22:32:21 +01:00
Filipe Cordeiro
38ff0c2024 Fixes bug in Jaddi Lifestrider
Fixes #2469
2016-12-16 21:09:04 +00: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
2eae39b82f * Voyager Staff - Fixed that the exiled creature did return under Voyager Staff's controller instead correctly under its owner control. 2016-12-16 18:13:42 +01:00
LevelX2
60ac2af0f6 * Extractor Demon - Fixed triggered ability to trigger correctly for leaving battlefield instead of dying. 2016-12-16 18:05:41 +01:00
vraskulin
3be7598ee1 SQL query perfomance improvements
There will be always 0 or 1 distinct result. If we don't limit this query it will find an item, and still will go through the whole table trying another one, which is unneccesary and have performance impact.
2016-12-16 17:27:19 +03:00
Styxo
360fd7542c StarWars update 2016-12-16 11:26:52 +01:00
Styxo
1d989a70db Merge origin/master 2016-12-15 15:37:49 +01:00