Commit graph

1582 commits

Author SHA1 Message Date
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
LevelX2
d0ecb473da Xmage 1.4.13v0 2016-07-11 22:54:43 +02: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
LevelX2
266a0870ca Xmage 1.4.12v0 2016-05-29 10:59:39 +02: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
LevelX2
e2a8ddef0f Merge pull request #1905 from KWottrich/clean-up-java-imports
Clean up java imports
2016-04-26 11:37:35 +02:00
LevelX2
1fcd26fc60 xmage 1.4.11v0 2016-04-26 00:59:03 +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
e9638bcc4d Release 1.4.9v0 2016-02-21 12:58:58 +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
5981816a4b Switch to 1.4.8 for upcoming realease. 2016-01-22 22:33:58 +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
121f40c019 Prepared 1.4.7. 2016-01-10 22:13:59 +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
207f486afc * Xmage 1.4.6v0 2015-12-13 19:47:04 +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
e678577720 run Mage.Tests with a fresh card db
currently tests are failing in Jenkins
2015-11-28 21:35:07 -08: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
5c6bdfceb8 Merge pull request #1379 from poixen/manasymbol
Manasymbol
2015-11-21 11:47:28 +01:00
LevelX2
0d86e8e063 Xmage 1.4.5v0 2015-11-21 10:33:43 +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