Commit graph

544 commits

Author SHA1 Message Date
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
magenoxx
97acebacdd Pumped version to 1.0.2.dev 2013-04-01 16:00:30 +04: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
magenoxx
5577d5b3a8 Changed version from 0.10.1 to 1.0.0 2013-02-26 14:11:00 +04: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
Loki
aa31ef23d3 bump version to 0.10.1 2012-12-28 12:48:26 +13: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
Loki
f017ab903c version bump to 0.10.0 2012-11-15 22:47:15 +13: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
Loki
46ec86b54c 0.9.2 dev 2012-09-04 21:24:44 +12: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
North
0916cfbc50 Deleted server plugin binaries from Mage.Tests 2012-08-27 20:20:59 +03: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
Loki
85b31df2d5 Bump version to 0.9.1dev 2012-08-14 15:28:06 +12: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