Commit graph

618 commits

Author SHA1 Message Date
LevelX2
02ba80b719 * Switched from UUID to MageObjectReference to handle affected objects of continuous effects. Solvng problems with objects that changed (multiple times) zones while the effect lasts. 2014-12-25 02:03:21 +01:00
LevelX2
d66213b4fb * Mephidross Vampire - Fixed that it gave a wrong ability to all controlled creatures. 2014-12-23 11:12:30 +01:00
LevelX2
1141e4c2fa * Fixed two Morph Tests. 2014-12-16 15:07:13 +01:00
LevelX2
bc7a64677e * Fixed some cards/effects that checked for permanents with the same name and did not work correctly with face down creatures. 2014-12-13 16:47:24 +01:00
LevelX2
6514e30b59 * Gather Specimens - Fixed that it did not work for token creatures the opponent brought onto the battlefield. 2014-12-01 13:28:39 +01:00
LevelX2
3446953a9d Fixed two tests. 2014-11-29 15:05:43 +01:00
LevelX2
c673fbfae1 [C14] Added 6 blue cards. 2014-11-28 17:39:47 +01:00
LevelX2
036095f6ec Some more changes to net mana handling. 2014-11-17 23:44:40 +01:00
LevelX2
b2e259422d Changed counter names to start with lower case. 2014-11-14 15:11:20 +01:00
LevelX2
7dbf265fd5 * Tests - Use logname to check for objects. 2014-11-11 23:57:20 +01:00
LevelX2
d7f100b24b * Added "Duel Commander" format (fixes #436). 2014-11-08 01:33:29 +01:00
LevelX2
813841eccd * Fixed Batwing Brume, CankerousThirst, Invert the Skies, Moonhold, Unnerving Assault, Tin Street Hooligan, Dawnglow Infusion, Firespout where the condition if a special kind of mana was paid was always false. 2014-11-06 12:14:06 +01:00
LevelX2
95d30d9085 * Fixed a bug that continuous effects of cards that were put onto battlefield not under owner control could be applied using the owner as controller. Fixes #604 (I guess). 2014-11-05 00:19:17 +01:00
LevelX2
3f71fe64b0 * Fixed a bug that set wrong or did not reset to owner the controllerId of card abilities (could be a fix to #604). 2014-11-04 17:34:15 +01:00
LevelX2
2ac1340af7 * Some changes to version handling. Added display of server version (incl. minor server version) in client window titel. 2014-10-31 10:35:53 +01:00
LevelX2
df71237f46 * Added logic to auto select replacement effects. Some changes to counter size and font size handling. 2014-10-30 20:40:23 +01:00
LevelX2
d8d25dc00a * Morph - Fixed that copying a morph creature always copied the creature like it was face down. 2014-10-29 15:16:42 +01:00
LevelX2
a1b993474f * Added one more Omniscience test. 2014-10-26 10:20:16 +01:00
LevelX2
9905b0c4ab * Copy Enchantment - Fixed a bug that it could not copy non aura enchantments. 2014-10-26 09:08:17 +01:00
LevelX2
e244f5d87f * Obstinate Baloth - Fixed a bug that EntersBattlefieldTriggeredAbilities did not work if the triggering creature entered and left the battlefield during the resolution of an effect (#606). 2014-10-23 19:55:44 +02:00
LevelX2
cc6f1f0010 [BOK] Added 3 cards + Stranglehold. Fixed Painwracker Oni (to no intervening if clause). 2014-10-23 17:41:15 +02:00
LevelX2
7dd873b1e6 * Fixes to put token onto the battlefield that's a copy of creature on the battlefield effects that copy creatures that already copy other creatures. 2014-10-21 16:01:00 +02:00
LevelX2
1c8639a0b5 * Fixed text of modal test after the change of modal text generation. 2014-10-17 19:07:58 +02:00
LevelX2
81408b3649 * Fixed Miracle handling (fixes #447). 2014-10-13 23:41:08 +02:00
LevelX2
8f690f7e02 * Added option to start matches with password protection. 2014-10-11 16:29:37 +02:00
LevelX2
7ad45a2a6e * Fixed that converted mana costs for stack objects were not always calculated correctly (e.g. a Mental Misstep could counter a Cahlice of the Coid with X=1). 2014-10-10 10:27:01 +02:00
LevelX2
c96153f544 * Somem minor formatting / changes. 2014-10-10 07:58:07 +02:00
LevelX2
5d7e12d6df * Fixed a bug, that if a spell with a spell cast triggered ability (e.g. Ulamog, the Infinite Gyre) was successfully countered, the triggered ability was unintended removed from the stack with the spell. 2014-10-09 16:20:33 +02:00
LevelX2
949d2cb24c * Some minor formatting. 2014-10-04 11:13:54 +02:00
LevelX2
54f0fd8fc1 * Fixed that AI used activated abilities for Battlefield as the card was on hand (fix #588). 2014-10-03 13:12:03 +02:00
LevelX2
96d2351d09 Added some more Morph tests. 2014-10-02 16:19:43 +02:00
LevelX2
2977cd27ea * Kruphix, God of Horizons - Fixed a bug that the mana pool was not correctly emptied (fixes #555). 2014-09-30 12:27:10 +02:00
LevelX2
da277dbdd9 * Added a test for Nykthos, Shrine to Nyx. 2014-09-30 08:28:19 +02:00
LevelX2
ea872b029a * Added a test for Nykthos, Shrine to Nyx. 2014-09-29 17:43:03 +02:00
LevelX2
6a9a7d11e8 * Pine Walker - Fixed that the turned face up ability did also trigger for other creatures if Pine Walker was face down (fixes #581). 2014-09-29 15:18:41 +02:00
LevelX2
87b1b64d80 * Psychic Intrusion - Fixed that it did not work to pay mana costs with any kind of mana (fixes #582). 2014-09-29 14:25:05 +02:00
LevelX2
529b27c664 * Added a test and some comments. 2014-09-26 12:50:11 +02:00
LevelX2
4afb514735 * Mistcutter Hydra (and other) - Fixed that a previous used and set X value was used again as the card was put onto battlefield again (fixes #573). 2014-09-26 00:40:46 +02:00
LevelX2
2c63d3bff8 * Client connect - Fixed that reconnect request was also shown if no successful connection was set up before. 2014-09-25 23:13:05 +02:00
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