Commit graph

16854 commits

Author SHA1 Message Date
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
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
Styxo
157d6e484f Small fixes 2016-12-15 15:36:35 +01:00
Styxo
8e6cf84ce4 Added TargetHasCounterCondition and option for BecomesMonstrous 2016-12-15 15:33:35 +01:00
spjspj
45a614c2ba Merge pull request #2688 from spjspj/master
spjspj - Eye of the Storm fix
2016-12-15 21:55:38 +11:00
spjspj
9c6b9073a8 spjspj - Eye of the Storm fix 2016-12-15 20:42:29 +11:00
spjspj
00ece851b1 Merge pull request #2687 from spjspj/master
spjspj - Evolutionary Escalation fix (C16)
2016-12-15 16:54:03 +11:00
spjspj
ce8befffdd spjspj - Evolutionary Escalation fix (C16) 2016-12-15 16:51:05 +11:00
MTGfan
26c176abaa Guardian Angel and added Dynamic Value constructor to PreventDamageToTargetEffect 2016-12-14 17:20:00 -05:00
Justin Herlehy
cbdb96a5e1 Merge pull request #2683 from JRHerlehy/master
[AER] Fix Consulate Crackdown
2016-12-14 02:38:30 -08:00
JRHerlehy
2ee5f223fe [AER] Fix Consulate Crackdown to use TargetController.OPPONENT instead of TargetController.NOT_YOU 2016-12-13 15:27:55 -08:00
LevelX2
87ff07678d Merge pull request #2680 from MTGfan/master
Simulacrum
2016-12-13 21:09:43 +01:00
LevelX2
9400f192b7 Added some more tooltip texts to client menu bar. 2016-12-13 20:30:32 +01:00
MTGfan
9f4f05a4ab Simulacrum 2016-12-13 13:25:06 -05:00
LevelX2
3ca573b7c0 Merge pull request #2672 from MTGfan/master
Nettling Imp, TargetController and ControllerPredicate updated to include active choice
2016-12-13 15:23:36 +01:00
Justin Herlehy
557019e8a6 Merge pull request #2679 from JRHerlehy/master
[CN2] Refactor Council's Dilemma voting.
2016-12-13 02:02:43 -08:00
Styxo
df5060859a Added Candles of Leng, Seeds of Innocence and Wake of Destruction 2016-12-13 10:35:22 +01:00
Styxo
f88d3f0bbf Refactored RevealCardsFromLibraryUntil and some cards to use it 2016-12-13 09:21:11 +01:00
MTGfan
7846f9f61a Nettling Imp minor adjustment 2016-12-13 02:16:22 -05:00
JRHerlehy
a066f1615f [CN2] Remove unused local variables. 2016-12-12 21:02:36 -08:00
JRHerlehy
b9d5fbcbe5 [CN2] Create new vote effect to reduce boilerplate code duplication on Council's Dilemma cards. 2016-12-12 20:58:31 -08:00