Commit graph

579 commits

Author SHA1 Message Date
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
Dustin Conrad
809d61d5ea Use dependency management to use common versions of log4j and junit in all the projects. 2014-08-09 19:38:34 -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