Commit graph

829 commits

Author SHA1 Message Date
LevelX2
dbb9be6703 * Arashin Sovereign - Fixed that the player had no option to let the card go to the graveyard. 2015-04-03 16:28:40 +02:00
fireshoes
0fbe4303ae Added set Tempest Remastered and reprints. Added Pit Trap. Updated latest Game Day, FNM, Buy-a-box, WMCQ, and Release promos. 2015-03-30 22:51:34 -05:00
LevelX2
9d85a26e12 Added some tests and some minor changes. 2015-03-30 17:20:04 +02:00
betasteward
6405c8d2f0 move zoneChangeCounter to GameState - Card is now immutable 2015-03-29 08:30:31 -04:00
LevelX2
7bb2bbe1fa * Lazav, Dimir Mastermind - Fixed that it came back from non battlefield zone to battlefield copying previous copied card. 2015-03-27 14:23:53 +01:00
LevelX2
46b8267735 * Added some tests for Soulfire Grand Master. 2015-03-26 17:16:46 +01:00
LevelX2
16469bafe6 * Soulfire Grand Master - updated handling. 2015-03-25 17:13:34 +01:00
LevelX2
b382865e8d * Ashcloud Phoenix - Fixed that the dies triggered abilitiy worked if he died face down. 2015-03-25 15:13:46 +01:00
LevelX2
f1b279d650 * Added one more Morph test. 2015-03-25 00:30:03 +01:00
LevelX2
23d431a65a * CantBeCounteredControlledEffect - Fixed a bug that the counter source was not cheched correctly (e.g. it was possible to counter spells with blue counters after Autumn's Veil). 2015-03-24 22:46:52 +01:00
Jeff
804f5c9908 - Added a test for The Wretched. 2015-03-24 11:15:32 -05:00
LevelX2
5161f849f9 Fixed Necromancy Test. 2015-03-23 19:40:19 +01:00
betasteward
72ff6f27b3 changes to the way abilities are added to cards 2015-03-23 13:04:09 -04:00
LevelX2
1b90730aeb Fixed that to manifest an aura enchantments did not work correctly. 2015-03-23 00:03:09 +01:00
LevelX2
740611119b * Mikaeus, the Unhallowed - Fixed that the given undying ability did not trigger. 2015-03-22 19:47:46 +01:00
LevelX2
07a6c8154a * Fracturing Gust - Fixed that the life gain did not work if permanent with life gain preventing effect was destroyed. 2015-03-22 09:45:19 +01:00
LevelX2
b959b07fc1 Added test for It That Betrayed. 2015-03-14 10:57:02 +01:00
betasteward
9ad8530dee moved faceDown property from Card to CardState 2015-03-12 22:09:12 -04:00
LevelX2
a7e4ceb234 * Parallax Wave - Fixed a bug that always all exiled objects returned also if they were exiled by an earlier instance of Parallax Wave (combo with Opalescence). 2015-03-11 16:25:53 +01:00
LevelX2
23de61b433 * Fixed that manifested card went to exile face down (fixes #791). 2015-03-11 15:17:54 +01:00
LevelX2
e273481499 Some minor changes. 2015-03-11 15:02:52 +01:00
LevelX2
bda106d5eb Finished change of delimter from ";" to "$" for internal handling of tests to prevent problems from rules containing — code. 2015-03-11 14:04:56 +01:00
LevelX2
8d7087d859 Fixed initialisation of targetPointer in BoostEquippedEffect (fixes #790). 2015-03-11 13:24:11 +01:00
betasteward
fe2cd395a6 moved info from CardImpl to CardState and PermanentImpl + created InfoEffect for displaying rule info on Card 2015-03-10 14:57:55 -04:00
LevelX2
6b8493d9f8 * Changed all occurances of unblockable to can't be blocked. 2015-03-08 21:54:36 +01:00
LevelX2
43b0694ee3 * Jhoira of the Ghitu and Epochrasite - Fixed the not working suspend handling. 2015-03-08 01:40:16 +01:00
LevelX2
a1208f1a73 * Cascade - Fixed a bug that caused the controlling player to lose the game if all cards of the library were exiled with cascade although the cards were returned to library. 2015-03-07 14:26:26 +01:00
LevelX2
532ff611c4 * Reworked dealtDamageByThisTurn handling of permanents to take zone change of referenced objects into account. 2015-03-07 01:15:27 +01:00
LevelX2
34021ca44d * Bestow - Fixed handling of Bestow (fixes #772). 2015-03-05 15:42:28 +01:00
LevelX2
867bb38f91 * Geist of Saint Traft - Fixed that the Token was not exiled at end of combat. 2015-03-03 00:19:46 +01:00
betasteward
5c746e8ec2 Merge branch 'master' of https://github.com/magefree/mage
Conflicts:
	Mage.Sets/src/mage/sets/avacynrestored/CavernOfSouls.java
	Mage.Sets/src/mage/sets/shadowmoor/ManaReflection.java
2015-03-01 22:02:33 -05:00
betasteward
632573fc3e moved Watchers to Ability and moved Counters to CardState 2015-03-01 21:17:23 -05:00
LevelX2
7ce1e6de19 * Some minor changes. 2015-03-01 17:22:39 +01:00
LevelX2
01ef3f9354 * Fixed a bug that replacemet effects did not work if the source object of the replacemet effect also changed zone (fixes #759). 2015-02-28 12:55:49 +01:00
LevelX2
dd916a30e4 * Added undying test. 2015-02-27 15:18:19 +01:00
LevelX2
80d3e6bd9a Fixed a bug of AI target selection that caused endless loops during build of test project. 2015-02-27 15:04:42 +01:00
LevelX2
debe2316b2 * Echo - Fixed that the sacrifice effect also forced the player to sacrifice a new instance of the permanent with echo. 2015-02-26 20:38:48 +01:00
LevelX2
957fa7d647 Some minor changes. 2015-02-25 23:47:53 +01:00
LevelX2
329165555b * Undying - Fixed that the creature with undying returnd under the control of the previous controller instead of the card owner. 2015-02-25 22:21:17 +01:00
LevelX2
091fa9a528 * Bestow - Fixed that the converted mana costs were calculated from the bestow costs instead of the base cost of the spell. 2015-02-24 23:36:59 +01:00
LevelX2
2189236284 * Spellskite - Fixed that abilities (like the one of Wild Defiance) did not trigger if target was changed to Spellskite. 2015-02-21 17:26:14 +01:00
LevelX2
79e9312893 * Fixed the annoying SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" on client start. Updated a lot of POM references. Fixed warnings of Test Project. Some changes to logging. 2015-02-20 13:58:13 +01:00
LevelX2
48e08d94ce Set the convoke tests to ignore, because they don't work after the rework of convoke and delve. 2015-02-20 11:10:12 +01:00
LevelX2
d8e1a843c6 * Tidehollow Sculler - Fixed that the exiled card did not return opponents hand. 2015-02-16 20:46:23 +01:00
LevelX2
1342af5349 * Brain Maggot - Fixed that the exiled cards were not returned to opponents hand. 2015-02-14 10:54:31 +01:00
LevelX2
ad012ebd02 Fixed more CPU load caused by calculation of available mana. 2015-02-14 00:22:17 +01:00
LevelX2
8620fe5a7d * Fixed another problem with available mana generation (e.g. with Nykthos, Shrine to Nyx). 2015-02-13 15:03:29 +01:00
LevelX2
0722276ca4 * Fixed a bug in calculation of available mana that can be a source of heavy server load. 2015-02-13 08:39:44 +01:00
LevelX2
ba1fb775b2 * Fixed that manifested or morphed creatures did wrongly trigger "enters the battlefield" abilities with their card attributes (e.g red card manifested triggered Foundry Street Denizens boost ability). 2015-02-12 15:54:41 +01:00
LevelX2
7b95da55a7 * Some more changes concerning sourceObject handling in ability. Added early event type check for triggered abilities. 2015-02-12 01:56:45 +01:00
LevelX2
b73f34a52e * Some changes to zone object movement and source object handling. Origin source object of ability is now hold in ability to be able to check e.g. zone change counter. 2015-02-11 17:51:41 +01:00
LevelX2
874b170a74 Added ManaOptions test and some changes in handling. 2015-02-11 01:10:34 +01:00
LevelX2
974951e18d * Fixed that for "Shoal" spells a wrong CMC was calculated while on the stack, if alternate casting cost was used (fixes #696). 2015-02-06 16:13:51 +01:00
LevelX2
a245c0ed6f Fixed a bug of Undying. 2015-02-02 22:08:33 +01:00
LevelX2
2544c12d48 * Some minor changes. 2015-02-01 16:47:21 +01:00
LevelX2
faa2b0a0bf * Rally the Ancestors - Fixed that creatures cards were moved to exile also if already in the graveyard. Problem was that the zoneChangeCounter was not raised as a permanent card left the battlefield. So some more fixes were neccessary for implementations that are based on this fixed zoneChangeCounter of permanents leaving the battlefield. I guess there will be some more bugs caused by this change but I guess this is the correct way to go. 2015-01-31 19:17:22 +01:00
LevelX2
dbbbbc0279 * Fixed that continuous effects of face down creatures were applied. 2015-01-31 14:46:54 +01:00
LevelX2
5b79f99a85 Added log text to use of conditional mana of Cavern of Soul. 2015-01-30 16:58:21 +01:00
LevelX2
54e0068053 * Devotion - Fixed that face down permanents counted for devotion with their regular casting costs (workaround). 2015-01-23 15:12:29 +01:00
LevelX2
bc3dc9d548 * Fixed that ETB abilities of manifested cards did wrongly trigger (e.g. the Constellation ability of Doomwake Giant manifested by Reality Shift). 2015-01-23 13:48:03 +01:00
LevelX2
ac0d923afd Added one more test for manifest. 2015-01-23 00:05:37 +01:00
LevelX2
89c8425d94 * Fixed that replacement or rule modifying effects of cards played with morph were wrongly applied on the stack (e.g. can't be countered of Akroma, Angel of Fury). 2015-01-22 23:43:25 +01:00
LevelX2
8b2445551e * Added 2 tests to Phantasmal Image Tests. 2015-01-20 17:23:17 +01:00
LevelX2
79ceae999a [FRF] Fixed ETB replacement and triggered abilities for manifested cards. 2015-01-17 15:30:00 +01:00
LevelX2
de10554ec4 [FRF] Added Brutal Hordechief and Crucible of the Spirit Dragon. FRF Complete!!! 2015-01-17 13:08:39 +01:00
LevelX2
effa560e02 [FRF] Fixed a bug of Hooded Assassin. 2015-01-07 23:42:42 +01:00
LevelX2
96aafcd475 Fixed that adjustTarget did not work correctly for Triggered abilities. Fixed that adjustTargets also works now for cards copied from graveyard (e.g.by Feldon of the Third Path). 2015-01-07 01:15:03 +01:00
LevelX2
4a35c8c567 Some changes to framework classes (e.g. to handle gained DiesTriggeredAbilities correctly). 2015-01-03 15:15:12 +01:00
LevelX2
4d6e818490 * Epochrasite - Fixed that it did not get the suspend ability after beeing exiled. 2014-12-31 11:46:13 +01:00
dokkaebi
349dc4f995 Added Poisonous keyword ability and Virulent Sliver 2014-12-30 18:08:43 -08:00
LevelX2
f00001aca2 * Fixed a bug that abilities gained from enchantments (e.g. regen from Molting Snakeskin) to enchanted permanent did not work. 2014-12-28 21:49:53 +01:00
LevelX2
c958a1af25 * Persist - Fixed that the permanent returns now correctly under owner control after dying. 2014-12-27 02:19:33 +01:00
LevelX2
18e4bc7f18 * Fixed a bug of Exchange control were activated abilities got the wrong controller. 2014-12-27 02:18:29 +01:00
LevelX2
34298e78f5 * Fixed a (probably recently unintentionally added) problem with activated abilities of tokens. 2014-12-26 21:08:05 +01:00
LevelX2
40eef06944 * Grindstone - Infinite loop (with e.g. two Progenitus) is handled as a draw. 2014-12-26 17:22:32 +01:00
LevelX2
dba3c881e1 * Fixed problem with CopyEffect and fixed MisdirectionTest. 2014-12-25 11:31:48 +01:00
LevelX2
4f1368f3de * Made a lot of changes to handling of continuous and triggered abilities. This should fix the problems with Mage Singletons like Flyinging / Intimidate / Reach not working. Fixed also #533 and some other problems with copy effects of cards like Clone that did not end if e.g. Clone left the battlefield. 2014-12-25 02:07:40 +01:00
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
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
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
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
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
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