Commit graph

3329 commits

Author SHA1 Message Date
LevelX2
cc4f90f867 * Fixed possible NPE in PlayerImpl. 2014-09-25 20:06:12 +02:00
LevelX2
341db7b01f * Morph Ability - Some fixes for displaying / handling morph cards/permanents. 2014-09-25 16:51:41 +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
f3ea64e27c * Changed handling of phases to stop to server based handling. 2014-09-25 00:33:58 +02:00
LevelX2
e6d2bce95d * Sidis Brood Tyrant - Fixed triggered ability not working as intended. 2014-09-25 00:32:43 +02:00
LevelX2
aa842efacc Added F5 button to skip priority until end step of opponent. Added PlayerAction handling. 2014-09-24 16:55:51 +02:00
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