Commit graph

362 commits

Author SHA1 Message Date
LoneFox
3d59c57b0e Fix NullPointerException when a random discard effect is applied to a player with empty hand. 2015-06-11 14:23:55 +03:00
LevelX2
3b61a10237 Fixed some bugs and added a AI Test player class. 2015-06-08 18:31:54 +02:00
LevelX2
9da44a547d Added an option that player has to confirm if he passes priority with empty stack and has mana in his pool. Implements #707. 2015-06-07 22:37:12 +02:00
LevelX2
907ec7abb0 Added new option for mana payment handling of mana already in the mana pool. Reworked the battlefield context menu a bit. 2015-06-07 17:14:43 +02:00
LevelX2
8acf28eed1 * Added optional rollback current turn and up to 3 previous turns to the battlefield menu. All other players have to agree to the rollback to let it happen. 2015-06-07 00:53:08 +02:00
LevelX2
81187ba1c7 Fixed a problem with removing player attachments. 2015-06-05 13:35:33 +02:00
LevelX2
01c81c1cb1 * Homing Sliver - Fixed the gain Slivercycling ability. 2015-06-05 11:44:51 +02:00
LevelX2
36eebfa317 * Fixed that player enchnatments were not correctly removed as they left the battlefield causing problems if they were cast again later in the game (fixes #1006). 2015-06-05 00:50:31 +02:00
LevelX2
bb28394f71 * Helm of Obedience - Fixed that card movement to graveyard was not handled correct. It was not checked, if card was really moved to graveyard (fixes #1004). 2015-06-02 22:50:57 +02:00
LevelX2
1b690e5c8c * Fixed target change handling (e.g. with opponent filter - fixes #574). Added some tests. 2015-05-31 18:44:02 +02:00
LevelX2
4f4ade61d5 Fixed commander cast test. 2015-05-29 17:29:14 +02:00
LevelX2
5a5722b248 * Skarrgan Firebird - Fixed that the condtion check of the activated ability was inverted. 2015-05-29 00:18:51 +02:00
LevelX2
2fa6b944e6 Improved some time out messages. 2015-05-28 16:56:23 +02:00
LevelX2
ba8e918527 * Worldheart Phoenix - Fixed that it could be cast from graveyard with it's regular casting costs. 2015-05-28 16:52:17 +02:00
LevelX2
b753654384 * Added Arcbound Crasher, Mana Clash, Tel-Jilad Stylus, Chance Encounter and Vampiric Link. 2015-05-25 15:50:50 +02:00
LevelX2
7003dc7e3f * Fixed that the AI used activated abilities even if they were forbidden by a restriction effect like Arrest. 2015-05-23 17:43:27 +02:00
LevelX2
e1a8e41702 * Ghastlord of Fugue - Fixed the not working triggered ability. 2015-05-23 17:08:18 +02:00
LevelX2
ce64a22c15 Some more rework of player.moveCard (mainly to graveyard). 2015-05-23 15:35:40 +02:00
LevelX2
64ea893ea0 Some changes to logging. 2015-05-22 22:33:01 +02:00
LevelX2
467a11b4cd Started to rework player.moveCard methods to handle multiple cards. 2015-05-22 15:15:39 +02:00
LevelX2
04730e490b * Deranged Assistant - Disallowed possible undo to prevent cheating with otherwise hidden information (top card of library). 2015-05-18 23:06:15 +02:00
LevelX2
15efe14fd5 * Fixed human players controlling other human players turn (e.g. by Mindsliver). 2015-05-12 01:10:56 +02:00
LevelX2
fdcc365926 * Fixed that cyle triggered abilities did not work. 2015-05-11 12:18:07 +02:00
LevelX2
25ef57570d [MM2] Added Worldhear Phoneix. 2015-05-10 01:33:02 +02:00
LevelX2
9c97953b6b Added some font color to object and player names output to game logging and feedback area. 2015-05-09 21:18:00 +02:00
LevelX2
8686f4f777 * Fixed a bug that the AI did for target selection not check correctly players with hexproof ability. 2015-05-02 09:47:38 +02:00
Nathaniel Brandes
b25c4aac77 Added Volrath's Shapeshifter.
The Graveyard was modified to become its own class, as the top card of
your graveyard matters for this card, and graveyard order matters for
some other old card. Note that due how Volrath's Shapeshifter's ability
works, it is applied in layer 3, after control effects. This is so it
can look at it's current controllers graveyard, instead of it's owner,
as it would if the copy effect was at layer 1.
2015-04-30 19:10:50 -07:00
LevelX2
830765996f * Storm - Fixed handling of countered Storm spells. * Reworked Rebound more rule conform. * Fixed that zone change counter was not raised if a card is moved to stack. 2015-04-29 17:37:54 +02:00
Nathaniel Brandes
4b6993f398 Added global alternate costs to canPlay test. Added Omniscienece test
case.
2015-04-29 03:04:34 -07:00
LevelX2
c2fb2de67a Fixed a bunch of NPE and other possible exceptions. 2015-04-20 23:37:28 +02:00
LevelX2
b2fe13c8c8 * Fixed attack tap handling - You can no longer attack with a mana producing creature that will be get tapped for attacking and use the creature itself to produce mana to pay for effects like Ghostly Prison if the mana ability has the cost to tap the creature. 2015-04-16 15:57:17 +02:00
LevelX2
0fb7cf8317 * Added a deck hash tag that's shown at the start of the game log to be able to identify a deck. 2015-04-11 00:47:54 +02:00
LevelX2
c65adebc57 Fixed that to allow watchers of a game to see the hand cards of players did not work correctly. 2015-04-10 12:36:22 +02:00
LevelX2
b737cbfe24 * Necropotence - Fixed that the name of the exiled cards was shown in the log. 2015-04-09 14:53:24 +02:00
betasteward
a878d4879b added optimization for simulations - don't construct Strings for messages that will never be used 2015-03-31 09:44:22 -04:00
LevelX2
ab661c44f0 * Necropotence - Fixed that the face down card going to hand was revealed in game log. 2015-03-26 08:25:35 +01:00
LevelX2
16469bafe6 * Soulfire Grand Master - updated handling. 2015-03-25 17:13:34 +01:00
LevelX2
f6cb904288 * Manifest - Fixed that the name of the manifested card was shown in the game log. 2015-03-20 18:17:35 +01:00
LevelX2
5af6b6ca7a Fixed a bug that could lead to endless loops if cards where moved from library to graveyard. 2015-03-20 15:10:54 +01:00
LevelX2
050043c6b6 * Added logic that a player can order cards if more than one card goes simultanously to graveyard. 2015-03-19 15:54:08 +01:00
betasteward
9ad8530dee moved faceDown property from Card to CardState 2015-03-12 22:09:12 -04:00
LevelX2
2e8eeff49f * Fixed that tokens removed with Condemn did not get life to target creature controller (related to #742). 2015-03-07 01:12:18 +01:00
LevelX2
4d0dbb2327 * Tiny Leaders - Added logic to load the commander from deck name. 2015-03-04 23:36:19 +01:00
Jeff
fed8c65214 - Fixed missing Null check. Fixes issue with Bant Charm. 2015-03-03 15:24:07 -06:00
LevelX2
1b45c997aa Some minor changes. 2015-02-27 18:08:31 +01:00
LevelX2
7b95da55a7 * Some more changes concerning sourceObject handling in ability. Added early event type check for triggered abilities. 2015-02-12 01:56:45 +01:00
LevelX2
e0b17eacc7 * Reworked calculation of available mana that can be a source of heavy server load. 2015-02-07 18:16:35 +01:00
LevelX2
dd54269216 * Fixed handling of Split cards (fixes #670). 2015-02-03 00:05:30 +01:00
LevelX2
1ac4196c9e Some changes to split card handling (not finished). 2015-02-02 17:54:06 +01:00
LevelX2
c8eb9f00a9 * Fixed that lose restricting effects could not be replaced (e.g. by Abysal Persecutor's ability) if the player has conceded or left the match. Fixed that "can't win" or "can't lose" messages where repeated send to the players if such an effect activly prevents a player from losing or winning. 2015-01-21 23:41:11 +01:00