Commit graph

3573 commits

Author SHA1 Message Date
LevelX2
74edb0f0ef Fixed possible NPE problems. 2014-09-24 12:40:49 +02:00
LevelX2
e64b5fb67c * Changes for getting correct name of object. 2014-09-23 17:20:28 +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
cc713808cf * Download definition for M15 + CNS token and emblem images. 2014-09-22 23:31:26 +02:00
LevelX2
51728bcf4f Merge origin/master 2014-09-22 22:27:59 +02:00
LevelX2
17acc9f97d * Fixed that a player could wrongly not be chosen for not targeted effect, if the player had hexproof. 2014-09-22 22:27:10 +02:00
emerald000
58e7274b3d KTK Oracle changes + missing City in a Bottle version. 2014-09-22 12:59:26 -04:00
LevelX2
100decf7ce * Commander - Fixed that the commander replacement effect did not work if the commander spell on the stack was exiled. 2014-09-21 11:29:39 +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
a3505b6dba Some minor changes to logging and object handling. 2014-09-21 09:40:19 +02:00
LevelX2
1e6d767eff Added Supply/Demand, Raze and Scout's Warning. 2014-09-21 00:41:49 +02:00
LevelX2
da0100d3fd Increased window size of pick choice dialog. 2014-09-20 17:45:23 +02:00
LevelX2
96b2d7f2a6 * Meandering Towershell - Fixed that it did not return to attack if no other creature was on the battlefield that could attack. 2014-09-20 17:40:46 +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
a57ebc5314 * Table handling - Fixed a bug that if table owner tried to create a table with invalid deck, the table was added to the finished tables with no players. 2014-09-19 13:37:59 +02:00
LevelX2
eeb22c05ee Changes to user / tournament / match handling. 2014-09-18 23:50:34 +02:00
LevelX2
3c12b23928 * Match handling - some changes to solve/workaround the draw games that cause matches not to end. Changed disconnect handling to not block the client (needs tests if works correctly). 2014-09-18 17:14:33 +02:00
LevelX2
f9f49e9c00 * Fixed that as thought effects could wrongly only apply to the ability controller. 2014-09-17 15:57:06 +02:00
LevelX2
9b3c59dfaf * Canopy Cover - Fixed that it did not work correctly if cast on a creature controlled by an opponent. 2014-09-17 14:07:36 +02:00
LevelX2
4ce5519861 * Morph ability - Fixed that while a porphed creature not all other cardtypes (e.g. Artifact) or supertypes (e.g. Legendary) were removed. 2014-09-16 23:26:03 +02:00
LevelX2
e5bb83d6b9 * Outlast - Fixed bug of tooltip text. 2014-09-16 23:17:06 +02:00
emerald000
2d19f88c8b Added Grenzo, Dungeon Warden, Culling the Weak, Nameless Inversion, Goblin Pyromancer and Tower of the Magistrate. 2014-09-16 13:42:31 -04: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
a1168e3b27 * Setessan Tactics - Fixed a bug that the granted fight ability did not work for token permanents. 2014-09-16 16:06:49 +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
3d9357c2c9 Added initLife method for player to prevent triggering abilities of permanets added to test to battlefield from the start. 2014-09-16 14:13:34 +02:00
LevelX2
fc5d730f0a Fixed possible NPE of AddManaOfAnyColorEffect. 2014-09-15 07:50:51 +02:00
LevelX2
217eaa55d7 * Zurgo Helmsmasher - Fixed that it got wrongly a +1/+1 counter also if a planeswalker was put into graveyard. 2014-09-15 00:10:14 +02:00
LevelX2
d498df6a54 Some minor changes to framework classes. 2014-09-14 23:57:55 +02:00
LevelX2
a407ec6fd9 * Morph - Fixed that static effects (eg. all your creatures gain vigilance) did not work for morphed creatures. Some more minor fixes to morph ability. 2014-09-14 23:57:02 +02:00
LevelX2
294be48355 [KTK] Added 3 blue cards. 2014-09-13 12:11:11 +02:00
LevelX2
85baf357e3 * Morph - Fixed handling (card shown face down after cancel of morph cast). 2014-09-13 11:23:01 +02:00
LevelX2
046174a0f6 [KTK] Added 1 black and 1 red card. 2014-09-13 09:51:25 +02:00
LevelX2
c3a31313d2 [KTK] Added 8 black cards and some minor fixes. 2014-09-13 02:41:46 +02:00
emerald000
22a663dcbc [KTK] Added 12 cards. 2014-09-12 20:12:20 -04:00
LevelX2
e781bef3bc [KTK] Added 11 red cards. 2014-09-13 01:32:17 +02:00
LevelX2
5c564906cd [KTK] Added TurnedFaceUpAllTriggeredAbility. Changed name of TurnedFaceUpTriggeredAbility. 2014-09-12 19:01:43 +02:00
emerald000
351cf9b34e [KTK] Added 3 cards + fixes. 2014-09-11 20:41:15 -04:00
LevelX2
6bf8699208 [KTK] Added 10 cards. 2014-09-12 01:33:09 +02:00
LevelX2
acb9b12291 * Fixed turn structure so that extra turns are taken after the current turn. 2014-09-11 17:20:48 +02:00
LevelX2
0ffa27e777 Added two new events and replacement calls - PLAY_TURN and EXTRA_TURN. 2014-09-11 17:00:21 +02:00
LevelX2
094d398081 * DoIfCostPaid - Added support to add multiple effects. 2014-09-11 12:54:44 +02:00
LevelX2
5860ff265d Added RaidCondition (watcher has to be added to cards using it). 2014-09-11 12:53:25 +02:00
LevelX2
ffb373b1fb * Telepathy - Fixed that not the opponents hands were revealed (fixes #559). 2014-09-11 08:15:01 +02:00
LevelX2
97eae36ddf Fixed possible npe of tabel. 2014-09-11 00:17:24 +02:00
LevelX2
141cdb0e8b [KTK] Added 7 multicolor cards. 2014-09-10 22:38:09 +02:00
LevelX2
e8f9c0822f * Chat / game log - Switched to html output. So mana symbols and html tags are correctly shown. Colors have to be adjusted still a bit. 2014-09-10 17:13:26 +02:00
LevelX2
92486e0b61 * Suspend - Fixed a bug of counterhandling that could produced wrong amount of counters to add. 2014-09-10 00:19:42 +02:00
LevelX2
d2b252b517 * Gemstone Mine - Fixed that it did not produce mana anymore. 2014-09-10 00:18:49 +02:00
LevelX2
f137f9c49c Fixed Morph handling, fixed that face down cards stay face down after zone change. 2014-09-10 00:18:03 +02:00
LevelX2
9b4637b002 [KTK] Added 4 golden, 1 green (not finished), 10 land cards. 2014-09-09 17:33:02 +02:00
LevelX2
9c1f69983b Fixed a problem with NPE and match start. Chanes to handling of logging. 2014-09-09 07:45:53 +02:00
emerald000
f57d22501a [KTK] Added 4 black cards. 2014-09-08 21:46:09 -04:00
emerald000
29a614582a [KTK] Added 3 white cards and 4 blue cards. 2014-09-08 02:16:11 -04:00
LevelX2
d6af37eb1a [KTK] 2 green cards. 2014-09-07 22:02:00 +02:00
LevelX2
a42a03355e [KTK] added 8 golden cards. 2014-09-07 15:43:45 +02:00
LevelX2
c3c77e3974 * Server - Some changes to user / match / table handling. 2014-09-07 02:28:47 +02:00
LevelX2
5b34b46eac * Mana Effects - Started to move choices to resolving. Allowed to cancel choices of some mana effects to cancel the mana ability activation. 2014-09-06 16:22:45 +02:00
LevelX2
1db5df220c * River of Tears, Gemstone Cavern - Fixed that this acrds did not work with Refelecting Pool. 2014-09-06 16:18:07 +02:00
LevelX2
8d7e9f6cb6 * Liliana Vess - Fixed that the libarary was not shufled if second ability was used (fixes #558). 2014-09-06 14:58:52 +02:00
LevelX2
09242a40e7 Added Duration "Until your next turn" for continuous effects. 2014-09-06 12:52:36 +02:00
LevelX2
f12a616243 Some changes to debug messages and change to avoid conccurent change exception. 2014-09-05 12:47:49 +02:00
LevelX2
4b683619e3 * Champion ability - Fixed that it did not work for non champion permanents with the according subtype. 2014-09-05 00:13:10 +02:00
LevelX2
d051aef63f Fixed a bug of handling of tournament sub tables if a user left. Some changes to match view. 2014-09-04 19:03:48 +02:00
LevelX2
3699b7ca3d Fixed a bug of handling of tournament sub tables if a user left. Some chnages to match view. 2014-09-04 18:20:40 +02:00
LevelX2
b770c9d0ab * Fixed a problem of match handling if a player left XMage during sideboarding. 2014-09-04 12:30:43 +02:00
LevelX2
6f9a6ccabf * Fixed a bug in table expired check. Changed expired check. Some fixed for table / tournament state handling. 2014-09-03 16:17:43 +02:00
LevelX2
cb6cc62ed4 If match timer is used, the AI consumes now also time for their priority action. Some minor changes to Gamemanager. 2014-09-03 09:49:44 +02:00
LevelX2
fec0744315 Fixed a bug that while a match or tournament was just starting a player could still leave the table, setting the table / tournament / match to an undefined state. Now the player can only leave the Match / Tournament if it has started properly. 2014-09-03 01:02:10 +02:00
LevelX2
3f5f6a6166 [KTK] Added 6 cards and some fixes. 2014-09-02 02:03:14 +02:00
LevelX2
80791349aa [KTK] Added 40 cards. 2014-09-01 19:28:45 +02:00
LevelX2
9b1388b322 [KTK] Added Raid-, Prowess-, and Outlast ability. Added FerociousCondition. 2014-09-01 19:28:06 +02:00
Plopman
8b43038c5b Fixed RemoveCounterCost 2014-08-31 17:02:29 +02:00
LevelX2
80f56dfb42 * TXT deck importer - Changes to recognize sideboard starting and split cards in txt files from MTGO. 2014-08-31 09:12:28 +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
28057fff80 * Axebane Guardian - Fixed netMana hadling. 2014-08-29 17:52:37 +02:00
LevelX2
b679699ea1 * Face Down cards - Fixed that cards played face down (e.g. Morph) stayed wrongly face down when going to another zone. 2014-08-29 15:29:08 +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
magenoxx
50fa28e81d Fixed removing counters 2014-08-29 13:18:10 +04:00
LevelX2
97a1b0130c Fix for colored mana producers only produce colorless mana (#432). Had to change logic to work properly. The mana will be copied before adding and replaced by mana pool. 2014-08-29 09:57:35 +02:00
LevelX2
153b87e664 Fix for colored mana producers only produce colorless mana (#432). The commander mana replacement effect returns now always only a new copy of mana. 2014-08-29 09:45:38 +02:00
LevelX2
d3a2ba683c Some changes to user / session / chat / tournament handling (not all tested yet). 2014-08-28 17:18:36 +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
emerald000
690ba64d97 Added Decree of Justice, Diabolic Intent, Martyr's Cause, Victimize and Winding Canyons. 2014-08-27 19:18:56 -04:00
LevelX2
cb7d3ab284 Added custom duration handling to delayed triggered abilities. 2014-08-27 17:08:19 +02:00
LevelX2
a2fe968582 Adjusting font position and size of counter amount. 2014-08-27 08:45:03 +02:00
emerald000
bab5df1385 Added Compost, Dread, In the Eye of Chaos, Karmic Justice, Oblation, Return to Dust and Teysa, Orzhov Scion. 2014-08-27 01:42:25 -04:00
LevelX2
37efad7d2c Added Release the Ants. Created package for post resolve effects and started moving post resolve effects there. 2014-08-26 17:45:13 +02:00
LevelX2
dcdbc10187 Fixed some effects that did target doesn't untap next untap step not handle quite correctly. 2014-08-26 16:59:37 +02:00
LevelX2
7c0f93afcd Clash - Fixed handling of Titan's Revenge. 2014-08-26 15:29:50 +02:00
Plopman
b7a51adbc3 Fixed DiesCreatureTriggeredAbility 2014-08-26 14:30:46 +02:00
LevelX2
a43182ef4a * Fixed a bug of exile target and search other zones function searching for wrong name (fixes #541). Concerned Eradicate, Scour, Sowing Salt and Splinter. 2014-08-26 12:00:01 +02:00
LevelX2
5d9a3a5867 Added isActive method to PostResolveEffect. 2014-08-26 08:35:46 +02:00
LevelX2
03c868c3df Added 11 more cards with clash. 2014-08-25 21:34:15 +02:00
LevelX2
f004b1a28c Some fixes/changes to clash. 2014-08-25 21:33:44 +02:00
LevelX2
b0b0f05c82 Added clash effect to framework. 2014-08-25 17:19:54 +02:00
LevelX2
48e8be4fc2 Added Mana Drain and Spell Crumple. Fixed replacement effect of Hinder. 2014-08-25 13:54:47 +02: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
28d3d72c5d Fixed that a spell was still shown on the stack if triggered abilities from enters the battlefield event of the cast spell were put on the stack. 2014-08-24 09:11:34 +02:00
LevelX2
30ea2188bf * Restric activated abilities - Fixed a bug that restriction effects that prevented permanents from using activated abilities were not applied to activated mana abilities used tp pay mana costs (e.g. Linvala, Keeper of Silence). 2014-08-24 06:56:47 +02:00
LevelX2
f57828a77b Can't regenerate effects changed to ContinuousRuleModifyingEffects. 2014-08-23 19:45:10 +02:00
LevelX2
b0a18d4f36 Used new MageObjectReference class for DamagedByWatcher damaged object comparison. 2014-08-23 18:01:55 +02:00
LevelX2
36444b9496 Added new MageObjectReference class that checks also zoneChangeCounter for object comparison. 2014-08-23 18:00:36 +02:00
LevelX2
2f802ad467 Changed some comments. 2014-08-23 17:59:31 +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
LevelX2
af8c5880a1 * Plow Under - Fixed tooltip text. 2014-08-21 08:35:43 +02:00
LevelX2
3a63108ff3 Replaced use of static color object. 2014-08-20 23:37:06 +02:00
LevelX2
9239bc0465 Added new common OpponentControllsMoreCondition and a new common FilterBySubtypeCard. 2014-08-20 17:08:36 +02:00
Dustin Conrad
4307b3f01b Re-implement Leonin Arbiter using continuous rule modifying effect. Fix #483 2014-08-19 18:41:17 -04:00
LevelX2
f1ed6338db Fixed alternate cost handling to be able to only user alternate MANA costs (fixes Dream Halls, Fist of Suns and Omniscience to supress also additional costs instead of only mana costs). 2014-08-19 17:06:09 +02:00
LevelX2
7c8d5ea1be * Bile Blight - Fixed a but that the discard cost was not properly reset. 2014-08-19 15:06:22 +02:00
LevelX2
746c86363f Fixed a bug that caused mass boost / unboost of spells to be applied to wrong objects. 2014-08-19 15:04:33 +02:00
LevelX2
9219d79b25 Minor changes. 2014-08-18 23:54:33 +02: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
edd1563c12 Fixes #468 :Rollback on error doesn't work 2014-08-18 23:58:43 +04:00
magenoxx
e697cae98d Requested cards: added Skushroud Elf, Pill of the Paruns 2014-08-18 23:35:35 +04:00
magenoxx
43e82b7a1a Added zoneChangeCounter into LKI. Reimplemented Trostani. PersistTest and LastKnownInformationTest do work now. 2014-08-18 19:45:37 +04:00
magenoxx
ffa987755b Added using RuleModification effect and setting targetAbility for triggered abilities 2014-08-18 19:42:29 +04:00
LevelX2
5ea1bc8c37 Using put instead of map.replace. 2014-08-18 09:31:42 +02:00
LevelX2
d651fb65fa Fixed CMC compare order. 2014-08-18 01:09:15 +02:00
LevelX2
b602b4e160 Multiple blocker are listed in blocker damage assign order now in the game log. 2014-08-18 00:47:44 +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
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
3e789ccb1f * Combat - Fixed a bug were forced attackers could be set to not attacking. 2014-08-17 20:38:33 +02:00
LevelX2
53465ec0c9 Fixed tooltip text of Angus Mackenzie and added Blistering Firecat. 2014-08-17 11:23:27 +02:00
LevelX2
0c03ce3727 Some changes to game end handling (in hope to fix/improve server handling of games). Some chanmges to log messages. 2014-08-17 02:49:21 +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
bff01090b5 * Fixed a bug of each player sacrifice a creature/permanent effect, that permanent with shroud could not be sacrificed - locking the game. 2014-08-16 22:39:56 +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
06cc8d8771 Merge pull request #514 from magefree/feature/SacredGround
Sacred Ground implemented.  Re-ordered logic in GameImpl to handle simultaneous events before removing top of the stack.
2014-08-16 10:00:27 +02:00
LevelX2
57ccef6092 * Fixed can't counter ability that did not work correctly. 2014-08-16 09:33:31 +02:00
Dustin Conrad
893e83ef7c Sacred Ground implemented. Re-ordered logic in GameImpl to handle simultaneous events before removing top of the stack. 2014-08-15 22:24:42 -04: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
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
0597aaf4f4 [TestAPI] Cast when spell or ability are not on the stack 2014-08-15 10:16:28 +04:00
Dustin Conrad
a545ed3b60 Added CantBlockCreaturesSourceEffect. Sneaky Homunculus, Brassclaw Orcs, Ironclaw Orcs, Ironclaw Buzzardiers. Fix Curse of the Nightly Hunt 2014-08-14 23:41:45 -04:00
magenoxx
5ede7221c8 Fixes #512 2014-08-15 00:12:29 +04:00
LevelX2
2326fcc0d1 * Trickbind and Stiffle - Fixed that the spells could wronly also counter spells. 2014-08-14 15:27:33 +02: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
a8bf35e39a Fixed that canPlayCardsFromGraveyard of player was not taken into account for getPlayable() method. 2014-08-14 12:47:54 +02:00
Dustin Conrad
ee65d08160 Paralyze implemented 2014-08-13 20:58:19 -04:00
LevelX2
15b08c110e Some minor fixes to tooltip texts. 2014-08-13 21:59:09 +02:00
LevelX2
98bfd16680 Fixed adouble calss name. 2014-08-13 18:44:43 +02:00
LevelX2
a42318070e Changed duration of Intimidate to EndOfGame (like Flying and Shadow) instead of WhileOnBattlefield. 2014-08-13 16:58:01 +02:00
LevelX2
3bbbd4c02b Replaced use of source.getId() by source.getSourceId() for Mage Framework. 2014-08-13 14:22:32 +02:00
Quercitron
a2b650722a * Add Predict, Mask of Memory, Rhystic Study and Perplex 2014-08-13 03:02:41 +04:00
LevelX2
ae9f056e1a Some log improvement for player moves card. 2014-08-12 23:58:38 +02:00
magenoxx
5ec0b656bb Returning source.getSourceId() for DISCARED_CARD event 2014-08-12 21:19:45 +04:00
magenoxx
06b61fcba7 Made Elemental token origin set Conflux 2014-08-12 13:44:24 +04:00
magenoxx
a2e93986bc Added Research/Development card 2014-08-12 09:57:01 +04:00
magenoxx
709dc83ae6 2 requested cards 2014-08-11 20:30:39 +04:00
magenoxx
e6750f2f58 Merge branch 'master' of https://github.com/magefree/mage 2014-08-11 17:45:53 +04:00
magenoxx
e2bc5756e0 Requested card: Fire Covenant 2014-08-11 17:45:45 +04:00
LevelX2
9ade5efde0 * Fixed possible NPE in CostsImpl. 2014-08-11 13:57:18 +02:00
LevelX2
057f3aed07 * Added 4 cards. 2014-08-11 13:56:54 +02:00
emerald000
58bdbb8c13 M15 Oracle changes.
See: http://magic.wizards.com/en/articles/archive/magic-2015-update-bulletin-2014-07-17
2014-08-11 00:44:03 -04:00
Quercitron
294f5cfc19 * Add Tornado, Lyzolda the Blood Witch, Mental Note, Blood Knight 2014-08-10 21:36:59 +04:00
Quercitron
f93624f827 Add ability to Cost.canPay method parameters 2014-08-10 21:34:17 +04:00
LevelX2
a4866a9782 Fixed that looking in the top x cards while playing with the top card revealed shows wrongly the next card in library (fixes #487). Maybe there are some individual cards left that also need fixing. 2014-08-10 15:20:57 +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
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
826005c945 * Fixed a bug that prevented some continuous effects of permanents to work correctly if the permanents controller changed (e.g. play lands from libraray with a controlled Courser of Kruphix). 2014-08-09 23:38:20 +02:00
LevelX2
6068357c3f Set all cards at game start to face up (can be set to face down from previous game of the match e.g. by Pyxis of Pandemonium). 2014-08-09 19:44:14 +02:00
LevelX2
a7fc5b9583 * Hushwing Gryff - Fixed a bug that the effect was wrongly implemented as replacement effect with potential to repalce other replacement effects. 2014-08-09 16:40:21 +02:00
LevelX2
609b5af2fe Fixed a bug in TargetSpell that allowed a spell to select itself as target (#491). 2014-08-09 15:27:39 +02:00
LevelX2
2ca945fabf Some more changes concerning ThoughtAsEffects. 2014-08-09 11:48:40 +02:00
LevelX2
4f0f42133d Divided thoughtAs.Cast into two different states CAST_FROM_NON_HAND_ZONE and CAST_AS_INSTANT. Some checks and tests still needed. 2014-08-08 17:27:10 +02: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
8140893f0d *Fixing handling return state. 2014-08-08 01:18:59 +02:00
LevelX2
f7cc260219 Returning only a copy of netMana in ManaAbility. Try to fix issue #432. 2014-08-08 00:14:46 +02:00
LevelX2
49a23503a1 Some changes to logging. 2014-08-07 17:17:04 +02:00
LevelX2
471c5bed4a * Pauper - Added pauper format. 2014-08-07 17:16:42 +02:00
LevelX2
a05077f558 * Player tournament result - Fixed a bug that draws were not shown correctly. Instead of "1-1-1" it was "11--1" shown for the result ( 1 win, 1 draw, 1 loss). 2014-08-07 16:41:20 +02:00
LevelX2
2b3352b3b8 * Fixed some "enter the battlefield as a copy of " effects (e.g. Phyrexian Metamorph, Quicksilver Gargantuan) that were handled targeted and so protection abilities could prevent that a permanent was selected. 2014-08-07 15:53:44 +02:00
LevelX2
fe7ec072c1 * reverted change that caused endless loops while applying continuous effects. 2014-08-07 14:29:46 +02:00
emerald000
10840840ac Added Aura of Silence and fixed The Mimeoplasm. 2014-08-07 02:19:47 -04:00
magenoxx
7720301fa7 Fixed Abrubt Decay could be countered by Kira, Great Glass-Spinner's ability 2014-08-07 09:25:23 +04:00
LevelX2
8b03a5b940 * Encrust - Fixed that the deny use of abilities did not work. 2014-08-06 20:03:59 +02:00
LevelX2
020daf94f5 Changes to logging an chat session handling. 2014-08-06 17:17:50 +02:00
LevelX2
6776b03bae Added Copy Enchantment. 2014-08-06 12:21:05 +02:00
LevelX2
336a6546dc Added Copy Enchantment. 2014-08-06 12:20:52 +02:00
LevelX2
42973302f4 * Fixes to M15 token images handling. 2014-08-06 08:22:43 +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
568984615f * Changes to logging. 2014-08-05 07:39:13 +02:00
LevelX2
3aab091492 Some changes to client and server logging messages. 2014-08-04 17:21:14 +02:00
LevelX2
9f6555240a * Changes to logging. 2014-08-03 15:01:33 +02:00
LevelX2
df3b6afc8d Replaced more replacement effects by ContinuousRuleModifyingEffects or RestrictionEffects. 2014-08-02 11:21:28 +02:00
LevelX2
4e2c8dbe02 * Permanent.canAttack() check for restriction effects more improvements and fix in CanAttackControllerAttachedEffect. 2014-08-01 19:22:48 +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
LevelX2
d3dadc41aa Minor formattings. 2014-08-01 15:21:32 +02:00
LevelX2
d70a35961b * Show playable cards - Fixed that this feature created NPEs because it was already called if no proper game step is set (small update). 2014-08-01 12:42:29 +02:00
LevelX2
2c6aaf272f * Show playable cards - Fixed that this feature created NPEs because it was already called if no proper game step is set. 2014-08-01 12:21:56 +02:00
LevelX2
11cf5ab4fe * ForcastAbility - Fixed that forecast ability wrongly did only work one time from hand for a card. 2014-08-01 00:25:21 +02:00
LevelX2
16b58a337d Fixed some missing return statements. 2014-08-01 00:22:20 +02:00
LevelX2
1a1fc09221 * Fixed a bug that allowed to apply damage prevention replacement effects under certain circumstances multiple times to the same event. 2014-07-31 15:16:48 +02:00
LevelX2
84246e1935 * Commander - Fixed that commander with flash wrongly couldn't be cast from command zone using flash. 2014-07-31 14:17:04 +02:00
LevelX2
7de00610e8 * Fixed some minor issues concerning cards searching for permanent cards and bringing them onto the battlefield. 2014-07-31 13:50:54 +02:00
emerald000
ccef0f4fb2 [NEW] Added Grandeur ability word and the five cards using it. 2014-07-31 01:45:22 -04:00
magenoxx
bf7fe02a32 Issue#453: possibly correct fix for Commander abilities displayed twice 2014-07-30 22:43:18 +04:00
LevelX2
02df3f49a7 * Prevented NPE for getPhaseType(). 2014-07-30 20:08:27 +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
magenoxx
2a3db04be1 ManaSymbol and ManaSymbols classes 2014-07-30 18:36:37 +04:00
LevelX2
dcf8c8e45e * Overload - Fixed that overload abilities of sorceries could be used with instant speed (Mizzium Mortars, Vandablast and Teleportal). 2014-07-30 12:21:53 +02:00
LevelX2
33918623aa Fixed some more mixed up parameters of target classes. 2014-07-30 10:47:51 +02:00
LevelX2
1f51d243ec * Finished to change ReplacementEffects for UNTAP event to ContinuousRuleModifyingEffect. 2014-07-29 17:45:48 +02:00
LevelX2
ea1a098300 * Spellskite - Fixed that target could wrongly not be changed to spellskite in some cases. 2014-07-29 17:44:42 +02:00
LevelX2
48f0437bc7 Added log for mana bug. 2014-07-29 07:47:01 +02:00
LevelX2
9f9d140fa5 * Started to change ReplacementEffects for UNTAP event to ContinuousRuleModifyingEffect (not finished). 2014-07-28 17:46:25 +02:00
LevelX2
caf8a1e5ec * Changed "Activate only during upkeep" abilities to conditional abilities instead of a cost for this restriction. 2014-07-28 16:53:37 +02:00
LevelX2
f51e7722cc * Changed ReplacementEffects for TARGET and COUNTER events to ContinuousRuleModifyingEffects. 2014-07-28 08:21:17 +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
96beb5c986 minor comment fix 2014-07-27 15:33:04 +04:00
LevelX2
c8d76cdaaf * Added Dream Halls and Curse of chain (and what was neccessary to get Dream Hall costs to work). 2014-07-27 11:22:22 +02:00
LevelX2
2e7219de2f * Fixed bug that rule text of singletons like FlyingAbility were missing sometimes in permanents tooltiptext (fixes #453) . 2014-07-27 02:00:07 +02:00
LevelX2
f493d8ff99 Added Phage the Untouchable and all creatures with Dethrone ability. 2014-07-26 17:57:17 +02:00
LevelX2
25e2fb59e1 Support of play_land event for get playable cards. 2014-07-26 15:01:17 +02:00
LevelX2
4efb832b8d * Fixed a bug in getPlayableInHand(). 2014-07-26 00:48:13 +02:00
LevelX2
e8edf39f51 More replacement effects switched to continuous rule modyfing effect. 2014-07-26 00:47:29 +02:00
LevelX2
e25a60b312 * Changed table maneger to remove chat sessions that were never removed. Minor formattings. 2014-07-25 15:54:51 +02:00
LevelX2
7f6d5bcac6 * Fixed a bug introduced with TargetSource() fix. 2014-07-25 14:43:13 +02:00
LevelX2
54570bac59 Changed ReplacementEffects to ContinuousRuleModifyingEffects for 10 objects. 2014-07-25 13:11:14 +02:00
LevelX2
05a2e09b2a Adeded ContinuousRuleModifyingEffect and handling for it. This effects will also be taken into account when checking if a spell gets yellow frame if it can be cast. 2014-07-25 13:09:48 +02:00
LevelX2
de71d9b194 * Burrenton Forge-Tender - Fixed that damage prevention did not work for sources that were stack objects. This was a common problem of TargetSource class. 2014-07-24 16:30:58 +02:00
magenoxx
1caaad831e Issue#467: usable activated ability in hand now also displayed yellow (e.g. Cycling) 2014-07-24 13:21:52 +04:00
LevelX2
c17be6c3ab Added Vedalken Archmage, some minor formating and code cleanup. 2014-07-23 23:59:51 +02:00
LevelX2
45618309fb Removed some redundant casts. Added missing type definitions. 2014-07-23 17:42:07 +02:00
LevelX2
03b51d1f34 Fixed some effects apply return value. Some changes to game logging. 2014-07-23 08:11:11 +02:00
LevelX2
245582303c * Show playable cards - Fixed possible Null Pointer Exception. 2014-07-23 08:09:06 +02:00
LevelX2
a58c699880 Minor changes for move permanent to graveyard action from sacrifice. 2014-07-21 17:42:49 +02:00
LevelX2
9ece8a21f6 * Brood Sliver - Fixed a bug that happened by text generation. 2014-07-21 17:13:27 +02:00
LevelX2
c70828bda0 Added debug messages to narrow down #440. 2014-07-21 15:19:50 +02:00
LevelX2
142e95fe42 * Fixed provisional game freezing bugs of the show playable cards feature #457 (caused by DelverAbility, OfferingAbility, Rooftop Storm, Omniscience, Aluren). 2014-07-21 13:03:41 +02:00
LevelX2
ad9b73c34c Fix Effect.apply return status. Minor formattings. 2014-07-21 08:26:52 +02:00
emerald000
3d5d12c418 [NEW] Added Plunge into Darkness, Favor of the Mighty, Disciple of the Vault and Arena. 2014-07-20 16:07:24 -04:00
LevelX2
993cb99e11 * Dee-Sea Kraken - Fixed a bug that oponent spells didn't trigger the ability to remove supend counters. 2014-07-19 22:13:16 +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
emerald000
476358740b [NEW] Added Sky Hussar, Lantern of Insight, Nether Spirit, Necroplasm and Hypergenesis. 2014-07-18 22:15:03 -04:00
emerald000
c185b2e1c7 [NEW] Added Exhaustion, Sudden Impact, Petrified Field, Spiraling Embers, Ebony Owl Netsuke, Martyr of Spores, Martyr of Bones, Martyr of Frost and Martyr of Ashes.
+ updated Martyr of Sands with new dynamic cost.
2014-07-18 08:24:03 -04:00
magenoxx
65a0c9fc79 [UI] Displaying creatures that can attack 2014-07-18 16:05:21 +04:00
magenoxx
a8476d3613 [UI] Fixed Issue#467: yellow frame is displayed for instances when declaring attackers 2014-07-18 13:17:33 +04: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
d268642d95 * Synase Sliver, Brood Sliver - Fixed triggered ability. 2014-07-17 17:12:06 +02:00
LevelX2
020958078c Fixed end turn handling. Fixes #463 (this does not handle Time Vault correctly. It needs a skip current turn effect that's not implemented yet). 2014-07-17 15:37:48 +02:00
LevelX2
0b9b9d52f0 Fixed some objects using wrong event (END_PHASE_PRE instead of END_TURN_STEP_PRE). 2014-07-17 14:47:52 +02:00
magenoxx
4b547e7a06 javadoc fixes 2014-07-17 15:16:46 +04:00
emerald000
7218cfe9a6 [NEW] Added Time Vault, Grim Tutor and Aluren. 2014-07-16 21:25:23 -04:00
LevelX2
6238bca8e5 * Fixed a bug that if you concede a game while your turn was controlled by another player (e.g. Mindslaver) the control by the other player was still active in the next game of the match. 2014-07-17 00:41:16 +02:00
Quercitron
59c80771e9 * Earnest Fellowship - Fix protection working wrong for multicolored creatures 2014-07-17 02:27:57 +04:00
LevelX2
945284946a * Convoke - Fixed that any number od creatures could be tapped. Now only creatures will be tapped that reduce the mana costs of the convoke spell. Added log info about the with convoke tapped creatures. 2014-07-16 17:53:31 +02:00
LevelX2
e717d18b3a Added some javadoc text. 2014-07-16 08:28:44 +02:00
emerald000
7b9eb5516c [NEW] Added Breakthrough, Ill-Gotten Gains and Nether Void. 2014-07-15 22:01:42 -04:00
emerald000
219f23adc5 [NEW] Added Academy Researchers + Aura Swap fix. 2014-07-15 17:21:33 -04:00
emerald000
c3ca3cfd68 [NEW] Added Patagia Viper and Arcanum Wings
+ Ulasht, the Hate Seed fix.
2014-07-15 15:08:30 -04:00
magenoxx
8a9474d839 [Server] fastDbMode for starting without scanning for cards 2014-07-15 21:44:48 +04:00
LevelX2
1d8712335f * Descent into Madness - Fixed handling according the existing rules. 2014-07-15 16:58:11 +02:00
LevelX2
310347fc8b * M15 - Fixed that booster generation did also generate cards that are only included in supplemental products and not in boosters. 2014-07-15 01:08:22 +02:00
LevelX2
de47dbad43 Some formatting and change of handling of adjust methods of StackAbility. 2014-07-14 17:41:30 +02:00
magenoxx
acd6514bab Made a workaround for Issue#457 to prevent from StackOverflowError 2014-07-14 17:30:31 +04:00
LevelX2
aad8ad0871 * Not targeted selections - Fixed a but where not targeted selections did trigger the target events (e.g. Kira, Great Glass-Spinner counter ability was triggered by taping creatures for convoke ability). 2014-07-14 14:19:18 +02:00
LevelX2
943ff0d78d Some minor formattings. 2014-07-14 09:05:33 +02:00
LevelX2
12a2d020e7 * Changed handling of getting source object. Needed some change to adjust methods. 2014-07-14 09:02:06 +02:00
emerald000
7ca60078a0 Merge origin/master 2014-07-14 01:01:39 -04:00
emerald000
3a5e45cc87 [NEW] Added Gemstone Caverns. 2014-07-14 00:58:54 -04:00
LevelX2
0aa263cd55 * Transmute - Fied that transmute could be activated wrongy as instant instead of only at sorcery time. 2014-07-12 23:58:33 +02:00
LevelX2
b602be2b53 * Fixed that spells with target amount distribution did not fizzle if all their targets were illegal at resolution (e.g. Electrolyze). 2014-07-12 19:31:57 +02:00
emerald000
7b7d07fe1b [FIX] Fix SacrificeTargetCost(). 2014-07-11 12:45:00 -04:00
magenoxx
5fcc3b1ba8 [UI] Displaying playable cards in hand 2014-07-11 19:35:01 +04:00
emerald000
b7570cf28f [FIX] Minor fixes. 2014-07-11 00:00:00 -04:00
emerald000
9a26a9c50c [NEW] Added Food Chain + minor fixes. 2014-07-10 18:22:33 -04:00
LevelX2
30839b8a0a [M15] Fixed The Chain Veil and Garruk Apex Predator. 2014-07-10 23:17:17 +02:00
LevelX2
98e3fe9bde [M15] Added The Chain Veil Artifact. 2014-07-10 22:19:09 +02:00
LevelX2
810434932b * Planeswalker - Changed handling of LoyayltyAbilities to a times used based handling. 2014-07-10 08:52:21 +02:00
magenoxx
aadb89a8ef [M15] 6 black cards 2014-07-10 01:02:41 +04:00
LevelX2
9167261223 [M15] Added 6 green cards. 2014-07-09 20:44:31 +02:00
LevelX2
d40a3f591d Changes to game log. 2014-07-09 20:44:06 +02:00
Jeff
5b6bc2ea39 - Added Dusk Urchins, Hollowborn Barghest, and Hollowsage. Fixed Tormented Hero and added optional to BecomesTappedTriggered. 2014-07-08 11:45:59 -05:00
LevelX2
b4a690b402 * Reverted unintended and wrong changes to GetEmblemEffect.java. 2014-07-08 17:53:25 +02:00
LevelX2
6813ce6d14 * M15 - Added Garruk, Apex Predator and Sliver Hivelord. 2014-07-08 17:36:52 +02:00
LevelX2
08d0a3662c * M15 - Added 11 blue cards. 2014-07-08 02:15:45 +02:00
magenoxx
b6bc7c6a51 [M15] Added source to TriggeredAbility. Real fix for Genesis Hydra, works correctly now. 2014-07-07 17:44:50 +04:00
LevelX2
18e78b8294 Some fixes to M15 cards or by M15 used classes. 2014-07-06 16:00:32 +02:00
LevelX2
049744677b * Game handling - Fixed a bug that could lead to java.lang.OutOfMemoryError: Java heap space for the game worker when players left the game while choosing blocker order. 2014-07-06 07:11:45 +02:00
LevelX2
84ac387bbb * M15 - Added 13 white cards. 2014-07-05 11:57:54 +02:00
Quercitron
3fa12ee2bb * Life from the Loam - fix TargetCardInYourGraveyard: zero cards can always be chosen 2014-07-04 18:49:54 +04:00
Quercitron
b82ae7e9ab * M15 - Add 8 red cards 2014-07-04 03:35:54 +04:00
LevelX2
40d6c90438 * M15 - Added 3 white cards and Leyline of Singularity. 2014-07-04 01:11:17 +02:00
Jeff
eeec615ea0 - Added Bloodshed Fever, Cragganwick Cremator, Elemental Mastery, and Ember Gale. DiscardTargetEffect can now store the discarded card. 2014-07-03 15:50:38 -05:00
LevelX2
ad85d4e7f6 * M15 added 5 green cards. Fixed Nissan Worldeaker. 2014-07-03 17:20:18 +02:00
LevelX2
0dd96df9e3 * Fixed that in some cases the converted mana costs of spells were calculated without the value of X costs (e.g. Chalice of the Void). 2014-07-03 15:16:59 +02:00
LevelX2
6de0233f9a * M15 - Added 4 green cards, some framework changes. 2014-07-03 00:02:49 +02:00
Quercitron
41c61a5e3a * M15 - Add 7 red cards 2014-07-02 11:50:28 +04:00
LevelX2
24e1da5375 * M15 - Added 3 green cards, fixed two creatures with missing p/t. 2014-07-02 00:07:58 +02:00
Quercitron
b1097fc9da Add CanAttackAsThoughtItDidntHaveDefenderAllEffect 2014-07-01 23:21:48 +04:00
LevelX2
a6d05371d4 * Tooltip formatting of ReturnToHandChosenControlledPermanentEffect. 2014-07-01 17:31:33 +02:00
LevelX2
eb71833d87 * Added known M15 cards to mtg-cards-data.txt. Implemented the reprints + 1 card. 2014-07-01 14:42:13 +02:00
LevelX2
458ce8c1e6 * Removed general undo if playerImpl.playLand returns false. 2014-07-01 08:34:14 +02:00
LevelX2
09afaaf9ab * Prevent undo if game has already ended. Probably related to #433. 2014-06-30 17:36:09 +02:00
LevelX2
ae4c07da9d * Added some cards (not finished because land replacement effects need still some work). 2014-06-30 08:33:39 +02:00
LevelX2
0115052b81 * Fixed a bug that you can't create tournaments with AI players (Showing the "You can join a table only one time." message). 2014-06-30 01:04:29 +02:00
LevelX2
9609480109 * Cruel Ultimatum - Fixed that wrongly creatures in all graveyards could be selected. 2014-06-29 13:35:28 +02:00
Quercitron
13b8cad131 Change handling of minNumberOfTargets and required status 2014-06-29 02:45:18 +04:00
LevelX2
1129858a6c * Added 6 cards. 2014-06-28 17:57:11 +02:00
LevelX2
53964ee80c * Phyrexian Unlife - Fixed that damage from a combat damage step was not handled as if all damage was dealt at once. This could cause a wrong mix of damage and poison conters. 2014-06-28 10:30:47 +02:00
LevelX2
2406faec63 * Flashback - Fixed that costs reduction and increasement works correctly for flashbacked spells. 2014-06-27 15:59:18 +02:00
LevelX2
d84076ba40 * Added 28 cards from Vintage Masters. 2014-06-27 13:41:28 +02:00
LevelX2
d951d620d0 * Vintage Masters - 17 cards. 2014-06-26 10:38:21 +02:00
LevelX2
5c562e26d7 Merge origin/master 2014-06-26 02:10:22 +02:00
Quercitron
bba23e05cb Fix handling of multiple simultaneous control changing effects 2014-06-26 03:30:05 +04:00
LevelX2
d337e2cc13 * Some changes to logging. 2014-06-25 17:17:17 +02:00
LevelX2
abc441a4ba * Added rough Vintage Masters bonus card booster generation. 2014-06-25 12:29:32 +02:00
LevelX2
c519814f03 * Vintage Masters - Added set and already implemented cards. 2014-06-25 10:37:07 +02:00
LevelX2
513b012dc0 * Fixed draw handling. Fixed concede handling. Fixed message generation for game end view. Added some debug messages. 2014-06-25 01:34:11 +02:00
LevelX2
5ae1f6306b * Target - Setting required to false if minNumberOfTargets = 0. Fixed bug with Kruphix’s Insight. 2014-06-25 01:32:01 +02:00
LevelX2
fc95ef68f1 * Conspiracy - Added Conspiracy set to XMage. Changed order of sets in deck editor set selector. 2014-06-23 15:58:07 +02:00
LevelX2
db68d881da * Banshee's Balde, Five-Alarm Fire, Descendant of Kiyomaro - Fixed that the combat damage triggered ability triggered multiple times if damage was dealt to multiple creatures instead of correctly only once per dealing creature and combat damage step. 2014-06-23 09:37:22 +02:00
LevelX2
8388225f90 * Gifts Ungiven - Fixed that always have to be selected 4 cards instead up to 4 cards. 2014-06-23 01:31:05 +02:00
LevelX2
4e06f60f76 * Umezawa's Jitte - Fixed that combat damage triggered ability triggered wrongly multiple times, if damage of equipped create was dealt to different creatures. 2014-06-23 01:29:21 +02:00
LevelX2
ea9fe5df55 * Signal Pest - Fixed that Signal Pests restriction effect did not work always if more than one Signal Pest was in the game. 2014-06-22 19:51:13 +02:00
LevelX2
acd960343b * Alternative casting costs - Added a check if costs can't be paid to don't ask player for usagage. 2014-06-22 18:26:55 +02:00
LevelX2
8a12fa9b01 * Fixed a bug of TargetCardInHand class, that could lead to game locked down situations (e.g. Force of Will). 2014-06-22 18:26:06 +02:00
LevelX2
2aeb61b2e6 * Minor fixes to Morph tootip generation. Minor changes to other framwork classes. 2014-06-21 15:54:49 +02:00
LevelX2
5f7784602a Fixed possible NPE of AddManaOfAnyColorEffect. 2014-06-20 20:44:10 +02:00
LevelX2
10f6cbc2d5 Some formatting. 2014-06-20 19:26:27 +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
7d2b1c076a * 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:19:03 +02:00
LevelX2
e51213a72a Some formatting, NPE checking and log messages. 2014-06-20 08:25:03 +02:00
LevelX2
c08d266fce * Added reference for Kithkin Token. 2014-06-20 00:47:01 +02:00
LevelX2
bbf34f90da * Descendant of Kiyomaro - Saved a casting exception of triggered ability. 2014-06-20 00:46:29 +02:00
Quercitron
aa606a1d3c * Search in library -- Set required status depending on whether searched cards have stated quality (rules 701.15b, 701.15d). 2014-06-19 02:58:29 +04:00
LevelX2
ab3386ac25 * Commander - Fixed that commander could not be cast from command zone by using flash. 2014-06-18 15:04:31 +02:00
LevelX2
ada0fb15db * Mana Bloom - Fixed a bug that returing it to hand did not work correctly. 2014-06-18 13:59:31 +02:00
LevelX2
9bd7bbd661 * Fixed some problems with card search in library and cancel button (Primecal Titan). 2014-06-18 08:42:32 +02:00
LevelX2
30cfe6193e * Commander - Fixed commander mulligan select card to exile can't stop bug. 2014-06-18 08:41:09 +02:00
LevelX2
5bc1036ef9 * Stoneforge Mystic - Fixed that for the second effect the artifact had wrongly be selected already during activation instead of resolution. 2014-06-16 21:46:22 +02:00
North
a397dd05f6 [refactor][minor] simplified if experssion (removed always true condition) 2014-06-16 17:15:44 +03:00
North
66faa3006d [refactor][minor] removed redundant set for effectType in copy Constructor 2014-06-16 17:15:04 +03:00
LevelX2
04fa2e0b0c Added Necropotence. 2014-06-16 15:32:51 +02:00
LevelX2
2c85c54b9f * Hideaway - Fixed a bug that the last returned card was put to the top instead of the bottom of the library. 2014-06-15 23:10:42 +02:00
LevelX2
adcbcc75f7 * Fixed NPE in TargetImpl. 2014-06-15 19:05:58 +02:00
Quercitron
e74dc249bc Fix Scry effect 2014-06-15 19:24:26 +04:00
Quercitron
9629c3f0f5 Modify implementation of Target's required status 2014-06-15 19:23:30 +04:00
LevelX2
83c3f92241 * Reanimate - Fixed a problem that abilities of cards brought to battlefield from opponents graveyards did act as if controller would be the owner of the card. 2014-06-15 11:15:37 +02:00
LevelX2
ba885fef91 * Ground Seal - Fixed a problem, that cards that need to target cards in graveyard caused a game lock, if ground seal was on the battlefield. 2014-06-15 11:14:08 +02:00
LevelX2
36ebe56b7f * Undo of mana abilities - Fixed a problem that caused that undo was not done properly (e.g. filterlands (Flooded Grove), Nykthos, Shrine to Nyx, Grinning Ignus, Oppressive Rays, Propaganda). 2014-06-14 12:23:02 +02:00
LevelX2
26297a0b22 * Fixed bug that prevents to use Undo (introduced with a recent commit). 2014-06-14 10:11:08 +02:00
Quercitron
a0fb5bfe22 Merge branch 'master' of https://github.com/magefree/mage 2014-06-13 17:14:56 +04:00
LevelX2
48f149c549 * LogName - Changed some more messages to use the logName instead of name. 2014-06-13 15:09:06 +02:00
Quercitron
f9fc2246e8 Remove unnecessary set of required status with setRequired method 2014-06-13 16:35:31 +04:00
LevelX2
2305cc5274 * LogName - Changed some more messages to use the logName instead of name. 2014-06-13 14:02:56 +02:00
Quercitron
0a0983d7e9 Remove explicit set of required property in constructor 2014-06-13 15:15:16 +04:00
Quercitron
250909a464 Make required status of target based on the type of ability 2014-06-12 23:35:56 +04:00
LevelX2
c0aa97802e * Triggered abilities - Fixed a bug that triggered abilities triggered not at the correct time but too late. 2014-06-12 21:09:59 +02:00
LevelX2
b964758325 * Game log - added move message for permanents moved to graveyard by state based effects. Some formatting. 2014-06-12 17:48:55 +02:00
LevelX2
ec65c89267 Some minor changes. 2014-06-12 08:28:08 +02:00
LevelX2
42a7da9132 * Log messages -Some more changes to handle message of targets without names (Morph) and targetlists that contain 0 targets. 2014-06-10 17:51:21 +02:00
LevelX2
c077a17d86 * Skullsnatcher - Fixed a bug that only one card could be exiled (was located in ExileTargetEffect only supporting one target, so other cards could be affected as well). Some formatting. 2014-06-10 17:49:11 +02:00
LevelX2
78f6e28f33 * TargetNonBasicLandPermanent - Fixed a bug that nonland permanents could be targeted. Made Target by default required. 2014-06-10 17:46:48 +02:00
LevelX2
678b9acbf0 * Made targets mandatory (1333 cards). 2014-06-10 00:15:38 +02:00
LevelX2
d244551e3b * Added Morph ability. 2014-06-09 17:53:55 +02:00
Plopman
1d0cfaefab Added Snow Mana Cost 2014-06-07 19:00:46 +02:00
LevelX2
e2373a709b * Lightning Greaves - Fixed that equiped creature did not get shroud ability. 2014-06-06 19:00:43 +02:00
Plopman
ebb86e199b Added Future Sight. 2014-06-06 14:20:59 +02:00
Plopman
0b880ae2b8 Added Choose color effect 2014-06-06 14:19:27 +02:00
Plopman
390b3d97b8 Fixed cascade. Cards were not put back in library 2014-06-06 14:18:48 +02:00
LevelX2
53b8f1977a * Fixed more possible endless loops of while iterations not ending if a asked player left game. 2014-06-05 23:18:39 +02:00
North
aba725bb17 [refactor][minor] improved generics usage in ContinuousEffectsList 2014-06-03 13:28:27 +03:00
North
626273013b [refactor] removed generic parameter from FilterStackObject 2014-06-03 12:45:42 +03:00
North
782518f336 [refactor] removed generic parameter from PermanentImpl 2014-06-03 12:42:55 +03:00
North
bb7de19d7b [refactor] removed generic parameter from BasicLand 2014-06-03 12:42:40 +03:00
North
9324e93868 [refactor] removed generic parameter from Game classes 2014-06-03 12:33:02 +03:00
North
4fd248c4f8 [refactor] removed generic parameter from remaining Abilities 2014-06-03 12:07:21 +03:00
North
a2e086a152 [refactor] removed generic parameter from Phase 2014-06-03 11:47:04 +03:00
North
c5c23fac1a [refactor] removed generic parameter from Step 2014-06-03 11:45:42 +03:00
North
1867a150c1 [refactor] removed generic parameter from Player 2014-06-03 11:19:49 +03:00
North
99854be1fb [refactor] removed generic parameter from remaining Effect classes 2014-06-02 22:53:49 +03:00
North
e2c7fdf121 [refactor] removed generic parameter from Cost 2014-06-02 22:30:01 +03:00
North
a6f1bc7f00 fixed build 2014-06-02 22:24:29 +03:00
North
5f83ddf5ba [refactor] removed generic from remaining Target classes 2014-06-02 21:53:34 +03:00
North
371918467f [minor] fixed rawtype warning in CardInfo 2014-06-02 21:44:25 +03:00
North
1cc42a7cbb [refactor] removed generic parameter from SplitCard 2014-06-02 21:43:59 +03:00
North
0b3cbdecb1 removed main method from ObjectColor 2014-06-02 21:18:42 +03:00
North
c925b649b3 [refactor] removed generic parmaeter from LevelerCard 2014-06-02 21:17:27 +03:00
North
14fa5b0f57 [refactor] removed generic parmaeter from CardImpl 2014-06-02 21:15:53 +03:00
North
8679e2b3d7 [refactor] removed generic parameter from MageObjectImpl 2014-06-02 21:00:56 +03:00
North
82a45cee88 [refactor] removed generic parameter from Target 2014-06-02 16:06:05 +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
LevelX2
7198804796 * Game log - Some minor changes to card move game log messages. 2014-06-02 14:58:06 +02:00
North
c5f7db441e [refactor] removed generic parameter from Effects 2014-06-02 13:12:58 +03:00
North
4403934163 [refactor] removed generic parameter from Ability 2014-06-01 20:44:47 +03:00
North
e43bc35c14 [refactor] removed generic parameter from Spell 2014-06-01 11:58:22 +03:00
LevelX2
289412bbc0 Added 8 cards, some fixes, some formating. 2014-06-01 01:23:29 +02:00
LevelX2
ab721bc1c2 Added can cast cards from graveyard flag to player. 2014-05-31 22:15:52 +02:00
North
86a6251997 deleted commented out code 2014-05-31 22:07:50 +03:00
North
6836fcd610 removed MageObjects (unused) 2014-05-31 22:07:35 +03:00
North
4af606883e [refactor] removed generic parameter from Watcher 2014-05-31 22:02:15 +03:00
North
0cc5308100 [refactor] removed Watcher interface and renamed WatcherImpl to Watcher 2014-05-31 19:35:21 +03:00
North
9a9567c359 [refactor][minor] removed redundant parameter when creating counters with count = 1 2014-05-31 19:14:10 +03:00
North
ca1af753eb [refactor] removed BoostCounter implementations 2014-05-31 18:43:05 +03:00
North
2d102349fd [refactor] deleted Counter implementations (except BoostCounter) 2014-05-31 18:17:51 +03:00
North
519754a96c [refactor] removed dependency to Counter implementations (except BoostCounters) 2014-05-31 17:48:04 +03:00
North
545e4298b7 [refactor] removed generic from Counter 2014-05-31 17:11:11 +03:00
LevelX2
da3936abfb Fixed tooltip text of Resistance Fighter, Crimson Hellkite and Maze of Ith. 2014-05-31 11:06:07 +02:00
LevelX2
90d516f15d * Stromgald Cabal - Fixed that he could counter blue spells instead of correctly white spells. 2014-05-31 10:48:03 +02:00
LevelX2
4fec6e4d7b Made some targets required. Added message to replacement effect of Cavern of Soul to inform player being not able to counter. 2014-05-30 22:46:26 +02:00
LevelX2
94d8ff554f Fixed some tooltip texts and display of choosen color in tooltip. 2014-05-30 21:21:17 +02: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
LevelX2
1ae85dc1b4 Some minor formatting. 2014-05-30 18:39:32 +02:00
LevelX2
0e71ac5e53 * Tournament handling - Fixed player handling for swiss tournament. No more quit sound or stat eif player already finished the tournament correctly. 2014-05-30 15:43:59 +02:00
LevelX2
95b9507c0c Added missing change of Flashback - cost modification fix. 2014-05-30 15:03:06 +02:00
LevelX2
83be13a68b * Flashback - Fixed that cost midification effects was applied twice for flashbacked spells. 2014-05-29 16:42:27 +02:00
LevelX2
5c1ffb5942 Some changes to game log messages. 2014-05-29 10:56:16 +02:00
LevelX2
2d7c9a0e1f * Hideaway - Fixed that the hidden card stayed wrongly in face down state as it was played. 2014-05-29 10:50:05 +02:00
LevelX2
8bd3109c87 * Fixed some game locking loops if a player concedes while resolving an effect (e.g. Scry, Discard). Some changes to game log for info about moving cards to library. 2014-05-29 10:27:52 +02:00
LevelX2
dad109b88e * Control player - Fixed the phase names shown to the controlled player (fixes #415). 2014-05-28 17:29:04 +02:00
North
b456770e9c now multiple client instances are supported 2014-05-28 07:46:38 +03:00
LevelX2
944bebbe16 Fixed a spelling error on the shuffle info message. 2014-05-28 01:04:35 +02:00
LevelX2
c13f7a2115 * Mana pool handling - Fixed bug where wrong playerId was used. Fixed that menu check state is the same for all GamePanles of client. 2014-05-27 16:54:38 +02:00
LevelX2
d9e4e99a0f Some changes to manual mana pool handling. 2014-05-27 08:37:16 +02:00
LevelX2
a15deab99d Fixed canPlay method to care abou alternate casting costs. 2014-05-26 16:59:06 +02:00
LevelX2
63208c33ed Fixed canPlay method to care abou alternate casting costs. 2014-05-26 16:58:49 +02:00
Quercitron
b007242761 Fix mulligan process (rule 103.4) 2014-05-26 03:21:14 +04:00
LevelX2
2652316421 Some changes to handling of triggered effects and player response. 2014-05-25 13:53:32 +02:00
North
dbc066c998 [refactoring] removed generic from TargetCreaturePermanent 2014-05-24 22:40:35 +03:00
LevelX2
0443311f0e Fixed some handling problems of triggered abilities. 2014-05-24 21:10:56 +02:00
LevelX2
b572e8c7d6 Some changes to prevention effects. 2014-05-24 19:21:33 +02:00
LevelX2
969aca4b2c Merge origin/master 2014-05-24 19:19:45 +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
North
b97af752a6 Merge remote-tracking branch 'origin/db-change' 2014-05-24 18:43:00 +03:00
LevelX2
71fb7bf25b Added context menu to switch between manual and automatic usage of the mana in mana pool. Manual usage is done by clicking on the mana symbol in the player panel. Still some fine tuning to do. 2014-05-24 02:56:35 +02:00
Quercitron
90756d1e5e Add EachOpponentLosesYouGainSumLifeEffect 2014-05-23 23:49:39 +04:00
Quercitron
613a71393e Add LookAtTargetPlayerHandEffect 2014-05-23 23:48:58 +04:00
Quercitron
e8a8bcec2c Add TapLandForManaAllTriggeredAbility 2014-05-23 23:48:40 +04:00
Quercitron
d7489789d9 Add TurnId to GameState (for Final Fortune card) 2014-05-23 23:48:13 +04: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
90f4c2ea05 SetPowerToughnessAllEffect - Fixed a bug that the effect did not work correctly for static abilities. 2014-05-23 08:28:14 +02:00
Plopman
ad93de847a Added depletionCounter 2014-05-22 18:26:58 +02:00
North
d3046a9a0d changed DB from SQLite to H2 2014-05-22 17:53:13 +03:00
LevelX2
e83ca77b13 * Tezzeret, Agent of Bolas - Fixed that the second ability did overwrite all already existing abilities of the target artifact. 2014-05-22 16:26:21 +02:00
LevelX2
0d8325bc79 Fixed that if a creature get attached to an object (e.g. because equipment becomes a creature), it gets unattached. 2014-05-22 16:25:22 +02:00
LevelX2
b4903488b6 Added SetPowerSourceEffect. Some changes to SetPTSourceEffect calsses. 2014-05-21 08:35:19 +02:00
Quercitron
357308a265 [6ED] Add 4 cards 2014-05-19 13:03:41 +04:00
Quercitron
225118a585 Add ModeChooser to Modes (rule 700.2d) 2014-05-19 13:02:31 +04:00
Quercitron
02b1b0f3f6 Add SpellsCostIncreaseEffect 2014-05-19 13:00:30 +04:00
Quercitron
95863a43f6 Add onlyCombat parameter to PreventDamageByTargetEffect and PreventDamageToTargetEffect effects 2014-05-18 17:00:00 +04:00
LevelX2
e484da4028 Small text change to commander info. 2014-05-18 11:06:11 +02:00
LevelX2
2fdc9498fe Merge origin/master 2014-05-18 09:49:34 +02:00
LevelX2
9fef18af99 Increased card repository version for 2014-10-05v2 dev release. 2014-05-18 09:48:44 +02:00
Plopman
af81914d74 Fixed ReturnToHandChosenControlledPermanentEffect text 2014-05-17 19:14:36 +02:00
LevelX2
da1b8df87d Added 6 cards. 2014-05-17 19:02:04 +02:00
LevelX2
d0e22d48d9 [MIR] Added 7 lands. 2014-05-17 19:01:35 +02:00
LevelX2
20f61b6c79 Fixed bug in game log (combat). 2014-05-17 18:13:44 +02:00
Quercitron
249c9f09ed Add numberCardsToDiscard parameter to DiscardCardYouChooseTargetEffect 2014-05-17 16:17:02 +04:00
Quercitron
f7f67713ef Add RevealHandTargetEffect 2014-05-17 16:13:24 +04:00
LevelX2
d6acd43724 Added 7 cards. 2014-05-17 12:06:35 +02:00
Quercitron
8f2d3d8655 Add PreventAllDamageToAndByAttachedEffect 2014-05-16 02:15:07 +04:00
LevelX2
76402133ab Fixed CantCastMoreThanOneSpellEffect. 2014-05-15 23:04:16 +02:00
LevelX2
5a0a080441 * Eidolon of Rhetoric - Fixed not working cast restriction. 2014-05-15 17:07:31 +02:00
Quercitron
777e25b586 [6ED] Add 5 cards 2014-05-15 02:33:26 +04:00
Quercitron
ebf4c5ba57 Add ReturnToBattlefieldUnderOwnerControlAttachedEffect 2014-05-15 02:29:26 +04: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
d89970afde Some minor formatting. 2014-05-14 16:14:09 +02:00
LevelX2
4ccc85573f * Grand Abolisher - Fixed missing tooltip text. 2014-05-14 00:15:53 +02:00
LevelX2
7ae6054c1e * Added missing changes to commit 06eaa5ab99. 2014-05-13 19:26:51 +02:00
LevelX2
5cc9e22bd5 Fixed token image handling for Rat token. 2014-05-12 15:30:55 +02:00
LevelX2
765652b74b * Iroas, God of Victory - Fixed a bug that all damage to controlled creatures was prevented instead only to attacking creatures you control. 2014-05-12 08:43:24 +02:00
LevelX2
06eaa5ab99 * Added possibility for continuous layer effects to add static abilities (e.g. Flash) to non static cards. 2014-05-11 20:48:11 +02:00
LevelX2
2a2c817d8e * Venser, Shaper Savant - Fixed a bug that only creatures could be targeted. 2014-05-11 20:41:22 +02:00
LevelX2
bfa0922dc2 * Epic - Added info message that player can't cast spell because of Epic effect. 2014-05-11 20:40:02 +02:00
LevelX2
e93cd580dd * Fixed that player turn counter was not reset if game was reset (e.g. Karn Liberated). 2014-05-10 18:21:22 +02:00
LevelX2
8e56d06121 * Geju of the Fiels, Raging Ravine fixed that the given triggered ability was wrongly only given one time instead as often the activated ability was used. 2014-05-10 18:01:41 +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
29c7354bb4 * Fixed some bugs in damage prevention handling. 2014-05-10 11:34:11 +02:00
Quercitron
b746bf108a [6ED] Add 4 cards 2014-05-10 03:35:42 +04:00
Quercitron
ef571dc00f Add PreventDamageSourceEffect 2014-05-10 03:29:08 +04:00
LevelX2
89aa727e05 Some minorlog changes. 2014-05-07 21:44:53 +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
f676bd1650 Increased card repository number for new dev release. 2014-05-03 02:50:51 +02:00
LevelX2
7318ecb50e Tournament handling - small change to check who to eliminate. 2014-05-03 02:48:24 +02:00
LevelX2
15e3fd906e Added Ashling the Pilgrim, Reset and Flash of insight. 2014-05-02 19:14:59 +02:00
LevelX2
3b3f136d34 Spells on the stack can now get counters. 2014-05-02 16:45:26 +02:00
LevelX2
13ac2d0103 Tournament panel - Showing the number of rounds now only if tournament is swiss style tournament. 2014-05-02 09:32:51 +02:00
LevelX2
473c9e207b Fixed (probably) the player1 concedes but other player2 wins. Fixed that if player runs out of timer time or player lose of beeing idle, the match will end correctly. 2014-05-01 19:34:52 +02:00
LevelX2
286a65878d Changed layer of GainAbilityControllerEffect to player effects. 2014-04-30 17:38:19 +02:00
LevelX2
f137e623eb Changed DontLoseByZeroOrLessLifeEffect to RulesEffect layer. 2014-04-30 17:29:55 +02:00
LevelX2
5d897ac321 Added some handling for X costs of flashback ability. 2014-04-30 17:17:00 +02:00
LevelX2
367dd0b228 Fixed a bug that spells with alternative costs are written to the game log as if the alternative cost was always used. 2014-04-30 17:15:34 +02:00
LevelX2
c143a6159d Added game log info about playing extra phase. 2014-04-30 17:14:23 +02:00
magenoxx
e82bc6e671 Added exception and error handling for game worker 2014-04-30 16:41:52 +05:30