Commit graph

268 commits

Author SHA1 Message Date
LevelX2
ae0417bf5c Some minor changes to server. 2014-09-29 08:11:18 +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
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
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
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
f12a616243 Some changes to debug messages and change to avoid conccurent change exception. 2014-09-05 12:47:49 +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
cb7d3ab284 Added custom duration handling to delayed triggered abilities. 2014-08-27 17:08:19 +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
2f802ad467 Changed some comments. 2014-08-23 17:59:31 +02:00
magenoxx
edd1563c12 Fixes #468 :Rollback on error doesn't work 2014-08-18 23:58:43 +04:00
magenoxx
43e82b7a1a Added zoneChangeCounter into LKI. Reimplemented Trostani. PersistTest and LastKnownInformationTest do work now. 2014-08-18 19:45:37 +04:00
LevelX2
ddb9c786b4 Some changes to logging and NPE handling. 2014-08-17 20:38:57 +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
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
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
98bfd16680 Fixed adouble calss name. 2014-08-13 18:44:43 +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
3aab091492 Some changes to client and server logging messages. 2014-08-04 17:21:14 +02:00
magenoxx
65a0c9fc79 [UI] Displaying creatures that can attack 2014-07-18 16:05:21 +04: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
emerald000
7218cfe9a6 [NEW] Added Time Vault, Grim Tutor and Aluren. 2014-07-16 21:25:23 -04: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
magenoxx
5fcc3b1ba8 [UI] Displaying playable cards in hand 2014-07-11 19:35:01 +04:00
LevelX2
d40a3f591d Changes to game log. 2014-07-09 20:44:06 +02:00
LevelX2
6813ce6d14 * M15 - Added Garruk, Apex Predator and Sliver Hivelord. 2014-07-08 17:36:52 +02:00
LevelX2
18e78b8294 Some fixes to M15 cards or by M15 used classes. 2014-07-06 16:00:32 +02:00
LevelX2
09afaaf9ab * Prevent undo if game has already ended. Probably related to #433. 2014-06-30 17:36:09 +02:00
LevelX2
d337e2cc13 * Some changes to logging. 2014-06-25 17:17:17 +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
e51213a72a Some formatting, NPE checking and log messages. 2014-06-20 08:25:03 +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
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
North
9324e93868 [refactor] removed generic parameter from Game classes 2014-06-03 12:33:02 +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
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
LevelX2
0443311f0e Fixed some handling problems of triggered abilities. 2014-05-24 21:10:56 +02: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
d7489789d9 Add TurnId to GameState (for Final Fortune card) 2014-05-23 23:48:13 +04: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
29c7354bb4 * Fixed some bugs in damage prevention handling. 2014-05-10 11:34:11 +02:00