Commit graph

667 commits

Author SHA1 Message Date
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
9fbd5a04bd * Maven - Added workaround for bug in compiler plugin 3.2 that alwas all sources were compiled. 2015-02-22 11:17:25 +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
dd8a11ba5c * Redesigned idle timeout handling to prevent selecting wrong player for timeout. 2014-12-27 17:31:52 +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